[INFO] cloning repository https://github.com/Santiago-Torres14/Rust-atomics-and-locks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Santiago-Torres14/Rust-atomics-and-locks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSantiago-Torres14%2FRust-atomics-and-locks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSantiago-Torres14%2FRust-atomics-and-locks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9824e276fa78ae6c31072b2d28e8d1f3bb29813c [INFO] checking Santiago-Torres14/Rust-atomics-and-locks against try#d7b15db413fd2070daa09a2c5b7f2ab38417429f for pr-144544 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSantiago-Torres14%2FRust-atomics-and-locks" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Santiago-Torres14/Rust-atomics-and-locks [INFO] finished tweaking git repo https://github.com/Santiago-Torres14/Rust-atomics-and-locks [INFO] tweaked toml for git repo https://github.com/Santiago-Torres14/Rust-atomics-and-locks written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Santiago-Torres14/Rust-atomics-and-locks on toolchain d7b15db413fd2070daa09a2c5b7f2ab38417429f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Santiago-Torres14/Rust-atomics-and-locks 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" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 100040726abd11a06a985900d825fa9d37c20cb4a369ff6256e7b26580fcf866 [INFO] running `Command { std: "docker" "start" "-a" "100040726abd11a06a985900d825fa9d37c20cb4a369ff6256e7b26580fcf866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "100040726abd11a06a985900d825fa9d37c20cb4a369ff6256e7b26580fcf866", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "100040726abd11a06a985900d825fa9d37c20cb4a369ff6256e7b26580fcf866", kill_on_drop: false }` [INFO] [stdout] 100040726abd11a06a985900d825fa9d37c20cb4a369ff6256e7b26580fcf866 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+d7b15db413fd2070daa09a2c5b7f2ab38417429f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 27253f603362e7deb01152848309c8e155e9b6bdcbb81d1047a032e86f793302 [INFO] running `Command { std: "docker" "start" "-a" "27253f603362e7deb01152848309c8e155e9b6bdcbb81d1047a032e86f793302", kill_on_drop: false }` [INFO] [stderr] Checking rust-atomics-locks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `spawn` [INFO] [stdout] --> src/bin/scoped_threads.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::{self, spawn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `spawn` [INFO] [stdout] --> src/bin/scoped_threads.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::thread::{self, spawn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f_cell` is never used [INFO] [stdout] --> src/bin/cells.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn f_cell(a: &Cell, b: &Cell) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f_refcell` is never used [INFO] [stdout] --> src/bin/cells.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn f_refcell(v: &RefCell>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo` is never used [INFO] [stdout] --> src/bin/cells.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn foo(a: &i32, b: &mut i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Mutex<{integer}>` cannot be dereferenced [INFO] [stdout] --> src/bin/mutex.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | println!("{}", *n); [INFO] [stdout] | ^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `random_key` in this scope [INFO] [stdout] --> src/bin/lazy_initialization.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let new_key = random_key(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0614`. [INFO] [stdout] [INFO] [stdout] warning: function `f_cell` is never used [INFO] [stdout] --> src/bin/cells.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn f_cell(a: &Cell, b: &Cell) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `f_refcell` is never used [INFO] [stdout] --> src/bin/cells.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn f_refcell(v: &RefCell>) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `foo` is never used [INFO] [stdout] --> src/bin/cells.rs:23:4 [INFO] [stdout] | [INFO] [stdout] 23 | fn foo(a: &i32, b: &mut i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `random_key` in this scope [INFO] [stdout] --> src/bin/lazy_initialization.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | let new_key = random_key(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/bin/threads.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let handle = thread::spawn(|| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `handle` [INFO] [stdout] --> src/bin/threads.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let handle = thread::spawn(|| { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-atomics-locks` (bin "lazy_initialization") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `rust-atomics-locks` (bin "mutex") due to 1 previous error [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stdout] error[E0614]: type `Mutex<{integer}>` cannot be dereferenced [INFO] [stdout] --> src/bin/mutex.rs:17:20 [INFO] [stdout] | [INFO] [stdout] 17 | println!("{}", *n); [INFO] [stdout] | ^^ can't be dereferenced [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-atomics-locks` (bin "lazy_initialization" test) due to 1 previous error [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/rc.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | handle_two.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = handle_two.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/rc.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = handle.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0614`. [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/rc.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | handle_two.join(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 23 | let _ = handle_two.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/bin/rc.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | handle.join(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 24 | let _ = handle.join(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-atomics-locks` (bin "mutex" test) due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "27253f603362e7deb01152848309c8e155e9b6bdcbb81d1047a032e86f793302", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27253f603362e7deb01152848309c8e155e9b6bdcbb81d1047a032e86f793302", kill_on_drop: false }` [INFO] [stdout] 27253f603362e7deb01152848309c8e155e9b6bdcbb81d1047a032e86f793302