Source: rust-rand-core Version: 0.6.4-1 Severity: serious Justification: FTBFS Tags: trixie sid ftbfs User: lu...@debian.org Usertags: ftbfs-20240702 ftbfs-trixie
Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): > make[1]: Entering directory '/<<PKGBUILDDIR>>' > dh_auto_test -- test --all > debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] > ['-j8'] 0 > debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, > x86_64-linux-gnu > debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', > '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--verbose', '--verbose', > '-j8', '--target', 'x86_64-unknown-linux-gnu', '--all'],) {} > Compiling rand_core v0.6.4 (/<<PKGBUILDDIR>>) > Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=rand_core > CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='The Rand Project > Developers:The Rust Project Developers' CARGO_PKG_DESCRIPTION='Core random > number generator traits and tools for implementation. > ' CARGO_PKG_HOMEPAGE='https://rust-random.github.io/book' > CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' > CARGO_PKG_NAME=rand_core CARGO_PKG_README=README.md > CARGO_PKG_REPOSITORY='https://github.com/rust-random/rand' > CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.4 CARGO_PKG_VERSION_MAJOR=0 > CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' > CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> > LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name > rand_core --edition=2018 src/lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib > --emit=dep-info,metadata,link -C embed-bitcode=no -C debuginfo=2 -C > metadata=df9694816f2e8336 -C extra-filename=-df9694816f2e8336 --out-dir > /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target > x86_64-unknown-linux-gnu -C > incremental=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/incremental > -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L > dependency=/<<PKGBUILDDIR>>/target/debug/deps -C debuginfo=2 -C strip=none > --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro > --remap-path-prefix > /<<PKGBUILDDIR>>=/usr/share/cargo/registry/rand-core-0.6.4 > --remap-path-prefix > /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry` > Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=rand_core > CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='The Rand Project > Developers:The Rust Project Developers' CARGO_PKG_DESCRIPTION='Core random > number generator traits and tools for implementation. > ' CARGO_PKG_HOMEPAGE='https://rust-random.github.io/book' > CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' > CARGO_PKG_NAME=rand_core CARGO_PKG_README=README.md > CARGO_PKG_REPOSITORY='https://github.com/rust-random/rand' > CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.4 CARGO_PKG_VERSION_MAJOR=0 > CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' > CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> > LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name > rand_core --edition=2018 src/lib.rs --error-format=json > --json=diagnostic-rendered-ansi,artifacts,future-incompat > --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test -C > metadata=86c09e0c772bbdc9 -C extra-filename=-86c09e0c772bbdc9 --out-dir > /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target > x86_64-unknown-linux-gnu -C > incremental=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/incremental > -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L > dependency=/<<PKGBUILDDIR>>/target/debug/deps -C debuginfo=2 -C strip=none > --cap-lints warn -C linker=x86_64-linux-gnu-gcc -C link-arg=-Wl,-z,relro > --remap-path-prefix > /<<PKGBUILDDIR>>=/usr/share/cargo/registry/rand-core-0.6.4 > --remap-path-prefix > /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry` > Finished `test` profile [unoptimized + debuginfo] target(s) in 1.33s > Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> > CARGO_PKG_AUTHORS='The Rand Project Developers:The Rust Project Developers' > CARGO_PKG_DESCRIPTION='Core random number generator traits and tools for > implementation. > ' CARGO_PKG_HOMEPAGE='https://rust-random.github.io/book' > CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' > CARGO_PKG_NAME=rand_core CARGO_PKG_README=README.md > CARGO_PKG_REPOSITORY='https://github.com/rust-random/rand' > CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.4 CARGO_PKG_VERSION_MAJOR=0 > CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' > LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps:/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' > > /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/rand_core-86c09e0c772bbdc9` > > running 6 tests > test block::test::blockrng64_next_u32_vs_next_u64 ... ok > test block::test::blockrng_next_u32_vs_next_u64 ... ok > test impls::test::test_fill_via_u64_chunks ... ok > test impls::test::test_fill_via_u32_chunks ... ok > test le::test_read ... ok > test test::test_seed_from_u64 ... ok > > test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; > finished in 0.00s > > Doc-tests rand_core > Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=rand_core > CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='The Rand Project > Developers:The Rust Project Developers' CARGO_PKG_DESCRIPTION='Core random > number generator traits and tools for implementation. > ' CARGO_PKG_HOMEPAGE='https://rust-random.github.io/book' > CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' > CARGO_PKG_NAME=rand_core CARGO_PKG_README=README.md > CARGO_PKG_REPOSITORY='https://github.com/rust-random/rand' > CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.6.4 CARGO_PKG_VERSION_MAJOR=0 > CARGO_PKG_VERSION_MINOR=6 CARGO_PKG_VERSION_PATCH=4 CARGO_PKG_VERSION_PRE='' > LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustdoc --edition=2018 > --crate-type lib --crate-name rand_core --test src/lib.rs > --test-run-directory /<<PKGBUILDDIR>> --target x86_64-unknown-linux-gnu -L > dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L > dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern > rand_core=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/librand_core-df9694816f2e8336.rlib > -C embed-bitcode=no --error-format human` > > running 5 tests > test src/impls.rs - impls::fill_via_u32_chunks (line 123) ... ignored > test src/lib.rs - SeedableRng::Seed (line 265) ... FAILED > test src/block.rs - block (line 24) - compile ... ok > test src/lib.rs - RngCore (line 111) ... ok > test src/lib.rs - CryptoRngCore (line 219) ... ok > > failures: > > ---- src/lib.rs - SeedableRng::Seed (line 265) stdout ---- > error: field `0` is never read > --> src/lib.rs:271:18 > | > 10 | pub struct MyRng(MyRngSeed); > | ----- ^^^^^^^^^ > | | > | field in this struct > | > note: the lint level is defined here > --> src/lib.rs:263:9 > | > 2 | #![deny(warnings)] > | ^^^^^^^^ > = note: `#[deny(dead_code)]` implied by `#[deny(warnings)]` > help: consider changing the field to be of unit type to suppress this warning > while preserving the field numbering, or remove the field > | > 10 | pub struct MyRng(()); > | ~~ > > error: aborting due to 1 previous error > > Couldn't compile the test. > > failures: > src/lib.rs - SeedableRng::Seed (line 265) > > test result: FAILED. 3 passed; 1 failed; 1 ignored; 0 measured; 0 filtered > out; finished in 0.37s > > error: doctest failed, to rerun pass `--doc` > dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code > 101 The full build log is available from: http://qa-logs.debian.net/2024/07/02/rust-rand-core_0.6.4-1_unstable.log All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lu...@debian.org or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&fusertaguser=lu...@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.