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:warp, so that this is still
visible in the BTS web page for this package.
Thanks.
--------------------------------------------------------------------------------
[...]
help: consider adding a leading `b`
|
105 | if name == QName("object") || name == QName(b"template") {
| +
error[E0308]: mismatched types
--> /<<PKGBUILDDIR>>/debian/cargo_registry/gtk4-macros-0.11.5/src/composite_template_derive.rs:108:71
|
108 | .find_map(|a| a.ok().and_then(|a| (a.key == QName("id")).then_some(a)));
| ----- ^^^^ expected `&[u8]`, found `&str`
| |
| arguments to this struct are incorrect
|
= note: expected reference `&[u8]`
found reference `&'static str`
note: tuple struct defined here
--> /<<PKGBUILDDIR>>/debian/cargo_registry/quick-xml-0.38.4/src/name.rs:87:12
|
87 | pub struct QName<'a>(pub &'a [u8]);
| ^^^^^
help: consider adding a leading `b`
|
108 | .find_map(|a| a.ok().and_then(|a| (a.key == QName(b"id")).then_some(a)));
| +
error[E0277]: the trait bound `String: Borrow<[u8]>` is not satisfied
--> /<<PKGBUILDDIR>>/debian/cargo_registry/gtk4-macros-0.11.5/src/composite_template_derive.rs:111:37
|
111 | ids_left.remove(id);
| ------ ^^ the trait `Borrow<[u8]>` is not implemented for `String`
| |
| required by a bound introduced by this call
|
help: the trait `Borrow<[u8]>` is not implemented for `String`
but trait `Borrow<str>` is implemented for it
--> /usr/src/rustc-1.96.1/library/alloc/src/str.rs:189:0
= help: for that trait implementation, expected `str`, found `[u8]`
note: required by a bound in `HashMap::<K, V, S, A>::remove`
--> /usr/src/rustc-1.96.1/library/std/src/collections/hash/map.rs:1383:4
warning: unexpected `cfg` condition name: `poly1305_force_soft`
--> /usr/share/cargo/registry/poly1305-0.8.0/src/lib.rs:67:9
|
67 | not(poly1305_force_soft),
| ^^^^^^^^^^^^^^^^^^^
|
= help: expected names are: `docsrs`, `feature`, and `test` and 31 more
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(poly1305_force_soft)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(poly1305_force_soft)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
= note: `#[warn(unexpected_cfgs)]` on by default
warning: unexpected `cfg` condition name: `fuzzing`
--> /usr/share/cargo/registry/poly1305-0.8.0/src/lib.rs:69:9
|
69 | any(fuzzing, test)
| ^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `poly1305_force_soft`
--> /usr/share/cargo/registry/poly1305-0.8.0/src/lib.rs:75:9
|
75 | not(poly1305_force_soft)
| ^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(poly1305_force_soft)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(poly1305_force_soft)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `poly1305_force_soft`
--> /usr/share/cargo/registry/poly1305-0.8.0/src/lib.rs:81:9
|
81 | not(poly1305_force_soft)
| ^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(poly1305_force_soft)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(poly1305_force_soft)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `poly1305_force_soft`
--> /usr/share/cargo/registry/poly1305-0.8.0/src/lib.rs:167:9
|
167 | not(poly1305_force_soft),
| ^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(poly1305_force_soft)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(poly1305_force_soft)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `fuzzing`
--> /usr/share/cargo/registry/poly1305-0.8.0/src/lib.rs:169:9
|
169 | any(fuzzing, test)
| ^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(fuzzing)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(fuzzing)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `poly1305_force_soft`
--> /usr/share/cargo/registry/poly1305-0.8.0/src/backend.rs:5:9
|
5 | not(poly1305_force_soft)
| ^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(poly1305_force_soft)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(poly1305_force_soft)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
warning: unexpected `cfg` condition name: `poly1305_force_soft`
--> /usr/share/cargo/registry/poly1305-0.8.0/src/backend.rs:11:9
|
11 | not(poly1305_force_soft)
| ^^^^^^^^^^^^^^^^^^^
|
= help: consider using a Cargo feature instead
= help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[lints.rust]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(poly1305_force_soft)'] }
= help: or consider adding `println!("cargo::rustc-check-cfg=cfg(poly1305_force_soft)");` to the top of the `build.rs`
= note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
Some errors have detailed explanations: E0277, E0308.
For more information about an error, try `rustc --explain E0277`.
error: could not compile `gtk4-macros` (lib) due to 4 previous errors
Caused by:
process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] ap-lints warn` (exit status: 1)
warning: build failed, waiting for other jobs to finish...
warning: `poly1305` (lib) generated 8 warnings
[70/71] /usr/bin/msgfmt -o po/zh_TW/LC_MESSAGES/warp-gtk.mo ../po/zh_TW.po
FAILED: [code=101] src/warp-gtk
/usr/bin/env /usr/share/cargo/bin/cargo build --manifest-path /<<PKGBUILDDIR>>/Cargo.toml --target-dir /<<PKGBUILDDIR>>/obj-x86_64-linux-gnu/src --no-default-features --release --features meson,qr_code_scanning && cp src/x86_64-unknown-linux-gnu/release/warp-gtk src/warp-gtk
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-x86_64-linux-gnu && LC_ALL=C.UTF-8 ninja -j2 -v returned exit code 101
make: *** [debian/rules:13: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2
--------------------------------------------------------------------------------