[INFO] fetching crate ptrace-syscalls 0.0.0-experimental.2... [INFO] checking ptrace-syscalls-0.0.0-experimental.2 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ptrace-syscalls 0.0.0-experimental.2 into /workspace/builds/worker-6-tc2/source [INFO] validating manifest of crates.io crate ptrace-syscalls 0.0.0-experimental.2 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 ptrace-syscalls 0.0.0-experimental.2 [INFO] finished tweaking crates.io crate ptrace-syscalls 0.0.0-experimental.2 [INFO] tweaked toml for crates.io crate ptrace-syscalls 0.0.0-experimental.2 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate crates.io crate ptrace-syscalls 0.0.0-experimental.2 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] 0759c57622a661fa725ad5828198455019767eff17abe5c6b5c0dd7c38ecabd6 [INFO] running `Command { std: "docker" "start" "-a" "0759c57622a661fa725ad5828198455019767eff17abe5c6b5c0dd7c38ecabd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0759c57622a661fa725ad5828198455019767eff17abe5c6b5c0dd7c38ecabd6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0759c57622a661fa725ad5828198455019767eff17abe5c6b5c0dd7c38ecabd6", kill_on_drop: false }` [INFO] [stdout] 0759c57622a661fa725ad5828198455019767eff17abe5c6b5c0dd7c38ecabd6 [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] 20c26fcb3cbf014793bba15a1abe4d574b55b30a6dbb3e7d33a69b722bc84c4e [INFO] running `Command { std: "docker" "start" "-a" "20c26fcb3cbf014793bba15a1abe4d574b55b30a6dbb3e7d33a69b722bc84c4e", kill_on_drop: false }` [INFO] [stderr] Compiling erasable v1.2.1 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling toml_datetime v0.6.6 [INFO] [stderr] Compiling slice-dst v1.5.1 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling either v1.12.0 [INFO] [stderr] Compiling indexmap v2.2.6 [INFO] [stderr] Compiling syn v2.0.67 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Compiling toml_edit v0.21.1 [INFO] [stderr] Compiling proc-macro-crate v3.1.0 [INFO] [stderr] Compiling enumflags2_derive v0.7.10 [INFO] [stderr] Compiling ptrace-syscalls-macros v0.0.0-experimental.2 [INFO] [stderr] Checking enumflags2 v0.7.10 [INFO] [stderr] Checking ptrace-syscalls v0.0.0-experimental.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `read_lossy_string` is never used [INFO] [stdout] --> src/inspect.rs:345:4 [INFO] [stdout] | [INFO] [stdout] 345 | fn read_lossy_string(pid: Pid, address: AddressType) -> InspectResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/inspect.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | incomplete: 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/inspect.rs:338:41 [INFO] [stdout] | [INFO] [stdout] 338 | read_generic_string(pid, address, |x| CString::new(x).unwrap()) [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/inspect.rs:446:8 [INFO] [stdout] | [INFO] [stdout] 439 | let item1 = InspectResult::::inspect_from(pid, address) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 440 | .map_err(|e| e.map_ptrace_failure(|incomplete| vec![incomplete]))?; [INFO] [stdout] 441 | let item2 = match InspectResult::::inspect_from(pid, unsafe { address.add(size_of::()) }) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 442 | { [INFO] [stdout] 443 | Ok(t) => t, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 444 | Err(e) => return Err(e.map_ptrace_failure(|incomplete| vec![item1, incomplete])), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 445 | }; [INFO] [stdout] 446 | Ok([item1, item2]) [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] | [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/dst.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | incomplete: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | / impl_slice_dst! { [INFO] [stdout] 49 | | rseq => 28, 32, [INFO] [stdout] 50 | | statmount => 520, 8, [INFO] [stdout] 51 | | msgbuf => std::mem::size_of::(), std::mem::align_of::(), [INFO] [stdout] 52 | | file_handle => 8, 4 [INFO] [stdout] 53 | | } [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 `impl_slice_dst` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lossy_string` is never used [INFO] [stdout] --> src/inspect.rs:345:4 [INFO] [stdout] | [INFO] [stdout] 345 | fn read_lossy_string(pid: Pid, address: AddressType) -> InspectResult { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/inspect.rs:295:21 [INFO] [stdout] | [INFO] [stdout] 295 | incomplete: 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/inspect.rs:338:41 [INFO] [stdout] | [INFO] [stdout] 338 | read_generic_string(pid, address, |x| CString::new(x).unwrap()) [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/inspect.rs:446:8 [INFO] [stdout] | [INFO] [stdout] 439 | let item1 = InspectResult::::inspect_from(pid, address) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 440 | .map_err(|e| e.map_ptrace_failure(|incomplete| vec![incomplete]))?; [INFO] [stdout] 441 | let item2 = match InspectResult::::inspect_from(pid, unsafe { address.add(size_of::()) }) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 442 | { [INFO] [stdout] 443 | Ok(t) => t, [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 444 | Err(e) => return Err(e.map_ptrace_failure(|incomplete| vec![item1, incomplete])), [INFO] [stdout] | - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 445 | }; [INFO] [stdout] 446 | Ok([item1, item2]) [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] | [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/dst.rs:39:25 [INFO] [stdout] | [INFO] [stdout] 39 | incomplete: None, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | / impl_slice_dst! { [INFO] [stdout] 49 | | rseq => 28, 32, [INFO] [stdout] 50 | | statmount => 520, 8, [INFO] [stdout] 51 | | msgbuf => std::mem::size_of::(), std::mem::align_of::(), [INFO] [stdout] 52 | | file_handle => 8, 4 [INFO] [stdout] 53 | | } [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 `impl_slice_dst` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ptrace-syscalls` (lib test) due to 5 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 4 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ptrace-syscalls` (lib) due to 5 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "20c26fcb3cbf014793bba15a1abe4d574b55b30a6dbb3e7d33a69b722bc84c4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20c26fcb3cbf014793bba15a1abe4d574b55b30a6dbb3e7d33a69b722bc84c4e", kill_on_drop: false }` [INFO] [stdout] 20c26fcb3cbf014793bba15a1abe4d574b55b30a6dbb3e7d33a69b722bc84c4e