[INFO] cloning repository https://github.com/PoorlyDefinedBehaviour/petersons_mutual_exclusion_algorithm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PoorlyDefinedBehaviour/petersons_mutual_exclusion_algorithm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoorlyDefinedBehaviour%2Fpetersons_mutual_exclusion_algorithm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoorlyDefinedBehaviour%2Fpetersons_mutual_exclusion_algorithm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 43c263d0dbea7fa9bc5327d59ebc61c9599e3f1c [INFO] testing PoorlyDefinedBehaviour/petersons_mutual_exclusion_algorithm against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPoorlyDefinedBehaviour%2Fpetersons_mutual_exclusion_algorithm" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/PoorlyDefinedBehaviour/petersons_mutual_exclusion_algorithm [INFO] finished tweaking git repo https://github.com/PoorlyDefinedBehaviour/petersons_mutual_exclusion_algorithm [INFO] tweaked toml for git repo https://github.com/PoorlyDefinedBehaviour/petersons_mutual_exclusion_algorithm written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/PoorlyDefinedBehaviour/petersons_mutual_exclusion_algorithm on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/PoorlyDefinedBehaviour/petersons_mutual_exclusion_algorithm 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 999a48bf8ba6eaeeed801e9be0bf9963d7a26ccb38eb7a952095b1c0b3c99a6f [INFO] running `Command { std: "docker" "start" "-a" "999a48bf8ba6eaeeed801e9be0bf9963d7a26ccb38eb7a952095b1c0b3c99a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "999a48bf8ba6eaeeed801e9be0bf9963d7a26ccb38eb7a952095b1c0b3c99a6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "999a48bf8ba6eaeeed801e9be0bf9963d7a26ccb38eb7a952095b1c0b3c99a6f", kill_on_drop: false }` [INFO] [stdout] 999a48bf8ba6eaeeed801e9be0bf9963d7a26ccb38eb7a952095b1c0b3c99a6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ab28ef1b61e48746554fae34042fc654d250d54e7750d74f2282b73f010e65d [INFO] running `Command { std: "docker" "start" "-a" "3ab28ef1b61e48746554fae34042fc654d250d54e7750d74f2282b73f010e65d", kill_on_drop: false }` [INFO] [stderr] Compiling petersons_algorithm_mutual_exclusion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | println!("Thread a: RESOURCE is {:?}", RESOURCE); [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | println!("Thread b: RESOURCE is {:?}", RESOURCE); [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.30s [INFO] running `Command { std: "docker" "inspect" "3ab28ef1b61e48746554fae34042fc654d250d54e7750d74f2282b73f010e65d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ab28ef1b61e48746554fae34042fc654d250d54e7750d74f2282b73f010e65d", kill_on_drop: false }` [INFO] [stdout] 3ab28ef1b61e48746554fae34042fc654d250d54e7750d74f2282b73f010e65d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1d4297a2b23e331d18462ae3fe577b4753a05d236997aca059048004639e0a15 [INFO] running `Command { std: "docker" "start" "-a" "1d4297a2b23e331d18462ae3fe577b4753a05d236997aca059048004639e0a15", kill_on_drop: false }` [INFO] [stderr] Compiling petersons_algorithm_mutual_exclusion v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:19:46 [INFO] [stdout] | [INFO] [stdout] 19 | println!("Thread a: RESOURCE is {:?}", RESOURCE); [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/main.rs:34:46 [INFO] [stdout] | [INFO] [stdout] 34 | println!("Thread b: RESOURCE is {:?}", RESOURCE); [INFO] [stdout] | ^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.22s [INFO] running `Command { std: "docker" "inspect" "1d4297a2b23e331d18462ae3fe577b4753a05d236997aca059048004639e0a15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1d4297a2b23e331d18462ae3fe577b4753a05d236997aca059048004639e0a15", kill_on_drop: false }` [INFO] [stdout] 1d4297a2b23e331d18462ae3fe577b4753a05d236997aca059048004639e0a15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 982aaac8688b3a331022e061f9cd2a4e83d18076a646465e75474fed5fe78854 [INFO] running `Command { std: "docker" "start" "-a" "982aaac8688b3a331022e061f9cd2a4e83d18076a646465e75474fed5fe78854", kill_on_drop: false }` [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:19:46 [INFO] [stderr] | [INFO] [stderr] 19 | println!("Thread a: RESOURCE is {:?}", RESOURCE); [INFO] [stderr] | ^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: creating a shared reference to mutable static [INFO] [stderr] --> src/main.rs:34:46 [INFO] [stderr] | [INFO] [stderr] 34 | println!("Thread b: RESOURCE is {:?}", RESOURCE); [INFO] [stderr] | ^^^^^^^^ shared reference to mutable static [INFO] [stderr] | [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stderr] [INFO] [stderr] warning: `petersons_algorithm_mutual_exclusion` (bin "petersons_algorithm_mutual_exclusion" test) generated 2 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/petersons_algorithm_mutual_exclusion-f5f0334ec0c1c0a0) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "982aaac8688b3a331022e061f9cd2a4e83d18076a646465e75474fed5fe78854", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "982aaac8688b3a331022e061f9cd2a4e83d18076a646465e75474fed5fe78854", kill_on_drop: false }` [INFO] [stdout] 982aaac8688b3a331022e061f9cd2a4e83d18076a646465e75474fed5fe78854