[INFO] fetching crate usbd-ccid 0.3.0... [INFO] checking usbd-ccid-0.3.0 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate usbd-ccid 0.3.0 into /workspace/builds/worker-1-tc2/source [INFO] validating manifest of crates.io crate usbd-ccid 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 usbd-ccid 0.3.0 [INFO] finished tweaking crates.io crate usbd-ccid 0.3.0 [INFO] tweaked toml for crates.io crate usbd-ccid 0.3.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 71 packages to latest compatible versions [INFO] [stderr] Adding generator v0.7.5 (latest: v0.8.3) [INFO] [stderr] Adding hash32 v0.2.1 (latest: v0.3.1) [INFO] [stderr] Adding heapless v0.7.17 (latest: v0.8.0) [INFO] [stderr] Adding loom v0.5.6 (latest: v0.7.2) [INFO] [stderr] Adding matchers v0.1.0 (latest: v0.2.0) [INFO] [stderr] Adding nu-ansi-term v0.46.0 (latest: v0.50.1) [INFO] [stderr] Adding num v0.3.1 (latest: v0.4.3) [INFO] [stderr] Adding num-complex v0.3.1 (latest: v0.4.6) [INFO] [stderr] Adding num-rational v0.3.2 (latest: v0.4.2) [INFO] [stderr] Adding regex-automata v0.1.10 (latest: v0.4.7) [INFO] [stderr] Adding regex-syntax v0.6.29 (latest: v0.8.4) [INFO] [stderr] Adding usb-device v0.2.9 (latest: v0.3.2) [INFO] [stderr] Adding windows v0.48.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-targets v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_aarch64_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_i686_msvc v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnu v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_gnullvm v0.48.5 (latest: v0.52.6) [INFO] [stderr] Adding windows_x86_64_msvc v0.48.5 (latest: v0.52.6) [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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] f26069910be7ba0291030d2603a83cf120687d704a44c7e02b1204a7e57e8b6d [INFO] running `Command { std: "docker" "start" "-a" "f26069910be7ba0291030d2603a83cf120687d704a44c7e02b1204a7e57e8b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f26069910be7ba0291030d2603a83cf120687d704a44c7e02b1204a7e57e8b6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f26069910be7ba0291030d2603a83cf120687d704a44c7e02b1204a7e57e8b6d", kill_on_drop: false }` [INFO] [stdout] f26069910be7ba0291030d2603a83cf120687d704a44c7e02b1204a7e57e8b6d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 9c03a0aeaee34e055304fb22582e8cae28f61da9e085ba6c69bd5f5ba53e3481 [INFO] running `Command { std: "docker" "start" "-a" "9c03a0aeaee34e055304fb22582e8cae28f61da9e085ba6c69bd5f5ba53e3481", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling delog v0.1.7 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking usb-device v0.2.9 [INFO] [stderr] Checking interchange v0.3.1 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling heapless v0.7.17 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking iso7816 v0.1.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking embedded-time v0.12.1 [INFO] [stderr] Checking usbd-ccid v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `zeroed` is never used [INFO] [stdout] --> src/types/packet.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait RawPacketExt { [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] 9 | fn data_len(&self) -> usize; [INFO] [stdout] 10 | fn zeroed() -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slot` is never used [INFO] [stdout] --> src/types/packet.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Packet: core::ops::Deref { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 40 | #[inline] [INFO] [stdout] 41 | fn slot(&self) -> u8 { [INFO] [stdout] | ^^^^ [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/pipe.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 72 | request_pipe: Requester<'pipe, N>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | outbox: None, [INFO] [stdout] | ^^^^ [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/pipe.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 72 | request_pipe: Requester<'pipe, N>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | ext_packet: Default::default(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pipe.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 72 | request_pipe: Requester<'pipe, N>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | atr: Self::construct_atr(card_issuers_data, false), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pipe.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn handle_packet(&mut self, packet: RawPacket) { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | match PacketCommand::try_from(self.ext_packet.clone()) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/packet.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 235 | fn try_from(packet: ExtPacket) [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | Ok(match command_byte { [INFO] [stdout] | ____________________^ [INFO] [stdout] 246 | | $( [INFO] [stdout] 247 | | $code => Command::$Name($Name { ext_raw: packet } ), [INFO] [stdout] 248 | | )* [INFO] [stdout] 249 | | _ => return Err(Error::UnknownCommand(command_byte)), [INFO] [stdout] 250 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 281 | / command_message!( [INFO] [stdout] 282 | | PowerOn: 0x62, [INFO] [stdout] 283 | | PowerOff: 0x63, [INFO] [stdout] 284 | | GetSlotStatus: 0x65, [INFO] [stdout] ... | [INFO] [stdout] 287 | | Abort: 0x72, [INFO] [stdout] 288 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `command_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `usbd-ccid` (lib test) due to 6 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated function `zeroed` is never used [INFO] [stdout] --> src/types/packet.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait RawPacketExt { [INFO] [stdout] | ------------ associated function in this trait [INFO] [stdout] 9 | fn data_len(&self) -> usize; [INFO] [stdout] 10 | fn zeroed() -> Self; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `slot` is never used [INFO] [stdout] --> src/types/packet.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub trait Packet: core::ops::Deref { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] 40 | #[inline] [INFO] [stdout] 41 | fn slot(&self) -> u8 { [INFO] [stdout] | ^^^^ [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/pipe.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 72 | request_pipe: Requester<'pipe, N>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | outbox: None, [INFO] [stdout] | ^^^^ [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/pipe.rs:83:25 [INFO] [stdout] | [INFO] [stdout] 72 | request_pipe: Requester<'pipe, N>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 83 | ext_packet: Default::default(), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pipe.rs:92:18 [INFO] [stdout] | [INFO] [stdout] 72 | request_pipe: Requester<'pipe, N>, [INFO] [stdout] | --------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | atr: Self::construct_atr(card_issuers_data, false), [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/pipe.rs:209:15 [INFO] [stdout] | [INFO] [stdout] 148 | pub fn handle_packet(&mut self, packet: RawPacket) { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 209 | match PacketCommand::try_from(self.ext_packet.clone()) { [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: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/types/packet.rs:245:20 [INFO] [stdout] | [INFO] [stdout] 235 | fn try_from(packet: ExtPacket) [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 245 | Ok(match command_byte { [INFO] [stdout] | ____________________^ [INFO] [stdout] 246 | | $( [INFO] [stdout] 247 | | $code => Command::$Name($Name { ext_raw: packet } ), [INFO] [stdout] 248 | | )* [INFO] [stdout] 249 | | _ => return Err(Error::UnknownCommand(command_byte)), [INFO] [stdout] 250 | | }) [INFO] [stdout] | |_________________^ [INFO] [stdout] ... [INFO] [stdout] 281 | / command_message!( [INFO] [stdout] 282 | | PowerOn: 0x62, [INFO] [stdout] 283 | | PowerOff: 0x63, [INFO] [stdout] 284 | | GetSlotStatus: 0x65, [INFO] [stdout] ... | [INFO] [stdout] 287 | | Abort: 0x72, [INFO] [stdout] 288 | | ); [INFO] [stdout] | |_- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `command_message` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `usbd-ccid` (lib) due to 6 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "9c03a0aeaee34e055304fb22582e8cae28f61da9e085ba6c69bd5f5ba53e3481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c03a0aeaee34e055304fb22582e8cae28f61da9e085ba6c69bd5f5ba53e3481", kill_on_drop: false }` [INFO] [stdout] 9c03a0aeaee34e055304fb22582e8cae28f61da9e085ba6c69bd5f5ba53e3481