[INFO] fetching crate cross 0.2.5... [INFO] checking cross-0.2.5 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate cross 0.2.5 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate cross 0.2.5 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-0-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" "+506512391b1a75ae450d36c9420978402a91abcc" "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 supports-color v1.3.0 [INFO] [stderr] Downloaded which v4.2.5 [INFO] [stderr] Downloaded serde_derive v1.0.138 [INFO] [stderr] Downloaded dunce v1.0.2 [INFO] [stderr] Downloaded serde_ignored v0.1.3 [INFO] [stderr] Downloaded os_str_bytes v6.1.0 [INFO] [stderr] Downloaded const-sha1 v0.2.0 [INFO] [stderr] Downloaded owo-colors v3.4.0 [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded ctrlc v3.2.2 [INFO] [stderr] Downloaded hashbrown v0.12.2 [INFO] [stderr] Downloaded serde v1.0.138 [INFO] [stderr] Downloaded clap v3.2.8 [INFO] [stderr] Downloaded nix v0.24.1 [INFO] [stderr] Downloaded color-eyre v0.6.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea56c0b4314aa7af222dbbd4c67345a02e25b285040cf4ba1a07f7fe46661ef3 [INFO] running `Command { std: "docker" "start" "-a" "ea56c0b4314aa7af222dbbd4c67345a02e25b285040cf4ba1a07f7fe46661ef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea56c0b4314aa7af222dbbd4c67345a02e25b285040cf4ba1a07f7fe46661ef3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea56c0b4314aa7af222dbbd4c67345a02e25b285040cf4ba1a07f7fe46661ef3", kill_on_drop: false }` [INFO] [stdout] ea56c0b4314aa7af222dbbd4c67345a02e25b285040cf4ba1a07f7fe46661ef3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0ef4c5d7826b7978e855e68458a03d6a9f7426302aa13749f14fbd0bac0a6bd6 [INFO] running `Command { std: "docker" "start" "-a" "0ef4c5d7826b7978e855e68458a03d6a9f7426302aa13749f14fbd0bac0a6bd6", 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 syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking is_ci v1.1.1 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking supports-color v1.3.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking hashbrown v0.12.2 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Compiling cross v0.2.5 (/opt/rustwide/workdir) [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking which v4.2.5 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking rustc_version v0.4.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking const-sha1 v0.2.0 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking ctrlc v3.2.2 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking color-eyre v0.6.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking clap v3.2.8 [INFO] [stderr] Checking serde_ignored v0.1.3 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.21s [INFO] running `Command { std: "docker" "inspect" "0ef4c5d7826b7978e855e68458a03d6a9f7426302aa13749f14fbd0bac0a6bd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0ef4c5d7826b7978e855e68458a03d6a9f7426302aa13749f14fbd0bac0a6bd6", kill_on_drop: false }` [INFO] [stdout] 0ef4c5d7826b7978e855e68458a03d6a9f7426302aa13749f14fbd0bac0a6bd6 [INFO] checking cross-0.2.5 against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] extracting crate cross 0.2.5 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate cross 0.2.5 on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-0-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" "+dae34b759e282c069aa28752564694effd121a63" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] de312fa977f11137eb89ee0e1af73922cb3bd3f0eb1bbd4c3d65d3caffb20ce6 [INFO] running `Command { std: "docker" "start" "-a" "de312fa977f11137eb89ee0e1af73922cb3bd3f0eb1bbd4c3d65d3caffb20ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "de312fa977f11137eb89ee0e1af73922cb3bd3f0eb1bbd4c3d65d3caffb20ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "de312fa977f11137eb89ee0e1af73922cb3bd3f0eb1bbd4c3d65d3caffb20ce6", kill_on_drop: false }` [INFO] [stdout] de312fa977f11137eb89ee0e1af73922cb3bd3f0eb1bbd4c3d65d3caffb20ce6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:59a85a07ab18ca8720692f8e61effa1c651d9e2ca591e072c2b212bb91a6b8b5" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c8d313906fffad8d0f0b80e3525a8536081c7c87ffd440aa7c2fe45a6bfd94ae [INFO] running `Command { std: "docker" "start" "-a" "c8d313906fffad8d0f0b80e3525a8536081c7c87ffd440aa7c2fe45a6bfd94ae", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Fixed Cargo.toml (2 fixes) [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 syn v1.0.98 [INFO] [stderr] Compiling serde_derive v1.0.138 [INFO] [stderr] Compiling serde v1.0.138 [INFO] [stderr] Compiling cc v1.0.73 [INFO] [stderr] Compiling eyre v0.6.8 [INFO] [stderr] Checking is_ci v1.1.1 [INFO] [stderr] Checking gimli v0.26.1 [INFO] [stderr] Compiling indexmap v1.9.1 [INFO] [stderr] Checking once_cell v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Compiling semver v1.0.12 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking object v0.29.0 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Checking hashbrown v0.12.2 [INFO] [stderr] Checking supports-color v1.3.0 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking os_str_bytes v6.1.0 [INFO] [stderr] Checking rustc-demangle v0.1.21 [INFO] [stderr] Checking indenter v0.3.3 [INFO] [stderr] Checking owo-colors v3.4.0 [INFO] [stderr] Checking dirs-sys v0.3.7 [INFO] [stderr] Checking nix v0.24.1 [INFO] [stderr] Checking fastrand v1.7.0 [INFO] [stderr] Checking either v1.7.0 [INFO] [stderr] Checking ryu v1.0.10 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking itoa v1.0.2 [INFO] [stderr] Compiling cross v0.2.5 (/tmp/fixit) [INFO] [stderr] Migrating src/build.rs from 2021 edition to 2024 [INFO] [stderr] Checking tempfile v3.3.0 [INFO] [stderr] Checking which v4.2.5 [INFO] [stderr] Checking directories v4.0.1 [INFO] [stderr] Checking shell-escape v0.1.5 [INFO] [stderr] Checking rustc_version v0.4.0 [INFO] [stderr] Checking home v0.5.3 [INFO] [stderr] Checking const-sha1 v0.2.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Compiling backtrace v0.3.66 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking regex v1.6.0 [INFO] [stderr] Checking ctrlc v3.2.2 [INFO] [stderr] Checking addr2line v0.17.0 [INFO] [stderr] Checking color-eyre v0.6.1 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling clap_derive v3.2.7 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking clap v3.2.8 [INFO] [stderr] Checking serde_ignored v0.1.3 [INFO] [stderr] Checking toml v0.5.9 [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/temp.rs (7 fixes) [INFO] [stderr] Fixed src/errors.rs (1 fix) [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: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/cross.rs from 2021 edition to 2024 [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: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] = help: to override `--force-warn rust-2024-compatibility` add `#[allow(static_mut_refs)]` [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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating src/bin/cross-util.rs from 2021 edition to 2024 [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.07s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] error: failed to parse manifest at `/tmp/fixit/Cargo.toml` [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] `default_features` is unsupported as of the 2024 edition; instead use `default-features` [INFO] [stderr] (in the `which` dependency) [INFO] [stderr] error: failed to check after updating to 2024 [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo check --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "c8d313906fffad8d0f0b80e3525a8536081c7c87ffd440aa7c2fe45a6bfd94ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8d313906fffad8d0f0b80e3525a8536081c7c87ffd440aa7c2fe45a6bfd94ae", kill_on_drop: false }` [INFO] [stdout] c8d313906fffad8d0f0b80e3525a8536081c7c87ffd440aa7c2fe45a6bfd94ae