Dear maintainer:
During a rebuild of all packages in unstable, this package failed to build.
Below you will find the last part of the build log (probably the most
relevant part, but not necessarily). If required, the full build log
is available here:
https://people.debian.org/~sanvila/build-logs/202610/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you cannot reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:rust-diesel, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
|
620 | fn is_date_time(ty: &syn::TypePath) -> bool {
| ^^^^^^^^^^^^ ------------------
= note: this error originates in the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0308]: mismatched types
--> /<<PKGBUILDDIR>>/debian/cargo_registry/diesel_derives-2.3.9/src/table.rs:729:59
|
729 | } else if is_date_time(&column_def.tpe) || is_network(&column_def.tpe) {
| ---------- ^^^^^^^^^^^^^^^ expected `TypePath`, found `syn::ty::TypePath`
| |
| arguments to this function are incorrect
|
note: there are multiple different versions of crate `syn` in the dependency graph
--> /<<PKGBUILDDIR>>/debian/cargo_registry/syn-2.0.119/src/macros.rs:36:22
|
36 | $(#[$attr])* $pub $struct $name $body
| ^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type
|
::: /<<PKGBUILDDIR>>/debian/cargo_registry/syn-3.0.6/src/macros.rs:36:22
|
36 | $(#[$attr])* $pub $struct $name $body
| ------------------------ this is the found type
|
::: /<<PKGBUILDDIR>>/debian/cargo_registry/syn-2.0.119/src/ty.rs:172:1
|
172 | / ast_struct! {
173 | | /// A path like `core::slice::Iter`, optionally qualified with a
174 | | /// self-type as in `<Vec<T> as SomeTrait>::Associated`.
175 | | #[cfg_attr(docsrs, doc(cfg(any(feature = "full", feature = "derive"))))]
... |
180 | | }
| |_- in this macro invocation
= help: you can use `cargo tree` to explore your dependency tree
note: function defined here
--> /<<PKGBUILDDIR>>/debian/cargo_registry/diesel_derives-2.3.9/src/table.rs:643:4
|
643 | fn is_network(ty: &syn::TypePath) -> bool {
| ^^^^^^^^^^ ------------------
= note: this error originates in the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
error[E0277]: the trait bound `TableDecl: Parse` is not satisfied
--> /<<PKGBUILDDIR>>/debian/cargo_registry/diesel_derives-2.3.9/src/lib.rs:1453:11
|
1453 | match syn::parse2(input) {
| ^^^^^^^^^^^^^^^^^^ the trait `Parse` is not implemented for `TableDecl`
|
note: there are multiple different versions of crate `syn` in the dependency graph
--> /<<PKGBUILDDIR>>/debian/cargo_registry/syn-2.0.119/src/parse.rs:215:1
|
215 | pub trait Parse: Sized {
| ^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait
|
::: /<<PKGBUILDDIR>>/debian/cargo_registry/syn-3.0.6/src/parse.rs:215:1
|
215 | pub trait Parse: Sized {
| ---------------------- this is the found trait
= help: you can use `cargo tree` to explore your dependency tree
= help: the following other types implement trait `Parse`:
Abstract
AndAnd
AndEq
AngleBracketedGenericArguments
Arm
As
At
Auto
and 260 others
note: required by a bound in `syn::parse2`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/syn-2.0.119/src/lib.rs:927:18
|
927 | pub fn parse2<T: parse::Parse>(tokens: proc_macro2::TokenStream) -> Result<T> {
| ^^^^^^^^^^^^ required by this bound in `parse2`
error[E0277]: the trait bound `syn::path::Path: syn::parse_quote::ParseQuote` is not satisfied
--> /<<PKGBUILDDIR>>/debian/cargo_registry/diesel_derives-2.3.9/src/lib.rs:1822:31
|
1822 | .default_dsl_path(parse_quote!(diesel::dsl))
| ^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Parse` is not implemented for `syn::path::Path`
|
note: there are multiple different versions of crate `syn` in the dependency graph
--> /<<PKGBUILDDIR>>/debian/cargo_registry/syn-2.0.119/src/parse.rs:215:1
|
215 | pub trait Parse: Sized {
| ^^^^^^^^^^^^^^^^^^^^^^ this is the expected trait
|
::: /<<PKGBUILDDIR>>/debian/cargo_registry/syn-3.0.6/src/parse.rs:215:1
|
215 | pub trait Parse: Sized {
| ---------------------- this is the found trait
= help: you can use `cargo tree` to explore your dependency tree
= help: the following other types implement trait `Parse`:
Abstract
AndAnd
AndEq
AngleBracketedGenericArguments
Arm
As
At
Auto
and 260 others
= note: there are multiple different versions of crate `syn` in the dependency graph
= help: you can use `cargo tree` to explore your dependency tree
= note: required for `syn::path::Path` to implement `syn::parse_quote::ParseQuote`
note: required by a bound in `syn::__private::parse`
--> /<<PKGBUILDDIR>>/debian/cargo_registry/syn-2.0.119/src/parse_quote.rs:132:17
|
132 | pub fn parse<T: ParseQuote>(token_stream: TokenStream) -> T {
| ^^^^^^^^^^ required by this bound in `parse`
= note: this error originates in the macro `parse_quote` (in Nightly builds, run with -Z macro-backtrace for more info)
Some errors have detailed explanations: E0271, E0277, E0308, E0599, E0631.
For more information about an error, try `rustc --explain E0271`.
error: could not compile `diesel_derives` (lib) due to 22 previous errors
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] ap-lints warn` (exit status: 1)
dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------