[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] testing nasa-playground/allocator against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [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 bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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 [ERROR] error running command: no output for 300 seconds [INFO] testing nasa-playground/allocator against try#bd7d74411512a3dd3b35d2f699c51dd2557c7e7e+cargoflags=-Zbuild-dir-new-layout for pr-149852-1 [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 bd7d74411512a3dd3b35d2f699c51dd2557c7e7e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "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/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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77f1c1267906279c3c007bd357b10f1e800d6440df7e43714a2ac8bf640108fd [INFO] running `Command { std: "docker" "start" "-a" "77f1c1267906279c3c007bd357b10f1e800d6440df7e43714a2ac8bf640108fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77f1c1267906279c3c007bd357b10f1e800d6440df7e43714a2ac8bf640108fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77f1c1267906279c3c007bd357b10f1e800d6440df7e43714a2ac8bf640108fd", kill_on_drop: false }` [INFO] [stdout] 77f1c1267906279c3c007bd357b10f1e800d6440df7e43714a2ac8bf640108fd [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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bd7d74411512a3dd3b35d2f699c51dd2557c7e7e" "build" "--frozen" "--message-format=json" "-Zbuild-dir-new-layout", kill_on_drop: false }` [INFO] [stdout] 4ab5291567ff3e1a048f206d2d8c95b4a325a501b3bbf0bdeddfef06930d4ffe [INFO] running `Command { std: "docker" "start" "-a" "4ab5291567ff3e1a048f206d2d8c95b4a325a501b3bbf0bdeddfef06930d4ffe", kill_on_drop: false }` [INFO] [stderr] Compiling 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: 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: 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 [INFO] [stdout] | move occurs because `region` has type `&mut ListNode`, which does not implement the `Copy` trait [INFO] [stdout] | [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 52 | while let Some(mut region) = ¤t.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] [stderr] error: could not compile `alloc_playground` (bin "alloc_playground") due to 1 previous error; 10 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4ab5291567ff3e1a048f206d2d8c95b4a325a501b3bbf0bdeddfef06930d4ffe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ab5291567ff3e1a048f206d2d8c95b4a325a501b3bbf0bdeddfef06930d4ffe", kill_on_drop: false }` [INFO] [stdout] 4ab5291567ff3e1a048f206d2d8c95b4a325a501b3bbf0bdeddfef06930d4ffe