Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #389640

Bug#1103130: rust-wide: FTBFS in testing/i386: dh_auto_test: error: /usr/share/dh-rust/bin/cargo test returned exit code 101

From Lucas Nussbaum <lucas@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1103130: rust-wide: FTBFS in testing/i386: dh_auto_test: error: /usr/share/dh-rust/bin/cargo test returned exit code 101
Date 2025-04-14 14:00 +0200
Message-ID <KBqDL-ds2a-13@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Source: rust-wide
Version: 0.7.32-3
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas@debian.org
Usertags: ftbfs-20250414 ftbfs-trixie

Hi,

During a rebuild of all packages in testing (trixie), your package failed
to build on i386.


Relevant part (hopefully):
>  debian/rules binary
> dh binary
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure --buildsystem=rust
> 	/usr/share/dh-rust/bin/cargo prepare-debian debian/cargo_registry
> debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0
> debian cargo wrapper: rust_type, gnu_type: i686-unknown-linux-gnu, i686-linux-gnu
> debian cargo wrapper: linking /usr/share/cargo/registry/* into /build/reproducible-path/rust-wide-0.7.32/debian/cargo_registry/
>    dh_auto_build --buildsystem=rust
>    dh_auto_test --buildsystem=rust
> 	/usr/share/dh-rust/bin/cargo test
> debian cargo wrapper: options, profiles, parallel, lto: ['parallel=8'] [] ['-j8'] 0
> debian cargo wrapper: rust_type, gnu_type: i686-unknown-linux-gnu, i686-linux-gnu
> debian cargo wrapper: running subprocess (['env', 'RUST_BACKTRACE=1', '/usr/bin/cargo', '-Zavoid-dev-deps', 'test', '--profile', 'release', '--verbose', '--verbose', '-j8', '--target', 'i686-unknown-linux-gnu'],) {}
>    Compiling serde v1.0.217
>    Compiling bytemuck v1.21.0
>    Compiling wide v0.7.32 (/build/reproducible-path/rust-wide-0.7.32)
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=bytemuck CARGO_MANIFEST_DIR=/build/reproducible-path/rust-wide-0.7.32/debian/cargo_registry/bytemuck-1.21.0 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-wide-0.7.32/debian/cargo_registry/bytemuck-1.21.0/Cargo.toml CARGO_PKG_AUTHORS='Lokathor <zefria@gmail.com>' CARGO_PKG_DESCRIPTION='A crate for mucking around with piles of bytes.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Zlib OR Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=bytemuck CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/Lokathor/bytemuck' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=1.21.0 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=21 CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/build/reproducible-path/rust-wide-0.7.32/target/release/deps rustc --crate-name bytemuck --edition=2018 /build/reproducible-path/rust-wide-0.7.32/debian/cargo_registry/bytemuck-1.21.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --deny=unexpected_cfgs --check-cfg 'cfg(target_arch, values("spirv"))' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("aarch64_simd", "align_offset", "alloc_uninit", "avx512_simd", "bytemuck_derive", "const_zeroed", "derive", "extern_crate_alloc", "extern_crate_std", "latest_stable_rust", "min_const_generics", "must_cast", "must_cast_extra", "nightly_docs", "nightly_float", "nightly_portable_simd", "nightly_stdsimd", "track_caller", "transparentwrapper_extra", "unsound_ptr_pod_impl", "wasm_simd", "zeroable_atomics", "zeroable_maybe_uninit"))' -C metadata=7c3b1fecc19155b2 -C extra-filename=-b1bc0b37f40f8155 --out-dir /build/reproducible-path/rust-wide-0.7.32/target/i686-unknown-linux-gnu/release/deps --target i686-unknown-linux-gnu -C strip=debuginfo -L dependency=/build/reproducible-path/rust-wide-0.7.32/target/i686-unknown-linux-gnu/release/deps -L dependency=/build/reproducible-path/rust-wide-0.7.32/target/release/deps --cap-lints warn --remap-path-prefix wide_0.7.32=/usr/share/cargo/registry/wide-0.7.32`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/build/reproducible-path/rust-wide-0.7.32 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-wide-0.7.32/Cargo.toml CARGO_PKG_AUTHORS='Lokathor <zefria@gmail.com>' CARGO_PKG_DESCRIPTION='A crate to help you go wide.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Zlib OR Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=wide CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/Lokathor/wide' CARGO_PKG_RUST_VERSION=1.61 CARGO_PKG_VERSION=0.7.32 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=32 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 LD_LIBRARY_PATH=/build/reproducible-path/rust-wide-0.7.32/target/release/deps rustc --crate-name build_script_build --edition=2018 build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=7c863d3b65aa6aa6 -C extra-filename=-f7d3c5cc559a93be --out-dir /build/reproducible-path/rust-wide-0.7.32/target/release/build/wide-f7d3c5cc559a93be -C strip=debuginfo -L dependency=/build/reproducible-path/rust-wide-0.7.32/target/release/deps`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/build/reproducible-path/rust-wide-0.7.32/debian/cargo_registry/serde-1.0.217 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-wide-0.7.32/debian/cargo_registry/serde-1.0.217/Cargo.toml CARGO_PKG_AUTHORS='Erick Tryzelaar <erick.tryzelaar@gmail.com>:David Tolnay <dtolnay@gmail.com>' CARGO_PKG_DESCRIPTION='A generic serialization/deserialization framework' CARGO_PKG_HOMEPAGE='https://serde.rs' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=serde CARGO_PKG_README=crates-io.md CARGO_PKG_REPOSITORY='https://github.com/serde-rs/serde' CARGO_PKG_RUST_VERSION=1.31 CARGO_PKG_VERSION=1.0.217 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=217 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/build/reproducible-path/rust-wide-0.7.32/target/release/deps rustc --crate-name build_script_build --edition=2018 /build/reproducible-path/rust-wide-0.7.32/debian/cargo_registry/serde-1.0.217/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "derive", "rc", "serde_derive", "std", "unstable"))' -C metadata=07a22833020245d7 -C extra-filename=-d38f8b5fcc58b842 --out-dir /build/reproducible-path/rust-wide-0.7.32/target/release/build/serde-d38f8b5fcc58b842 -C strip=debuginfo -L dependency=/build/reproducible-path/rust-wide-0.7.32/target/release/deps --cap-lints warn`
>      Running `CARGO=/usr/bin/cargo CARGO_CFG_FEATURE=default,std CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI='' CARGO_CFG_TARGET_ARCH=x86 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=32 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='--remap-path-prefixwide_0.7.32=/usr/share/cargo/registry/wide-0.7.32' CARGO_FEATURE_DEFAULT=1 CARGO_FEATURE_STD=1 CARGO_MANIFEST_DIR=/build/reproducible-path/rust-wide-0.7.32/debian/cargo_registry/serde-1.0.217 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-wide-0.7.32/debian/cargo_registry/serde-1.0.217/Cargo.toml CARGO_PKG_AUTHORS='Erick Tryzelaar <erick.tryzelaar@gmail.com>:David Tolnay <dtolnay@gmail.com>' CARGO_PKG_DESCRIPTION='A generic serialization/deserialization framework' CARGO_PKG_HOMEPAGE='https://serde.rs' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=serde CARGO_PKG_README=crates-io.md CARGO_PKG_REPOSITORY='https://github.com/serde-rs/serde' CARGO_PKG_RUST_VERSION=1.31 CARGO_PKG_VERSION=1.0.217 CARGO_PKG_VERSION_MAJOR=1 CARGO_PKG_VERSION_MINOR=0 CARGO_PKG_VERSION_PATCH=217 CARGO_PKG_VERSION_PRE='' DEBUG=false HOST=i686-unknown-linux-gnu LD_LIBRARY_PATH='/build/reproducible-path/rust-wide-0.7.32/target/release/deps:/build/reproducible-path/rust-wide-0.7.32/target/release:/usr/lib/rustlib/i686-unknown-linux-gnu/lib' NUM_JOBS=8 OPT_LEVEL=3 OUT_DIR=/build/reproducible-path/rust-wide-0.7.32/target/i686-unknown-linux-gnu/release/build/serde-7734e2ed21fc64d7/out PROFILE=release RUSTC=rustc RUSTDOC=rustdoc TARGET=i686-unknown-linux-gnu /build/reproducible-path/rust-wide-0.7.32/target/release/build/serde-d38f8b5fcc58b842/build-script-build`
> [serde 1.0.217] cargo:rerun-if-changed=build.rs
>      Running `CARGO=/usr/bin/cargo CARGO_CFG_FEATURE=default,std CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI='' CARGO_CFG_TARGET_ARCH=x86 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=32 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='--remap-path-prefixwide_0.7.32=/usr/share/cargo/registry/wide-0.7.32' CARGO_FEATURE_DEFAULT=1 CARGO_FEATURE_STD=1 CARGO_MANIFEST_DIR=/build/reproducible-path/rust-wide-0.7.32 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-wide-0.7.32/Cargo.toml CARGO_PKG_AUTHORS='Lokathor <zefria@gmail.com>' CARGO_PKG_DESCRIPTION='A crate to help you go wide.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Zlib OR Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=wide CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/Lokathor/wide' CARGO_PKG_RUST_VERSION=1.61 CARGO_PKG_VERSION=0.7.32 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=32 CARGO_PKG_VERSION_PRE='' DEBUG=false HOST=i686-unknown-linux-gnu LD_LIBRARY_PATH='/build/reproducible-path/rust-wide-0.7.32/target/release/deps:/build/reproducible-path/rust-wide-0.7.32/target/release:/usr/lib/rustlib/i686-unknown-linux-gnu/lib' NUM_JOBS=8 OPT_LEVEL=3 OUT_DIR=/build/reproducible-path/rust-wide-0.7.32/target/i686-unknown-linux-gnu/release/build/wide-01bd48ff5cfbc27c/out PROFILE=release RUSTC=rustc RUSTDOC=rustdoc TARGET=i686-unknown-linux-gnu /build/reproducible-path/rust-wide-0.7.32/target/release/build/wide-f7d3c5cc559a93be/build-script-build`
> [wide 0.7.32] cargo:warning=Compiling optimized code on Debian non-SSE2 i686 architecture leads to unsound code. Build will be aborted.
> warning: wide@0.7.32: Compiling optimized code on Debian non-SSE2 i686 architecture leads to unsound code. Build will be aborted.
> error: failed to run custom build command for `wide v0.7.32 (/build/reproducible-path/rust-wide-0.7.32)`
> note: To improve backtraces for build dependencies, set the CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to enable debug information generation.
> 
> Caused by:
>   process didn't exit successfully: `CARGO=/usr/bin/cargo CARGO_CFG_FEATURE=default,std CARGO_CFG_PANIC=unwind CARGO_CFG_TARGET_ABI='' CARGO_CFG_TARGET_ARCH=x86 CARGO_CFG_TARGET_ENDIAN=little CARGO_CFG_TARGET_ENV=gnu CARGO_CFG_TARGET_FAMILY=unix CARGO_CFG_TARGET_HAS_ATOMIC=16,32,64,8,ptr CARGO_CFG_TARGET_OS=linux CARGO_CFG_TARGET_POINTER_WIDTH=32 CARGO_CFG_TARGET_VENDOR=unknown CARGO_CFG_UNIX='' CARGO_ENCODED_RUSTFLAGS='--remap-path-prefixwide_0.7.32=/usr/share/cargo/registry/wide-0.7.32' CARGO_FEATURE_DEFAULT=1 CARGO_FEATURE_STD=1 CARGO_MANIFEST_DIR=/build/reproducible-path/rust-wide-0.7.32 CARGO_MANIFEST_PATH=/build/reproducible-path/rust-wide-0.7.32/Cargo.toml CARGO_PKG_AUTHORS='Lokathor <zefria@gmail.com>' CARGO_PKG_DESCRIPTION='A crate to help you go wide.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='Zlib OR Apache-2.0 OR MIT' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=wide CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/Lokathor/wide' CARGO_PKG_RUST_VERSION=1.61 CARGO_PKG_VERSION=0.7.32 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=7 CARGO_PKG_VERSION_PATCH=32 CARGO_PKG_VERSION_PRE='' DEBUG=false HOST=i686-unknown-linux-gnu LD_LIBRARY_PATH='/build/reproducible-path/rust-wide-0.7.32/target/release/deps:/build/reproducible-path/rust-wide-0.7.32/target/release:/usr/lib/rustlib/i686-unknown-linux-gnu/lib' NUM_JOBS=8 OPT_LEVEL=3 OUT_DIR=/build/reproducible-path/rust-wide-0.7.32/target/i686-unknown-linux-gnu/release/build/wide-01bd48ff5cfbc27c/out PROFILE=release RUSTC=rustc RUSTDOC=rustdoc TARGET=i686-unknown-linux-gnu /build/reproducible-path/rust-wide-0.7.32/target/release/build/wide-f7d3c5cc559a93be/build-script-build` (exit status: 1)
>   --- stdout
>   cargo:warning=Compiling optimized code on Debian non-SSE2 i686 architecture leads to unsound code. Build will be aborted.
> warning: build failed, waiting for other jobs to finish...
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_core_cstr)
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_core_error)
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_core_net)
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_core_num_saturating)
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_core_try_from)
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_diagnostic_namespace)
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_float_copysign)
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_num_nonzero_signed)
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_relaxed_trait_bounds)
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_serde_derive)
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_std_atomic)
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_std_atomic64)
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_systemtime_checked_add)
> [serde 1.0.217] cargo:rustc-check-cfg=cfg(no_target_has_atomic)
> dh_auto_test: error: /usr/share/dh-rust/bin/cargo test returned exit code 101


The full build log is available from:
http://qa-logs.debian.net/2025/04/14/rust-wide_0.7.32-3_testing-i386.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250414;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250414&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.

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1103130: rust-wide: FTBFS in testing/i386: dh_auto_test: error: /usr/share/dh-rust/bin/cargo test returned exit code 101 Lucas Nussbaum <lucas@debian.org> - 2025-04-14 14:00 +0200
  Processed: Re: rust-wide: FTBFS in testing/i386: dh_auto_test:  error: /usr/share/dh-rust/bin/cargo test returned exit code 101 "Debian Bug Tracking System" <owner@bugs.debian.org> - 2025-04-17 09:00 +0200

csiph-web