[INFO] fetching crate secmem-alloc 0.1.1... [INFO] testing secmem-alloc-0.1.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate secmem-alloc 0.1.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate secmem-alloc 0.1.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate secmem-alloc 0.1.1 [INFO] finished tweaking crates.io crate secmem-alloc 0.1.1 [INFO] tweaked toml for crates.io crate secmem-alloc 0.1.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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] c390f0a824b9e0e5876f8ccd7d05198dba72469a7f508871a7857ad66a217531 [INFO] running `Command { std: "docker" "start" "-a" "c390f0a824b9e0e5876f8ccd7d05198dba72469a7f508871a7857ad66a217531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c390f0a824b9e0e5876f8ccd7d05198dba72469a7f508871a7857ad66a217531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c390f0a824b9e0e5876f8ccd7d05198dba72469a7f508871a7857ad66a217531", kill_on_drop: false }` [INFO] [stdout] c390f0a824b9e0e5876f8ccd7d05198dba72469a7f508871a7857ad66a217531 [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=forbid" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc654ea8652fdb9af417689c5df3af2d8c3ab59de32c6640a8b439d8a10e2f6a [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" "fc654ea8652fdb9af417689c5df3af2d8c3ab59de32c6640a8b439d8a10e2f6a", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling mirai-annotations v1.12.0 [INFO] [stderr] Compiling secmem-alloc v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stdout] warning: unused variable: `align` [INFO] [stdout] --> src/zeroize.rs:57:71 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe fn zeroize_mem_minaligned(&self, ptr: *mut u8, len: usize, align: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_align` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `page_ptr_nonnull` [INFO] [stdout] --> src/internals/mem.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn page_ptr_nonnull(&self) -> NonNull { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `likely` [INFO] [stdout] --> src/util.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn likely(b: bool) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 19.95s [INFO] running `Command { std: "docker" "inspect" "fc654ea8652fdb9af417689c5df3af2d8c3ab59de32c6640a8b439d8a10e2f6a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc654ea8652fdb9af417689c5df3af2d8c3ab59de32c6640a8b439d8a10e2f6a", kill_on_drop: false }` [INFO] [stdout] fc654ea8652fdb9af417689c5df3af2d8c3ab59de32c6640a8b439d8a10e2f6a [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=forbid" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5553640cb3000722d64dce5071130c50a9bd5830182887f0b5e99ca72455e06b [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" "5553640cb3000722d64dce5071130c50a9bd5830182887f0b5e99ca72455e06b", kill_on_drop: false }` [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stdout] warning: unused variable: `align` [INFO] [stdout] --> src/zeroize.rs:57:71 [INFO] [stdout] | [INFO] [stdout] 57 | unsafe fn zeroize_mem_minaligned(&self, ptr: *mut u8, len: usize, align: usize) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_align` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `page_ptr_nonnull` [INFO] [stdout] --> src/internals/mem.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 89 | pub fn page_ptr_nonnull(&self) -> NonNull { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `likely` [INFO] [stdout] --> src/util.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) fn likely(b: bool) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling secmem-alloc v0.1.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `boxed` [INFO] [stdout] --> tests/zeroizing_global_alloc.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let boxed = Box::new([1_u8; 9]); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_boxed` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [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 `boxed::Box::::new_in` [INFO] [stdout] --> src/boxed.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new_in(x: T, alloc: A) -> Self { [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: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 `boxed::Box::::try_new_in` [INFO] [stdout] --> src/boxed.rs:111:5 [INFO] [stdout] | [INFO] [stdout] 111 | pub fn try_new_in(x: T, alloc: A) -> Result { [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: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 `boxed::Box::::new_uninit_in` [INFO] [stdout] --> src/boxed.rs:141:5 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn new_uninit_in(alloc: A) -> Box, A> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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:873:39 [INFO] [stdout] | [INFO] [stdout] 873 | let _heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:873:29 [INFO] [stdout] | [INFO] [stdout] 873 | let _heap_mem = Vec::::with_capacity_in(9, &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: see issue #32838 for more information [INFO] [stdout] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [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:873:63 [INFO] [stdout] | [INFO] [stdout] 873 | 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 `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:873:29 [INFO] [stdout] | [INFO] [stdout] 873 | 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:887:42 [INFO] [stdout] | [INFO] [stdout] 887 | 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] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:887:32 [INFO] [stdout] | [INFO] [stdout] 887 | 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] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [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:887:66 [INFO] [stdout] | [INFO] [stdout] 887 | 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 `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:887:32 [INFO] [stdout] | [INFO] [stdout] 887 | 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:889:22 [INFO] [stdout] | [INFO] [stdout] 889 | 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:891:22 [INFO] [stdout] | [INFO] [stdout] 891 | 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:906:42 [INFO] [stdout] | [INFO] [stdout] 906 | 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] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:906:32 [INFO] [stdout] | [INFO] [stdout] 906 | 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] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [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:906:66 [INFO] [stdout] | [INFO] [stdout] 906 | 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 `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:906:32 [INFO] [stdout] | [INFO] [stdout] 906 | 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:911:26 [INFO] [stdout] | [INFO] [stdout] 911 | 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:913:26 [INFO] [stdout] | [INFO] [stdout] 913 | 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:929:42 [INFO] [stdout] | [INFO] [stdout] 929 | 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] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:929:32 [INFO] [stdout] | [INFO] [stdout] 929 | 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] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [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:929:66 [INFO] [stdout] | [INFO] [stdout] 929 | 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 `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:929:32 [INFO] [stdout] | [INFO] [stdout] 929 | 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:931:22 [INFO] [stdout] | [INFO] [stdout] 931 | 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:933:22 [INFO] [stdout] | [INFO] [stdout] 933 | 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:948:42 [INFO] [stdout] | [INFO] [stdout] 948 | 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] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/sec_alloc.rs:948:32 [INFO] [stdout] | [INFO] [stdout] 948 | 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] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [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:948:66 [INFO] [stdout] | [INFO] [stdout] 948 | 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 `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:948:32 [INFO] [stdout] | [INFO] [stdout] 948 | 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:953:26 [INFO] [stdout] | [INFO] [stdout] 953 | 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:955:26 [INFO] [stdout] | [INFO] [stdout] 955 | 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] = 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 `boxed::Box::::new_in` [INFO] [stdout] --> src/boxed.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new_in(x: T, alloc: A) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = 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] = 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 `boxed::Box::::new_in` [INFO] [stdout] --> src/boxed.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new_in(x: T, alloc: A) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = 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] = 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 `boxed::Box::::new_in` [INFO] [stdout] --> src/boxed.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn new_in(x: T, alloc: A) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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] = 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] = note: see issue #32838 for more information [INFO] [stdout] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [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] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [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 `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] = note: see issue #32838 for more information [INFO] [stdout] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [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] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [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 `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] = note: see issue #32838 for more information [INFO] [stdout] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [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] = help: add `#![feature(allocator_api)]` to the crate attributes to enable [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 `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: the following trait bounds were not satisfied: [INFO] [stdout] `System: allocator_api::Allocator` [INFO] [stdout] which is required by `zeroizing_alloc::ZeroizeAlloc: allocator_api::Allocator` [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: the following trait bounds were not satisfied: [INFO] [stdout] `System: allocator_api::Allocator` [INFO] [stdout] which is required by `zeroizing_alloc::ZeroizeAlloc: allocator_api::Allocator` [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] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5553640cb3000722d64dce5071130c50a9bd5830182887f0b5e99ca72455e06b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5553640cb3000722d64dce5071130c50a9bd5830182887f0b5e99ca72455e06b", kill_on_drop: false }` [INFO] [stdout] 5553640cb3000722d64dce5071130c50a9bd5830182887f0b5e99ca72455e06b