[INFO] fetching crate const-alloc 0.1.0...
[INFO] testing const-alloc-0.1.0 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7
[INFO] extracting crate const-alloc 0.1.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate const-alloc 0.1.0
[INFO] finished tweaking crates.io crate const-alloc 0.1.0
[INFO] tweaked toml for crates.io crate const-alloc 0.1.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate const-alloc 0.1.0 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 98b1bce2cff29b54b12430cdb0385019a429801429f691bb403d7b1155f0eb48
[INFO] running `Command { std: "docker" "start" "-a" "98b1bce2cff29b54b12430cdb0385019a429801429f691bb403d7b1155f0eb48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "98b1bce2cff29b54b12430cdb0385019a429801429f691bb403d7b1155f0eb48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "98b1bce2cff29b54b12430cdb0385019a429801429f691bb403d7b1155f0eb48", kill_on_drop: false }`
[INFO] [stdout] 98b1bce2cff29b54b12430cdb0385019a429801429f691bb403d7b1155f0eb48
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 8e3c4ffd4156d1b86fcfa4af7eabb9088ec0b803c9ad7b201e92a57d7168a9bb
[INFO] running `Command { std: "docker" "start" "-a" "8e3c4ffd4156d1b86fcfa4af7eabb9088ec0b803c9ad7b201e92a57d7168a9bb", kill_on_drop: false }`
[INFO] [stderr]    Compiling const-alloc v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]   --> src/lib.rs:29:5
[INFO] [stdout]    |
[INFO] [stdout] 29 |     core_intrinsics
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: using it is strongly discouraged
[INFO] [stdout]    = note: `#[warn(internal_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_fn_trait_bound` has been stable since 1.61.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     const_fn_trait_bound,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_intrinsic_copy` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:21:5
[INFO] [stdout]    |
[INFO] [stdout] 21 |     const_intrinsic_copy,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_nonnull_new` has been stable since 1.85.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 |     const_nonnull_new,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_option_ext` has been stable since 1.84.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:23:5
[INFO] [stdout]    |
[INFO] [stdout] 23 |     const_option_ext,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_ptr_is_null` has been stable since 1.84.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:24:5
[INFO] [stdout]    |
[INFO] [stdout] 24 |     const_ptr_is_null,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_ptr_offset` has been stable since 1.61.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:25:5
[INFO] [stdout]    |
[INFO] [stdout] 25 |     const_ptr_offset,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_ptr_write` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 |     const_ptr_write,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_slice_from_raw_parts` has been stable since 1.64.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 |     const_slice_from_raw_parts,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: const `impl` for trait `Allocator` which is not `const`
[INFO] [stdout]    --> src/lib.rs:230:33
[INFO] [stdout]     |
[INFO] [stdout] 230 | unsafe impl<A: Allocator> const Allocator for ConstAlloc<A> {
[INFO] [stdout]     |                                 ^^^^^^^^^ this trait is not `const`
[INFO] [stdout]     |
[INFO] [stdout]     = note: marking a trait with `const` ensures all default method bodies are `const`
[INFO] [stdout]     = note: adding a non-const method body in the future would be a breaking change
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `Option::<T>::ok_or` is not yet stable as a const fn
[INFO] [stdout]   --> src/lib.rs:88:5
[INFO] [stdout]    |
[INFO] [stdout] 88 |     NonNull::new(slice_from_raw_parts_mut(ptr, size)).ok_or(AllocError)
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: add `#![feature(const_option_ops)]` to the crate attributes to enable
[INFO] [stdout]    |
[INFO] [stdout] 33 + #![feature(const_option_ops)]
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/lib.rs:95:5
[INFO] [stdout]    |
[INFO] [stdout] 95 |     unsafe { const_eval_select((a, layout), ct, A::allocate) }
[INFO] [stdout]    |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]    --> src/lib.rs:120:5
[INFO] [stdout]     |
[INFO] [stdout] 120 |     unsafe { const_eval_select((a, layout), ct, A::allocate_zeroed) }
[INFO] [stdout]     |     ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `const-alloc` (lib) due to 2 previous errors; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "8e3c4ffd4156d1b86fcfa4af7eabb9088ec0b803c9ad7b201e92a57d7168a9bb", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e3c4ffd4156d1b86fcfa4af7eabb9088ec0b803c9ad7b201e92a57d7168a9bb", kill_on_drop: false }`
[INFO] [stdout] 8e3c4ffd4156d1b86fcfa4af7eabb9088ec0b803c9ad7b201e92a57d7168a9bb
