[INFO] fetching crate cross 0.2.5... [INFO] testing cross-0.2.5 against 1.81.0 for beta-1.82-1 [INFO] extracting crate cross 0.2.5 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate cross 0.2.5 on toolchain 1.81.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.81.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+1.81.0" "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] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded is_ci v1.1.1 [INFO] [stderr] Downloaded ctrlc v3.2.2 [INFO] [stderr] Downloaded serde_ignored v0.1.3 [INFO] [stderr] Downloaded directories v4.0.1 [INFO] [stderr] Downloaded supports-color v1.3.0 [INFO] [stderr] Downloaded owo-colors v3.4.0 [INFO] [stderr] Downloaded which v4.2.5 [INFO] [stderr] Downloaded hashbrown v0.12.2 [INFO] [stderr] Downloaded backtrace v0.3.66 [INFO] [stderr] Downloaded nix v0.24.1 [INFO] [stderr] Downloaded color-eyre v0.6.1 [INFO] [stderr] Downloaded object v0.29.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a45030af305d37b428a35396b4fa62b5a2c2cca54cd100c965e0313402676e57 [INFO] running `Command { std: "docker" "start" "-a" "a45030af305d37b428a35396b4fa62b5a2c2cca54cd100c965e0313402676e57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a45030af305d37b428a35396b4fa62b5a2c2cca54cd100c965e0313402676e57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a45030af305d37b428a35396b4fa62b5a2c2cca54cd100c965e0313402676e57", kill_on_drop: false }` [INFO] [stdout] a45030af305d37b428a35396b4fa62b5a2c2cca54cd100c965e0313402676e57 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cc46e930c10f46c4b10cb57b3b338ce9fc5cd9c3295fea9b7d9547f78110322c [INFO] running `Command { std: "docker" "start" "-a" "cc46e930c10f46c4b10cb57b3b338ce9fc5cd9c3295fea9b7d9547f78110322c", 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 quote v1.0.20 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Compiling is_ci v1.1.1 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling hashbrown v0.12.2 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling supports-color v1.3.0 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling nix v0.24.1 [INFO] [stderr] Compiling dirs-sys v0.3.7 [INFO] [stderr] Compiling addr2line v0.17.0 [INFO] [stderr] Compiling cross v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ryu v1.0.10 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling ctrlc v3.2.2 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling const-sha1 v0.2.0 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling color-eyre v0.6.1 [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 serde_ignored v0.1.3 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 138 | if let Some(container) = addr_of_mut!(CONTAINER) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [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)]` 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(()), [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(()), [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(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.17s [INFO] running `Command { std: "docker" "inspect" "cc46e930c10f46c4b10cb57b3b338ce9fc5cd9c3295fea9b7d9547f78110322c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc46e930c10f46c4b10cb57b3b338ce9fc5cd9c3295fea9b7d9547f78110322c", kill_on_drop: false }` [INFO] [stdout] cc46e930c10f46c4b10cb57b3b338ce9fc5cd9c3295fea9b7d9547f78110322c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aae6cfb6e3dedb1627e60fdd5de3802efa3afd7efd3dee634465074a66f5cdcc [INFO] running `Command { std: "docker" "start" "-a" "aae6cfb6e3dedb1627e60fdd5de3802efa3afd7efd3dee634465074a66f5cdcc", 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: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 138 | if let Some(container) = addr_of_mut!(CONTAINER) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stdout] = note: this will be a hard error in the 2024 edition [INFO] [stdout] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stdout] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stdout] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stdout] | [INFO] [stdout] 138 | if let Some(container) = addr_of_mut!(CONTAINER) { [INFO] [stdout] | ~~~~~~~~~~~~~ + [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)]` 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(()), [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(()), [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(()), [INFO] [stdout] | ~~ [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)]` 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(()), [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(()), [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(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 8.90s [INFO] running `Command { std: "docker" "inspect" "aae6cfb6e3dedb1627e60fdd5de3802efa3afd7efd3dee634465074a66f5cdcc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aae6cfb6e3dedb1627e60fdd5de3802efa3afd7efd3dee634465074a66f5cdcc", kill_on_drop: false }` [INFO] [stdout] aae6cfb6e3dedb1627e60fdd5de3802efa3afd7efd3dee634465074a66f5cdcc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+1.81.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 27984601f87f8115487b21ebc62a49a5361ad35ffbf2a30e765895aebb134bfd [INFO] running `Command { std: "docker" "start" "-a" "27984601f87f8115487b21ebc62a49a5361ad35ffbf2a30e765895aebb134bfd", 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: creating a mutable reference to mutable static is discouraged [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 issue #114447 [INFO] [stderr] = note: this will be a hard error in the 2024 edition [INFO] [stderr] = note: this mutable reference has lifetime `'static`, but if the static gets accessed (read or written) by any other means, or any other reference is created, then any further use of this mutable reference is Undefined Behavior [INFO] [stderr] = note: `#[warn(static_mut_refs)]` on by default [INFO] [stderr] help: use `addr_of_mut!` instead to create a raw pointer [INFO] [stderr] | [INFO] [stderr] 138 | if let Some(container) = addr_of_mut!(CONTAINER) { [INFO] [stderr] | ~~~~~~~~~~~~~ + [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)]` 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(()), [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(()), [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(()), [INFO] [stderr] | ~~ [INFO] [stderr] [INFO] [stderr] warning: `cross` (lib) generated 4 warnings [INFO] [stderr] warning: `cross` (lib test) generated 4 warnings (4 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cross-45411db1f0a2f163) [INFO] [stdout] [INFO] [stdout] running 43 tests [INFO] [stdout] test cli::tests::is_verbose_test ... ok [INFO] [stdout] test config::tests::test_config::env_and_toml_default_target_then_use_env ... ok [INFO] [stdout] test config::tests::test_config::env_and_toml_build_xargo_then_use_env ... ok [INFO] [stdout] test config::tests::test_config::env_target_and_toml_build_pre_build_then_use_env ... 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::toml_build_passthrough ... ok [INFO] [stdout] test config::tests::test_config::volumes_use_env_over_toml ... ok [INFO] [stdout] test config::tests::test_config::no_env_and_no_toml_default_target_then_none ... ok [INFO] [stdout] test config::tests::test_config::toml_build_passthrough_then_use_target_passthrough_both ... ok [INFO] [stdout] test config::tests::test_config::toml_target_passthrough ... 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_environment::parse_error_in_env ... ok [INFO] [stdout] test config::tests::test_config::volumes_use_toml_when_no_env ... ok [INFO] [stdout] test config::tests::test_environment::target_build_var_name ... ok [INFO] [stdout] test config::tests::test_environment::build_and_target_set_returns_tuple ... ok [INFO] [stdout] test config::tests::test_environment::collect_passthrough ... ok [INFO] [stdout] test config::tests::test_config::no_env_but_toml_default_target_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 cross_toml::tests::parse_from_empty_cargo_toml ... ok [INFO] [stdout] test cross_toml::tests::parse_empty_toml ... ok [INFO] [stdout] test cross_toml::tests::parse_mixed_toml ... ok [INFO] [stdout] test cross_toml::tests::parse_build_toml ... ok [INFO] [stdout] test cross_toml::tests::parse_from_cargo_toml ... ok [INFO] [stdout] test cross_toml::tests::parse_target_toml ... ok [INFO] [stdout] test cross_toml::tests::pre_build_script ... ok [INFO] [stdout] test docker::shared::tests::mount_finder::test_adjust_multiple_paths ... ok [INFO] [stdout] test docker::shared::tests::mount_finder::test_default_finder_returns_original ... ok [INFO] [stdout] test docker::custom::tests::docker_tag_name_test ... ok [INFO] [stdout] test docker::shared::tests::parse_docker_inspect::test_parse_empty_user_mounts ... ok [INFO] [stdout] test docker::shared::tests::mount_finder::test_longest_destination_path_wins ... ok [INFO] [stdout] test docker::shared::tests::parse_docker_inspect::test_parse_missing_user_moutns ... ok [INFO] [stdout] test docker::shared::tests::parse_docker_inspect::test_parse_container_root ... ok [INFO] [stdout] test file::tests::as_posix ... ok [INFO] [stdout] test file::tests::pretty_path_linux ... ok [INFO] [stdout] test rustc::tests::hash_from_rustc ... 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 tests::target_mismatch ... ok [INFO] [stderr] > Update with `rustup update --force-non-host xxxx` [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] [stderr] > Update with `rustup update` [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] [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] [stderr] > Update with `rustup update --force-non-host xxxx` [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] [stderr] > Update with `rustup update` [INFO] [stdout] test docker::shared::tests::test_docker_userns ... ok [INFO] [stdout] test docker::shared::tests::test_docker_user_id ... ok [INFO] [stdout] test tests::toml::toml_check ... ok [INFO] [stdout] test docker::shared::tests::directories::test_host ... ok [INFO] [stdout] test docker::shared::tests::directories::test_docker_in_docker ... ok [INFO] [stdout] test cross_toml::tests::fully_populated_roundtrip ... ok [INFO] [stderr] Running unittests src/bin/cross.rs (/opt/rustwide/target/debug/deps/cross-acbe55b7e04894cf) [INFO] [stdout] test cross_toml::tests::merge ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 43 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.83s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/cross-util.rs (/opt/rustwide/target/debug/deps/cross_util-0d1c075b66a4a99e) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test commands::images::tests::parse_rustembedded_target ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests cross [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "27984601f87f8115487b21ebc62a49a5361ad35ffbf2a30e765895aebb134bfd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27984601f87f8115487b21ebc62a49a5361ad35ffbf2a30e765895aebb134bfd", kill_on_drop: false }` [INFO] [stdout] 27984601f87f8115487b21ebc62a49a5361ad35ffbf2a30e765895aebb134bfd