[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] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] updating cached 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" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bfd6f172275b6a14bc902a935477690c30dd70fd [INFO] checking ManyQuackingDucks/deadlock_mutex_example-rs- against master#ea6ab1bd845790fb31ba790d2c7aec898f89fe62 for pr-99880 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FManyQuackingDucks%2Fdeadlock_mutex_example-rs-" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ManyQuackingDucks/deadlock_mutex_example-rs- on toolchain ea6ab1bd845790fb31ba790d2c7aec898f89fe62 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "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-5/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: "/workspace/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 71c6574d30913f265429ac7bb1666a20e8ab3acb162d16e1f58a350e40b088f6 [INFO] running `Command { std: "docker" "start" "-a" "71c6574d30913f265429ac7bb1666a20e8ab3acb162d16e1f58a350e40b088f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "71c6574d30913f265429ac7bb1666a20e8ab3acb162d16e1f58a350e40b088f6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "71c6574d30913f265429ac7bb1666a20e8ab3acb162d16e1f58a350e40b088f6", kill_on_drop: false }` [INFO] [stdout] 71c6574d30913f265429ac7bb1666a20e8ab3acb162d16e1f58a350e40b088f6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:ecb52c4cf6672b83cc996368a05b4a059042425f2b6ba9cd23a06cdead5d8d70" "/opt/rustwide/cargo-home/bin/cargo" "+ea6ab1bd845790fb31ba790d2c7aec898f89fe62" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26c1dcf2ae2722c4c55a718d5717fe3a68eabd60844ee41b7fb0f6b6b644a31a [INFO] running `Command { std: "docker" "start" "-a" "26c1dcf2ae2722c4c55a718d5717fe3a68eabd60844ee41b7fb0f6b6b644a31a", 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 [unoptimized + debuginfo] target(s) in 0.35s [INFO] running `Command { std: "docker" "inspect" "26c1dcf2ae2722c4c55a718d5717fe3a68eabd60844ee41b7fb0f6b6b644a31a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26c1dcf2ae2722c4c55a718d5717fe3a68eabd60844ee41b7fb0f6b6b644a31a", kill_on_drop: false }` [INFO] [stdout] 26c1dcf2ae2722c4c55a718d5717fe3a68eabd60844ee41b7fb0f6b6b644a31a