[INFO] cloning repository https://github.com/nasa-playground/allocator
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nasa-playground/allocator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnasa-playground%2Fallocator", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnasa-playground%2Fallocator'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bb42a47f2756406f21a7fe1994a53a14012bf8e4
[INFO] checking nasa-playground/allocator against e4d5758286bf2cf6f415802f2cf861747a7c6c8c for pr-152972
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnasa-playground%2Fallocator" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/nasa-playground/allocator
[INFO] finished tweaking git repo https://github.com/nasa-playground/allocator
[INFO] tweaked toml for git repo https://github.com/nasa-playground/allocator written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/nasa-playground/allocator on toolchain e4d5758286bf2cf6f415802f2cf861747a7c6c8c
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/nasa-playground/allocator 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" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "fetch" "--manifest-path" "Cargo.toml", 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3111399a4047eeb3a02b7a90e478d715f38a8c6669b5c4b49d30a17385265909" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 9871fdb407793cc5e0aac14ab3c7161b51caffceeb8a22fa659e5019e4b24e8e
[INFO] running `Command { std: "docker" "start" "9871fdb407793cc5e0aac14ab3c7161b51caffceeb8a22fa659e5019e4b24e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9871fdb407793cc5e0aac14ab3c7161b51caffceeb8a22fa659e5019e4b24e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9871fdb407793cc5e0aac14ab3c7161b51caffceeb8a22fa659e5019e4b24e8e" "/opt/rustwide/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "9871fdb407793cc5e0aac14ab3c7161b51caffceeb8a22fa659e5019e4b24e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "9871fdb407793cc5e0aac14ab3c7161b51caffceeb8a22fa659e5019e4b24e8e" "/opt/rustwide/cargo-home/bin/cargo" "+e4d5758286bf2cf6f415802f2cf861747a7c6c8c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking alloc_playground v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused imports: `AtomicUsize`, `Ordering`, and `cell::UnsafeCell`
[INFO] [stdout]  --> src/linked_list_allocator.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     cell::UnsafeCell,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     sync::atomic::{AtomicUsize, Ordering},
[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 imports: `AtomicUsize`, `Ordering`, and `cell::UnsafeCell`
[INFO] [stdout]  --> src/linked_list_allocator.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 |     cell::UnsafeCell,
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 |     sync::atomic::{AtomicUsize, Ordering},
[INFO] [stdout]   |                    ^^^^^^^^^^^  ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(const_mut_refs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: the feature `const_mut_refs` has been stable since 1.83.0 and no longer requires an attribute to enable
[INFO] [stdout]  --> src/main.rs:1:12
[INFO] [stdout]   |
[INFO] [stdout] 1 | #![feature(const_mut_refs)]
[INFO] [stdout]   |            ^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(stable_features)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::fetch_update`: renamed to `try_update` for consistency
[INFO] [stdout]   --> src/bump_allocator.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |mut next| {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 33 -             .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |mut next| {
[INFO] [stdout] 33 +             .try_update(Ordering::SeqCst, Ordering::SeqCst, |mut next| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `std::sync::atomic::Atomic::<usize>::fetch_update`: renamed to `try_update` for consistency
[INFO] [stdout]   --> src/bump_allocator.rs:33:14
[INFO] [stdout]    |
[INFO] [stdout] 33 |             .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |mut next| {
[INFO] [stdout]    |              ^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] help: replace the use of the deprecated method
[INFO] [stdout]    |
[INFO] [stdout] 33 -             .fetch_update(Ordering::SeqCst, Ordering::SeqCst, |mut next| {
[INFO] [stdout] 33 +             .try_update(Ordering::SeqCst, Ordering::SeqCst, |mut next| {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/linked_list_allocator.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut current = &mut self.head;
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/linked_list_allocator.rs:52:24
[INFO] [stdout]    |
[INFO] [stdout] 52 |         while let Some(mut region) = current.next {}
[INFO] [stdout]    |                        ----^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `current.next` as enum variant `Some` which is behind a mutable reference
[INFO] [stdout]   --> src/linked_list_allocator.rs:52:38
[INFO] [stdout]    |
[INFO] [stdout] 52 |         while let Some(mut region) = current.next {}
[INFO] [stdout]    |                        ----------    ^^^^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        data moved here because `region` has type `&mut ListNode`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing the pattern binding
[INFO] [stdout]    |
[INFO] [stdout] 52 |         while let Some(ref mut region) = current.next {}
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/linked_list_allocator.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn find_region(&mut self, size: usize, align: usize) -> Option<(&'static mut ListNode, usize)> {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `align`
[INFO] [stdout]   --> src/linked_list_allocator.rs:49:44
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn find_region(&mut self, size: usize, align: usize) -> Option<(&'static mut ListNode, usize)> {
[INFO] [stdout]    |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_align`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `region`
[INFO] [stdout]   --> src/linked_list_allocator.rs:52:24
[INFO] [stdout]    |
[INFO] [stdout] 52 |         while let Some(mut region) = current.next {}
[INFO] [stdout]    |                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layout`
[INFO] [stdout]   --> src/linked_list_allocator.rs:59:28
[INFO] [stdout]    |
[INFO] [stdout] 59 |     unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/linked_list_allocator.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |         let mut current = &mut self.head;
[INFO] [stdout]    |             ----^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]   --> src/linked_list_allocator.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/linked_list_allocator.rs:52:24
[INFO] [stdout]    |
[INFO] [stdout] 52 |         while let Some(mut region) = current.next {}
[INFO] [stdout]    |                        ----^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layout`
[INFO] [stdout]   --> src/linked_list_allocator.rs:63:44
[INFO] [stdout]    |
[INFO] [stdout] 63 |     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
[INFO] [stdout]    |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0507]: cannot move out of `current.next` as enum variant `Some` which is behind a mutable reference
[INFO] [stdout]   --> src/linked_list_allocator.rs:52:38
[INFO] [stdout]    |
[INFO] [stdout] 52 |         while let Some(mut region) = current.next {}
[INFO] [stdout]    |                        ----------    ^^^^^^^^^^^^
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        data moved here because `region` has type `&mut ListNode`, which does not implement the `Copy` trait
[INFO] [stdout]    |
[INFO] [stdout] help: consider borrowing the pattern binding
[INFO] [stdout]    |
[INFO] [stdout] 52 |         while let Some(ref mut region) = current.next {}
[INFO] [stdout]    |                        +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `size`
[INFO] [stdout]   --> src/linked_list_allocator.rs:49:31
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn find_region(&mut self, size: usize, align: usize) -> Option<(&'static mut ListNode, usize)> {
[INFO] [stdout]    |                               ^^^^ help: if this is intentional, prefix it with an underscore: `_size`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `align`
[INFO] [stdout]   --> src/linked_list_allocator.rs:49:44
[INFO] [stdout]    |
[INFO] [stdout] 49 |     fn find_region(&mut self, size: usize, align: usize) -> Option<(&'static mut ListNode, usize)> {
[INFO] [stdout]    |                                            ^^^^^ help: if this is intentional, prefix it with an underscore: `_align`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `region`
[INFO] [stdout]   --> src/linked_list_allocator.rs:52:24
[INFO] [stdout]    |
[INFO] [stdout] 52 |         while let Some(mut region) = current.next {}
[INFO] [stdout]    |                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_region`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layout`
[INFO] [stdout]   --> src/linked_list_allocator.rs:59:28
[INFO] [stdout]    |
[INFO] [stdout] 59 |     unsafe fn alloc(&self, layout: Layout) -> *mut u8 {
[INFO] [stdout]    |                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ptr`
[INFO] [stdout]   --> src/linked_list_allocator.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
[INFO] [stdout]    |                              ^^^ help: if this is intentional, prefix it with an underscore: `_ptr`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `layout`
[INFO] [stdout]   --> src/linked_list_allocator.rs:63:44
[INFO] [stdout]    |
[INFO] [stdout] 63 |     unsafe fn dealloc(&self, ptr: *mut u8, layout: Layout) {
[INFO] [stdout]    |                                            ^^^^^^ help: if this is intentional, prefix it with an underscore: `_layout`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0507`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `alloc_playground` (bin "alloc_playground" test) due to 1 previous error; 11 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `alloc_playground` (bin "alloc_playground") due to 1 previous error; 11 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "9871fdb407793cc5e0aac14ab3c7161b51caffceeb8a22fa659e5019e4b24e8e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9871fdb407793cc5e0aac14ab3c7161b51caffceeb8a22fa659e5019e4b24e8e", kill_on_drop: false }`
[INFO] [stdout] 9871fdb407793cc5e0aac14ab3c7161b51caffceeb8a22fa659e5019e4b24e8e
