[Pkg-rust-maintainers] Bug#1092411: rust-xxhash-c-sys: FTBFS: dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101

Lucas Nussbaum lucas at debian.org
Tue Jan 7 19:52:41 GMT 2025


Source: rust-xxhash-c-sys
Version: 0.8.4-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20250106 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'] 
> 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 pkg-config v0.3.31
>    Compiling libc v0.2.169
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=pkg_config CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/pkg-config-0.3.31 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/pkg-config-0.3.31/Cargo.toml CARGO_PKG_AUTHORS='Alex Crichton <alex at alexcrichton.com>' CARGO_PKG_DESCRIPTION='A library to run the pkg-config system tool at build time in order to be used in
> Cargo build scripts.
> ' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=pkg-config CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/rust-lang/pkg-config-rs' CARGO_PKG_RUST_VERSION=1.31 CARGO_PKG_VERSION=0.3.31 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=3 CARGO_PKG_VERSION_PATCH=31 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/pkg-config-0.3.31 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name pkg_config --edition=2018 /<<PKGBUILDDIR>>/debian/cargo_registry/pkg-config-0.3.31/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=c33d78ae0b6b3702 -C extra-filename=-c33d78ae0b6b3702 --out-dir /<<PKGBUILDDIR>>/target/debug/deps -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/libc-0.2.169 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.169/Cargo.toml 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=1.63 CARGO_PKG_VERSION=0.2.169 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=169 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.169 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name build_script_build --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.169/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=1a2fdf8cc27d7f67 -C extra-filename=-1a2fdf8cc27d7f67 --out-dir /<<PKGBUILDDIR>>/target/debug/build/libc-1a2fdf8cc27d7f67 -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn`
> warning: unreachable expression
>    --> /<<PKGBUILDDIR>>/debian/cargo_registry/pkg-config-0.3.31/src/lib.rs:596:9
>     |
> 592 |           return true;
>     |           ----------- any code following this expression is unreachable
> ...
> 596 | /         match self.targeted_env_var("PKG_CONFIG_ALLOW_CROSS") {
> 597 | |             // don't use pkg-config if explicitly disabled
> 598 | |             Some(ref val) if val == "0" => false,
> 599 | |             Some(_) => true,
> ...   |
> 605 | |             }
> 606 | |         }
>     | |_________^ unreachable expression
>     |
>     = note: `#[warn(unreachable_code)]` on by default
> 
>      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='-Cdebuginfo=2-Cstrip=none--cap-lintswarn-Clinker=x86_64-linux-gnu-gcc-Clink-arg=-Wl,-z,relro--remap-path-prefix/<<PKGBUILDDIR>>=/usr/share/cargo/registry/xxhash-c-sys-0.8.4--remap-path-prefix/<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.169 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.169/Cargo.toml 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=1.63 CARGO_PKG_VERSION=0.2.169 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=169 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/x86_64-unknown-linux-gnu/debug/build/libc-9fd1bcd813345e7f/out PROFILE=debug RUSTC=rustc RUSTDOC=rustdoc TARGET=x86_64-unknown-linux-gnu /<<PKGBUILDDIR>>/target/debug/build/libc-1a2fdf8cc27d7f67/build-script-build`
> [libc 0.2.169] cargo:rerun-if-changed=build.rs
> [libc 0.2.169] cargo:rerun-if-env-changed=RUST_LIBC_UNSTABLE_FREEBSD_VERSION
> [libc 0.2.169] cargo:rustc-cfg=freebsd11
> [libc 0.2.169] cargo:rustc-cfg=libc_const_extern_fn
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(emscripten_new_stat_abi)
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(espidf_time32)
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(freebsd10)
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(freebsd11)
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(freebsd12)
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(freebsd13)
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(freebsd14)
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(freebsd15)
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(gnu_time64_abi)
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(libc_const_extern_fn)
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(libc_deny_warnings)
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(libc_thread_local)
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(libc_ctest)
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(target_env,values("illumos","wasi","aix","ohos"))
> [libc 0.2.169] cargo:rustc-check-cfg=cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=libc CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.169 CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.169/Cargo.toml 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=1.63 CARGO_PKG_VERSION=0.2.169 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=169 CARGO_PKG_VERSION_PRE='' CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.169 LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/libc-9fd1bcd813345e7f/out rustc --crate-name libc --edition=2021 /<<PKGBUILDDIR>>/debian/cargo_registry/libc-0.2.169/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=62b29bfbe96a82e1 -C extra-filename=-62b29bfbe96a82e1 --out-dir /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps --target x86_64-unknown-linux-gnu -L dependency=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --cap-lints warn -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/xxhash-c-sys-0.8.4 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(gnu_time64_abi)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'`
> warning: `pkg-config` (lib) generated 1 warning
>    Compiling xxhash-c-sys v0.8.4 (/<<PKGBUILDDIR>>)
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=build_script_build CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Douman <douman at gmx.se>' CARGO_PKG_DESCRIPTION='Bindings to xxhash' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=BSL-1.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=xxhash-c-sys CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/DoumanAsh/xxhash-c-sys' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.8.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=8 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 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 debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=1a3fcfe6f249cb18 -C extra-filename=-1a3fcfe6f249cb18 --out-dir /<<PKGBUILDDIR>>/target/debug/build/xxhash-c-sys-1a3fcfe6f249cb18 -C incremental=/<<PKGBUILDDIR>>/target/debug/incremental -L dependency=/<<PKGBUILDDIR>>/target/debug/deps --extern pkg_config=/<<PKGBUILDDIR>>/target/debug/deps/libpkg_config-c33d78ae0b6b3702.rlib`
> warning: unused import: `crate::ntptimeval`
>  --> /usr/share/cargo/registry/libc-0.2.169/src/unix/linux_like/linux/gnu/b64/mod.rs:5:5
>   |
> 5 | use crate::ntptimeval;
>   |     ^^^^^^^^^^^^^^^^^
>   |
>   = note: `#[warn(unused_imports)]` on by default
> 
>      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='-Cdebuginfo=2-Cstrip=none--cap-lintswarn-Clinker=x86_64-linux-gnu-gcc-Clink-arg=-Wl,-z,relro--remap-path-prefix/<<PKGBUILDDIR>>=/usr/share/cargo/registry/xxhash-c-sys-0.8.4--remap-path-prefix/<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry' CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Douman <douman at gmx.se>' CARGO_PKG_DESCRIPTION='Bindings to xxhash' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=BSL-1.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=xxhash-c-sys CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/DoumanAsh/xxhash-c-sys' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.8.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=8 CARGO_PKG_VERSION_PATCH=4 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/x86_64-unknown-linux-gnu/debug/build/xxhash-c-sys-09f05e72d9cd9254/out PROFILE=debug RUSTC=rustc RUSTDOC=rustdoc TARGET=x86_64-unknown-linux-gnu /<<PKGBUILDDIR>>/target/debug/build/xxhash-c-sys-1a3fcfe6f249cb18/build-script-build`
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=LIBXXHASH_NO_PKG_CONFIG
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=DEB_HOST_GNU_TYPE
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=LIBXXHASH_STATIC
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=LIBXXHASH_DYNAMIC
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=SYSROOT
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=LIBXXHASH_STATIC
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=LIBXXHASH_DYNAMIC
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
> [xxhash-c-sys 0.8.4] cargo:rustc-link-search=native=/usr/lib/x86_64-linux-gnu
> [xxhash-c-sys 0.8.4] cargo:rustc-link-lib=xxhash
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=DEB_HOST_GNU_TYPE
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=LIBXXHASH_STATIC
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=LIBXXHASH_DYNAMIC
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_PATH
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
> [xxhash-c-sys 0.8.4] cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=xxhash_c_sys CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Douman <douman at gmx.se>' CARGO_PKG_DESCRIPTION='Bindings to xxhash' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=BSL-1.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=xxhash-c-sys CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/DoumanAsh/xxhash-c-sys' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.8.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=8 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 OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/xxhash-c-sys-09f05e72d9cd9254/out rustc --crate-name xxhash_c_sys --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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=223d54b9aaf30fb7 -C extra-filename=-223d54b9aaf30fb7 --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 libc=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-62b29bfbe96a82e1.rmeta -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/xxhash-c-sys-0.8.4 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry -L native=/usr/lib/x86_64-linux-gnu -l xxhash`
> warning: `libc` (lib) generated 1 warning
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=xxhash_c_sys CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Douman <douman at gmx.se>' CARGO_PKG_DESCRIPTION='Bindings to xxhash' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=BSL-1.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=xxhash-c-sys CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/DoumanAsh/xxhash-c-sys' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.8.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=8 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 OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/xxhash-c-sys-09f05e72d9cd9254/out rustc --crate-name xxhash_c_sys --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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=acdd8e65193c21d3 -C extra-filename=-acdd8e65193c21d3 --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 libc=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-62b29bfbe96a82e1.rlib -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/xxhash-c-sys-0.8.4 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry -L native=/usr/lib/x86_64-linux-gnu -l xxhash`
>      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=hash CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Douman <douman at gmx.se>' CARGO_PKG_DESCRIPTION='Bindings to xxhash' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=BSL-1.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=xxhash-c-sys CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/DoumanAsh/xxhash-c-sys' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.8.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=8 CARGO_PKG_VERSION_PATCH=4 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 OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/xxhash-c-sys-09f05e72d9cd9254/out rustc --crate-name hash --edition=2018 tests/hash.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=a60c69401450cc16 -C extra-filename=-a60c69401450cc16 --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 libc=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liblibc-62b29bfbe96a82e1.rlib --extern xxhash_c_sys=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/libxxhash_c_sys-223d54b9aaf30fb7.rlib -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/xxhash-c-sys-0.8.4 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry -L native=/usr/lib/x86_64-linux-gnu`
>     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.49s
>      Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Douman <douman at gmx.se>' CARGO_PKG_DESCRIPTION='Bindings to xxhash' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=BSL-1.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=xxhash-c-sys CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/DoumanAsh/xxhash-c-sys' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.8.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=8 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' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/xxhash-c-sys-09f05e72d9cd9254/out /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/xxhash_c_sys-acdd8e65193c21d3`
> 
> running 0 tests
> 
> test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
> 
>      Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_MANIFEST_PATH=/<<PKGBUILDDIR>>/Cargo.toml CARGO_PKG_AUTHORS='Douman <douman at gmx.se>' CARGO_PKG_DESCRIPTION='Bindings to xxhash' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=BSL-1.0 CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=xxhash-c-sys CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/DoumanAsh/xxhash-c-sys' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.8.4 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=8 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' OUT_DIR=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/build/xxhash-c-sys-09f05e72d9cd9254/out /<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/hash-a60c69401450cc16`
> 
> running 3 tests
> test should_work ... ok
> test should_work3 ... ok
> test assert_version ... FAILED
> 
> failures:
> 
> ---- assert_version stdout ----
> thread 'assert_version' panicked at tests/hash.rs:12:5:
> assertion `left == right` failed
>   left: 803
>  right: 802
> stack backtrace:
>    0: rust_begin_unwind
>              at /usr/src/rustc-1.83.0/library/std/src/panicking.rs:665:5
>    1: core::panicking::panic_fmt
>              at /usr/src/rustc-1.83.0/library/core/src/panicking.rs:74:14
>    2: core::panicking::assert_failed_inner
>    3: core::panicking::assert_failed
>              at /usr/src/rustc-1.83.0/library/core/src/panicking.rs:367:5
>    4: hash::assert_version
>              at /usr/share/cargo/registry/xxhash-c-sys-0.8.4/tests/hash.rs:12:5
>    5: hash::assert_version::{{closure}}
>              at /usr/share/cargo/registry/xxhash-c-sys-0.8.4/tests/hash.rs:5:20
>    6: core::ops::function::FnOnce::call_once
>              at /usr/src/rustc-1.83.0/library/core/src/ops/function.rs:250:5
>    7: core::ops::function::FnOnce::call_once
>              at /usr/src/rustc-1.83.0/library/core/src/ops/function.rs:250:5
> note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
> 
> 
> failures:
>     assert_version
> 
> test result: FAILED. 2 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
> 
> error: test failed, to rerun pass `--test hash`
> 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/2025/01/06/rust-xxhash-c-sys_0.8.4-1_unstable.log

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