[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 try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManyQuackingDucks%2Fdeadlock_mutex_example-rs-" "/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/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-6-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs- on toolchain b1f2594eac607c1f051534800237eeedb5590a49
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 07a252b8bf4c2646f9785ac2b9eb58c3f366137fc85be7473a161660edc69642
[INFO] running `Command { std: "docker" "start" "-a" "07a252b8bf4c2646f9785ac2b9eb58c3f366137fc85be7473a161660edc69642", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "07a252b8bf4c2646f9785ac2b9eb58c3f366137fc85be7473a161660edc69642", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "07a252b8bf4c2646f9785ac2b9eb58c3f366137fc85be7473a161660edc69642", kill_on_drop: false }`
[INFO] [stdout] 07a252b8bf4c2646f9785ac2b9eb58c3f366137fc85be7473a161660edc69642
[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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f43d9ce87bdcf227ae6788a6dfa402160d8e4999203bc2eae3922e614762abe8
[INFO] running `Command { std: "docker" "start" "-a" "f43d9ce87bdcf227ae6788a6dfa402160d8e4999203bc2eae3922e614762abe8", kill_on_drop: false }`
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.14s
[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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: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] 
[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: 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]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 10 -     static ref mutex_a: Mutex<()> = Mutex::new(());//() needs 0 bytes of ram
[INFO] [stdout] 10 +     static ref MUTEX_A: Mutex<()> = Mutex::new(());//() needs 0 bytes of ram
[INFO] [stdout]    |
[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]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 11 -     static ref mutex_b: Mutex<()> = Mutex::new(());
[INFO] [stdout] 11 +     static ref MUTEX_B: Mutex<()> = Mutex::new(());
[INFO] [stdout]    |
[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]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[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: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] 
[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: 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]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 10 -     static ref mutex_a: Mutex<()> = Mutex::new(());//() needs 0 bytes of ram
[INFO] [stdout] 10 +     static ref MUTEX_A: Mutex<()> = Mutex::new(());//() needs 0 bytes of ram
[INFO] [stdout]    |
[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]    |                ^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 11 -     static ref mutex_b: Mutex<()> = Mutex::new(());
[INFO] [stdout] 11 +     static ref MUTEX_B: Mutex<()> = Mutex::new(());
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f43d9ce87bdcf227ae6788a6dfa402160d8e4999203bc2eae3922e614762abe8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f43d9ce87bdcf227ae6788a6dfa402160d8e4999203bc2eae3922e614762abe8", kill_on_drop: false }`
[INFO] [stdout] f43d9ce87bdcf227ae6788a6dfa402160d8e4999203bc2eae3922e614762abe8
