[INFO] cloning repository https://github.com/hartwork/rust-for-it [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hartwork/rust-for-it" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhartwork%2Frust-for-it", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhartwork%2Frust-for-it'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f7b2ff81176ab611a12d879ee4bb4f05f583a710 [INFO] checking hartwork/rust-for-it against master#a5db378dc14a40dd1580c27fb8362156446382c3 for pr-136490 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhartwork%2Frust-for-it" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hartwork/rust-for-it on toolchain a5db378dc14a40dd1580c27fb8362156446382c3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hartwork/rust-for-it [INFO] finished tweaking git repo https://github.com/hartwork/rust-for-it [INFO] tweaked toml for git repo https://github.com/hartwork/rust-for-it written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/hartwork/rust-for-it 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" "+a5db378dc14a40dd1580c27fb8362156446382c3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded extend-lifetime v0.2.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9b0372ba38de69d5eca98546f2257de4212bef6de7994f19ebe15a24f090c7b9 [INFO] running `Command { std: "docker" "start" "-a" "9b0372ba38de69d5eca98546f2257de4212bef6de7994f19ebe15a24f090c7b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9b0372ba38de69d5eca98546f2257de4212bef6de7994f19ebe15a24f090c7b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b0372ba38de69d5eca98546f2257de4212bef6de7994f19ebe15a24f090c7b9", kill_on_drop: false }` [INFO] [stdout] 9b0372ba38de69d5eca98546f2257de4212bef6de7994f19ebe15a24f090c7b9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+a5db378dc14a40dd1580c27fb8362156446382c3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a45d9cc516169c9f26c236fcc6d2f229b64aab549c373e9ce22d5bd1f029dede [INFO] running `Command { std: "docker" "start" "-a" "a45d9cc516169c9f26c236fcc6d2f229b64aab549c373e9ce22d5bd1f029dede", kill_on_drop: false }` [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking clap_lex v0.7.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking value-bag v1.10.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking extend-lifetime v0.2.0 [INFO] [stderr] Compiling libc v0.2.167 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking clap_builder v4.5.21 [INFO] [stderr] Checking subprocess v0.2.9 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking clap v4.5.21 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking rust-for-it v2.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:70:45 [INFO] [stdout] | [INFO] [stdout] 70 | let included_threads = unsafe { INCLUDED_THREADS.lock() }.expect("poisoned lock"); [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | let mut log_config = unsafe { LOG_CONFIG.lock() }.expect("poisoned lock"); [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | let _locked = unsafe { LOG_ACTIVE.lock() }.expect("poisoned lock"); [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | let mut log_config = unsafe { LOG_CONFIG.lock() }.expect("poisoned lock"); [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | let mut log_config = unsafe { LOG_CONFIG.lock() }.expect("poisoned lock"); [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | let mut included_threads = unsafe { INCLUDED_THREADS.lock() }.expect("poisoned lock"); [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:158:45 [INFO] [stdout] | [INFO] [stdout] 158 | let mut included_threads = unsafe { INCLUDED_THREADS.lock() }.expect("poisoned lock"); [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:70:45 [INFO] [stdout] | [INFO] [stdout] 70 | let included_threads = unsafe { INCLUDED_THREADS.lock() }.expect("poisoned lock"); [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:88:39 [INFO] [stdout] | [INFO] [stdout] 88 | let mut log_config = unsafe { LOG_CONFIG.lock() }.expect("poisoned lock"); [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:115:28 [INFO] [stdout] | [INFO] [stdout] 115 | let _locked = unsafe { LOG_ACTIVE.lock() }.expect("poisoned lock"); [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:128:39 [INFO] [stdout] | [INFO] [stdout] 128 | let mut log_config = unsafe { LOG_CONFIG.lock() }.expect("poisoned lock"); [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:137:39 [INFO] [stdout] | [INFO] [stdout] 137 | let mut log_config = unsafe { LOG_CONFIG.lock() }.expect("poisoned lock"); [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:151:45 [INFO] [stdout] | [INFO] [stdout] 151 | let mut included_threads = unsafe { INCLUDED_THREADS.lock() }.expect("poisoned lock"); [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:158:45 [INFO] [stdout] | [INFO] [stdout] 158 | let mut included_threads = unsafe { INCLUDED_THREADS.lock() }.expect("poisoned lock"); [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:237:27 [INFO] [stdout] | [INFO] [stdout] 237 | assert!(!unsafe { INCLUDED_THREADS.lock() } [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:243:30 [INFO] [stdout] | [INFO] [stdout] 243 | assert!(unsafe { INCLUDED_THREADS.lock() } [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] [stdout] warning: creating a shared reference to mutable static is discouraged [INFO] [stdout] --> src/logging.rs:249:27 [INFO] [stdout] | [INFO] [stdout] 249 | assert!(!unsafe { INCLUDED_THREADS.lock() } [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 3.11s [INFO] running `Command { std: "docker" "inspect" "a45d9cc516169c9f26c236fcc6d2f229b64aab549c373e9ce22d5bd1f029dede", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45d9cc516169c9f26c236fcc6d2f229b64aab549c373e9ce22d5bd1f029dede", kill_on_drop: false }` [INFO] [stdout] a45d9cc516169c9f26c236fcc6d2f229b64aab549c373e9ce22d5bd1f029dede