[INFO] fetching crate perf-event2 0.7.4... [INFO] checking perf-event2-0.7.4 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate perf-event2 0.7.4 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate perf-event2 0.7.4 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 perf-event2 0.7.4 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate perf-event2 0.7.4 [INFO] tweaked toml for crates.io crate perf-event2 0.7.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate perf-event2 0.7.4 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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 7cd125e1e4e65d12e2984674b7711936f822e881f1c91bba0fe005a120fdda7d [INFO] running `Command { std: "docker" "start" "-a" "7cd125e1e4e65d12e2984674b7711936f822e881f1c91bba0fe005a120fdda7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7cd125e1e4e65d12e2984674b7711936f822e881f1c91bba0fe005a120fdda7d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7cd125e1e4e65d12e2984674b7711936f822e881f1c91bba0fe005a120fdda7d", kill_on_drop: false }` [INFO] [stdout] 7cd125e1e4e65d12e2984674b7711936f822e881f1c91bba0fe005a120fdda7d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] e2b2dcf3a8056231013557b367f2939ce8ec5ae4a7b1d63e196572b485e6b75f [INFO] running `Command { std: "docker" "start" "-a" "e2b2dcf3a8056231013557b367f2939ce8ec5ae4a7b1d63e196572b485e6b75f", kill_on_drop: false }` [INFO] [stderr] Checking bitflags v2.5.0 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Checking c-enum v0.2.3 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking memmap2 v0.9.4 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking perf-event-open-sys2 v5.0.5 [INFO] [stderr] Checking perf-event-data v0.1.6 [INFO] [stderr] Checking perf-event2 v0.7.4 (/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/lib.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn sampled(self, map_len: usize) -> io::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 418 | let mmap = memmap2::MmapOptions::new().len(len).map_raw(&self.file)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 419 | [INFO] [stdout] 420 | Ok(Sampler::new(self, mmap)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/lib.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 424 | pub(crate) fn ioctl(&self, ioctl: F) -> io::Result<()> [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 428 | check_errno_syscall(|| ioctl(self.as_raw_fd())).map(drop) [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/events/probe.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn for_function(retprobe: bool, func: CString, offset: u64) -> io::Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Ok(Self(Probe { [INFO] [stdout] | ____________^ [INFO] [stdout] 81 | | ty: KPROBE_TYPE.get()?, [INFO] [stdout] 82 | | retprobe, [INFO] [stdout] 83 | | target: ProbeTarget::Func { name: func, offset }, [INFO] [stdout] 84 | | })) [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/events/probe.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn new(retprobe: bool, path: CString, offset: u64) -> io::Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | Ok(Self(Probe { [INFO] [stdout] | ____________^ [INFO] [stdout] 191 | | ty: UPROBE_TYPE.get()?, [INFO] [stdout] 192 | | retprobe, [INFO] [stdout] 193 | | target: ProbeTarget::Func { name: path, offset }, [INFO] [stdout] 194 | | })) [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/lib.rs:904:15 [INFO] [stdout] | [INFO] [stdout] 899 | let builder = Builder::new(events::Software::CPU_CLOCK) [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 904 | match builder.build() { [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 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `perf-event2` (lib test) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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/lib.rs:420:12 [INFO] [stdout] | [INFO] [stdout] 408 | pub fn sampled(self, map_len: usize) -> io::Result { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 418 | let mmap = memmap2::MmapOptions::new().len(len).map_raw(&self.file)?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 419 | [INFO] [stdout] 420 | Ok(Sampler::new(self, mmap)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [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/lib.rs:428:9 [INFO] [stdout] | [INFO] [stdout] 424 | pub(crate) fn ioctl(&self, ioctl: F) -> io::Result<()> [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 428 | check_errno_syscall(|| ioctl(self.as_raw_fd())).map(drop) [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/events/probe.rs:80:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn for_function(retprobe: bool, func: CString, offset: u64) -> io::Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | Ok(Self(Probe { [INFO] [stdout] | ____________^ [INFO] [stdout] 81 | | ty: KPROBE_TYPE.get()?, [INFO] [stdout] 82 | | retprobe, [INFO] [stdout] 83 | | target: ProbeTarget::Func { name: func, offset }, [INFO] [stdout] 84 | | })) [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/events/probe.rs:190:12 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn new(retprobe: bool, path: CString, offset: u64) -> io::Result { [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 190 | Ok(Self(Probe { [INFO] [stdout] | ____________^ [INFO] [stdout] 191 | | ty: UPROBE_TYPE.get()?, [INFO] [stdout] 192 | | retprobe, [INFO] [stdout] 193 | | target: ProbeTarget::Func { name: path, offset }, [INFO] [stdout] 194 | | })) [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 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `perf-event2` (lib) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "e2b2dcf3a8056231013557b367f2939ce8ec5ae4a7b1d63e196572b485e6b75f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e2b2dcf3a8056231013557b367f2939ce8ec5ae4a7b1d63e196572b485e6b75f", kill_on_drop: false }` [INFO] [stdout] e2b2dcf3a8056231013557b367f2939ce8ec5ae4a7b1d63e196572b485e6b75f