Source: rust-malloc-buf Version: 1.0.0-2 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 libc v0.2.155 > 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 > --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=cd93abf4dcea7ae6 > -C extra-filename=-cd93abf4dcea7ae6 --out-dir > /<<PKGBUILDDIR>>/target/debug/build/libc-cd93abf4dcea7ae6 -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='-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/malloc-buf-1.0.0--remap-path-prefix/<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry' > CARGO_FEATURE_DEFAULT=1 CARGO_FEATURE_STD=1 > 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/x86_64-unknown-linux-gnu/debug/build/libc-7dc89ab55f097c0a/out > PROFILE=debug RUSTC=rustc RUSTDOC=rustdoc TARGET=x86_64-unknown-linux-gnu > /<<PKGBUILDDIR>>/target/debug/build/libc-cd93abf4dcea7ae6/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/x86_64-unknown-linux-gnu/debug/build/libc-7dc89ab55f097c0a/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 --cfg 'feature="default"' --cfg 'feature="std"' -C > metadata=8ec7500fba4f3859 -C extra-filename=-8ec7500fba4f3859 --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/malloc-buf-1.0.0 > --remap-path-prefix > /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry --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` > Compiling malloc_buf v1.0.0 (/<<PKGBUILDDIR>>) > Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=malloc_buf > CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Steven Sheldon' > CARGO_PKG_DESCRIPTION='Structs for handling malloc'\''d memory passed to > Rust.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' > CARGO_PKG_NAME=malloc_buf CARGO_PKG_README='' > CARGO_PKG_REPOSITORY='https://github.com/SSheldon/malloc_buf' > 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_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> > LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name > malloc_buf --edition=2015 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=4638dd894ad2d8e6 -C extra-filename=-4638dd894ad2d8e6 --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-8ec7500fba4f3859.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/malloc-buf-1.0.0 > --remap-path-prefix > /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry` > Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=malloc_buf > CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Steven Sheldon' > CARGO_PKG_DESCRIPTION='Structs for handling malloc'\''d memory passed to > Rust.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' > CARGO_PKG_NAME=malloc_buf CARGO_PKG_README='' > CARGO_PKG_REPOSITORY='https://github.com/SSheldon/malloc_buf' > 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_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> > LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name > malloc_buf --edition=2015 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=57d795b785b4504e -C extra-filename=-57d795b785b4504e --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-8ec7500fba4f3859.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/malloc-buf-1.0.0 > --remap-path-prefix > /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry` > Finished `test` profile [unoptimized + debuginfo] target(s) in 2.46s > Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> > CARGO_PKG_AUTHORS='Steven Sheldon' CARGO_PKG_DESCRIPTION='Structs for > handling malloc'\''d memory passed to Rust.' CARGO_PKG_HOMEPAGE='' > CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=malloc_buf > CARGO_PKG_README='' > CARGO_PKG_REPOSITORY='https://github.com/SSheldon/malloc_buf' > 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='' > 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/malloc_buf-57d795b785b4504e` > > running 5 tests > thread 'tests::test_null_buf' panicked at library/core/src/panicking.rs:220:5: > unsafe precondition(s) violated: slice::from_raw_parts requires the pointer > to be aligned and non-null, and the total size of the slice not to exceed > `isize::MAX` > stack backtrace: > 0: rust_begin_unwind > at /usr/src/rustc-1.79.0/library/std/src/panicking.rs:652:5 > 1: core::panicking::panic_nounwind_fmt::runtime > at /usr/src/rustc-1.79.0/library/core/src/panicking.rs:110:18 > 2: core::panicking::panic_nounwind_fmt > at /usr/src/rustc-1.79.0/library/core/src/panicking.rs:120:5 > 3: core::panicking::panic_nounwind > at /usr/src/rustc-1.79.0/library/core/src/panicking.rs:220:5 > 4: core::slice::raw::from_raw_parts::precondition_check > at /usr/src/rustc-1.79.0/library/core/src/ub_checks.rs:66:21 > 5: core::slice::raw::from_raw_parts > at /usr/src/rustc-1.79.0/library/core/src/ub_checks.rs:73:17 > 6: malloc_buf::Malloc<[T]>::from_array > at /usr/share/cargo/registry/malloc-buf-1.0.0/src/lib.rs:48:21 > 7: malloc_buf::tests::test_null_buf > at /usr/share/cargo/registry/malloc-buf-1.0.0/src/lib.rs:129:13 > 8: malloc_buf::tests::test_null_buf::{{closure}} > at /usr/share/cargo/registry/malloc-buf-1.0.0/src/lib.rs:127:23 > 9: core::ops::function::FnOnce::call_once > at /usr/src/rustc-1.79.0/library/core/src/ops/function.rs:250:5 > 10: core::ops::function::FnOnce::call_once > at /usr/src/rustc-1.79.0/library/core/src/ops/function.rs:250:5 > note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose > backtrace. > thread caused non-unwinding panic. aborting. > error: test failed, to rerun pass `--lib` > > Caused by: > process didn't exit successfully: `CARGO=/usr/bin/cargo > CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Steven Sheldon' > CARGO_PKG_DESCRIPTION='Structs for handling malloc'\''d memory passed to > Rust.' CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE='' > CARGO_PKG_NAME=malloc_buf CARGO_PKG_README='' > CARGO_PKG_REPOSITORY='https://github.com/SSheldon/malloc_buf' > 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='' > 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/malloc_buf-57d795b785b4504e` > (signal: 6, SIGABRT: process abort signal) > 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-malloc-buf_1.0.0-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=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.