[INFO] cloning repository https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs- [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs-" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManyQuackingDucks%2Fdeadlock_mutex_example-rs-", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManyQuackingDucks%2Fdeadlock_mutex_example-rs-'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfd6f172275b6a14bc902a935477690c30dd70fd [INFO] checking ManyQuackingDucks/deadlock_mutex_example-rs- against master#dfdbe30004a095ad63951c4cd6e10a9a971a7399 for pr-120932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManyQuackingDucks%2Fdeadlock_mutex_example-rs-" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs- on toolchain dfdbe30004a095ad63951c4cd6e10a9a971a7399 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs- [INFO] finished tweaking git repo https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs- [INFO] tweaked toml for git repo https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs- written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs- 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" "+dfdbe30004a095ad63951c4cd6e10a9a971a7399" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking ManyQuackingDucks/deadlock_mutex_example-rs- against master#ba824a2e25948a86596ccf7594afe548020e86e6 for pr-120932 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManyQuackingDucks%2Fdeadlock_mutex_example-rs-" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs- on toolchain ba824a2e25948a86596ccf7594afe548020e86e6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs- [INFO] finished tweaking git repo https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs- [INFO] tweaked toml for git repo https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs- written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs- 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" "+ba824a2e25948a86596ccf7594afe548020e86e6" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a584ee46dab409f835100014a681eead9463b2db2abdd5df8b2cc6f89d9ef6de [INFO] running `Command { std: "docker" "start" "-a" "a584ee46dab409f835100014a681eead9463b2db2abdd5df8b2cc6f89d9ef6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a584ee46dab409f835100014a681eead9463b2db2abdd5df8b2cc6f89d9ef6de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a584ee46dab409f835100014a681eead9463b2db2abdd5df8b2cc6f89d9ef6de", kill_on_drop: false }` [INFO] [stdout] a584ee46dab409f835100014a681eead9463b2db2abdd5df8b2cc6f89d9ef6de [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ba824a2e25948a86596ccf7594afe548020e86e6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e1f8df7d00a09331aa9f814ca48551ee03bc16841956bee39b641b4af3057e28 [INFO] running `Command { std: "docker" "start" "-a" "e1f8df7d00a09331aa9f814ca48551ee03bc16841956bee39b641b4af3057e28", kill_on_drop: false }` [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking deadlock_mutex_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | thread::sleep_ms(100);//makes it easier to dead lock behavior but not nessasary to deadlock [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::thread::sleep_ms`: replaced by `std::thread::sleep` [INFO] [stdout] --> src/main.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | thread::sleep_ms(100);//makes it easier to dead lock behavior but not nessasary to deadlock [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock_a` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let lock_a = mutex_a.lock(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock_a` [INFO] [stdout] --> src/main.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | let lock_a = mutex_a.lock(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock_b` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let lock_b = mutex_b.lock(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock_b` [INFO] [stdout] --> src/main.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | let lock_b = mutex_b.lock(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock_b` [INFO] [stdout] --> src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let lock_b = mutex_b.lock(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock_b` [INFO] [stdout] --> src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let lock_b = mutex_b.lock(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock_a` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let lock_a = mutex_a.lock(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lock_a` [INFO] [stdout] --> src/main.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let lock_a = mutex_a.lock(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_lock_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `mutex_a` should have an upper case name [INFO] [stdout] --> src/main.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | static ref mutex_a: Mutex<()> = Mutex::new(());//() needs 0 bytes of ram [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `MUTEX_A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `mutex_a` should have an upper case name [INFO] [stdout] --> src/main.rs:10:16 [INFO] [stdout] | [INFO] [stdout] 10 | static ref mutex_a: Mutex<()> = Mutex::new(());//() needs 0 bytes of ram [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `MUTEX_A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `mutex_b` should have an upper case name [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | static ref mutex_b: Mutex<()> = Mutex::new(()); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `MUTEX_B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static variable `mutex_b` should have an upper case name [INFO] [stdout] --> src/main.rs:11:16 [INFO] [stdout] | [INFO] [stdout] 11 | static ref mutex_b: Mutex<()> = Mutex::new(()); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `MUTEX_B` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.08s [INFO] running `Command { std: "docker" "inspect" "e1f8df7d00a09331aa9f814ca48551ee03bc16841956bee39b641b4af3057e28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1f8df7d00a09331aa9f814ca48551ee03bc16841956bee39b641b4af3057e28", kill_on_drop: false }` [INFO] [stdout] e1f8df7d00a09331aa9f814ca48551ee03bc16841956bee39b641b4af3057e28