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-vergen, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICE [too-long-redacted] d563ab3e08.so --cap-lints warn`
Compiling derive_builder_core v0.20.2
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=derive_b [too-long-redacted] 7428336.rmeta --cap-lints warn`
Compiling derive_builder_macro v0.20.2
Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=derive_b [too-long-redacted] rn proc_macro --cap-lints warn`
error[E0308]: mismatched types
--> /<<PKGBUILDDIR>>/debian/cargo_registry/derive_builder_macro-0.20.2/src/lib.rs:28:45
|
28 | derive_builder_core::builder_for_struct(ast).into()
| --------------------------------------- ^^^ expected `syn::derive::DeriveInput`, found `DeriveInput`
| |
| arguments to this function are incorrect
|
note: there are multiple different versions of crate `syn` in the dependency graph
--> /<<PKGBUILDDIR>>/debian/cargo_registry/syn-3.0.6/src/macros.rs:36:22
|
36 | $(#[$attr])* $pub $struct $name $body
| ^^^^^^^^^^^^^^^^^^^^^^^^ this is the expected type
|
::: /<<PKGBUILDDIR>>/debian/cargo_registry/syn-2.0.119/src/macros.rs:36:22
|
36 | $(#[$attr])* $pub $struct $name $body
| ------------------------ this is the found type
|
::: /<<PKGBUILDDIR>>/debian/cargo_registry/syn-3.0.6/src/derive.rs:10:1
|
10 | / ast_struct! {
11 | | /// Data structure sent to a `proc_macro_derive` macro.
12 | | #[cfg_attr(docsrs, doc(cfg(feature = "derive")))]
13 | | pub struct DeriveInput {
... |
20 | | }
| |_- in this macro invocation
= help: you can use `cargo tree` to explore your dependency tree
note: function defined here
--> /<<PKGBUILDDIR>>/debian/cargo_registry/derive_builder_core-0.20.2/src/lib.rs:57:8
|
57 | pub fn builder_for_struct(ast: syn::DeriveInput) -> proc_macro2::TokenStream {
| ^^^^^^^^^^^^^^^^^^
= note: this error originates in the macro `ast_struct` (in Nightly builds, run with -Z macro-backtrace for more info)
For more information about this error, try `rustc --explain E0308`.
error: could not compile `derive_builder_macro` (lib) due to 1 previous error
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
--------------------------------------------------------------------------------