[INFO] cloning repository https://github.com/muhtutorials/atomics
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/muhtutorials/atomics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhtutorials%2Fatomics", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhtutorials%2Fatomics'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0eb428684b3ae1daa10d0247629e0ef908f95850
[INFO] checking muhtutorials/atomics against try#6284d7b4bd27983dba388146648ab844ca7d032f for pr-152971
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhtutorials%2Fatomics" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/muhtutorials/atomics
[INFO] finished tweaking git repo https://github.com/muhtutorials/atomics
[INFO] tweaked toml for git repo https://github.com/muhtutorials/atomics written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/muhtutorials/atomics on toolchain 6284d7b4bd27983dba388146648ab844ca7d032f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/muhtutorials/atomics 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" "+6284d7b4bd27983dba388146648ab844ca7d032f" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7b909d6d981eec82e95b723c8e52d7e22f2463068fda923c3b62c3b70e41f88b
[INFO] running `Command { std: "docker" "start" "-a" "7b909d6d981eec82e95b723c8e52d7e22f2463068fda923c3b62c3b70e41f88b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7b909d6d981eec82e95b723c8e52d7e22f2463068fda923c3b62c3b70e41f88b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7b909d6d981eec82e95b723c8e52d7e22f2463068fda923c3b62c3b70e41f88b", kill_on_drop: false }`
[INFO] [stdout] 7b909d6d981eec82e95b723c8e52d7e22f2463068fda923c3b62c3b70e41f88b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4c06eba05e90314181379479cd59521d93e2802280dec0f8a2f5f0d2004147f
[INFO] running `Command { std: "docker" "start" "-a" "c4c06eba05e90314181379479cd59521d93e2802280dec0f8a2f5f0d2004147f", kill_on_drop: false }`
[INFO] [stderr]     Checking atomics v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |   impl <T> Mutex<T> {
[INFO] [stdout]    |         -  -------- this is the type of the `Self` literal
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected this type parameter
[INFO] [stdout] 16 |       pub fn new(value: T) -> T {
[INFO] [stdout]    |                               - expected `T` because of return type
[INFO] [stdout] 17 | /         Self {
[INFO] [stdout] 18 | |             locked: AtomicBool::new(UNLOCKED),
[INFO] [stdout] 19 | |             v: UnsafeCell::new(value),
[INFO] [stdout] 20 | |         }
[INFO] [stdout]    | |_________^ expected type parameter `T`, found `Mutex<T>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type parameter `T`
[INFO] [stdout]                       found struct `Mutex<T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let tx = spawn(move || {
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]   --> src/main.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let ty = spawn(move || {
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let z = z.load(Ordering::SeqCst);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `atomics` (bin "atomics") due to 1 previous error; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |   impl <T> Mutex<T> {
[INFO] [stdout]    |         -  -------- this is the type of the `Self` literal
[INFO] [stdout]    |         |
[INFO] [stdout]    |         expected this type parameter
[INFO] [stdout] 16 |       pub fn new(value: T) -> T {
[INFO] [stdout]    |                               - expected `T` because of return type
[INFO] [stdout] 17 | /         Self {
[INFO] [stdout] 18 | |             locked: AtomicBool::new(UNLOCKED),
[INFO] [stdout] 19 | |             v: UnsafeCell::new(value),
[INFO] [stdout] 20 | |         }
[INFO] [stdout]    | |_________^ expected type parameter `T`, found `Mutex<T>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: expected type parameter `T`
[INFO] [stdout]                       found struct `Mutex<T>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `with_lock` found for reference `&'static {integer}` in the current scope
[INFO] [stdout]   --> src/main.rs:91:27
[INFO] [stdout]    |
[INFO] [stdout] 91 |                         l.with_lock(|v| {
[INFO] [stdout]    |                         --^^^^^^^^^ method not found in `&'static {integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `with_lock` found for reference `&'static {integer}` in the current scope
[INFO] [stdout]    --> src/main.rs:101:22
[INFO] [stdout]     |
[INFO] [stdout] 101 |         assert_eq!(l.with_lock(|v| *v), 100 * 1000);
[INFO] [stdout]     |                      ^^^^^^^^^ method not found in `&'static {integer}`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tx`
[INFO] [stdout]   --> src/main.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |     let tx = spawn(move || {
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_tx`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ty`
[INFO] [stdout]   --> src/main.rs:49:9
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let ty = spawn(move || {
[INFO] [stdout]    |         ^^ help: if this is intentional, prefix it with an underscore: `_ty`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `z`
[INFO] [stdout]   --> src/main.rs:66:9
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let z = z.load(Ordering::SeqCst);
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_z`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loaded_y`
[INFO] [stdout]    --> src/main.rs:120:13
[INFO] [stdout]     |
[INFO] [stdout] 120 |         let loaded_y = h1.join().unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loaded_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `loaded_x`
[INFO] [stdout]    --> src/main.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |         let loaded_x = h2.join().unwrap();
[INFO] [stdout]     |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_loaded_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `atomics` (bin "atomics" test) due to 3 previous errors; 5 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "c4c06eba05e90314181379479cd59521d93e2802280dec0f8a2f5f0d2004147f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4c06eba05e90314181379479cd59521d93e2802280dec0f8a2f5f0d2004147f", kill_on_drop: false }`
[INFO] [stdout] c4c06eba05e90314181379479cd59521d93e2802280dec0f8a2f5f0d2004147f
