Closed GnomedDev closed 4 weeks ago
Thank you for your report!
The issue is caused by adding a StaticRb::new
method. I did not expect this to be a breaking change, sorry.
I've yanked 0.4.2
and 0.4.3
Quick FYI here I couldn't find it reported anywhere else. Yanking 0.4.3 seems to break async-ringbuf 0.3.0
error: failed to select a version for the requirement `ringbuf = "^0.4.3"`
candidate versions found which didn't match: 0.4.1, 0.4.0, 0.4.0-rc.4, ...
location searched: crates.io index
required by package `async-ringbuf v0.3.0`
... which satisfies dependency `async-ringbuf = "^0.3.0"` of package `rust-playground v0.1.0`
if you are looking for the prerelease package it needs to be specified explicitly
ringbuf = { version = "0.4.0-rc.4" }
Quick FYI here I couldn't find it reported anywhere else. Yanking 0.4.3 seems to break async-ringbuf 0.3.0
Thanks! I've published ringbuf-0.4.4, it seems to fix this.
Magic, can't ask for any response better!
songbird 0.4.3 no longer compiles as it is simply calling
SharedRb::new
which is now ambiguous betweenringbuf::SharedRb<Heap<T>::new
andringbuf::SharedRb<Owning<[MaybeUninit<T>; N]>>
. The full error isThe line quoted is https://github.com/serenity-rs/songbird/blob/2d7dc29fd68826fb6998eb748be05387ea2fe91b/src/input/adapters/async_adapter.rs#L159 and this was probably caused by 6f637f14cb15614732ae1f8421822a71641a604c.