[INFO] fetching crate secmem-alloc 0.1.2... [INFO] testing secmem-alloc-0.1.2 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate secmem-alloc 0.1.2 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate secmem-alloc 0.1.2 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate secmem-alloc 0.1.2 [INFO] finished tweaking crates.io crate secmem-alloc 0.1.2 [INFO] tweaked toml for crates.io crate secmem-alloc 0.1.2 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] a122c6f187145b9beb434a182b475c8ac228325613cf4f5d5e293786c9712eba [INFO] running `Command { std: "docker" "start" "-a" "a122c6f187145b9beb434a182b475c8ac228325613cf4f5d5e293786c9712eba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a122c6f187145b9beb434a182b475c8ac228325613cf4f5d5e293786c9712eba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a122c6f187145b9beb434a182b475c8ac228325613cf4f5d5e293786c9712eba", kill_on_drop: false }` [INFO] [stdout] a122c6f187145b9beb434a182b475c8ac228325613cf4f5d5e293786c9712eba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a8ea2456b81a3869ce32a28b5505a18ef955b915654f1c72ff2ef2ac690f5fb5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "a8ea2456b81a3869ce32a28b5505a18ef955b915654f1c72ff2ef2ac690f5fb5", kill_on_drop: false }` [INFO] [stderr] Compiling mirai-annotations v1.12.0 [INFO] [stderr] Compiling secmem-alloc v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: function is never used: `likely` [INFO] [stdout] --> src/util.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn likely(b: bool) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `page_ptr_nonnull` [INFO] [stdout] --> src/internals/mem.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn page_ptr_nonnull(&self) -> NonNull { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2.75s [INFO] running `Command { std: "docker" "inspect" "a8ea2456b81a3869ce32a28b5505a18ef955b915654f1c72ff2ef2ac690f5fb5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a8ea2456b81a3869ce32a28b5505a18ef955b915654f1c72ff2ef2ac690f5fb5", kill_on_drop: false }` [INFO] [stdout] a8ea2456b81a3869ce32a28b5505a18ef955b915654f1c72ff2ef2ac690f5fb5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 3cbd08a4af6a5979c4464938326c70292ce7033c22ed47d4c5331898f213555c [INFO] running `Command { std: "docker" "start" "-a" "3cbd08a4af6a5979c4464938326c70292ce7033c22ed47d4c5331898f213555c", kill_on_drop: false }` [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stdout] warning: function is never used: `likely` [INFO] [stdout] --> src/util.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) fn likely(b: bool) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `page_ptr_nonnull` [INFO] [stdout] --> src/internals/mem.rs:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | pub fn page_ptr_nonnull(&self) -> NonNull { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling secmem-alloc v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/boxed.rs:272:44 [INFO] [stdout] | [INFO] [stdout] 272 | let boxed = Box::new_in([37; 256], System); [INFO] [stdout] | ----------- ^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `boxed::Box::::new_in` [INFO] [stdout] --> src/boxed.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box::::new_in` [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn new_in(x: T, alloc: A) -> Self { [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/boxed.rs:272:21 [INFO] [stdout] | [INFO] [stdout] 272 | let boxed = Box::new_in([37; 256], System); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `boxed::Box` [INFO] [stdout] --> src/boxed.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `boxed::Box<[{integer}; 256], System>` cannot be dereferenced [INFO] [stdout] --> src/boxed.rs:273:20 [INFO] [stdout] | [INFO] [stdout] 273 | assert_eq!(*boxed, [37; 256]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/boxed.rs:278:48 [INFO] [stdout] | [INFO] [stdout] 278 | let boxed = Box::try_new_in([37; 256], System).expect("error creating box"); [INFO] [stdout] | --------------- ^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `boxed::Box::::try_new_in` [INFO] [stdout] --> src/boxed.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box::::try_new_in` [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn try_new_in(x: T, alloc: A) -> Result { [INFO] [stdout] | ---------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/boxed.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | let boxed = Box::try_new_in([37; 256], System).expect("error creating box"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `boxed::Box` [INFO] [stdout] --> src/boxed.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/boxed.rs:278:21 [INFO] [stdout] | [INFO] [stdout] 278 | let boxed = Box::try_new_in([37; 256], System).expect("error creating box"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `boxed::Box` [INFO] [stdout] --> src/boxed.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `boxed::Box<[{integer}; 256], System>` cannot be dereferenced [INFO] [stdout] --> src/boxed.rs:279:20 [INFO] [stdout] | [INFO] [stdout] 279 | assert_eq!(*boxed, [37; 256]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/boxed.rs:284:24 [INFO] [stdout] | [INFO] [stdout] 284 | let mut boxed: Box, System> = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `boxed::Box` [INFO] [stdout] --> src/boxed.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/boxed.rs:285:48 [INFO] [stdout] | [INFO] [stdout] 285 | Box::<[u8; 256], _>::new_uninit_in(System); [INFO] [stdout] | ---------------------------------- ^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `boxed::Box::::new_uninit_in` [INFO] [stdout] --> src/boxed.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box::::new_uninit_in` [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn new_uninit_in(alloc: A) -> Box, A> { [INFO] [stdout] | ------------- required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_mut_ptr` found for struct `boxed::Box` in the current scope [INFO] [stdout] --> src/boxed.rs:288:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Box { [INFO] [stdout] | --------------------------------------- method `as_mut_ptr` not found for this [INFO] [stdout] ... [INFO] [stdout] 288 | boxed.as_mut_ptr().write([37; 256]); [INFO] [stdout] | ^^^^^^^^^^ method not found in `boxed::Box, System>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/boxed.rs:285:13 [INFO] [stdout] | [INFO] [stdout] 285 | Box::<[u8; 256], _>::new_uninit_in(System); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `boxed::Box` [INFO] [stdout] --> src/boxed.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `assume_init` exists for struct `boxed::Box, System>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/boxed.rs:291:60 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Box { [INFO] [stdout] | --------------------------------------- method `assume_init` not found for this [INFO] [stdout] ... [INFO] [stdout] 291 | let boxed: Box<[u8; 256], System> = unsafe { boxed.assume_init() }; [INFO] [stdout] | ^^^^^^^^^^^ method cannot be called on `boxed::Box, System>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `System: allocator_api::Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `boxed::Box<[u8; 256], System>` cannot be dereferenced [INFO] [stdout] --> src/boxed.rs:292:20 [INFO] [stdout] | [INFO] [stdout] 292 | assert_eq!(*boxed, [37; 256]); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:871:39 [INFO] [stdout] | [INFO] [stdout] 871 | let _heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: consider wrapping the inner types in tuple: `(u8, _)` [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:871:29 [INFO] [stdout] | [INFO] [stdout] 871 | let _heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/sec_alloc.rs:871:63 [INFO] [stdout] | [INFO] [stdout] 871 | let _heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ------------------------------ ^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] note: required by a bound in `Vec::::with_capacity_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/sec_alloc.rs:871:29 [INFO] [stdout] | [INFO] [stdout] 871 | let _heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:885:42 [INFO] [stdout] | [INFO] [stdout] 885 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: consider wrapping the inner types in tuple: `(u8, _)` [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:885:32 [INFO] [stdout] | [INFO] [stdout] 885 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/sec_alloc.rs:885:66 [INFO] [stdout] | [INFO] [stdout] 885 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ------------------------------ ^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] note: required by a bound in `Vec::::with_capacity_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/sec_alloc.rs:885:32 [INFO] [stdout] | [INFO] [stdout] 885 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `reserve` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/sec_alloc.rs:887:22 [INFO] [stdout] | [INFO] [stdout] 887 | heap_mem.reserve(10); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Vec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `reserve` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/sec_alloc.rs:889:22 [INFO] [stdout] | [INFO] [stdout] 889 | heap_mem.reserve(17); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Vec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:904:42 [INFO] [stdout] | [INFO] [stdout] 904 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: consider wrapping the inner types in tuple: `(u8, _)` [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:904:32 [INFO] [stdout] | [INFO] [stdout] 904 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/sec_alloc.rs:904:66 [INFO] [stdout] | [INFO] [stdout] 904 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ------------------------------ ^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] note: required by a bound in `Vec::::with_capacity_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/sec_alloc.rs:904:32 [INFO] [stdout] | [INFO] [stdout] 904 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `reserve` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/sec_alloc.rs:909:26 [INFO] [stdout] | [INFO] [stdout] 909 | heap_mem.reserve(10); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Vec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `reserve` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/sec_alloc.rs:911:26 [INFO] [stdout] | [INFO] [stdout] 911 | heap_mem.reserve(17); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Vec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:927:42 [INFO] [stdout] | [INFO] [stdout] 927 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: consider wrapping the inner types in tuple: `(u8, _)` [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:927:32 [INFO] [stdout] | [INFO] [stdout] 927 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/sec_alloc.rs:927:66 [INFO] [stdout] | [INFO] [stdout] 927 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ------------------------------ ^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] note: required by a bound in `Vec::::with_capacity_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/sec_alloc.rs:927:32 [INFO] [stdout] | [INFO] [stdout] 927 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/sec_alloc.rs:929:22 [INFO] [stdout] | [INFO] [stdout] 929 | heap_mem.push(255); [INFO] [stdout] | ^^^^ method cannot be called on `Vec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `shrink_to_fit` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/sec_alloc.rs:931:22 [INFO] [stdout] | [INFO] [stdout] 931 | heap_mem.shrink_to_fit(); [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `Vec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:946:42 [INFO] [stdout] | [INFO] [stdout] 946 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: consider wrapping the inner types in tuple: `(u8, _)` [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:946:32 [INFO] [stdout] | [INFO] [stdout] 946 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/sec_alloc.rs:946:66 [INFO] [stdout] | [INFO] [stdout] 946 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ------------------------------ ^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] note: required by a bound in `Vec::::with_capacity_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/sec_alloc.rs:946:32 [INFO] [stdout] | [INFO] [stdout] 946 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&sec_alloc::SecStackSinglePageAlloc` [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/sec_alloc.rs:951:26 [INFO] [stdout] | [INFO] [stdout] 951 | heap_mem.push(1); [INFO] [stdout] | ^^^^ method cannot be called on `Vec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `shrink_to_fit` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/sec_alloc.rs:953:26 [INFO] [stdout] | [INFO] [stdout] 953 | heap_mem.shrink_to_fit(); [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `Vec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&sec_alloc::SecStackSinglePageAlloc: std::alloc::Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:193:47 [INFO] [stdout] | [INFO] [stdout] 193 | let _heap_mem = Box::new_in([1u8; 8], &allocator); [INFO] [stdout] | ----------- ^^^^^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required because of the requirements on the impl of `allocator_api::Allocator` for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] --> src/zeroizing_alloc.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe impl Allocator for ZeroizeAlloc [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `allocator_api::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] note: required by a bound in `boxed::Box::::new_in` [INFO] [stdout] --> src/boxed.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box::::new_in` [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn new_in(x: T, alloc: A) -> Self { [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:193:25 [INFO] [stdout] | [INFO] [stdout] 193 | let _heap_mem = Box::new_in([1u8; 8], &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | [INFO] [stdout] note: required because of the requirements on the impl of `allocator_api::Allocator` for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] --> src/zeroizing_alloc.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe impl Allocator for ZeroizeAlloc [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `allocator_api::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] note: required by a bound in `boxed::Box` [INFO] [stdout] --> src/boxed.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:203:47 [INFO] [stdout] | [INFO] [stdout] 203 | let _heap_mem = Box::new_in([1u8; 9], &allocator); [INFO] [stdout] | ----------- ^^^^^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required because of the requirements on the impl of `allocator_api::Allocator` for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] --> src/zeroizing_alloc.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe impl Allocator for ZeroizeAlloc [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `allocator_api::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] note: required by a bound in `boxed::Box::::new_in` [INFO] [stdout] --> src/boxed.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box::::new_in` [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn new_in(x: T, alloc: A) -> Self { [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:203:25 [INFO] [stdout] | [INFO] [stdout] 203 | let _heap_mem = Box::new_in([1u8; 9], &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | [INFO] [stdout] note: required because of the requirements on the impl of `allocator_api::Allocator` for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] --> src/zeroizing_alloc.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe impl Allocator for ZeroizeAlloc [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `allocator_api::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] note: required by a bound in `boxed::Box` [INFO] [stdout] --> src/boxed.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:213:46 [INFO] [stdout] | [INFO] [stdout] 213 | let _heap_mem = Box::new_in([(); 8], &allocator); [INFO] [stdout] | ----------- ^^^^^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required because of the requirements on the impl of `allocator_api::Allocator` for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] --> src/zeroizing_alloc.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe impl Allocator for ZeroizeAlloc [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `allocator_api::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] note: required by a bound in `boxed::Box::::new_in` [INFO] [stdout] --> src/boxed.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | impl Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box::::new_in` [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn new_in(x: T, alloc: A) -> Self { [INFO] [stdout] | ------ required by a bound in this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:213:25 [INFO] [stdout] | [INFO] [stdout] 213 | let _heap_mem = Box::new_in([(); 8], &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | [INFO] [stdout] note: required because of the requirements on the impl of `allocator_api::Allocator` for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] --> src/zeroizing_alloc.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe impl Allocator for ZeroizeAlloc [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required because of the requirements on the impl of `allocator_api::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] note: required by a bound in `boxed::Box` [INFO] [stdout] --> src/boxed.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Box { [INFO] [stdout] | ^^^^^^^^^ required by this bound in `boxed::Box` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/zeroizing_alloc.rs:221:35 [INFO] [stdout] | [INFO] [stdout] 221 | let _heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: consider wrapping the inner types in tuple: `(u8, _)` [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/zeroizing_alloc.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | let _heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `zeroizing_alloc::ZeroizeAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:221:59 [INFO] [stdout] | [INFO] [stdout] 221 | let _heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ------------------------------ ^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] note: required by a bound in `Vec::::with_capacity_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `zeroizing_alloc::ZeroizeAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:221:25 [INFO] [stdout] | [INFO] [stdout] 221 | let _heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/zeroizing_alloc.rs:230:38 [INFO] [stdout] | [INFO] [stdout] 230 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: consider wrapping the inner types in tuple: `(u8, _)` [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/zeroizing_alloc.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `zeroizing_alloc::ZeroizeAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:230:62 [INFO] [stdout] | [INFO] [stdout] 230 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ------------------------------ ^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] note: required by a bound in `Vec::::with_capacity_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `zeroizing_alloc::ZeroizeAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:230:28 [INFO] [stdout] | [INFO] [stdout] 230 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `reserve` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:231:18 [INFO] [stdout] | [INFO] [stdout] 231 | heap_mem.reserve(1); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Vec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&zeroizing_alloc::ZeroizeAlloc: std::alloc::Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `reserve` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:232:18 [INFO] [stdout] | [INFO] [stdout] 232 | heap_mem.reserve(7); [INFO] [stdout] | ^^^^^^^ method cannot be called on `Vec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&zeroizing_alloc::ZeroizeAlloc: std::alloc::Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/zeroizing_alloc.rs:241:38 [INFO] [stdout] | [INFO] [stdout] 241 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: consider wrapping the inner types in tuple: `(u8, _)` [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/zeroizing_alloc.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `zeroizing_alloc::ZeroizeAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:241:62 [INFO] [stdout] | [INFO] [stdout] 241 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ------------------------------ ^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] note: required by a bound in `Vec::::with_capacity_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `zeroizing_alloc::ZeroizeAlloc: std::alloc::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:241:28 [INFO] [stdout] | [INFO] [stdout] 241 | let mut heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::alloc::Allocator` is not implemented for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `std::alloc::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] note: required by a bound in `Vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `push` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:242:18 [INFO] [stdout] | [INFO] [stdout] 242 | heap_mem.push(255); [INFO] [stdout] | ^^^^ method cannot be called on `Vec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&zeroizing_alloc::ZeroizeAlloc: std::alloc::Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `shrink_to_fit` exists for struct `Vec>`, but its trait bounds were not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:243:18 [INFO] [stdout] | [INFO] [stdout] 243 | heap_mem.shrink_to_fit(); [INFO] [stdout] | ^^^^^^^^^^^^^ method cannot be called on `Vec>` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] = note: the following trait bounds were not satisfied: [INFO] [stdout] `&zeroizing_alloc::ZeroizeAlloc: std::alloc::Allocator` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `allocate_zeroed` exists for struct `zeroizing_alloc::ZeroizeAlloc`, but its trait bounds were not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:254:14 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ZeroizeAlloc { [INFO] [stdout] | -------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `allocate_zeroed` not found for this [INFO] [stdout] | doesn't satisfy `_: allocator_api::Allocator` [INFO] [stdout] ... [INFO] [stdout] 254 | .allocate_zeroed(layout) [INFO] [stdout] | ^^^^^^^^^^^^^^^ method cannot be called on `zeroizing_alloc::ZeroizeAlloc` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `System: allocator_api::Allocator` was not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe impl Allocator for ZeroizeAlloc [INFO] [stdout] | --------- ------------------ [INFO] [stdout] 136 | where [INFO] [stdout] 137 | B: Allocator, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `allocator_api::Allocator` defines an item `allocate_zeroed`, perhaps you need to implement it [INFO] [stdout] --> src/allocator_api.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub unsafe trait Allocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: the method `deallocate` exists for struct `zeroizing_alloc::ZeroizeAlloc`, but its trait bounds were not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:261:23 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct ZeroizeAlloc { [INFO] [stdout] | -------------------------------------------------------------------------- [INFO] [stdout] | | [INFO] [stdout] | method `deallocate` not found for this [INFO] [stdout] | doesn't satisfy `_: allocator_api::Allocator` [INFO] [stdout] ... [INFO] [stdout] 261 | allocator.deallocate(ptr.cast(), layout); [INFO] [stdout] | ^^^^^^^^^^ method cannot be called on `zeroizing_alloc::ZeroizeAlloc` due to unsatisfied trait bounds [INFO] [stdout] | [INFO] [stdout] note: trait bound `System: allocator_api::Allocator` was not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 135 | unsafe impl Allocator for ZeroizeAlloc [INFO] [stdout] | --------- ------------------ [INFO] [stdout] 136 | where [INFO] [stdout] 137 | B: Allocator, [INFO] [stdout] | ^^^^^^^^^ unsatisfied trait bound introduced here [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] note: `allocator_api::Allocator` defines an item `deallocate`, perhaps you need to implement it [INFO] [stdout] --> src/allocator_api.rs:88:1 [INFO] [stdout] | [INFO] [stdout] 88 | pub unsafe trait Allocator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 65 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0599, E0614, E0658. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `secmem-alloc` due to 66 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "3cbd08a4af6a5979c4464938326c70292ce7033c22ed47d4c5331898f213555c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cbd08a4af6a5979c4464938326c70292ce7033c22ed47d4c5331898f213555c", kill_on_drop: false }` [INFO] [stdout] 3cbd08a4af6a5979c4464938326c70292ce7033c22ed47d4c5331898f213555c