[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#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhtutorials%2Fatomics" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/muhtutorials/atomics on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "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] checking muhtutorials/atomics against try#54e27f559f23913c1d5afb1a0f0114e9e61b81b8 for pr-147589 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmuhtutorials%2Fatomics" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/muhtutorials/atomics on toolchain 54e27f559f23913c1d5afb1a0f0114e9e61b81b8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "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" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b5bc05e78d4da0cf710ce5aca689f264ab692829e8e5c36f4372d800999026d7 [INFO] running `Command { std: "docker" "start" "-a" "b5bc05e78d4da0cf710ce5aca689f264ab692829e8e5c36f4372d800999026d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b5bc05e78d4da0cf710ce5aca689f264ab692829e8e5c36f4372d800999026d7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b5bc05e78d4da0cf710ce5aca689f264ab692829e8e5c36f4372d800999026d7", kill_on_drop: false }` [INFO] [stdout] b5bc05e78d4da0cf710ce5aca689f264ab692829e8e5c36f4372d800999026d7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+54e27f559f23913c1d5afb1a0f0114e9e61b81b8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6db9f9c078df63d503b5900fdb29139863156617846339cfc7aa2c3923ae8261 [INFO] running `Command { std: "docker" "start" "-a" "6db9f9c078df63d503b5900fdb29139863156617846339cfc7aa2c3923ae8261", 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 Mutex { [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` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found struct `Mutex` [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] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | impl Mutex { [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` [INFO] [stdout] | [INFO] [stdout] = note: expected type parameter `T` [INFO] [stdout] found struct `Mutex` [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] [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" test) due to 3 previous errors; 5 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `atomics` (bin "atomics") due to 1 previous error; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6db9f9c078df63d503b5900fdb29139863156617846339cfc7aa2c3923ae8261", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6db9f9c078df63d503b5900fdb29139863156617846339cfc7aa2c3923ae8261", kill_on_drop: false }` [INFO] [stdout] 6db9f9c078df63d503b5900fdb29139863156617846339cfc7aa2c3923ae8261