[INFO] fetching crate alloc-no-stdlib 2.0.4...
[INFO] checking alloc-no-stdlib-2.0.4 against try#48c9d93cf65d550d124c40108859fd993778c157 for pr-153692-1
[INFO] extracting crate alloc-no-stdlib 2.0.4 into /workspace/builds/worker-5-tc2/source
[INFO] started tweaking crates.io crate alloc-no-stdlib 2.0.4
[INFO] finished tweaking crates.io crate alloc-no-stdlib 2.0.4
[INFO] tweaked toml for crates.io crate alloc-no-stdlib 2.0.4 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate alloc-no-stdlib 2.0.4 on toolchain 48c9d93cf65d550d124c40108859fd993778c157
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate alloc-no-stdlib 2.0.4 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d126529fa460db3a9ddb0f014639ea84cccb181bd554b2325ed57774a2a02194
[INFO] running `Command { std: "docker" "start" "-a" "d126529fa460db3a9ddb0f014639ea84cccb181bd554b2325ed57774a2a02194", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d126529fa460db3a9ddb0f014639ea84cccb181bd554b2325ed57774a2a02194", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d126529fa460db3a9ddb0f014639ea84cccb181bd554b2325ed57774a2a02194", kill_on_drop: false }`
[INFO] [stdout] d126529fa460db3a9ddb0f014639ea84cccb181bd554b2325ed57774a2a02194
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+48c9d93cf65d550d124c40108859fd993778c157" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] aa29a5a261094f7ff808b41455f195e16c60943684a659f9945aa93ee8b59db1
[INFO] running `Command { std: "docker" "start" "-a" "aa29a5a261094f7ff808b41455f195e16c60943684a659f9945aa93ee8b59db1", kill_on_drop: false }`
[INFO] [stderr] warning: `package.edition` is unspecified, defaulting to `2015` while the latest is `2024`
[INFO] [stderr]     Checking alloc-no-stdlib v2.0.4 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `core::ops::IndexMut`
[INFO] [stdout]  --> src/allocated_memory/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use core::ops::IndexMut;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ops::Index`
[INFO] [stdout]  --> src/allocated_memory/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use core::ops::Index;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ops::Range`
[INFO] [stdout]  --> src/allocated_memory/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use core::ops::Range;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter type does not contain `Self`
[INFO] [stdout]   --> src/stack_allocator.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn alloc_cell(self : &mut StackAllocator<'a, T, U>,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #140611 <https://github.com/rust-lang/rust/issues/140611>
[INFO] [stdout]    = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ops::IndexMut`
[INFO] [stdout]  --> src/allocated_memory/mod.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 | pub use core::ops::IndexMut;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ops::Index`
[INFO] [stdout]  --> src/allocated_memory/mod.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub use core::ops::Index;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `core::ops::Range`
[INFO] [stdout]  --> src/allocated_memory/mod.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 | pub use core::ops::Range;
[INFO] [stdout]   |         ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: `self` parameter type does not contain `Self`
[INFO] [stdout]   --> src/stack_allocator.rs:37:26
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn alloc_cell(self : &mut StackAllocator<'a, T, U>,
[INFO] [stdout]    |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: use `&self`, `&mut self`, or `self: &Self` for correct lifetime elision
[INFO] [stdout]    = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]    = note: for more information, see issue #140611 <https://github.com/rust-lang/rust/issues/140611>
[INFO] [stdout]    = note: `#[deny(self_lifetime_elision_not_applicable)]` (part of `#[deny(future_incompatible)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: calls to `std::mem::forget` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     core::mem::forget(core::mem::replace(&mut self.data, &mut[]));
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^------------------------------------------^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       argument has type `&mut [T]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(forgetting_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 78 -     core::mem::forget(core::mem::replace(&mut self.data, &mut[]));
[INFO] [stdout] 78 +     let _ = core::mem::replace(&mut self.data, &mut[]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `alloc-no-stdlib` (lib) due to 1 previous error; 4 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: calls to `std::mem::forget` with a reference instead of an owned value does nothing
[INFO] [stdout]   --> src/lib.rs:78:5
[INFO] [stdout]    |
[INFO] [stdout] 78 |     core::mem::forget(core::mem::replace(&mut self.data, &mut[]));
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^------------------------------------------^
[INFO] [stdout]    |                       |
[INFO] [stdout]    |                       argument has type `&mut [T]`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(forgetting_references)]` on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the expression or result
[INFO] [stdout]    |
[INFO] [stdout] 78 -     core::mem::forget(core::mem::replace(&mut self.data, &mut[]));
[INFO] [stdout] 78 +     let _ = core::mem::replace(&mut self.data, &mut[]);
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `alloc-no-stdlib` (lib test) due to 1 previous error; 4 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "aa29a5a261094f7ff808b41455f195e16c60943684a659f9945aa93ee8b59db1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "aa29a5a261094f7ff808b41455f195e16c60943684a659f9945aa93ee8b59db1", kill_on_drop: false }`
[INFO] [stdout] aa29a5a261094f7ff808b41455f195e16c60943684a659f9945aa93ee8b59db1
