[INFO] fetching crate secmem-alloc 0.1.0... [INFO] testing secmem-alloc-0.1.0 against 1.55.0 for beta-1.56-1 [INFO] extracting crate secmem-alloc 0.1.0 into /workspace/builds/worker-85/source [INFO] validating manifest of crates.io crate secmem-alloc 0.1.0 on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate secmem-alloc 0.1.0 [INFO] finished tweaking crates.io crate secmem-alloc 0.1.0 [INFO] tweaked toml for crates.io crate secmem-alloc 0.1.0 written to /workspace/builds/worker-85/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "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" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d0b2584a6440e43e5a972055c726e58323479643358ae2399fe2e90ea0d00c1 [INFO] running `Command { std: "docker" "start" "-a" "7d0b2584a6440e43e5a972055c726e58323479643358ae2399fe2e90ea0d00c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d0b2584a6440e43e5a972055c726e58323479643358ae2399fe2e90ea0d00c1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d0b2584a6440e43e5a972055c726e58323479643358ae2399fe2e90ea0d00c1", kill_on_drop: false }` [INFO] [stdout] 7d0b2584a6440e43e5a972055c726e58323479643358ae2399fe2e90ea0d00c1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 699136d3bac422cfb054bca5650f99a4219e342a0cc71ab8bf4df8a668767537 [INFO] running `Command { std: "docker" "start" "-a" "699136d3bac422cfb054bca5650f99a4219e342a0cc71ab8bf4df8a668767537", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling secmem-alloc v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stdout] warning: unused variable: `align` [INFO] [stdout] --> src/zeroize.rs:55:71 [INFO] [stdout] | [INFO] [stdout] 55 | 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:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | 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 11.39s [INFO] running `Command { std: "docker" "inspect" "699136d3bac422cfb054bca5650f99a4219e342a0cc71ab8bf4df8a668767537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "699136d3bac422cfb054bca5650f99a4219e342a0cc71ab8bf4df8a668767537", kill_on_drop: false }` [INFO] [stdout] 699136d3bac422cfb054bca5650f99a4219e342a0cc71ab8bf4df8a668767537 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-85/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d47c753441a700a8b0c4493ebbf578d81e57aa919d52b229fb5db4f5ef94d169 [INFO] running `Command { std: "docker" "start" "-a" "d47c753441a700a8b0c4493ebbf578d81e57aa919d52b229fb5db4f5ef94d169", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [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 unicode-width v0.1.8 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling serde_json v1.0.67 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stdout] warning: unused variable: `align` [INFO] [stdout] --> src/zeroize.rs:55:71 [INFO] [stdout] | [INFO] [stdout] 55 | 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:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | 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 textwrap v0.11.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling itertools v0.10.1 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling bstr v0.2.16 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling tinytemplate v1.2.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 csv v1.1.6 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stderr] Compiling secmem-alloc v0.1.0 (/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] 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] 24 | pub struct Box { [INFO] [stdout] | --------- required by this bound in `boxed::Box` [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] [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] 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] 24 | pub struct Box { [INFO] [stdout] | --------- required by this bound in `boxed::Box` [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] [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] 24 | pub struct Box { [INFO] [stdout] | --------- required by this bound in `boxed::Box` [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] [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] 24 | pub struct Box { [INFO] [stdout] | --------- required by this bound in `boxed::Box` [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] [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] 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] 24 | pub struct Box { [INFO] [stdout] | --------- required by this bound in `boxed::Box` [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] [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] [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] [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] = 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] [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] [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] [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] = 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] [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] [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] [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] = 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] [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] [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] [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] = 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] [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] [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] [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] = 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] [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] warning: 1 warning emitted [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:47 [INFO] [stdout] | [INFO] [stdout] 213 | 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 requirements 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([1u8; 8], &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | [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] = note: required because of the requirements on the impl of `allocator_api::Allocator` for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] = note: 1 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `allocator_api::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:223:47 [INFO] [stdout] | [INFO] [stdout] 223 | 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 requirements 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:223:25 [INFO] [stdout] | [INFO] [stdout] 223 | 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] ::: 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] = note: required because of the requirements on the impl of `allocator_api::Allocator` for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] = note: 1 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `allocator_api::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `System: allocator_api::Allocator` is not satisfied [INFO] [stdout] --> src/zeroizing_alloc.rs:233:46 [INFO] [stdout] | [INFO] [stdout] 233 | 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 requirements 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:233:25 [INFO] [stdout] | [INFO] [stdout] 233 | let _heap_mem = Box::new_in([(); 8], &allocator); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `allocator_api::Allocator` is not implemented for `System` [INFO] [stdout] | [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] = note: required because of the requirements on the impl of `allocator_api::Allocator` for `zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] = note: 1 redundant requirements hidden [INFO] [stdout] = note: required because of the requirements on the impl of `allocator_api::Allocator` for `&zeroizing_alloc::ZeroizeAlloc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/zeroizing_alloc.rs:241:35 [INFO] [stdout] | [INFO] [stdout] 241 | 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[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/zeroizing_alloc.rs:241:25 [INFO] [stdout] | [INFO] [stdout] 241 | 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:241:59 [INFO] [stdout] | [INFO] [stdout] 241 | 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 `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:25 [INFO] [stdout] | [INFO] [stdout] 241 | 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] [INFO] [stdout] [INFO] [stdout] error[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/zeroizing_alloc.rs:250:38 [INFO] [stdout] | [INFO] [stdout] 250 | 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[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/zeroizing_alloc.rs:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | 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:250:62 [INFO] [stdout] | [INFO] [stdout] 250 | 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 `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:250:28 [INFO] [stdout] | [INFO] [stdout] 250 | 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] [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:251:18 [INFO] [stdout] | [INFO] [stdout] 251 | 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:252:18 [INFO] [stdout] | [INFO] [stdout] 252 | 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:261:38 [INFO] [stdout] | [INFO] [stdout] 261 | 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[E0658]: use of unstable library feature 'allocator_api' [INFO] [stdout] --> src/zeroizing_alloc.rs:261:28 [INFO] [stdout] | [INFO] [stdout] 261 | 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:261:62 [INFO] [stdout] | [INFO] [stdout] 261 | 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 `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:261:28 [INFO] [stdout] | [INFO] [stdout] 261 | 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] [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:262:18 [INFO] [stdout] | [INFO] [stdout] 262 | 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:263:18 [INFO] [stdout] | [INFO] [stdout] 263 | 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:274:14 [INFO] [stdout] | [INFO] [stdout] 24 | 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] 274 | .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:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | 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:281:23 [INFO] [stdout] | [INFO] [stdout] 24 | 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] 281 | 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:87:1 [INFO] [stdout] | [INFO] [stdout] 87 | 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] running `Command { std: "docker" "inspect" "d47c753441a700a8b0c4493ebbf578d81e57aa919d52b229fb5db4f5ef94d169", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d47c753441a700a8b0c4493ebbf578d81e57aa919d52b229fb5db4f5ef94d169", kill_on_drop: false }` [INFO] [stdout] d47c753441a700a8b0c4493ebbf578d81e57aa919d52b229fb5db4f5ef94d169