[INFO] fetching crate secmem-alloc 0.1.2... [INFO] testing secmem-alloc-0.1.2 against 1.59.0 for beta-1.60-1 [INFO] extracting crate secmem-alloc 0.1.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate secmem-alloc 0.1.2 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mirai-annotations v1.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66ebe53ecf15830f17b7bbbe4be52066a7384385b1ade1a86543bf563b0cc2ca [INFO] running `Command { std: "docker" "start" "-a" "66ebe53ecf15830f17b7bbbe4be52066a7384385b1ade1a86543bf563b0cc2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66ebe53ecf15830f17b7bbbe4be52066a7384385b1ade1a86543bf563b0cc2ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66ebe53ecf15830f17b7bbbe4be52066a7384385b1ade1a86543bf563b0cc2ca", kill_on_drop: false }` [INFO] [stdout] 66ebe53ecf15830f17b7bbbe4be52066a7384385b1ade1a86543bf563b0cc2ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7dd6896e32839b4d6d1591a6333e51b4e2c5e6656bf44578c567dfa30abcffe [INFO] running `Command { std: "docker" "start" "-a" "d7dd6896e32839b4d6d1591a6333e51b4e2c5e6656bf44578c567dfa30abcffe", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.86 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling mirai-annotations v1.12.0 [INFO] [stderr] Compiling secmem-alloc v0.1.2 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.90s [INFO] running `Command { std: "docker" "inspect" "d7dd6896e32839b4d6d1591a6333e51b4e2c5e6656bf44578c567dfa30abcffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7dd6896e32839b4d6d1591a6333e51b4e2c5e6656bf44578c567dfa30abcffe", kill_on_drop: false }` [INFO] [stdout] d7dd6896e32839b4d6d1591a6333e51b4e2c5e6656bf44578c567dfa30abcffe [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 963ac871b64aa1af0236eb6dc803d39093c615dfbc11bbd48bc1ff55140a6509 [INFO] running `Command { std: "docker" "start" "-a" "963ac871b64aa1af0236eb6dc803d39093c615dfbc11bbd48bc1ff55140a6509", kill_on_drop: false }` [INFO] [stderr] Compiling crossbeam-utils v0.8.7 [INFO] [stderr] Compiling semver v1.0.6 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling crossbeam-epoch v0.9.7 [INFO] [stderr] Compiling memchr v2.4.1 [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 half v1.8.2 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.136 [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] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [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] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [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 regex v1.5.4 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling tinytemplate v1.2.1 [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: 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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "963ac871b64aa1af0236eb6dc803d39093c615dfbc11bbd48bc1ff55140a6509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "963ac871b64aa1af0236eb6dc803d39093c615dfbc11bbd48bc1ff55140a6509", kill_on_drop: false }` [INFO] [stdout] 963ac871b64aa1af0236eb6dc803d39093c615dfbc11bbd48bc1ff55140a6509