[Pkg-rust-maintainers] Bug#1074721: rust-const-random: FTBFS: dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
Lucas Nussbaum
lucas at debian.org
Tue Jul 2 14:21:06 BST 2024
Source: rust-const-random
Version: 0.1.17-2
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at 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 libc v0.2.155
> Compiling crunchy v0.2.2
> Compiling tiny-keccak v2.0.2
> Compiling cfg-if v1.0.0
> Compiling once_cell v1.19.0
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.155 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc.
> ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libc CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.155 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=155 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.155 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name build_script_build --edition=2015 /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.155/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 -C metadata=428ba8ea38090c81 -C extra-filename=-428ba8ea38090c81 --out-dir /<<PKGBUILDDIR>>/target/debug/build/libc-428ba8ea38090c81 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/crunchy-0.2.2 CARGO_PKG_AUTHORS='Vurich <jackefransham at hotmail.co.uk>' CARGO_PKG_DESCRIPTION='Crunchy unroller: deterministically unroll constant loops' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=crunchy CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/crunchy-0.2.2 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name build_script_build --edition=2015 /<<PKGBUILDDIR>>/debian/cargo_registry/crunchy-0.2.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="limit_128"' -C metadata=2da0f091b25f5576 -C extra-filename=-2da0f091b25f5576 --out-dir /<<PKGBUILDDIR>>/target/debug/build/crunchy-2da0f091b25f5576 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/tiny-keccak-2.0.2 CARGO_PKG_AUTHORS='debris <marek.kotewicz at gmail.com>' CARGO_PKG_DESCRIPTION='An implementation of Keccak derived functions.' CARGO_PKG_HOMEPAGE='https://github.com/debris/tiny-keccak' CARGO_PKG_LICENSE=CC0-1.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=tiny-keccak CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=2.0.2 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/tiny-keccak-2.0.2 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name build_script_build --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/tiny-keccak-2.0.2/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="shake"' -C metadata=8c55938f5a324432 -C extra-filename=-8c55938f5a324432 --out-dir /<<PKGBUILDDIR>>/target/debug/build/tiny-keccak-8c55938f5a324432 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=cfg_if CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-1.0.0 CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>' CARGO_PKG_DESCRIPTION='A macro to ergonomically define an item depending on a large number of #[cfg]
> parameters. Structured like an if-else chain, the first matching branch is the
> item that gets emitted.
> ' CARGO_PKG_HOMEPAGE='https://github.com/alexcrichton/cfg-if' CARGO_PKG_LICENSE=MIT/Apache-2.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=cfg-if CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/alexcrichton/cfg-if' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.0.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-1.0.0 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name cfg_if --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/cfg-if-1.0.0/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=55bae46b0d7139df -C extra-filename=-55bae46b0d7139df --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=once_cell CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/once_cell-1.19.0 CARGO_PKG_AUTHORS='Aleksey Kladov <aleksey.kladov at gmail.com>' CARGO_PKG_DESCRIPTION='Single assignment cells and lazy values.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=once_cell CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/matklad/once_cell' CARGO_PKG_RUST_VERSION=1.60 CARGO_PKG_VERSION=1.19.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=19 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/once_cell-1.19.0 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name once_cell --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/once_cell-1.19.0/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 --cfg 'feature="alloc"' --cfg 'feature="race"' -C metadata=6a304332640f961f -C extra-filename=-6a304332640f961f --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
> Running `CARGO=/usr/bin/cargo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI='' CARGO_CFG_TARGET_ARCH=x86_64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=fxsr,sse,sse2 CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='' CARGO_FEATURE_DEFAULT=1 CARGO_FEATURE_SHAKE=1 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/tiny-keccak-2.0.2 CARGO_PKG_AUTHORS='debris <marek.kotewicz at gmail.com>' CARGO_PKG_DESCRIPTION='An implementation of Keccak derived functions.' CARGO_PKG_HOMEPAGE='https://github.com/debris/tiny-keccak' CARGO_PKG_LICENSE=CC0-1.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=tiny-keccak CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=2.0.2 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' DEBUG=true HOST=x86_64-unknown-linux-gnu LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/<<PKGBUILDDIR>>/target/debug:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' NUM_JOBS=8 OPT_LEVEL=0 OUT_DIR=/<<PKGBUILDDIR>>/target/debug/build/tiny-keccak-f9c3bfe47ad7e728/out PROFILE=debug RUSTC=rustc RUSTDOC=rustdoc TARGET=x86_64-unknown-linux-gnu /<<PKGBUILDDIR>>/target/debug/build/tiny-keccak-8c55938f5a324432/build-script-build`
> Running `CARGO=/usr/bin/cargo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI='' CARGO_CFG_TARGET_ARCH=x86_64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=fxsr,sse,sse2 CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='' CARGO_FEATURE_DEFAULT=1 CARGO_FEATURE_LIMIT_128=1 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/crunchy-0.2.2 CARGO_PKG_AUTHORS='Vurich <jackefransham at hotmail.co.uk>' CARGO_PKG_DESCRIPTION='Crunchy unroller: deterministically unroll constant loops' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=crunchy CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' DEBUG=true HOST=x86_64-unknown-linux-gnu LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/<<PKGBUILDDIR>>/target/debug:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' NUM_JOBS=8 OPT_LEVEL=0 OUT_DIR=/<<PKGBUILDDIR>>/target/debug/build/crunchy-65cfc58abd6d2b58/out PROFILE=debug RUSTC=rustc RUSTDOC=rustdoc TARGET=x86_64-unknown-linux-gnu /<<PKGBUILDDIR>>/target/debug/build/crunchy-2da0f091b25f5576/build-script-build`
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=crunchy CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/crunchy-0.2.2 CARGO_PKG_AUTHORS='Vurich <jackefransham at hotmail.co.uk>' CARGO_PKG_DESCRIPTION='Crunchy unroller: deterministically unroll constant loops' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=crunchy CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.2 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/crunchy-0.2.2 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps OUT_DIR=/<<PKGBUILDDIR>>/target/debug/build/crunchy-65cfc58abd6d2b58/out rustc --crate-name crunchy --edition=2015 /<<PKGBUILDDIR>>/debian/cargo_registry/crunchy-0.2.2/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 --cfg 'feature="default"' --cfg 'feature="limit_128"' -C metadata=0ef431dcc231635c -C extra-filename=-0ef431dcc231635c --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=tiny_keccak CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/tiny-keccak-2.0.2 CARGO_PKG_AUTHORS='debris <marek.kotewicz at gmail.com>' CARGO_PKG_DESCRIPTION='An implementation of Keccak derived functions.' CARGO_PKG_HOMEPAGE='https://github.com/debris/tiny-keccak' CARGO_PKG_LICENSE=CC0-1.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=tiny-keccak CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=2.0.2 CARGO_PKG_VERSION_MAJOR=2 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=2 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/tiny-keccak-2.0.2 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps OUT_DIR=/<<PKGBUILDDIR>>/target/debug/build/tiny-keccak-f9c3bfe47ad7e728/out rustc --crate-name tiny_keccak --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/tiny-keccak-2.0.2/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 --cfg 'feature="default"' --cfg 'feature="shake"' -C metadata=0b78c20b49dfbf16 -C extra-filename=-0b78c20b49dfbf16 --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern crunchy=/<<PKGBUILDDIR>>/target/debug/deps/libcrunchy-0ef431dcc231635c.rmeta --cap-lints warn`
> Running `CARGO=/usr/bin/cargo CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI='' CARGO_CFG_TARGET_ARCH=x86_64 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_FEATURE=fxsr,sse,sse2 CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=64 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.155 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc.
> ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libc CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.155 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=155 CARGO_PKG_VERSION_PRE='' DEBUG=true HOST=x86_64-unknown-linux-gnu LD_LIBRARY_PATH='/<<PKGBUILDDIR>>/target/debug/deps:/<<PKGBUILDDIR>>/target/debug:/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib' NUM_JOBS=8 OPT_LEVEL=0 OUT_DIR=/<<PKGBUILDDIR>>/target/debug/build/libc-16c38c31cc6027bf/out PROFILE=debug RUSTC=rustc RUSTDOC=rustdoc TARGET=x86_64-unknown-linux-gnu /<<PKGBUILDDIR>>/target/debug/build/libc-428ba8ea38090c81/build-script-build`
> [libc 0.2.155] cargo:rerun-if-changed=build.rs
> [libc 0.2.155] cargo:rustc-cfg=freebsd11
> [libc 0.2.155] cargo:rustc-cfg=libc_priv_mod_use
> [libc 0.2.155] cargo:rustc-cfg=libc_union
> [libc 0.2.155] cargo:rustc-cfg=libc_const_size_of
> [libc 0.2.155] cargo:rustc-cfg=libc_align
> [libc 0.2.155] cargo:rustc-cfg=libc_int128
> [libc 0.2.155] cargo:rustc-cfg=libc_core_cvoid
> [libc 0.2.155] cargo:rustc-cfg=libc_packedN
> [libc 0.2.155] cargo:rustc-cfg=libc_cfg_target_vendor
> [libc 0.2.155] cargo:rustc-cfg=libc_non_exhaustive
> [libc 0.2.155] cargo:rustc-cfg=libc_long_array
> [libc 0.2.155] cargo:rustc-cfg=libc_ptr_addr_of
> [libc 0.2.155] cargo:rustc-cfg=libc_underscore_const_names
> [libc 0.2.155] cargo:rustc-cfg=libc_const_extern_fn
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=libc CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.155 CARGO_PKG_AUTHORS='The Rust Project Developers' CARGO_PKG_DESCRIPTION='Raw FFI bindings to platform libraries like libc.
> ' CARGO_PKG_HOMEPAGE='https://github.com/rust-lang/libc' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=libc CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/libc' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.155 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=155 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.155 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps OUT_DIR=/<<PKGBUILDDIR>>/target/debug/build/libc-16c38c31cc6027bf/out rustc --crate-name libc --edition=2015 /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.155/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=aa11e58831bd0bd2 -C extra-filename=-aa11e58831bd0bd2 --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn`
> warning: struct `EncodedLen` is never constructed
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/tiny-keccak-2.0.2/src/lib.rs:269:8
> |
> 269 | struct EncodedLen {
> | ^^^^^^^^^^
> |
> = note: `#[warn(dead_code)]` on by default
>
> warning: method `value` is never used
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/tiny-keccak-2.0.2/src/lib.rs:275:8
> |
> 274 | impl EncodedLen {
> | --------------- method in this implementation
> 275 | fn value(&self) -> &[u8] {
> | ^^^^^
>
> warning: function `left_encode` is never used
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/tiny-keccak-2.0.2/src/lib.rs:280:4
> |
> 280 | fn left_encode(len: usize) -> EncodedLen {
> | ^^^^^^^^^^^
>
> warning: function `right_encode` is never used
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/tiny-keccak-2.0.2/src/lib.rs:292:4
> |
> 292 | fn right_encode(len: usize) -> EncodedLen {
> | ^^^^^^^^^^^^
>
> warning: method `reset` is never used
> --> /<<PKGBUILDDIR>>/debian/cargo_registry/tiny-keccak-2.0.2/src/lib.rs:469:8
> |
> 390 | impl<P: Permutation> KeccakState<P> {
> | ----------------------------------- method in this implementation
> ...
> 469 | fn reset(&mut self) {
> | ^^^^^
>
> warning: `tiny-keccak` (lib) generated 5 warnings
> Compiling getrandom v0.2.12
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=getrandom CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/getrandom-0.2.12 CARGO_PKG_AUTHORS='The Rand Project Developers' CARGO_PKG_DESCRIPTION='A small cross-platform library for retrieving random data from system source' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=getrandom CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-random/getrandom' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.12 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=12 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/getrandom-0.2.12 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name getrandom --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/getrandom-0.2.12/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=139ba998f0411f45 -C extra-filename=-139ba998f0411f45 --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern cfg_if=/<<PKGBUILDDIR>>/target/debug/deps/libcfg_if-55bae46b0d7139df.rmeta --extern libc=/<<PKGBUILDDIR>>/target/debug/deps/liblibc-aa11e58831bd0bd2.rmeta --cap-lints warn`
> Compiling const-random-macro v0.1.16
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=const_random_macro CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/const-random-macro-0.1.16 CARGO_PKG_AUTHORS='Tom Kaitchuck <Tom.Kaitchuck at gmail.com>' CARGO_PKG_DESCRIPTION='Provides the procedural macro used by const-random' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=const-random-macro CARGO_PKG_README='' CARGO_PKG_REPOSITORY='https://github.com/tkaitchuck/constrandom' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.16 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=16 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/const-random-macro-0.1.16 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name const_random_macro --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/const-random-macro-0.1.16/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debuginfo=2 -C metadata=b04c08663c6a4d2d -C extra-filename=-b04c08663c6a4d2d --out-dir /<<PKGBUILDDIR>>/target/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern getrandom=/<<PKGBUILDDIR>>/target/debug/deps/libgetrandom-139ba998f0411f45.rlib --extern once_cell=/<<PKGBUILDDIR>>/target/debug/deps/libonce_cell-6a304332640f961f.rlib --extern tiny_keccak=/<<PKGBUILDDIR>>/target/debug/deps/libtiny_keccak-0b78c20b49dfbf16.rlib --extern proc_macro --cap-lints warn`
> Compiling const-random v0.1.17 (/<<PKGBUILDDIR>>)
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=const_random CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Tom Kaitchuck <Tom.Kaitchuck at gmail.com>' CARGO_PKG_DESCRIPTION='Provides compile time random number generation.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=const-random CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tkaitchuck/constrandom' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.17 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=17 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name const_random --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=afad3b4c3dd80c22 -C extra-filename=-afad3b4c3dd80c22 --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 --extern const_random_macro=/<<PKGBUILDDIR>>/target/debug/deps/libconst_random_macro-b04c08663c6a4d2d.so -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/const-random-0.1.17 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=const_random CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Tom Kaitchuck <Tom.Kaitchuck at gmail.com>' CARGO_PKG_DESCRIPTION='Provides compile time random number generation.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=const-random CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tkaitchuck/constrandom' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.17 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=17 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name const_random --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=09d4335128e946d6 -C extra-filename=-09d4335128e946d6 --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 --extern const_random_macro=/<<PKGBUILDDIR>>/target/debug/deps/libconst_random_macro-b04c08663c6a4d2d.so -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/const-random-0.1.17 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
> Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=tests CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Tom Kaitchuck <Tom.Kaitchuck at gmail.com>' CARGO_PKG_DESCRIPTION='Provides compile time random number generation.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=const-random CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tkaitchuck/constrandom' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.17 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=17 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> CARGO_TARGET_TMPDIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/tmp LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name tests --edition=2018 tests/tests.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=65af6f42ca681ad6 -C extra-filename=-65af6f42ca681ad6 --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 --extern const_random=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libconst_random-afad3b4c3dd80c22.rlib --extern const_random_macro=/<<PKGBUILDDIR>>/target/debug/deps/libconst_random_macro-b04c08663c6a4d2d.so -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/const-random-0.1.17 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
> error: proc macro panicked
> --> tests/tests.rs:52:28
> |
> 52 | const VALUE1: &[u8] = &const_random!([u8; 30]);
> | ^^^^^^^^^^^^^^^^^^^^^^^
> |
> = help: message: Invalid type
>
> error: proc macro panicked
> --> tests/tests.rs:53:30
> |
> 53 | const VALUE2: [u8; 30] = const_random!([u8; 30]);
> | ^^^^^^^^^^^^^^^^^^^^^^^
> |
> = help: message: Invalid type
>
> error: could not compile `const-random` (test "tests") due to 2 previous errors
>
> Caused by:
> process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=tests CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Tom Kaitchuck <Tom.Kaitchuck at gmail.com>' CARGO_PKG_DESCRIPTION='Provides compile time random number generation.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=const-random CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/tkaitchuck/constrandom' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.1.17 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=1 CARGO_PKG_VERSION_PATCH=17 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> CARGO_TARGET_TMPDIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/tmp LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name tests --edition=2018 tests/tests.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=65af6f42ca681ad6 -C extra-filename=-65af6f42ca681ad6 --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 --extern const_random=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libconst_random-afad3b4c3dd80c22.rlib --extern const_random_macro=/<<PKGBUILDDIR>>/target/debug/deps/libconst_random_macro-b04c08663c6a4d2d.so -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/const-random-0.1.17 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry` (exit status: 1)
> warning: build failed, waiting for other jobs to finish...
> 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-const-random_0.1.17-2_unstable.log
All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240702;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240702&fusertaguser=lucas@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.
More information about the Pkg-rust-maintainers
mailing list