Package: src:rust-glib Version: 0.21.5-1 Severity: serious Tags: ftbfs forky sid
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/202602/ 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-glib, so that this is still visible in the BTS web page for this package. Thanks. -------------------------------------------------------------------------------- [...] debian/rules clean dh clean --buildsystem cargo dh_auto_clean -O--buildsystem=cargo debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = debian cargo wrapper: rust_type = x86_64-unknown-linux-gnu, gnu_type = x86_64-linux-gnu debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', 'clean', '--verbose', '--verbose'],) {'check': True} Removed 0 files dh_autoreconf_clean -O--buildsystem=cargo dh_clean -XCargo.toml.orig -O--buildsystem=cargo debian/rules binary dh binary --buildsystem cargo dh_update_autotools_config -O--buildsystem=cargo dh_autoreconf -O--buildsystem=cargo dh_auto_configure -O--buildsystem=cargo debian cargo wrapper: options = ['parallel=2'], profiles = [], parallel = ['-j2'], lto = [... snipped ...] = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration = note: requested on the command line with `-W unexpected-cfgs` warning: unexpected `cfg` condition value: `compat` --> /usr/share/cargo/registry/futures-util-0.3.31/src/future/try_future/mod.rs:6:7 | 6 | #[cfg(feature = "compat")] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `async-await`, `async-await-macro`, `bilock`, `channel`, `default`, `futures-channel`, `futures-io`, `futures-macro`, `futures-sink`, `io`, `memchr`, `sink`, `slab`, `std`, `unstable`, and `write-all-vectored` = help: consider adding `compat` as a feature in `Cargo.toml` = 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 value: `compat` --> /usr/share/cargo/registry/futures-util-0.3.31/src/future/try_future/mod.rs:580:11 | 580 | #[cfg(feature = "compat")] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `async-await`, `async-await-macro`, `bilock`, `channel`, `default`, `futures-channel`, `futures-io`, `futures-macro`, `futures-sink`, `io`, `memchr`, `sink`, `slab`, `std`, `unstable`, and `write-all-vectored` = help: consider adding `compat` as a feature in `Cargo.toml` = 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 value: `compat` --> /usr/share/cargo/registry/futures-util-0.3.31/src/stream/try_stream/mod.rs:6:7 | 6 | #[cfg(feature = "compat")] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `async-await`, `async-await-macro`, `bilock`, `channel`, `default`, `futures-channel`, `futures-io`, `futures-macro`, `futures-sink`, `io`, `memchr`, `sink`, `slab`, `std`, `unstable`, and `write-all-vectored` = help: consider adding `compat` as a feature in `Cargo.toml` = 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 value: `compat` --> /usr/share/cargo/registry/futures-util-0.3.31/src/stream/try_stream/mod.rs:1154:11 | 1154 | #[cfg(feature = "compat")] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `async-await`, `async-await-macro`, `bilock`, `channel`, `default`, `futures-channel`, `futures-io`, `futures-macro`, `futures-sink`, `io`, `memchr`, `sink`, `slab`, `std`, `unstable`, and `write-all-vectored` = help: consider adding `compat` as a feature in `Cargo.toml` = 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 value: `compat` --> /usr/share/cargo/registry/futures-util-0.3.31/src/task/spawn.rs:3:7 | 3 | #[cfg(feature = "compat")] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `async-await`, `async-await-macro`, `bilock`, `channel`, `default`, `futures-channel`, `futures-io`, `futures-macro`, `futures-sink`, `io`, `memchr`, `sink`, `slab`, `std`, `unstable`, and `write-all-vectored` = help: consider adding `compat` as a feature in `Cargo.toml` = 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 value: `compat` --> /usr/share/cargo/registry/futures-util-0.3.31/src/task/spawn.rs:92:11 | 92 | #[cfg(feature = "compat")] | ^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `alloc`, `async-await`, `async-await-macro`, `bilock`, `channel`, `default`, `futures-channel`, `futures-io`, `futures-macro`, `futures-sink`, `io`, `memchr`, `sink`, `slab`, `std`, `unstable`, and `write-all-vectored` = help: consider adding `compat` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gobject_ [too-long-redacted] g system_deps_have_gobject_2_0` Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=gio_sys [too-long-redacted] --cfg system_deps_have_gio_2_0` warning: trait `Fn1` is never used --> /usr/share/cargo/registry/futures-util-0.3.31/src/fns.rs:34:11 | 34 | pub trait Fn1<A>: FnMut1<A> { | ^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: `futures-util` (lib) generated 8 warnings Compiling futures-executor v0.3.31 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=futures_executor CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/futures-executor-0.3.31 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/futures-executor-0.3.31/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Executors for asynchronous tasks based on the futures-rs library. ' CARGO_PKG_HOMEPAGE='https://rust-lang.github.io/futures-rs [too-long-redacted] stry=/usr/share/cargo/registry` Compiling glib-macros v0.21.5 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=glib_mac [too-long-redacted] rn proc_macro --cap-lints warn` Compiling futures-channel v0.3.31 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=futures_channel CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/futures-channel-0.3.31 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/futures-channel-0.3.31/Cargo.toml CARGO_PKG_AUTHORS='' CARGO_PKG_DESCRIPTION='Channels for asynchronous communication using futures-rs. ' CARGO_PKG_HOMEPAGE='https://rust-lang.github.io/futures-rs [too-long-redacted] stry=/usr/share/cargo/registry` Compiling memchr v2.7.6 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=memchr CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/memchr-2.7.6 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/memchr-2.7.6/Cargo.toml CARGO_PKG_AUTHORS='Andrew Gallant <[email protected]>:bluss' CARGO_PKG_DESCRIPTION='Provides extremely fast (uses SIMD on x86_64, aarch64 and wasm32) routines for 1, 2 or 3 byte search and single substring search. ' CARGO_PKG_HOMEPAGE='https://github.com/BurntSushi/memchr' [too-long-redacted] stry=/usr/share/cargo/registry` Compiling bitflags v2.10.0 Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=bitflags CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/bitflags-2.10.0 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/bitflags-2.10.0/Cargo.toml CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='A macro to generate structures which behave like bitflags. ' CARGO_PKG_HOMEPAGE='https://github.com/bitflags/bitflags' [too-long-redacted] stry=/usr/share/cargo/registry` Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=smallvec [too-long-redacted] stry=/usr/share/cargo/registry` warning: unexpected `cfg` condition value: `impl_bincode` --> /usr/share/cargo/registry/smallvec-1.15.1/src/lib.rs:2504:7 | 2504 | #[cfg(feature = "impl_bincode")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `arbitrary`, `const_generics`, `const_new`, `debugger_visualizer`, `drain_filter`, `drain_keep_rest`, `malloc_size_of`, `may_dangle`, `serde`, `specialization`, `union`, and `write` = help: consider adding `impl_bincode` as a feature in `Cargo.toml` = 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 value: `impl_bincode` --> /usr/share/cargo/registry/smallvec-1.15.1/src/lib.rs:2512:7 | 2512 | #[cfg(feature = "impl_bincode")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `arbitrary`, `const_generics`, `const_new`, `debugger_visualizer`, `drain_filter`, `drain_keep_rest`, `malloc_size_of`, `may_dangle`, `serde`, `specialization`, `union`, and `write` = help: consider adding `impl_bincode` as a feature in `Cargo.toml` = 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 value: `impl_bincode` --> /usr/share/cargo/registry/smallvec-1.15.1/src/lib.rs:2549:7 | 2549 | #[cfg(feature = "impl_bincode")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `arbitrary`, `const_generics`, `const_new`, `debugger_visualizer`, `drain_filter`, `drain_keep_rest`, `malloc_size_of`, `may_dangle`, `serde`, `specialization`, `union`, and `write` = help: consider adding `impl_bincode` as a feature in `Cargo.toml` = 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 value: `impl_bincode` --> /usr/share/cargo/registry/smallvec-1.15.1/src/lib.rs:2586:7 | 2586 | #[cfg(feature = "impl_bincode")] | ^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `arbitrary`, `const_generics`, `const_new`, `debugger_visualizer`, `drain_filter`, `drain_keep_rest`, `malloc_size_of`, `may_dangle`, `serde`, `specialization`, `union`, and `write` = help: consider adding `impl_bincode` as a feature in `Cargo.toml` = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration warning: `smallvec` (lib) generated 4 warnings Compiling glib v0.21.5 (/<<PKGBUILDDIR>>) Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=glib CAR [too-long-redacted] stry=/usr/share/cargo/registry` error[E0425]: cannot find value `G_UNICODE_BREAK_UNAMBIGUOUS_HYPHEN` in crate `ffi` --> src/auto/enums.rs:1075:45 | 1075 | Self::UnambiguousHyphen => ffi::G_UNICODE_BREAK_UNAMBIGUOUS_HYPHEN, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `G_UNICODE_BREAK_AMBIGUOUS` | ::: /usr/share/cargo/registry/glib-sys-0.21.5/src/lib.rs:416:1 | 416 | pub const G_UNICODE_BREAK_AMBIGUOUS: GUnicodeBreakType = 27; | ------------------------------------------------------ similarly named constant `G_UNICODE_BREAK_AMBIGUOUS` defined here error[E0531]: cannot find unit struct, unit variant or constant `G_UNICODE_BREAK_UNAMBIGUOUS_HYPHEN` in crate `ffi` --> src/auto/enums.rs:1139:18 | 1139 | ffi::G_UNICODE_BREAK_UNAMBIGUOUS_HYPHEN => Self::UnambiguousHyphen, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `G_UNICODE_BREAK_AMBIGUOUS` | ::: /usr/share/cargo/registry/glib-sys-0.21.5/src/lib.rs:416:1 | 416 | pub const G_UNICODE_BREAK_AMBIGUOUS: GUnicodeBreakType = 27; | ------------------------------------------------------ similarly named constant `G_UNICODE_BREAK_AMBIGUOUS` defined here error[E0425]: cannot find value `G_UNICODE_SCRIPT_SIDETIC` in crate `ffi` --> src/auto/enums.rs:1802:35 | 1802 | Self::Sidetic => ffi::G_UNICODE_SCRIPT_SIDETIC, | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `G_UNICODE_SCRIPT_COPTIC` | ::: /usr/share/cargo/registry/glib-sys-0.21.5/src/lib.rs:448:1 | 448 | pub const G_UNICODE_SCRIPT_COPTIC: GUnicodeScript = 7; | ------------------------------------------------- similarly named constant `G_UNICODE_SCRIPT_COPTIC` defined here error[E0425]: cannot find value `G_UNICODE_SCRIPT_TOLONG_SIKI` in crate `ffi` --> src/auto/enums.rs:1803:38 | 1803 | Self::TolongSiki => ffi::G_UNICODE_SCRIPT_TOLONG_SIKI, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `G_UNICODE_SCRIPT_OL_CHIKI` | ::: /usr/share/cargo/registry/glib-sys-0.21.5/src/lib.rs:514:1 | 514 | pub const G_UNICODE_SCRIPT_OL_CHIKI: GUnicodeScript = 73; | --------------------------------------------------- similarly named constant `G_UNICODE_SCRIPT_OL_CHIKI` defined here error[E0425]: cannot find value `G_UNICODE_SCRIPT_TAI_YO` in crate `ffi` --> src/auto/enums.rs:1804:33 | 1804 | Self::TaiYo => ffi::G_UNICODE_SCRIPT_TAI_YO, | ^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `G_UNICODE_SCRIPT_TAI_LE` | ::: /usr/share/cargo/registry/glib-sys-0.21.5/src/lib.rs:493:1 | 493 | pub const G_UNICODE_SCRIPT_TAI_LE: GUnicodeScript = 52; | ------------------------------------------------- similarly named constant `G_UNICODE_SCRIPT_TAI_LE` defined here error[E0425]: cannot find value `G_UNICODE_SCRIPT_BERIA_ERFE` in crate `ffi` --> src/auto/enums.rs:1805:37 | 1805 | Self::BeriaErfe => ffi::G_UNICODE_SCRIPT_BERIA_ERFE, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `G_UNICODE_SCRIPT_BALINESE` | ::: /usr/share/cargo/registry/glib-sys-0.21.5/src/lib.rs:503:1 | 503 | pub const G_UNICODE_SCRIPT_BALINESE: GUnicodeScript = 62; | --------------------------------------------------- similarly named constant `G_UNICODE_SCRIPT_BALINESE` defined here error[E0531]: cannot find unit struct, unit variant or constant `G_UNICODE_SCRIPT_SIDETIC` in crate `ffi` --> src/auto/enums.rs:2004:18 | 2004 | ffi::G_UNICODE_SCRIPT_SIDETIC => Self::Sidetic, | ^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `G_UNICODE_SCRIPT_COPTIC` | ::: /usr/share/cargo/registry/glib-sys-0.21.5/src/lib.rs:448:1 | 448 | pub const G_UNICODE_SCRIPT_COPTIC: GUnicodeScript = 7; | ------------------------------------------------- similarly named constant `G_UNICODE_SCRIPT_COPTIC` defined here error[E0531]: cannot find unit struct, unit variant or constant `G_UNICODE_SCRIPT_TOLONG_SIKI` in crate `ffi` --> src/auto/enums.rs:2005:18 | 2005 | ffi::G_UNICODE_SCRIPT_TOLONG_SIKI => Self::TolongSiki, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `G_UNICODE_SCRIPT_OL_CHIKI` | ::: /usr/share/cargo/registry/glib-sys-0.21.5/src/lib.rs:514:1 | 514 | pub const G_UNICODE_SCRIPT_OL_CHIKI: GUnicodeScript = 73; | --------------------------------------------------- similarly named constant `G_UNICODE_SCRIPT_OL_CHIKI` defined here error[E0531]: cannot find unit struct, unit variant or constant `G_UNICODE_SCRIPT_TAI_YO` in crate `ffi` --> src/auto/enums.rs:2006:18 | 2006 | ffi::G_UNICODE_SCRIPT_TAI_YO => Self::TaiYo, | ^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `G_UNICODE_SCRIPT_TAI_LE` | ::: /usr/share/cargo/registry/glib-sys-0.21.5/src/lib.rs:493:1 | 493 | pub const G_UNICODE_SCRIPT_TAI_LE: GUnicodeScript = 52; | ------------------------------------------------- similarly named constant `G_UNICODE_SCRIPT_TAI_LE` defined here error[E0531]: cannot find unit struct, unit variant or constant `G_UNICODE_SCRIPT_BERIA_ERFE` in crate `ffi` --> src/auto/enums.rs:2007:18 | 2007 | ffi::G_UNICODE_SCRIPT_BERIA_ERFE => Self::BeriaErfe, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `G_UNICODE_SCRIPT_BALINESE` | ::: /usr/share/cargo/registry/glib-sys-0.21.5/src/lib.rs:503:1 | 503 | pub const G_UNICODE_SCRIPT_BALINESE: GUnicodeScript = 62; | --------------------------------------------------- similarly named constant `G_UNICODE_SCRIPT_BALINESE` defined here error[E0425]: cannot find value `G_REGEX_NEWLINE_RESERVED1` in crate `ffi` --> src/auto/flags.rs:402:40 | 402 | const NEWLINE_RESERVED1 = ffi::G_REGEX_NEWLINE_RESERVED1 as _; | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: a constant with a similar name exists: `G_REGEX_NEWLINE_ANYCRLF` | ::: /usr/share/cargo/registry/glib-sys-0.21.5/src/lib.rs:931:1 | 931 | pub const G_REGEX_NEWLINE_ANYCRLF: GRegexCompileFlags = 5242880; | ----------------------------------------------------- similarly named constant `G_REGEX_NEWLINE_ANYCRLF` defined here warning: unexpected `cfg` condition value: `v2_88` --> src/auto/markup_parse_context.rs:50:11 | 50 | #[cfg(feature = "v2_88")] | ^^^^^^^^^^------- | | | help: there is a expected value with a similar name: `"v2_58"` | = note: expected values for `feature` are: `compiletests`, `default`, `gio`, `gio-sys`, `log`, `log_macros`, `rs-log`, `v2_58`, `v2_60`, `v2_62`, `v2_64`, `v2_66`, `v2_68`, `v2_70`, `v2_72`, `v2_74`, `v2_76`, `v2_78`, `v2_80`, `v2_82`, `v2_84`, and `v2_86` = help: consider adding `v2_88` as a feature in `Cargo.toml` = 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 Some errors have detailed explanations: E0425, E0531. For more information about an error, try `rustc --explain E0425`. warning: `glib` (lib) generated 1 warning error: could not compile `glib` (lib) due to 11 previous errors; 1 warning emitted Caused by: process didn't exit successfully: `CARGO=/usr/bin/cargo CA [too-long-redacted] argo/registry` (exit status: 1) dh_auto_test: error: /usr/share/cargo/bin/cargo build returned exit code 101 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary subprocess failed with exit status 2 --------------------------------------------------------------------------------

