[INFO] fetching crate cross 0.2.5...
[INFO] testing cross-0.2.5 against beta-2026-01-20 for beta-1.94-1
[INFO] extracting crate cross 0.2.5 into /workspace/builds/worker-4-tc2/source
[INFO] started tweaking crates.io crate cross 0.2.5
[INFO] finished tweaking crates.io crate cross 0.2.5
[INFO] tweaked toml for crates.io crate cross 0.2.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate cross 0.2.5 on toolchain beta-2026-01-20
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2026-01-20" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate cross 0.2.5 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" "+beta-2026-01-20" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `which` dependency)
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 24f86a30f5b79feae660a8ed5edbff690d8d4c1db3bbdaba4fa7568b5a0c25f5
[INFO] running `Command { std: "docker" "start" "-a" "24f86a30f5b79feae660a8ed5edbff690d8d4c1db3bbdaba4fa7568b5a0c25f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "24f86a30f5b79feae660a8ed5edbff690d8d4c1db3bbdaba4fa7568b5a0c25f5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "24f86a30f5b79feae660a8ed5edbff690d8d4c1db3bbdaba4fa7568b5a0c25f5", kill_on_drop: false }`
[INFO] [stdout] 24f86a30f5b79feae660a8ed5edbff690d8d4c1db3bbdaba4fa7568b5a0c25f5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] fb7b07255c0a4d0f0e8eabb00547104b518cc4f28685928c5c344ae6c7d0bbfe
[INFO] running `Command { std: "docker" "start" "-a" "fb7b07255c0a4d0f0e8eabb00547104b518cc4f28685928c5c344ae6c7d0bbfe", kill_on_drop: false }`
[INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `which` dependency)
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling serde_derive v1.0.138
[INFO] [stderr]    Compiling serde v1.0.138
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling is_ci v1.1.1
[INFO] [stderr]    Compiling gimli v0.26.1
[INFO] [stderr]    Compiling semver v1.0.12
[INFO] [stderr]    Compiling eyre v0.6.8
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling adler v1.0.2
[INFO] [stderr]    Compiling miniz_oxide v0.5.3
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling indenter v0.3.3
[INFO] [stderr]    Compiling os_str_bytes v6.1.0
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling rustc-demangle v0.1.21
[INFO] [stderr]    Compiling serde_json v1.0.82
[INFO] [stderr]    Compiling hashbrown v0.12.2
[INFO] [stderr]    Compiling indexmap v1.9.1
[INFO] [stderr]    Compiling strsim v0.10.0
[INFO] [stderr]    Compiling remove_dir_all v0.5.3
[INFO] [stderr]    Compiling itoa v1.0.2
[INFO] [stderr]    Compiling ryu v1.0.10
[INFO] [stderr]    Compiling clap_lex v0.2.4
[INFO] [stderr]    Compiling termcolor v1.1.3
[INFO] [stderr]    Compiling either v1.7.0
[INFO] [stderr]    Compiling cross v0.2.5 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling backtrace v0.3.66
[INFO] [stderr]    Compiling textwrap v0.15.0
[INFO] [stderr]    Compiling object v0.29.0
[INFO] [stderr]    Compiling fastrand v1.7.0
[INFO] [stderr]    Compiling const-sha1 v0.2.0
[INFO] [stderr]    Compiling home v0.5.3
[INFO] [stderr]    Compiling shell-escape v0.1.5
[INFO] [stderr]    Compiling shell-words v1.1.0
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling dirs-sys v0.3.7
[INFO] [stderr]    Compiling nix v0.24.1
[INFO] [stderr]    Compiling tempfile v3.3.0
[INFO] [stderr]    Compiling which v4.2.5
[INFO] [stderr]    Compiling supports-color v1.3.0
[INFO] [stderr]    Compiling directories v4.0.1
[INFO] [stderr]    Compiling owo-colors v3.4.0
[INFO] [stderr]    Compiling ctrlc v3.2.2
[INFO] [stderr]    Compiling addr2line v0.17.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling clap_derive v3.2.7
[INFO] [stderr]    Compiling thiserror v1.0.31
[INFO] [stderr]    Compiling clap v3.2.8
[INFO] [stderr]    Compiling color-eyre v0.6.1
[INFO] [stderr]    Compiling serde_ignored v0.1.3
[INFO] [stderr]    Compiling toml v0.5.9
[INFO] [stdout] warning: value assigned to `stderr` is never read
[INFO] [stdout]    --> src/errors.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         stderr: Vec<u8>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `stdout` is never read
[INFO] [stdout]    --> src/errors.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         stdout: Vec<u8>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `source` is never read
[INFO] [stdout]    --> src/errors.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         source: Box<dyn std::error::Error + Send + Sync>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/rustup.rs:135:15
[INFO] [stdout]     |
[INFO] [stdout] 135 |     Installed(&'a str),
[INFO] [stdout]     |     --------- ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 135 -     Installed(&'a str),
[INFO] [stdout] 135 +     Installed(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/rustup.rs:136:15
[INFO] [stdout]     |
[INFO] [stdout] 136 |     Available(&'a str),
[INFO] [stdout]     |     --------- ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 136 -     Available(&'a str),
[INFO] [stdout] 136 +     Available(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/rustup.rs:137:18
[INFO] [stdout]     |
[INFO] [stdout] 137 |     NotAvailable(&'a str),
[INFO] [stdout]     |     ------------ ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 137 -     NotAvailable(&'a str),
[INFO] [stdout] 137 +     NotAvailable(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/docker/remote.rs:47:16
[INFO] [stdout]    |
[INFO] [stdout] 47 |             if CONTAINER_EXISTS.swap(false, Ordering::SeqCst) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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/docker/remote.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         CONTAINER_EXISTS.store(true, Ordering::Relaxed);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 mutable reference to mutable static
[INFO] [stdout]    --> src/docker/remote.rs:138:34
[INFO] [stdout]     |
[INFO] [stdout] 138 |         if let Some(container) = &mut CONTAINER {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 138 |         if let Some(container) = &raw mut CONTAINER {
[INFO] [stdout]     |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/docker/remote.rs:155:14
[INFO] [stdout]     |
[INFO] [stdout] 155 |     unsafe { CONTAINER_EXISTS.load(Ordering::Relaxed) }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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
[INFO] [stdout]   --> src/errors.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     if !TERMINATED.swap(true, Ordering::SeqCst) && temp::has_tempfiles() {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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
[INFO] [stdout]   --> src/temp.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { !FILES.is_empty() || !DIRS.is_empty() }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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
[INFO] [stdout]   --> src/temp.rs:22:36
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { !FILES.is_empty() || !DIRS.is_empty() }
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     FILES.clear();
[INFO] [stdout]    |     ^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     DIRS.clear();
[INFO] [stdout]    |     ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     FILES.push(file);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Ok(FILES.last_mut().expect("file list should not be empty"))
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     FILES.pop()
[INFO] [stdout]    |     ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 |     DIRS.push(dir);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/temp.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 |     Ok(DIRS.last().expect("should not be empty").path())
[INFO] [stdout]    |        ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:97:5
[INFO] [stdout]    |
[INFO] [stdout] 97 |     DIRS.pop()
[INFO] [stdout]    |     ^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.15s
[INFO] running `Command { std: "docker" "inspect" "fb7b07255c0a4d0f0e8eabb00547104b518cc4f28685928c5c344ae6c7d0bbfe", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "fb7b07255c0a4d0f0e8eabb00547104b518cc4f28685928c5c344ae6c7d0bbfe", kill_on_drop: false }`
[INFO] [stdout] fb7b07255c0a4d0f0e8eabb00547104b518cc4f28685928c5c344ae6c7d0bbfe
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 374d11a5fb254f7163beb9eac20e6791912f6cf901bb08edac62e2bc7ed02780
[INFO] running `Command { std: "docker" "start" "-a" "374d11a5fb254f7163beb9eac20e6791912f6cf901bb08edac62e2bc7ed02780", kill_on_drop: false }`
[INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `which` dependency)
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling regex-syntax v0.6.27
[INFO] [stderr]    Compiling walkdir v2.3.2
[INFO] [stderr]    Compiling object v0.29.0
[INFO] [stderr]    Compiling aho-corasick v0.7.18
[INFO] [stderr]    Compiling regex v1.6.0
[INFO] [stderr]    Compiling backtrace v0.3.66
[INFO] [stderr]    Compiling color-eyre v0.6.1
[INFO] [stderr]    Compiling cross v0.2.5 (/opt/rustwide/workdir)
[INFO] [stdout] warning: value assigned to `stderr` is never read
[INFO] [stdout]    --> src/errors.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         stderr: Vec<u8>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `stdout` is never read
[INFO] [stdout]    --> src/errors.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         stdout: Vec<u8>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `source` is never read
[INFO] [stdout]    --> src/errors.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         source: Box<dyn std::error::Error + Send + Sync>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/rustup.rs:135:15
[INFO] [stdout]     |
[INFO] [stdout] 135 |     Installed(&'a str),
[INFO] [stdout]     |     --------- ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 135 -     Installed(&'a str),
[INFO] [stdout] 135 +     Installed(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/rustup.rs:136:15
[INFO] [stdout]     |
[INFO] [stdout] 136 |     Available(&'a str),
[INFO] [stdout]     |     --------- ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 136 -     Available(&'a str),
[INFO] [stdout] 136 +     Available(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/rustup.rs:137:18
[INFO] [stdout]     |
[INFO] [stdout] 137 |     NotAvailable(&'a str),
[INFO] [stdout]     |     ------------ ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 137 -     NotAvailable(&'a str),
[INFO] [stdout] 137 +     NotAvailable(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/docker/remote.rs:47:16
[INFO] [stdout]    |
[INFO] [stdout] 47 |             if CONTAINER_EXISTS.swap(false, Ordering::SeqCst) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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/docker/remote.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         CONTAINER_EXISTS.store(true, Ordering::Relaxed);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 mutable reference to mutable static
[INFO] [stdout]    --> src/docker/remote.rs:138:34
[INFO] [stdout]     |
[INFO] [stdout] 138 |         if let Some(container) = &mut CONTAINER {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 138 |         if let Some(container) = &raw mut CONTAINER {
[INFO] [stdout]     |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/docker/remote.rs:155:14
[INFO] [stdout]     |
[INFO] [stdout] 155 |     unsafe { CONTAINER_EXISTS.load(Ordering::Relaxed) }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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
[INFO] [stdout]   --> src/errors.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     if !TERMINATED.swap(true, Ordering::SeqCst) && temp::has_tempfiles() {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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
[INFO] [stdout]   --> src/temp.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { !FILES.is_empty() || !DIRS.is_empty() }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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
[INFO] [stdout]   --> src/temp.rs:22:36
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { !FILES.is_empty() || !DIRS.is_empty() }
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     FILES.clear();
[INFO] [stdout]    |     ^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     DIRS.clear();
[INFO] [stdout]    |     ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     FILES.push(file);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Ok(FILES.last_mut().expect("file list should not be empty"))
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     FILES.pop()
[INFO] [stdout]    |     ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 |     DIRS.push(dir);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/temp.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 |     Ok(DIRS.last().expect("should not be empty").path())
[INFO] [stdout]    |        ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:97:5
[INFO] [stdout]    |
[INFO] [stdout] 97 |     DIRS.pop()
[INFO] [stdout]    |     ^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `stderr` is never read
[INFO] [stdout]    --> src/errors.rs:105:9
[INFO] [stdout]     |
[INFO] [stdout] 105 |         stderr: Vec<u8>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `stdout` is never read
[INFO] [stdout]    --> src/errors.rs:106:9
[INFO] [stdout]     |
[INFO] [stdout] 106 |         stdout: Vec<u8>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `source` is never read
[INFO] [stdout]    --> src/errors.rs:111:9
[INFO] [stdout]     |
[INFO] [stdout] 111 |         source: Box<dyn std::error::Error + Send + Sync>,
[INFO] [stdout]     |         ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/rustup.rs:135:15
[INFO] [stdout]     |
[INFO] [stdout] 135 |     Installed(&'a str),
[INFO] [stdout]     |     --------- ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 135 -     Installed(&'a str),
[INFO] [stdout] 135 +     Installed(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/rustup.rs:136:15
[INFO] [stdout]     |
[INFO] [stdout] 136 |     Available(&'a str),
[INFO] [stdout]     |     --------- ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 136 -     Available(&'a str),
[INFO] [stdout] 136 +     Available(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]    --> src/rustup.rs:137:18
[INFO] [stdout]     |
[INFO] [stdout] 137 |     NotAvailable(&'a str),
[INFO] [stdout]     |     ------------ ^^^^^^^
[INFO] [stdout]     |     |
[INFO] [stdout]     |     field in this variant
[INFO] [stdout]     |
[INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stdout]     |
[INFO] [stdout] 137 -     NotAvailable(&'a str),
[INFO] [stdout] 137 +     NotAvailable(()),
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/docker/remote.rs:47:16
[INFO] [stdout]    |
[INFO] [stdout] 47 |             if CONTAINER_EXISTS.swap(false, Ordering::SeqCst) {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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/docker/remote.rs:123:9
[INFO] [stdout]     |
[INFO] [stdout] 123 |         CONTAINER_EXISTS.store(true, Ordering::Relaxed);
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 mutable reference to mutable static
[INFO] [stdout]    --> src/docker/remote.rs:138:34
[INFO] [stdout]     |
[INFO] [stdout] 138 |         if let Some(container) = &mut CONTAINER {
[INFO] [stdout]     |                                  ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] help: use `&raw mut` instead to create a raw pointer
[INFO] [stdout]     |
[INFO] [stdout] 138 |         if let Some(container) = &raw mut CONTAINER {
[INFO] [stdout]     |                                   +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/docker/remote.rs:155:14
[INFO] [stdout]     |
[INFO] [stdout] 155 |     unsafe { CONTAINER_EXISTS.load(Ordering::Relaxed) }
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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
[INFO] [stdout]   --> src/errors.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     if !TERMINATED.swap(true, Ordering::SeqCst) && temp::has_tempfiles() {
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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
[INFO] [stdout]   --> src/temp.rs:22:15
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { !FILES.is_empty() || !DIRS.is_empty() }
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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
[INFO] [stdout]   --> src/temp.rs:22:36
[INFO] [stdout]    |
[INFO] [stdout] 22 |     unsafe { !FILES.is_empty() || !DIRS.is_empty() }
[INFO] [stdout]    |                                    ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:31:5
[INFO] [stdout]    |
[INFO] [stdout] 31 |     FILES.clear();
[INFO] [stdout]    |     ^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 |     DIRS.clear();
[INFO] [stdout]    |     ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:41:5
[INFO] [stdout]    |
[INFO] [stdout] 41 |     FILES.push(file);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:42:8
[INFO] [stdout]    |
[INFO] [stdout] 42 |     Ok(FILES.last_mut().expect("file list should not be empty"))
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:48:5
[INFO] [stdout]    |
[INFO] [stdout] 48 |     FILES.pop()
[INFO] [stdout]    |     ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:90:5
[INFO] [stdout]    |
[INFO] [stdout] 90 |     DIRS.push(dir);
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/temp.rs:91:8
[INFO] [stdout]    |
[INFO] [stdout] 91 |     Ok(DIRS.last().expect("should not be empty").path())
[INFO] [stdout]    |        ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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 mutable reference to mutable static
[INFO] [stdout]   --> src/temp.rs:97:5
[INFO] [stdout]    |
[INFO] [stdout] 97 |     DIRS.pop()
[INFO] [stdout]    |     ^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 20.32s
[INFO] running `Command { std: "docker" "inspect" "374d11a5fb254f7163beb9eac20e6791912f6cf901bb08edac62e2bc7ed02780", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "374d11a5fb254f7163beb9eac20e6791912f6cf901bb08edac62e2bc7ed02780", kill_on_drop: false }`
[INFO] [stdout] 374d11a5fb254f7163beb9eac20e6791912f6cf901bb08edac62e2bc7ed02780
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2026-01-20" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 78a5199e37cf797ae43c6bd5b8a029c8bab17e8756988f40d908a2caa84b1c51
[INFO] running `Command { std: "docker" "start" "-a" "78a5199e37cf797ae43c6bd5b8a029c8bab17e8756988f40d908a2caa84b1c51", kill_on_drop: false }`
[INFO] [stderr] warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition
[INFO] [stderr] (in the `which` dependency)
[INFO] [stderr] warning: value assigned to `stderr` is never read
[INFO] [stderr]    --> src/errors.rs:105:9
[INFO] [stderr]     |
[INFO] [stderr] 105 |         stderr: Vec<u8>,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `stdout` is never read
[INFO] [stderr]    --> src/errors.rs:106:9
[INFO] [stderr]     |
[INFO] [stderr] 106 |         stdout: Vec<u8>,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `source` is never read
[INFO] [stderr]    --> src/errors.rs:111:9
[INFO] [stderr]     |
[INFO] [stderr] 111 |         source: Box<dyn std::error::Error + Send + Sync>,
[INFO] [stderr]     |         ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]    --> src/rustup.rs:135:15
[INFO] [stderr]     |
[INFO] [stderr] 135 |     Installed(&'a str),
[INFO] [stderr]     |     --------- ^^^^^^^
[INFO] [stderr]     |     |
[INFO] [stderr]     |     field in this variant
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]     |
[INFO] [stderr] 135 -     Installed(&'a str),
[INFO] [stderr] 135 +     Installed(()),
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]    --> src/rustup.rs:136:15
[INFO] [stderr]     |
[INFO] [stderr] 136 |     Available(&'a str),
[INFO] [stderr]     |     --------- ^^^^^^^
[INFO] [stderr]     |     |
[INFO] [stderr]     |     field in this variant
[INFO] [stderr]     |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]     |
[INFO] [stderr] 136 -     Available(&'a str),
[INFO] [stderr] 136 +     Available(()),
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: field `0` is never read
[INFO] [stderr]    --> src/rustup.rs:137:18
[INFO] [stderr]     |
[INFO] [stderr] 137 |     NotAvailable(&'a str),
[INFO] [stderr]     |     ------------ ^^^^^^^
[INFO] [stderr]     |     |
[INFO] [stderr]     |     field in this variant
[INFO] [stderr]     |
[INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field
[INFO] [stderr]     |
[INFO] [stderr] 137 -     NotAvailable(&'a str),
[INFO] [stderr] 137 +     NotAvailable(()),
[INFO] [stderr]     |
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/docker/remote.rs:47:16
[INFO] [stderr]    |
[INFO] [stderr] 47 |             if CONTAINER_EXISTS.swap(false, Ordering::SeqCst) {
[INFO] [stderr]    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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/docker/remote.rs:123:9
[INFO] [stderr]     |
[INFO] [stderr] 123 |         CONTAINER_EXISTS.store(true, Ordering::Relaxed);
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: creating a mutable reference to mutable static
[INFO] [stderr]    --> src/docker/remote.rs:138:34
[INFO] [stderr]     |
[INFO] [stderr] 138 |         if let Some(container) = &mut CONTAINER {
[INFO] [stderr]     |                                  ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] help: use `&raw mut` instead to create a raw pointer
[INFO] [stderr]     |
[INFO] [stderr] 138 |         if let Some(container) = &raw mut CONTAINER {
[INFO] [stderr]     |                                   +++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]    --> src/docker/remote.rs:155:14
[INFO] [stderr]     |
[INFO] [stderr] 155 |     unsafe { CONTAINER_EXISTS.load(Ordering::Relaxed) }
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: creating a shared reference to mutable static
[INFO] [stderr]   --> src/errors.rs:25:9
[INFO] [stderr]    |
[INFO] [stderr] 25 |     if !TERMINATED.swap(true, Ordering::SeqCst) && temp::has_tempfiles() {
[INFO] [stderr]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: creating a shared reference to mutable static
[INFO] [stderr]   --> src/temp.rs:22:15
[INFO] [stderr]    |
[INFO] [stderr] 22 |     unsafe { !FILES.is_empty() || !DIRS.is_empty() }
[INFO] [stderr]    |               ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: creating a shared reference to mutable static
[INFO] [stderr]   --> src/temp.rs:22:36
[INFO] [stderr]    |
[INFO] [stderr] 22 |     unsafe { !FILES.is_empty() || !DIRS.is_empty() }
[INFO] [stderr]    |                                    ^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/temp.rs:31:5
[INFO] [stderr]    |
[INFO] [stderr] 31 |     FILES.clear();
[INFO] [stderr]    |     ^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/temp.rs:32:5
[INFO] [stderr]    |
[INFO] [stderr] 32 |     DIRS.clear();
[INFO] [stderr]    |     ^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/temp.rs:41:5
[INFO] [stderr]    |
[INFO] [stderr] 41 |     FILES.push(file);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/temp.rs:42:8
[INFO] [stderr]    |
[INFO] [stderr] 42 |     Ok(FILES.last_mut().expect("file list should not be empty"))
[INFO] [stderr]    |        ^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/temp.rs:48:5
[INFO] [stderr]    |
[INFO] [stderr] 48 |     FILES.pop()
[INFO] [stderr]    |     ^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/temp.rs:90:5
[INFO] [stderr]    |
[INFO] [stderr] 90 |     DIRS.push(dir);
[INFO] [stderr]    |     ^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: creating a shared reference to mutable static
[INFO] [stderr]   --> src/temp.rs:91:8
[INFO] [stderr]    |
[INFO] [stderr] 91 |     Ok(DIRS.last().expect("should not be empty").path())
[INFO] [stderr]    |        ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: creating a mutable reference to mutable static
[INFO] [stderr]   --> src/temp.rs:97:5
[INFO] [stderr]    |
[INFO] [stderr] 97 |     DIRS.pop()
[INFO] [stderr]    |     ^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]    |
[INFO] [stderr]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr] 
[INFO] [stderr] warning: `cross` (lib) generated 21 warnings
[INFO] [stderr] warning: `cross` (lib test) generated 21 warnings (21 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.17s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cross-ea91cd240aa0812c)
[INFO] [stdout] 
[INFO] [stdout] running 43 tests
[INFO] [stdout] test cli::tests::is_verbose_test ... ok
[INFO] [stdout] test config::tests::test_config::env_target_and_toml_build_xargo_then_use_toml ... ok
[INFO] [stdout] test config::tests::test_config::env_target_and_toml_target_xargo_target_then_use_env ... ok
[INFO] [stdout] test config::tests::test_config::env_target_then_toml_target_then_env_build_then_toml_build ... ok
[INFO] [stdout] test config::tests::test_config::toml_target_passthrough ... ok
[INFO] [stdout] test config::tests::test_config::volumes_use_env_over_toml ... ok
[INFO] [stdout] test config::tests::test_config::toml_build_passthrough ... ok
[INFO] [stdout] test config::tests::test_environment::parse_error_in_env ... ok
[INFO] [stdout] test cross_toml::tests::parse_build_toml ... ok
[INFO] [stdout] test cross_toml::tests::parse_from_empty_cargo_toml ... ok
[INFO] [stdout] test config::tests::test_config::toml_build_passthrough_then_use_target_passthrough_both ... ok
[INFO] [stdout] test config::tests::test_config::volumes_use_toml_when_no_env ... ok
[INFO] [stdout] test config::tests::test_environment::build_and_target_set_returns_tuple ... ok
[INFO] [stdout] test config::tests::test_environment::target_build_var_name ... ok
[INFO] [stdout] test config::tests::test_config::env_and_toml_default_target_then_use_env ... ok
[INFO] [stdout] test config::tests::test_environment::collect_passthrough ... ok
[INFO] [stdout] test cross_toml::tests::parse_from_cargo_toml ... ok
[INFO] [stdout] test cross_toml::tests::parse_mixed_toml ... ok
[INFO] [stdout] test config::tests::test_config::env_target_and_toml_build_pre_build_then_use_env ... ok
[INFO] [stdout] test cross_toml::tests::parse_empty_toml ... ok
[INFO] [stdout] test docker::shared::tests::mount_finder::test_longest_destination_path_wins ... ok
[INFO] [stdout] test cross_toml::tests::pre_build_script ... ok
[INFO] [stdout] test docker::custom::tests::docker_tag_name_test ... ok
[INFO] [stdout] test cross_toml::tests::parse_target_toml ... ok
[INFO] [stdout] test docker::shared::tests::mount_finder::test_default_finder_returns_original ... ok
[INFO] [stdout] test docker::shared::tests::mount_finder::test_adjust_multiple_paths ... ok
[INFO] [stdout] test config::tests::test_config::no_env_but_toml_default_target_then_use_toml ... ok
[INFO] [stderr] [cross] warning: using older rustc `1.0.0 (11111111 2022-01-01)` for the target. Current active rustc on the host is `rustc 1.2.0 (22222222 2022-02-02)`.
[INFO] [stdout] test config::tests::test_config::no_env_and_no_toml_default_target_then_none ... ok
[INFO] [stderr]  > Update with `rustup update --force-non-host xxxx`
[INFO] [stdout] test config::tests::test_config::env_and_toml_build_xargo_then_use_env ... ok
[INFO] [stderr] [cross] warning: using newer rustc `1.2.0 (22222222 2022-02-02)` for the target. Current active rustc on the host is `rustc 1.0.0 (11111111 2022-01-01)`.
[INFO] [stdout] test docker::shared::tests::parse_docker_inspect::test_parse_container_root ... ok
[INFO] [stderr]  > Update with `rustup update`
[INFO] [stdout] test docker::shared::tests::parse_docker_inspect::test_parse_empty_user_mounts ... ok
[INFO] [stderr] [cross] warning: using rustc `1.0.0-nightly (22222222 2022-01-01)` for the target. Current active rustc on the host is `rustc 1.0.0-nightly (11111111 2022-01-01)`.
[INFO] [stdout] test docker::shared::tests::parse_docker_inspect::test_parse_missing_user_moutns ... ok
[INFO] [stderr] [cross] warning: using older rustc `1.0.0-nightly (11111111 2022-01-01)` for the target. Current active rustc on the host is `rustc 1.0.0-nightly (22222222 2022-02-02)`.
[INFO] [stdout] test docker::shared::tests::test_docker_user_id ... ok
[INFO] [stderr]  > Update with `rustup update --force-non-host xxxx`
[INFO] [stdout] test docker::shared::tests::test_docker_userns ... ok
[INFO] [stderr] [cross] warning: using newer rustc `1.0.0-nightly (22222222 2022-02-02)` for the target. Current active rustc on the host is `rustc 1.0.0-nightly (11111111 2022-01-01)`.
[INFO] [stdout] test file::tests::as_posix ... ok
[INFO] [stderr]  > Update with `rustup update`
[INFO] [stdout] test file::tests::pretty_path_linux ... ok
[INFO] [stdout] test rustc::tests::hash_from_rustc ... ok
[INFO] [stdout] test tests::target_mismatch ... ok
[INFO] [stdout] test docker::shared::tests::directories::test_docker_in_docker ... ok
[INFO] [stdout] test tests::toml::toml_check ... ok
[INFO] [stdout] test docker::shared::tests::directories::test_host ... FAILED
[INFO] [stdout] test cross_toml::tests::fully_populated_roundtrip ... ok
[INFO] [stdout] test cross_toml::tests::merge ... ok
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- docker::shared::tests::directories::test_host stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'docker::shared::tests::directories::test_host' (54) panicked at src/docker/shared.rs:1008:13:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "/opt/rustwide/cargo-home"
[INFO] [stdout]  right: "/root/.cargo"
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x56e23f954712 - std::backtrace_rs::backtrace::libunwind::trace::hf0bd46b30bc61685
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x56e23f954712 - std::backtrace_rs::backtrace::trace_unsynchronized::h1d1fbb72ad89d7b7
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x56e23f954712 - std::sys::backtrace::_print_fmt::he38b6f68ca847f47
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x56e23f954712 - <std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as core::fmt::Display>::fmt::hb7e843cde1bc81a3
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x56e23f96615a - core::fmt::rt::Argument::fmt::hc1dd77ac64f2688c
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x56e23f96615a - core::fmt::write::h952c506e2dbe9cff
[INFO] [stdout]    6:     0x56e23f920176 - std::io::default_write_fmt::hd23bd8145c03a23a
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x56e23f920176 - std::io::Write::write_fmt::hdd3314a2bd8a34bd
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x56e23f931b09 - std::sys::backtrace::BacktraceLock::print::h1079b82381c2c252
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x56e23f931b09 - std::panicking::default_hook::{{closure}}::h85cb76b8462c00f2
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x56e23f9319a1 - std::panicking::default_hook::h0134d220cc034c02
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x56e23f75d97e - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::hb2e68dca3970e3ca
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   12:     0x56e23f75d97e - test::test_main_with_exit_callback::{{closure}}::ha7ec2063a2565ec3
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x56e23f931d82 - <alloc::boxed::Box<F,A> as core::ops::function::Fn<Args>>::call::haebee478d0f56cf4
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/alloc/src/boxed.rs:2220:9
[INFO] [stdout]   14:     0x56e23f931d82 - std::panicking::panic_with_hook::h8119b6db1fef734f
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x56e23f931bc8 - std::panicking::panic_handler::{{closure}}::h24f5360b91482c0e
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x56e23f92ca99 - std::sys::backtrace::__rust_end_short_backtrace::h4e60c5cbd1bd0108
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x56e23f91423d - __rustc[e4c6931bd8050421]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x56e23f96f8bc - core::panicking::panic_fmt::hb1614a3ff6840071
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x56e23f96f773 - core::panicking::assert_failed_inner::h5aabe811ef142622
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x56e23f67c205 - core::panicking::assert_failed::hcbb9a7fc8e0be406
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x56e23f6a2bc2 - cross::docker::shared::tests::directories::paths_equal::h42b209ebdc9f5ea3
[INFO] [stdout]                                at /opt/rustwide/workdir/src/docker/shared.rs:998:13
[INFO] [stdout]   22:     0x56e23f6a5ee9 - cross::docker::shared::tests::directories::test_host::h3f20eafcd27c43b4
[INFO] [stdout]                                at /opt/rustwide/workdir/src/docker/shared.rs:1008:13
[INFO] [stdout]   23:     0x56e23f6a6927 - cross::docker::shared::tests::directories::test_host::{{closure}}::heffb659002edd5ba
[INFO] [stdout]                                at /opt/rustwide/workdir/src/docker/shared.rs:1003:27
[INFO] [stdout]   24:     0x56e23f69b476 - core::ops::function::FnOnce::call_once::h6560168fa2836788
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x56e23f75d77b - core::ops::function::FnOnce::call_once::hefaf63600cd43d2a
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   26:     0x56e23f75d77b - test::__rust_begin_short_backtrace::he30322a73a0e9ea6
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/test/src/lib.rs:663:18
[INFO] [stdout]   27:     0x56e23f77114a - test::run_test_in_process::{{closure}}::hdea3ab8d0243ef36
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/test/src/lib.rs:686:74
[INFO] [stdout]   28:     0x56e23f77114a - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h66d192f42498ffce
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   29:     0x56e23f77114a - std::panicking::catch_unwind::do_call::h822e18e8d3a6bb65
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:581:40
[INFO] [stdout]   30:     0x56e23f77114a - std::panicking::catch_unwind::h54b1de7ceab578bf
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:544:19
[INFO] [stdout]   31:     0x56e23f77114a - std::panic::catch_unwind::h60c29b7a9d0246b1
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panic.rs:359:14
[INFO] [stdout]   32:     0x56e23f77114a - test::run_test_in_process::h6099b5f871379b13
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/test/src/lib.rs:686:27
[INFO] [stdout]   33:     0x56e23f77114a - test::run_test::{{closure}}::h926ce0a38281a4c8
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/test/src/lib.rs:607:43
[INFO] [stdout]   34:     0x56e23f74b5a4 - test::run_test::{{closure}}::h508de21a9afc7140
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/test/src/lib.rs:637:41
[INFO] [stdout]   35:     0x56e23f74b5a4 - std::sys::backtrace::__rust_begin_short_backtrace::h6e2f5c39ca00735a
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   36:     0x56e23f74ee62 - std::thread::lifecycle::spawn_unchecked::{{closure}}::{{closure}}::h133e44f0e5802c14
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   37:     0x56e23f74ee62 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::h4718c1285283955c
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/panic/unwind_safe.rs:274:9
[INFO] [stdout]   38:     0x56e23f74ee62 - std::panicking::catch_unwind::do_call::h0bba3937b4892238
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:581:40
[INFO] [stdout]   39:     0x56e23f74ee62 - std::panicking::catch_unwind::h5b31cab5fb8c5d7f
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panicking.rs:544:19
[INFO] [stdout]   40:     0x56e23f74ee62 - std::panic::catch_unwind::hb2fa05d52ed0124e
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/panic.rs:359:14
[INFO] [stdout]   41:     0x56e23f74ee62 - std::thread::lifecycle::spawn_unchecked::{{closure}}::hf401cf5ff501bd29
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   42:     0x56e23f74ee62 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h160022e94ce3b0bb
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   43:     0x56e23f927a3f - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::hf234e0d1d1d272ba
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/alloc/src/boxed.rs:2206:9
[INFO] [stdout]   44:     0x56e23f927a3f - std::sys::thread::unix::Thread::new::thread_start::h106a295241840d3b
[INFO] [stdout]                                at /rustc/9b1f8ff42d110b0ca138116745be921df5dc97e7/library/std/src/sys/thread/unix.rs:127:17
[INFO] [stdout]   45:     0x786e9f8b7aa4 - <unknown>
[INFO] [stdout]   46:     0x786e9f944a64 - clone
[INFO] [stdout]   47:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     docker::shared::tests::directories::test_host
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 42 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.11s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "78a5199e37cf797ae43c6bd5b8a029c8bab17e8756988f40d908a2caa84b1c51", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78a5199e37cf797ae43c6bd5b8a029c8bab17e8756988f40d908a2caa84b1c51", kill_on_drop: false }`
[INFO] [stdout] 78a5199e37cf797ae43c6bd5b8a029c8bab17e8756988f40d908a2caa84b1c51
