[INFO] fetching crate switcheroo-nx 0.7.1... [INFO] checking switcheroo-nx-0.7.1 against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] extracting crate switcheroo-nx 0.7.1 into /workspace/builds/worker-5-tc2/source [INFO] validating manifest of crates.io crate switcheroo-nx 0.7.1 on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-5-tc2/source/rust-toolchain.toml [INFO] started tweaking crates.io crate switcheroo-nx 0.7.1 [INFO] finished tweaking crates.io crate switcheroo-nx 0.7.1 [INFO] tweaked toml for crates.io crate switcheroo-nx 0.7.1 written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate crates.io crate switcheroo-nx 0.7.1 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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 876cf3a2ca7946f9c49c8b842a77153f0c935b6910e2f7f999995d12c1b5a9a5 [INFO] running `Command { std: "docker" "start" "-a" "876cf3a2ca7946f9c49c8b842a77153f0c935b6910e2f7f999995d12c1b5a9a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "876cf3a2ca7946f9c49c8b842a77153f0c935b6910e2f7f999995d12c1b5a9a5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "876cf3a2ca7946f9c49c8b842a77153f0c935b6910e2f7f999995d12c1b5a9a5", kill_on_drop: false }` [INFO] [stdout] 876cf3a2ca7946f9c49c8b842a77153f0c935b6910e2f7f999995d12c1b5a9a5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ac6c9b8986b3ed6a124791dbdf33f3665510a4d1e3c37668e8bf9a84fd159066 [INFO] running `Command { std: "docker" "start" "-a" "ac6c9b8986b3ed6a124791dbdf33f3665510a4d1e3c37668e8bf9a84fd159066", 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] Compiling libc v0.2.155 [INFO] [stderr] Compiling utf8parse v0.2.2 [INFO] [stderr] Compiling is_terminal_polyfill v1.70.0 [INFO] [stderr] Compiling anstyle v1.0.7 [INFO] [stderr] Compiling anstyle-query v1.1.0 [INFO] [stderr] Compiling colorchoice v1.0.1 [INFO] [stderr] Compiling clap_lex v0.7.1 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Compiling anstyle-parse v0.2.4 [INFO] [stderr] Compiling cc v1.1.4 [INFO] [stderr] Compiling camino v1.1.7 [INFO] [stderr] Compiling anstream v0.6.14 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Compiling clap_builder v4.5.9 [INFO] [stderr] Compiling roff v0.2.1 [INFO] [stderr] Compiling rusb v0.9.4 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking tracing-subscriber v0.3.18 [INFO] [stderr] Compiling libusb1-sys v0.7.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking dirs v5.0.1 [INFO] [stderr] Compiling clap_derive v4.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.62 [INFO] [stderr] Checking thiserror v1.0.62 [INFO] [stderr] Checking tegra-rcm v0.7.1 [INFO] [stderr] Compiling clap v4.5.9 [INFO] [stderr] Compiling clap-verbosity-flag v2.2.0 [INFO] [stderr] Compiling clap_mangen v0.2.22 [INFO] [stderr] Compiling clap_complete v4.5.8 [INFO] [stderr] Compiling switcheroo-nx v0.7.1 (/tmp/fixit) [INFO] [stderr] Migrating build.rs from 2021 edition to 2024 [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/usb.rs (2 fixes) [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/run.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | while let Ok(switch) = rx.recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/run.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/run.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | while let Ok(switch) = rx.recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/run.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/run.rs:52:19 [INFO] [stdout] | [INFO] [stdout] 52 | while let Ok(switch) = rx.recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/run.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | } [INFO] [stdout] | ^ [INFO] [stdout] = note: `--force-warn if-let-rescope` implied by `--force-warn rust-2024-compatibility` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `if let` assigns a shorter lifetime since Edition 2024 [INFO] [stdout] --> src/run.rs:88:19 [INFO] [stdout] | [INFO] [stdout] 88 | while let Ok(switch) = rx.recv() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^--------- [INFO] [stdout] | | [INFO] [stdout] | this value has a significant drop implementation which may observe a major change in drop order and requires your discretion [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #124085 [INFO] [stdout] help: the value is now dropped here in Edition 2024 [INFO] [stdout] --> src/run.rs:98:13 [INFO] [stdout] | [INFO] [stdout] 98 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.53s [INFO] [stderr] Running `cargo check` to verify 2024 [INFO] [stderr] Compiling switcheroo-nx v0.7.1 (/tmp/fixit) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.47s [INFO] running `Command { std: "docker" "inspect" "ac6c9b8986b3ed6a124791dbdf33f3665510a4d1e3c37668e8bf9a84fd159066", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac6c9b8986b3ed6a124791dbdf33f3665510a4d1e3c37668e8bf9a84fd159066", kill_on_drop: false }` [INFO] [stdout] ac6c9b8986b3ed6a124791dbdf33f3665510a4d1e3c37668e8bf9a84fd159066