[INFO] fetching crate scoped_allocator 0.1.4...
[INFO] testing scoped_allocator-0.1.4 against nightly-2024-10-28+rustflags=-Zrandomize-layout for randomize-layout
[INFO] extracting crate scoped_allocator 0.1.4 into /workspace/builds/worker-1-tc2/source
[INFO] validating manifest of crates.io crate scoped_allocator 0.1.4 on toolchain nightly-2024-10-28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate scoped_allocator 0.1.4
[INFO] finished tweaking crates.io crate scoped_allocator 0.1.4
[INFO] tweaked toml for crates.io crate scoped_allocator 0.1.4 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+nightly-2024-10-28" "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" "+nightly-2024-10-28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 6d27b00837d864e8dd21f9ec19f93102c991a2b8ddb95eb62d5d53dd4d821841
[INFO] running `Command { std: "docker" "start" "-a" "6d27b00837d864e8dd21f9ec19f93102c991a2b8ddb95eb62d5d53dd4d821841", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "6d27b00837d864e8dd21f9ec19f93102c991a2b8ddb95eb62d5d53dd4d821841", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6d27b00837d864e8dd21f9ec19f93102c991a2b8ddb95eb62d5d53dd4d821841", kill_on_drop: false }`
[INFO] [stdout] 6d27b00837d864e8dd21f9ec19f93102c991a2b8ddb95eb62d5d53dd4d821841
[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 -Zrandomize-layout" "-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+nightly-2024-10-28" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2c573274a9f0015d7dd1272a26963d55ce371783367d405349b9e89a4939135f
[INFO] running `Command { std: "docker" "start" "-a" "2c573274a9f0015d7dd1272a26963d55ce371783367d405349b9e89a4939135f", kill_on_drop: false }`
[INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021
[INFO] [stderr]    Compiling scoped_allocator v0.1.4 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found keyword `in`
[INFO] [stdout]    --> src/scoped.rs:178:20
[INFO] [stdout]     |
[INFO] [stdout] 178 |         let _big = in alloc.allocate().unwrap() { [0u8; 8_000_000] };
[INFO] [stdout]     |                    ^^ expected expression
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::ops::Place`
[INFO] [stdout]   --> src/lib.rs:47:5
[INFO] [stdout]    |
[INFO] [stdout] 47 | use std::ops::Place as StdPlace;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^ no `Place` in `ops`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `std::ops::InPlace`, `std::ops::Placer`
[INFO] [stdout]   --> src/lib.rs:48:48
[INFO] [stdout]    |
[INFO] [stdout] 48 | use std::ops::{CoerceUnsized, Deref, DerefMut, InPlace, Placer};
[INFO] [stdout]    |                                                ^^^^^^^  ^^^^^^ no `Placer` in `ops`
[INFO] [stdout]    |                                                |
[INFO] [stdout]    |                                                no `InPlace` in `ops`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `alloc::heap`
[INFO] [stdout]   --> src/lib.rs:50:5
[INFO] [stdout]    |
[INFO] [stdout] 50 | use alloc::heap;
[INFO] [stdout]    |     ^^^^^^^^^^^ no `heap` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `std::raw`
[INFO] [stdout]    --> src/lib.rs:209:18
[INFO] [stdout]     |
[INFO] [stdout] 209 |         use std::raw::TraitObject;
[INFO] [stdout]     |                  ^^^ could not find `raw` in `std`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `core_intrinsics` is internal to the compiler or standard library
[INFO] [stdout]   --> src/lib.rs:33:5
[INFO] [stdout]    |
[INFO] [stdout] 33 |     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: use of deprecated function `std::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly
[INFO] [stdout]    --> src/lib.rs:241:30
[INFO] [stdout]     |
[INFO] [stdout] 241 |         use std::intrinsics::drop_in_place;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly
[INFO] [stdout]    --> src/lib.rs:288:30
[INFO] [stdout]     |
[INFO] [stdout] 288 |         use std::intrinsics::drop_in_place;
[INFO] [stdout]     |                              ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly
[INFO] [stdout]    --> src/lib.rs:243:13
[INFO] [stdout]     |
[INFO] [stdout] 243 |             drop_in_place(self.item);
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `std::intrinsics::drop_in_place`: no longer an intrinsic - use `ptr::drop_in_place` directly
[INFO] [stdout]    --> src/lib.rs:291:13
[INFO] [stdout]     |
[INFO] [stdout] 291 |             drop_in_place(self.ptr);
[INFO] [stdout]     |             ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `alloc` has been stable since 1.36.0 and no longer requires an attribute to enable
[INFO] [stdout]   --> src/lib.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     alloc,
[INFO] [stdout]    |     ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `placement_new_protocol`
[INFO] [stdout]   --> src/lib.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     placement_new_protocol,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `placement_in_syntax`
[INFO] [stdout]   --> src/lib.rs:36:5
[INFO] [stdout]    |
[INFO] [stdout] 36 |     placement_in_syntax,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `raw`
[INFO] [stdout]   --> src/lib.rs:37:5
[INFO] [stdout]    |
[INFO] [stdout] 37 |     raw,
[INFO] [stdout]    |     ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0635]: unknown feature `heap_api`
[INFO] [stdout]   --> src/lib.rs:34:5
[INFO] [stdout]    |
[INFO] [stdout] 34 |     heap_api,
[INFO] [stdout]    |     ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:206:38
[INFO] [stdout]     |
[INFO] [stdout] 206 | impl<'a, A: Allocator> Allocated<'a, Any, A> {
[INFO] [stdout]     |                                      ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout]     = note: `#[warn(bare_trait_objects)]` on by default
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 206 | impl<'a, A: Allocator> Allocated<'a, dyn Any, A> {
[INFO] [stdout]     |                                      +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated
[INFO] [stdout]    --> src/lib.rs:208:80
[INFO] [stdout]     |
[INFO] [stdout] 208 |     pub fn downcast<T: Any>(self) -> Result<Allocated<'a, T, A>, Allocated<'a, Any, A>> {
[INFO] [stdout]     |                                                                                ^^^
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
[INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn`
[INFO] [stdout]     |
[INFO] [stdout] 208 |     pub fn downcast<T: Any>(self) -> Result<Allocated<'a, T, A>, Allocated<'a, dyn Any, A>> {
[INFO] [stdout]     |                                                                                +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0223]: ambiguous associated type
[INFO] [stdout]    --> src/lib.rs:266:37
[INFO] [stdout]     |
[INFO] [stdout] 266 |     unsafe fn finalize(mut self) -> Self::Owner {
[INFO] [stdout]     |                                     ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: if there were a trait named `Example` with associated type `Owner` implemented for `Place<'a, T, A>`, you could use the fully-qualified path
[INFO] [stdout]     |
[INFO] [stdout] 266 |     unsafe fn finalize(mut self) -> <Place<'a, T, A> as Example>::Owner {
[INFO] [stdout]     |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0223, E0432, E0635.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0223`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `scoped_allocator` (lib) due to 10 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2c573274a9f0015d7dd1272a26963d55ce371783367d405349b9e89a4939135f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c573274a9f0015d7dd1272a26963d55ce371783367d405349b9e89a4939135f", kill_on_drop: false }`
[INFO] [stdout] 2c573274a9f0015d7dd1272a26963d55ce371783367d405349b9e89a4939135f
