Bug#1038138: rust-diesel: FTBFS in unstable
reassign 1038138 rust-diesel-derives tags 1038138 +trixie +sid thanks In trying to rebuild rust-diesel with the fix for bug #1038135, I've discovered the package now fails to build from source in both Debian unstable and Ubuntu mantic: This is actually in issue in rust-diesel-derives, it's incompatible with the new version of rust-quote, apparently it relied on stuff that the developer of the quote crate did not consider public API. I'm about to upload a new version of rust-diesel-derives fixing this, reassiging the bug so version tracking behaves sanely.
Bug#1038138: rust-diesel: FTBFS in unstable
Source: rust-diesel Version: 2.0.3-1 Severity: serious Justification: FTBFS User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu mantic Dear maintainers, In trying to rebuild rust-diesel with the fix for bug #1038135, I've discovered the package now fails to build from source in both Debian unstable and Ubuntu mantic: [...] error[E0277]: the trait bound `FieldAttr: ToTokens` is not satisfied --> /<>/debian/cargo_registry/diesel_derives-2.0.1/src/attrs.rs:143:6 | 143 | impl Spanned for FieldAttr { | ^^^ the trait `ToTokens` is not implemented for `FieldAttr` | = help: the following other types implement trait `ToTokens`: &'a T &'a mut T Abi Abstract AndAnd AndEq AngleBracketedGenericArguments As and 243 others = note: required for `FieldAttr` to implement `quote::spanned::private::Sealed` note: required by a bound in `quote::spanned::Spanned` --> /<>/debian/cargo_registry/quote-1.0.27/src/spanned.rs:6:20 | 6 | pub trait Spanned: private::Sealed { |^^^ required by this bound in `quote::spanned::Spanned` error[E0277]: the trait bound `StructAttr: ToTokens` is not satisfied --> /<>/debian/cargo_registry/diesel_derives-2.0.1/src/attrs.rs:242:6 | 242 | impl Spanned for StructAttr { | ^^^ the trait `ToTokens` is not implemented for `StructAttr` | = help: the following other types implement trait `ToTokens`: &'a T &'a mut T Abi Abstract AndAnd AndEq AngleBracketedGenericArguments As and 243 others = note: required for `StructAttr` to implement `quote::spanned::private::Sealed` note: required by a bound in `quote::spanned::Spanned` --> /<>/debian/cargo_registry/quote-1.0.27/src/spanned.rs:6:20 | 6 | pub trait Spanned: private::Sealed { |^^^ required by this bound in `quote::spanned::Spanned` For more information about this error, try `rustc --explain E0277`. error: could not compile `diesel_derives` due to 2 previous errors [...] (https://launchpad.net/ubuntu/+source/rust-diesel/2.0.3-1ubuntu1/+build/26310394) -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. Ubuntu Developer https://www.debian.org/ slanga...@ubuntu.com vor...@debian.org signature.asc Description: PGP signature