[INFO] fetching crate cross 0.2.5... [INFO] testing cross-0.2.5 against beta-2024-09-05 for beta-1.82-1 [INFO] extracting crate cross 0.2.5 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate cross 0.2.5 on toolchain beta-2024-09-05 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2024-09-05" "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-tc2/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" "+beta-2024-09-05" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7cda9f1ebe3356e890c197c45d19fb693244c47b60747e98a002e52d2c053212 [INFO] running `Command { std: "docker" "start" "-a" "7cda9f1ebe3356e890c197c45d19fb693244c47b60747e98a002e52d2c053212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cda9f1ebe3356e890c197c45d19fb693244c47b60747e98a002e52d2c053212", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cda9f1ebe3356e890c197c45d19fb693244c47b60747e98a002e52d2c053212", kill_on_drop: false }` [INFO] [stdout] 7cda9f1ebe3356e890c197c45d19fb693244c47b60747e98a002e52d2c053212 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0f86e9004662f3b68fee5586f4892d9947f379bc0791d38a0003a5c074ea0f4e [INFO] running `Command { std: "docker" "start" "-a" "0f86e9004662f3b68fee5586f4892d9947f379bc0791d38a0003a5c074ea0f4e", 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 serde_derive v1.0.138 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling serde v1.0.138 [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 indexmap v1.9.1 [INFO] [stderr] Compiling once_cell v1.13.0 [INFO] [stderr] Compiling gimli v0.26.1 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling object v0.29.0 [INFO] [stderr] Compiling miniz_oxide v0.5.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling os_str_bytes v6.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rustc-demangle v0.1.21 [INFO] [stderr] Compiling supports-color v1.3.0 [INFO] [stderr] Compiling hashbrown v0.12.2 [INFO] [stderr] Compiling indenter v0.3.3 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling owo-colors v3.4.0 [INFO] [stderr] Compiling clap_lex v0.2.4 [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 ryu v1.0.10 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling itoa v1.0.2 [INFO] [stderr] Compiling textwrap v0.15.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling either v1.7.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling which v4.2.5 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling directories v4.0.1 [INFO] [stderr] Compiling shell-escape v0.1.5 [INFO] [stderr] Compiling shell-words v1.1.0 [INFO] [stderr] Compiling ctrlc v3.2.2 [INFO] [stderr] Compiling home v0.5.3 [INFO] [stderr] Compiling const-sha1 v0.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling color-eyre v0.6.1 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling clap v3.2.8 [INFO] [stderr] Compiling toml v0.5.9 [INFO] [stderr] Compiling serde_ignored v0.1.3 [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 24.88s [INFO] running `Command { std: "docker" "inspect" "0f86e9004662f3b68fee5586f4892d9947f379bc0791d38a0003a5c074ea0f4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f86e9004662f3b68fee5586f4892d9947f379bc0791d38a0003a5c074ea0f4e", kill_on_drop: false }` [INFO] [stdout] 0f86e9004662f3b68fee5586f4892d9947f379bc0791d38a0003a5c074ea0f4e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] be6e969d40a49244fa725d3af9d1c3525d65558fd5ef27c02a4a6b6b283256a2 [INFO] running `Command { std: "docker" "start" "-a" "be6e969d40a49244fa725d3af9d1c3525d65558fd5ef27c02a4a6b6b283256a2", 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 19.85s [INFO] running `Command { std: "docker" "inspect" "be6e969d40a49244fa725d3af9d1c3525d65558fd5ef27c02a4a6b6b283256a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "be6e969d40a49244fa725d3af9d1c3525d65558fd5ef27c02a4a6b6b283256a2", kill_on_drop: false }` [INFO] [stdout] be6e969d40a49244fa725d3af9d1c3525d65558fd5ef27c02a4a6b6b283256a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:96c0aa5895ecf336b730ef27bcdde6e21027415df19888aad3cf1448e5d65d90" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2024-09-05" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 029743feaaf48cfdf58843744f1d01f9759920432e908643a3fbe88976b69726 [INFO] running `Command { std: "docker" "start" "-a" "029743feaaf48cfdf58843744f1d01f9759920432e908643a3fbe88976b69726", 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.17s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cross-3cc99d59fbd9ec21) [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_pre_build_then_use_env ... 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_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::no_env_and_no_toml_default_target_then_none ... ok [INFO] [stdout] test config::tests::test_config::toml_build_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_build_xargo_then_use_toml ... ok [INFO] [stdout] test config::tests::test_config::toml_target_passthrough ... 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_env_over_toml ... ok [INFO] [stdout] test config::tests::test_config::volumes_use_toml_when_no_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_environment::build_and_target_set_returns_tuple ... ok [INFO] [stdout] test config::tests::test_environment::collect_passthrough ... ok [INFO] [stdout] test config::tests::test_environment::parse_error_in_env ... ok [INFO] [stdout] test cross_toml::tests::parse_mixed_toml ... ok [INFO] [stdout] test cross_toml::tests::parse_from_empty_cargo_toml ... ok [INFO] [stdout] test cross_toml::tests::parse_build_toml ... ok [INFO] [stdout] test cross_toml::tests::parse_target_toml ... ok [INFO] [stdout] test config::tests::test_environment::target_build_var_name ... ok [INFO] [stdout] test cross_toml::tests::parse_empty_toml ... ok [INFO] [stdout] test cross_toml::tests::parse_from_cargo_toml ... ok [INFO] [stdout] test docker::custom::tests::docker_tag_name_test ... ok [INFO] [stdout] test cross_toml::tests::pre_build_script ... ok [INFO] [stdout] test docker::shared::tests::parse_docker_inspect::test_parse_container_root ... ok [INFO] [stdout] test docker::shared::tests::parse_docker_inspect::test_parse_empty_user_mounts ... ok [INFO] [stdout] test docker::shared::tests::parse_docker_inspect::test_parse_missing_user_moutns ... ok [INFO] [stdout] test docker::shared::tests::mount_finder::test_default_finder_returns_original ... ok [INFO] [stdout] test docker::shared::tests::test_docker_user_id ... ok [INFO] [stdout] test file::tests::as_posix ... ok [INFO] [stdout] test docker::shared::tests::test_docker_userns ... ok [INFO] [stdout] test file::tests::pretty_path_linux ... ok [INFO] [stdout] test docker::shared::tests::mount_finder::test_adjust_multiple_paths ... ok [INFO] [stdout] test docker::shared::tests::mount_finder::test_longest_destination_path_wins ... ok [INFO] [stdout] test rustc::tests::hash_from_rustc ... ok [INFO] [stdout] test tests::target_mismatch ... 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] [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::directories::test_docker_in_docker ... ok [INFO] [stdout] test docker::shared::tests::directories::test_host ... FAILED [INFO] [stdout] test tests::toml::toml_check ... ok [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] thread 'docker::shared::tests::directories::test_host' 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: 0x56c8a8d9372a - std::backtrace_rs::backtrace::libunwind::trace::h9ce576133d3ff57c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:116:5 [INFO] [stdout] 1: 0x56c8a8d9372a - std::backtrace_rs::backtrace::trace_unsynchronized::h77316b33bca73147 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x56c8a8d9372a - std::sys::backtrace::_print_fmt::haa182cb1ad45bc9f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x56c8a8d9372a - ::fmt::ha95eeb186e57c055 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x56c8a8dbcb9b - core::fmt::rt::Argument::fmt::h71240792b23d8aa6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/rt.rs:177:76 [INFO] [stdout] 5: 0x56c8a8dbcb9b - core::fmt::write::h1c4d59c42453601a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/fmt/mod.rs:1178:21 [INFO] [stdout] 6: 0x56c8a8d902e3 - std::io::Write::write_fmt::h08b6f2062a09bc68 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/io/mod.rs:1823:15 [INFO] [stdout] 7: 0x56c8a8d94fb2 - std::sys::backtrace::BacktraceLock::print::hb66718c44668eb56 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 8: 0x56c8a8d94fb2 - std::panicking::default_hook::{{closure}}::h1a6c150385aaf90f [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:266:22 [INFO] [stdout] 9: 0x56c8a8d94af3 - std::panicking::default_hook::h5e8a75844aa4ea98 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:290:9 [INFO] [stdout] 10: 0x56c8a8baf3c9 - as core::ops::function::Fn>::call::h6ee94b0b846f4546 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 11: 0x56c8a8baf3c9 - test::test_main::{{closure}}::hccc1c379f17b5ca1 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:132:21 [INFO] [stdout] 12: 0x56c8a8d95872 - as core::ops::function::Fn>::call::h8b15e23d52a5df89 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2245:9 [INFO] [stdout] 13: 0x56c8a8d95872 - std::panicking::rust_panic_with_hook::hea686c8750159a85 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:805:13 [INFO] [stdout] 14: 0x56c8a8d95527 - std::panicking::begin_panic_handler::{{closure}}::hfd69333fda29d50a [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:671:13 [INFO] [stdout] 15: 0x56c8a8d93c09 - std::sys::backtrace::__rust_end_short_backtrace::hb7c23c01c3c70e35 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:170:18 [INFO] [stdout] 16: 0x56c8a8d951b4 - rust_begin_unwind [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:662:5 [INFO] [stdout] 17: 0x56c8a8995273 - core::panicking::panic_fmt::h43de95d595ebabc0 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panicking.rs:74:14 [INFO] [stdout] 18: 0x56c8a899567e - core::panicking::assert_failed_inner::h4a6f9e49cc96a40b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panicking.rs:412:17 [INFO] [stdout] 19: 0x56c8a8a4ad4e - core::panicking::assert_failed::h6e8a697c4ce970f8 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panicking.rs:367:5 [INFO] [stdout] 20: 0x56c8a8a3f245 - cross::docker::shared::tests::directories::paths_equal::ha690891ee1515905 [INFO] [stdout] at /opt/rustwide/workdir/src/docker/shared.rs:998:13 [INFO] [stdout] 21: 0x56c8a8a402e7 - cross::docker::shared::tests::directories::test_host::hbcd9909815a8601f [INFO] [stdout] at /opt/rustwide/workdir/src/docker/shared.rs:1008:13 [INFO] [stdout] 22: 0x56c8a8a3fdb7 - cross::docker::shared::tests::directories::test_host::{{closure}}::hc891235835c5b1db [INFO] [stdout] at /opt/rustwide/workdir/src/docker/shared.rs:1003:27 [INFO] [stdout] 23: 0x56c8a8ab8a36 - core::ops::function::FnOnce::call_once::hb2e47a14cda951e9 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x56c8a8bb3d3b - core::ops::function::FnOnce::call_once::h9b5e01539a2850c9 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x56c8a8bb3d3b - test::__rust_begin_short_backtrace::hfa35fd69df7e11a6 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:620:18 [INFO] [stdout] 26: 0x56c8a8bb35b8 - test::run_test_in_process::{{closure}}::he6acc04e3f33efba [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:60 [INFO] [stdout] 27: 0x56c8a8bb35b8 - as core::ops::function::FnOnce<()>>::call_once::h9ed0882d7a8705d4 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x56c8a8bb35b8 - std::panicking::try::do_call::hb4e1060b1206bf1d [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 29: 0x56c8a8bb35b8 - std::panicking::try::he7301d205c111379 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 30: 0x56c8a8bb35b8 - std::panic::catch_unwind::h6c993e01d18171db [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 31: 0x56c8a8bb35b8 - test::run_test_in_process::h39faa778a589c8b3 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:643:27 [INFO] [stdout] 32: 0x56c8a8bb35b8 - test::run_test::{{closure}}::h59e32a442f6c7a1c [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:564:43 [INFO] [stdout] 33: 0x56c8a8b78984 - test::run_test::{{closure}}::h6615d2e57f7516c2 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/test/src/lib.rs:594:41 [INFO] [stdout] 34: 0x56c8a8b78984 - std::sys::backtrace::__rust_begin_short_backtrace::h761da13b6d71bc61 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/backtrace.rs:154:18 [INFO] [stdout] 35: 0x56c8a8b7c032 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa82f2052ad87664 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:522:17 [INFO] [stdout] 36: 0x56c8a8b7c032 - as core::ops::function::FnOnce<()>>::call_once::h709672ecbcc3758b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x56c8a8b7c032 - std::panicking::try::do_call::hb005a67f6fd9e082 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:554:40 [INFO] [stdout] 38: 0x56c8a8b7c032 - std::panicking::try::hec02b24e35e6ab47 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panicking.rs:518:19 [INFO] [stdout] 39: 0x56c8a8b7c032 - std::panic::catch_unwind::h13617efa0948dabc [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/panic.rs:345:14 [INFO] [stdout] 40: 0x56c8a8b7c032 - std::thread::Builder::spawn_unchecked_::{{closure}}::hb4a56c6b32a8e045 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/thread/mod.rs:521:30 [INFO] [stdout] 41: 0x56c8a8b7c032 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h26d01bfaffaa945b [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x56c8a8d9afeb - as core::ops::function::FnOnce>::call_once::hbe8e1ebf83e6794e [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 43: 0x56c8a8d9afeb - as core::ops::function::FnOnce>::call_once::h7d6ff770e6bfeff7 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/alloc/src/boxed.rs:2231:9 [INFO] [stdout] 44: 0x56c8a8d9afeb - std::sys::pal::unix::thread::Thread::new::thread_start::h68792b09799a7d87 [INFO] [stdout] at /rustc/c7c49f44a7bb561dd9317e14908a1e50fa478ce5/library/std/src/sys/pal/unix/thread.rs:105:17 [INFO] [stdout] 45: 0x783dccedcac3 - [INFO] [stdout] 46: 0x783dccf6da04 - clone [INFO] [stdout] 47: 0x0 - [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.07s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--lib` [INFO] running `Command { std: "docker" "inspect" "029743feaaf48cfdf58843744f1d01f9759920432e908643a3fbe88976b69726", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "029743feaaf48cfdf58843744f1d01f9759920432e908643a3fbe88976b69726", kill_on_drop: false }` [INFO] [stdout] 029743feaaf48cfdf58843744f1d01f9759920432e908643a3fbe88976b69726