[Pkg-rust-maintainers] Bug#1086315: rust-allocator-api2: FTBFS: error[E0658]: use of unstable library feature 'new_zeroed_alloc'

Santiago Vila sanvila at debian.org
Tue Oct 29 20:05:31 GMT 2024


Package: src:rust-allocator-api2
Version: 0.2.16-1
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
  debian/rules binary
dh binary --buildsystem cargo
    dh_update_autotools_config -O--buildsystem=cargo
    dh_autoreconf -O--buildsystem=cargo
    dh_auto_configure -O--buildsystem=cargo
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=1'] [] ['-j1']
debian cargo wrapper: rust_type, gnu_type: x86_64-unknown-linux-gnu, x86_64-linux-gnu
debian cargo wrapper: linking /usr/share/cargo/registry/* into /<<PKGBUILDDIR>>/debian/cargo_registry/
    dh_auto_build -O--buildsystem=cargo
    debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
# tests use #![feature()]
RUSTC_BOOTSTRAP=1 dh_auto_test -- test --all
debian cargo wrapper: options, profiles, parallel, lto: ['parallel=1'] [] ['-j1']

[... snipped ...]

     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
     --> src/stable/vec/mod.rs:1005:15
      |
1005 |     #[cfg(not(no_global_oom_handling))]
      |               ^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: consider using a Cargo feature instead
      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
               [lints.rust]
               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
     --> src/stable/vec/mod.rs:1345:15
      |
1345 |     #[cfg(not(no_global_oom_handling))]
      |               ^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: consider using a Cargo feature instead
      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
               [lints.rust]
               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
     --> src/stable/vec/mod.rs:1749:15
      |
1749 |     #[cfg(not(no_global_oom_handling))]
      |               ^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: consider using a Cargo feature instead
      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
               [lints.rust]
               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
     --> src/stable/vec/mod.rs:1851:15
      |
1851 |     #[cfg(not(no_global_oom_handling))]
      |               ^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: consider using a Cargo feature instead
      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
               [lints.rust]
               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
     --> src/stable/vec/mod.rs:1861:15
      |
1861 |     #[cfg(not(no_global_oom_handling))]
      |               ^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: consider using a Cargo feature instead
      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
               [lints.rust]
               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
     --> src/stable/vec/mod.rs:2026:15
      |
2026 |     #[cfg(not(no_global_oom_handling))]
      |               ^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: consider using a Cargo feature instead
      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
               [lints.rust]
               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
     --> src/stable/vec/mod.rs:2090:15
      |
2090 |     #[cfg(not(no_global_oom_handling))]
      |               ^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: consider using a Cargo feature instead
      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
               [lints.rust]
               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
     --> src/stable/vec/mod.rs:2287:15
      |
2287 |     #[cfg(not(no_global_oom_handling))]
      |               ^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: consider using a Cargo feature instead
      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
               [lints.rust]
               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
     --> src/stable/vec/mod.rs:2318:15
      |
2318 |     #[cfg(not(no_global_oom_handling))]
      |               ^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: consider using a Cargo feature instead
      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
               [lints.rust]
               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
     --> src/stable/vec/mod.rs:2345:15
      |
2345 |     #[cfg(not(no_global_oom_handling))]
      |               ^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: consider using a Cargo feature instead
      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
               [lints.rust]
               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
     --> src/stable/vec/mod.rs:2457:15
      |
2457 |     #[cfg(not(no_global_oom_handling))]
      |               ^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: consider using a Cargo feature instead
      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
               [lints.rust]
               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
     --> src/stable/vec/mod.rs:2783:15
      |
2783 |     #[cfg(not(no_global_oom_handling))]
      |               ^^^^^^^^^^^^^^^^^^^^^^
      |
      = help: consider using a Cargo feature instead
      = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
               [lints.rust]
               unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
      = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
      = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
   --> src/stable/macros.rs:54:11
    |
54 | #[cfg(not(no_global_oom_handling))]
    |           ^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: consider using a Cargo feature instead
    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
             [lints.rust]
             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
   --> src/stable/slice.rs:17:15
    |
17 |     #[cfg(not(no_global_oom_handling))]
    |               ^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: consider using a Cargo feature instead
    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
             [lints.rust]
             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
   --> src/stable/slice.rs:39:15
    |
39 |     #[cfg(not(no_global_oom_handling))]
    |               ^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: consider using a Cargo feature instead
    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
             [lints.rust]
             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
   --> src/stable/slice.rs:70:15
    |
70 |     #[cfg(not(no_global_oom_handling))]
    |               ^^^^^^^^^^^^^^^^^^^^^^
    |
    = help: consider using a Cargo feature instead
    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
             [lints.rust]
             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition name: `no_global_oom_handling`
    --> src/stable/slice.rs:112:15
     |
112 |     #[cfg(not(no_global_oom_handling))]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
     = help: consider using a Cargo feature instead
     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
              [lints.rust]
              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_global_oom_handling)'] }
     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_global_oom_handling)");` to the top of the `build.rs`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: trait `ExtendFromWithinSpec` is never used
     --> src/stable/vec/mod.rs:2510:7
      |
2510 | trait ExtendFromWithinSpec {
      |       ^^^^^^^^^^^^^^^^^^^^
      |
      = note: `#[warn(dead_code)]` on by default

warning: trait `NonDrop` is never used
    --> src/stable/vec/into_iter.rs:161:11
     |
161 | pub trait NonDrop {}
     |           ^^^^^^^

warning: `allocator-api2` (lib) generated 95 warnings (run `cargo fix --lib -p allocator-api2` to apply 1 suggestion)
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=allocator_api2 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Zakarum <zaq.dev at icloud.com>' CARGO_PKG_DESCRIPTION='Mirror of Rust'\''s allocator API' CARGO_PKG_HOMEPAGE='https://github.com/zakarumych/allocator-api2' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=allocator-api2 CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/zakarumych/allocator-api2' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.16 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=16 CARGO_PKG_VERSION_PRE='' CARGO_PRIMARY_PACKAGE=1 CARGO_RUSTC_CURRENT_DIR=/<<PKGBUILDDIR>> LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustc --crate-name allocator_api2 --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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "serde", "std"))' -C metadata=75cc775bc9bb0a32 -C extra-filename=-75cc775bc9bb0a32 --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/allocator-api2-0.2.16 --remap-path-prefix /<<PKGBUILDDIR>>/debian/cargo_registry=/usr/share/cargo/registry`
warning: `allocator-api2` (lib test) generated 95 warnings (95 duplicates)
     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.15s
      Running `CARGO=/usr/bin/cargo CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Zakarum <zaq.dev at icloud.com>' CARGO_PKG_DESCRIPTION='Mirror of Rust'\''s allocator API' CARGO_PKG_HOMEPAGE='https://github.com/zakarumych/allocator-api2' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=allocator-api2 CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/zakarumych/allocator-api2' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.16 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=16 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/allocator_api2-75cc775bc9bb0a32`

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

    Doc-tests allocator_api2
      Running `CARGO=/usr/bin/cargo CARGO_CRATE_NAME=allocator_api2 CARGO_MANIFEST_DIR=/<<PKGBUILDDIR>> CARGO_PKG_AUTHORS='Zakarum <zaq.dev at icloud.com>' CARGO_PKG_DESCRIPTION='Mirror of Rust'\''s allocator API' CARGO_PKG_HOMEPAGE='https://github.com/zakarumych/allocator-api2' CARGO_PKG_LICENSE='MIT OR Apache-2.0' CARGO_PKG_LICENSE_FILE='' CARGO_PKG_NAME=allocator-api2 CARGO_PKG_README=README.md CARGO_PKG_REPOSITORY='https://github.com/zakarumych/allocator-api2' CARGO_PKG_RUST_VERSION='' CARGO_PKG_VERSION=0.2.16 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=2 CARGO_PKG_VERSION_PATCH=16 CARGO_PKG_VERSION_PRE='' LD_LIBRARY_PATH=/<<PKGBUILDDIR>>/target/debug/deps rustdoc --edition=2018 --crate-type lib --color auto --crate-name allocator_api2 --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 allocator_api2=/<<PKGBUILDDIR>>/target/x86_64-unknown-linux-gnu/debug/deps/liballocator_api2-622106b3267da8f9.rlib -C embed-bitcode=no --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "serde", "std"))' --error-format human`

running 144 tests
test src/stable/boxed.rs - stable::boxed (line 12) ... ok
test src/stable/boxed.rs - stable::boxed (line 19) ... ok
test src/stable/boxed.rs - stable::boxed (line 26) ... ok
test src/stable/boxed.rs - stable::boxed (line 42) - compile fail ... ok
test src/stable/boxed.rs - stable::boxed (line 97) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::clone (line 1227) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::clone_from (line 1251) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::from_raw_in (line 948) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::from_raw_in (line 957) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::into_inner (line 568) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::into_pin (line 1157) - compile fail ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::into_raw (line 1005) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::into_raw (line 998) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::into_raw_with_allocator (line 1042) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::into_raw_with_allocator (line 1053) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::leak (line 1116) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::leak (line 1125) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::new_in (line 352) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::new_uninit_in (line 404) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::new_zeroed_in (line 477) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::try_new_in (line 380) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::try_new_uninit_in (line 442) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T,A>::try_new_zeroed_in (line 515) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T>::from (line 1398) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T>::from_raw (line 900) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T>::from_raw (line 906) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T>::new (line 203) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T>::new_uninit (line 217) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T>::new_zeroed (line 246) ... FAILED
test src/stable/boxed.rs - stable::boxed::Box<T>::try_new (line 284) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T>::try_new_uninit (line 300) ... ok
test src/stable/boxed.rs - stable::boxed::Box<T>::try_new_zeroed (line 328) ... ok
test src/stable/boxed.rs - stable::boxed::Box<[T],A>::from (line 1439) ... ok
test src/stable/boxed.rs - stable::boxed::Box<[T],A>::new_uninit_slice_in (line 706) ... ok
test src/stable/boxed.rs - stable::boxed::Box<[T],A>::new_zeroed_slice_in (line 739) ... ok
test src/stable/boxed.rs - stable::boxed::Box<[T]>::from (line 1527) ... ok
test src/stable/boxed.rs - stable::boxed::Box<[T]>::new_uninit_slice (line 589) ... ok
test src/stable/boxed.rs - stable::boxed::Box<[T]>::new_zeroed_slice (line 620) ... FAILED
test src/stable/boxed.rs - stable::boxed::Box<[T]>::try_new_uninit_slice (line 642) ... ok
test src/stable/boxed.rs - stable::boxed::Box<[T]>::try_new_zeroed_slice (line 677) ... ok
test src/stable/boxed.rs - stable::boxed::Box<[mem::MaybeUninit<T>],A>::assume_init (line 856) ... ok
test src/stable/boxed.rs - stable::boxed::Box<[u8],A>::from (line 1483) ... ok
test src/stable/boxed.rs - stable::boxed::Box<dynAny+Send+Sync,A>::downcast (line 1687) ... ok
test src/stable/boxed.rs - stable::boxed::Box<dynAny+Send+Sync,A>::downcast_unchecked (line 1715) ... ok
test src/stable/boxed.rs - stable::boxed::Box<dynAny+Send,A>::downcast (line 1626) ... ok
test src/stable/boxed.rs - stable::boxed::Box<dynAny+Send,A>::downcast_unchecked (line 1654) ... ok
test src/stable/boxed.rs - stable::boxed::Box<dynAny,A>::downcast (line 1565) ... ok
test src/stable/boxed.rs - stable::boxed::Box<dynAny,A>::downcast_unchecked (line 1593) ... ok
test src/stable/boxed.rs - stable::boxed::Box<mem::MaybeUninit<T>,A>::assume_init (line 785) ... ok
test src/stable/boxed.rs - stable::boxed::Box<mem::MaybeUninit<T>,A>::write (line 814) ... FAILED
test src/stable/boxed.rs - stable::boxed::Box<str,A>::from (line 1466) ... ok
test src/stable/boxed.rs - stable::boxed::error::Box<dynError+'a>::from (line 1951) ... ok
test src/stable/boxed.rs - stable::boxed::error::Box<dynError+Send+Sync+'a>::from (line 1985) ... ok
test src/stable/macros.rs - stable::macros::vec (line 17) ... ok
test src/stable/macros.rs - stable::macros::vec (line 27) ... ok
test src/stable/macros.rs - stable::macros::vec (line 33) ... ok
test src/stable/macros.rs - stable::macros::vec (line 8) ... ok
test src/stable/slice.rs - stable::slice::SliceExt::repeat (line 54) ... ok
test src/stable/slice.rs - stable::slice::SliceExt::repeat (line 60) ... ok
test src/stable/slice.rs - stable::slice::SliceExt::to_vec (line 12) ... ok
test src/stable/slice.rs - stable::slice::SliceExt::to_vec_in (line 30) ... ok
test src/stable/vec/drain.rs - stable::vec::drain::Drain (line 18) ... ok
test src/stable/vec/drain.rs - stable::vec::drain::Drain<'a,T,A>::as_slice (line 43) ... ok
test src/stable/vec/drain.rs - stable::vec::drain::Drain<'a,T,A>::keep_rest (line 67) ... ok
test src/stable/vec/into_iter.rs - stable::vec::into_iter::IntoIter (line 23) ... ok
test src/stable/vec/into_iter.rs - stable::vec::into_iter::IntoIter<T,A>::as_mut_slice (line 64) ... ok
test src/stable/vec/into_iter.rs - stable::vec::into_iter::IntoIter<T,A>::as_slice (line 49) ... ok
test src/stable/vec/mod.rs - stable::vec (line 13) ... ok
test src/stable/vec/mod.rs - stable::vec (line 19) ... ok
test src/stable/vec/mod.rs - stable::vec (line 30) ... ok
test src/stable/vec/mod.rs - stable::vec (line 38) ... ok
test src/stable/vec/mod.rs - stable::vec (line 46) ... ok
test src/stable/vec/mod.rs - stable::vec::Box<[T],A>::from (line 2979) ... ok
test src/stable/vec/mod.rs - stable::vec::Box<[T],A>::from (line 2984) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec (line 103) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec (line 127) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec (line 138) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec (line 153) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec (line 171) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec (line 179) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec (line 192) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A> (line 2614) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::append (line 1844) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::as_mut_ptr (line 1161) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::as_mut_slice (line 1104) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::as_ptr (line 1128) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::as_slice (line 1088) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::capacity (line 786) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::clear (line 1955) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::dedup (line 2497) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::dedup_by (line 1629) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::dedup_by_key (line 1602) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::drain (line 1891) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::extend_from_slice (line 2311) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::extend_from_within (line 2333) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::from (line 2949) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::from_raw_parts_in (line 629) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::from_raw_parts_in (line 666) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::insert (line 1338) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::into_boxed_slice (line 989) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::into_boxed_slice (line 997) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::into_iter (line 2666) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::into_raw_parts (line 714) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::into_raw_parts_with_alloc (line 750) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::is_empty (line 1996) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::leak (line 2121) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::len (line 1983) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::pop (line 1819) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::push (line 1744) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::push_within_capacity (line 1778) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::remove (line 1407) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::reserve (line 808) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::reserve_exact (line 838) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::resize (line 2278) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::resize_with (line 2080) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::retain (line 1452) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::retain (line 1461) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::retain_mut (line 1484) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::set_len (line 1217) - compile ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::set_len (line 1257) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::shrink_to (line 963) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::shrink_to_fit (line 936) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::spare_capacity_mut (line 2147) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::splice (line 2776) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::split_at_spare_mut (line 2203) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::split_off (line 2020) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::swap_remove (line 1293) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::truncate (line 1033) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::truncate (line 1042) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::truncate (line 1051) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::try_reserve (line 863) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T,A>::try_reserve_exact (line 906) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T>::from (line 2907) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T>::from (line 2924) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T>::from_raw_parts (line 478) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T>::from_raw_parts (line 507) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T>::new (line 361) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<T>::with_capacity (line 400) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<[T;N],A>::into_flattened (line 2405) ... ok
test src/stable/vec/mod.rs - stable::vec::Vec<u8>::from (line 3002) ... ok
test src/stable/vec/mod.rs - stable::vec::[T;N]::try_from (line 3019) ... ok
test src/stable/vec/mod.rs - stable::vec::[T;N]::try_from (line 3026) ... ok
test src/stable/vec/mod.rs - stable::vec::[T;N]::try_from (line 3034) ... ok
test src/stable/vec/splice.rs - stable::vec::splice::Splice (line 15) ... ok

failures:

---- src/stable/boxed.rs - stable::boxed::Box<T>::new_zeroed (line 246) stdout ----
warning: the feature `new_uninit` has been stable since 1.82.0 and no longer requires an attribute to enable
  --> src/stable/boxed.rs:246:12
   |
2 | #![feature(new_uninit)]
   |            ^^^^^^^^^^
   |
   = note: `#[warn(stable_features)]` on by default

error[E0658]: use of unstable library feature 'new_zeroed_alloc'
  --> src/stable/boxed.rs:249:12
   |
5 | let zero = Box::<u32>::new_zeroed();
   |            ^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #129396 <https://github.com/rust-lang/rust/issues/129396> for more information
   = help: add `#![feature(new_zeroed_alloc)]` to the crate attributes to enable
   = note: this compiler was built on 2024-10-15; consider upgrading it if it is out of date

error: aborting due to 1 previous error; 1 warning emitted

For more information about this error, try `rustc --explain E0658`.
Couldn't compile the test.
---- src/stable/boxed.rs - stable::boxed::Box<[T]>::new_zeroed_slice (line 620) stdout ----
warning: the feature `new_uninit` has been stable since 1.82.0 and no longer requires an attribute to enable
  --> src/stable/boxed.rs:620:12
   |
2 | #![feature(new_uninit)]
   |            ^^^^^^^^^^
   |
   = note: `#[warn(stable_features)]` on by default

error[E0658]: use of unstable library feature 'new_zeroed_alloc'
  --> src/stable/boxed.rs:623:14
   |
5 | let values = Box::<[u32]>::new_zeroed_slice(3);
   |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: see issue #129396 <https://github.com/rust-lang/rust/issues/129396> for more information
   = help: add `#![feature(new_zeroed_alloc)]` to the crate attributes to enable
   = note: this compiler was built on 2024-10-15; consider upgrading it if it is out of date

error: aborting due to 1 previous error; 1 warning emitted

For more information about this error, try `rustc --explain E0658`.
Couldn't compile the test.
---- src/stable/boxed.rs - stable::boxed::Box<mem::MaybeUninit<T>,A>::write (line 814) stdout ----
warning: the feature `new_uninit` has been stable since 1.82.0 and no longer requires an attribute to enable
  --> src/stable/boxed.rs:814:12
   |
2 | #![feature(new_uninit)]
   |            ^^^^^^^^^^
   |
   = note: `#[warn(stable_features)]` on by default

error[E0658]: use of unstable library feature 'box_uninit_write'
   --> src/stable/boxed.rs:826:15
    |
14 | let big_box = Box::write(big_box, array);
    |               ^^^^^^^^^^
    |
    = note: see issue #129397 <https://github.com/rust-lang/rust/issues/129397> for more information
    = help: add `#![feature(box_uninit_write)]` to the crate attributes to enable
    = note: this compiler was built on 2024-10-15; consider upgrading it if it is out of date

error: aborting due to 1 previous error; 1 warning emitted

For more information about this error, try `rustc --explain E0658`.
Couldn't compile the test.

failures:
     src/stable/boxed.rs - stable::boxed::Box<T>::new_zeroed (line 246)
     src/stable/boxed.rs - stable::boxed::Box<[T]>::new_zeroed_slice (line 620)
     src/stable/boxed.rs - stable::boxed::Box<mem::MaybeUninit<T>,A>::write (line 814)

test result: FAILED. 141 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 27.49s

error: doctest failed, to rerun pass `--doc`
dh_auto_test: error: /usr/share/cargo/bin/cargo test --all returned exit code 101
make[1]: *** [debian/rules:7: override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:3: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202410/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.


More information about the Pkg-rust-maintainers mailing list