[INFO] fetching crate hpm_isp 0.3.0... [INFO] checking hpm_isp-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate hpm_isp 0.3.0 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate hpm_isp 0.3.0 on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate hpm_isp 0.3.0 [INFO] finished tweaking crates.io crate hpm_isp 0.3.0 [INFO] tweaked toml for crates.io crate hpm_isp 0.3.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate hpm_isp 0.3.0 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2809f38ccf76fe27941dc3d334f26d3e81f35254bab8a64a270fb99ae93747d6 [INFO] running `Command { std: "docker" "start" "-a" "2809f38ccf76fe27941dc3d334f26d3e81f35254bab8a64a270fb99ae93747d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2809f38ccf76fe27941dc3d334f26d3e81f35254bab8a64a270fb99ae93747d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2809f38ccf76fe27941dc3d334f26d3e81f35254bab8a64a270fb99ae93747d6", kill_on_drop: false }` [INFO] [stdout] 2809f38ccf76fe27941dc3d334f26d3e81f35254bab8a64a270fb99ae93747d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1dbb713bf70c9f8efd6e214e31aa2c15db3343ad769dfc6b7e4e792d64881ce6 [INFO] running `Command { std: "docker" "start" "-a" "1dbb713bf70c9f8efd6e214e31aa2c15db3343ad769dfc6b7e4e792d64881ce6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.153 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling rustversion v1.0.15 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling toml_datetime v0.6.5 [INFO] [stderr] Checking nb v1.1.0 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rustix v0.38.32 [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling cc v1.0.92 [INFO] [stderr] Checking linux-raw-sys v0.4.13 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling pkg-config v0.3.30 [INFO] [stderr] Checking nb v0.1.3 [INFO] [stderr] Compiling riscv v0.10.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking unicode-width v0.1.11 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Checking embedded-hal v0.2.7 [INFO] [stderr] Compiling syn v2.0.58 [INFO] [stderr] Checking os_str_bytes v6.6.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking critical-section v1.1.2 [INFO] [stderr] Checking fastrand v2.0.2 [INFO] [stderr] Checking clap_lex v0.2.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking zeroize v1.7.0 [INFO] [stderr] Checking textwrap v0.16.1 [INFO] [stderr] Checking r0 v1.0.0 [INFO] [stderr] Checking shell-words v1.1.0 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling hidapi v2.6.1 [INFO] [stderr] Checking tempfile v3.10.1 [INFO] [stderr] Checking dialoguer v0.10.4 [INFO] [stderr] Compiling strum_macros v0.25.3 [INFO] [stderr] Compiling zerocopy-derive v0.7.32 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Checking zerocopy v0.7.32 [INFO] [stderr] Checking strum v0.25.0 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling clap_derive v3.2.25 [INFO] [stderr] Compiling riscv-rt-macros v0.2.1 [INFO] [stderr] Compiling num_enum_derive v0.7.2 [INFO] [stderr] Checking hpm-rt v0.1.0 [INFO] [stderr] Checking num_enum v0.7.2 [INFO] [stderr] Checking clap v3.2.25 [INFO] [stderr] Checking hpm_isp v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hid.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 105 | let api = HidApi::new().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | // Connect to device using its VID and PID [INFO] [stdout] 107 | let (device, family) = Family::iter() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | Ok(Self { device, family }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hid.rs:108:36 [INFO] [stdout] | [INFO] [stdout] 108 | .find_map(|chip| match api.open(Family::pid(), chip.vid()).ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hid.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 105 | let api = HidApi::new().unwrap(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 106 | // Connect to device using its VID and PID [INFO] [stdout] 107 | let (device, family) = Family::iter() [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 113 | Ok(Self { device, family }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hid.rs:108:36 [INFO] [stdout] | [INFO] [stdout] 108 | .find_map(|chip| match api.open(Family::pid(), chip.vid()).ok() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `hpm_isp` (lib test) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `hpm_isp` (lib) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "1dbb713bf70c9f8efd6e214e31aa2c15db3343ad769dfc6b7e4e792d64881ce6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dbb713bf70c9f8efd6e214e31aa2c15db3343ad769dfc6b7e4e792d64881ce6", kill_on_drop: false }` [INFO] [stdout] 1dbb713bf70c9f8efd6e214e31aa2c15db3343ad769dfc6b7e4e792d64881ce6