[INFO] fetching crate bustd 0.1.1... [INFO] checking bustd-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate bustd 0.1.1 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate bustd 0.1.1 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 bustd 0.1.1 [INFO] finished tweaking crates.io crate bustd 0.1.1 [INFO] tweaked toml for crates.io crate bustd 0.1.1 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate crates.io crate bustd 0.1.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" "+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] 75088b0c279974a058f19d686febe1585b2a5ee0c5a2c766634c1e458d572874 [INFO] running `Command { std: "docker" "start" "-a" "75088b0c279974a058f19d686febe1585b2a5ee0c5a2c766634c1e458d572874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "75088b0c279974a058f19d686febe1585b2a5ee0c5a2c766634c1e458d572874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75088b0c279974a058f19d686febe1585b2a5ee0c5a2c766634c1e458d572874", kill_on_drop: false }` [INFO] [stdout] 75088b0c279974a058f19d686febe1585b2a5ee0c5a2c766634c1e458d572874 [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] 6047802ff84d0d92ff715d2f1cc5f6d3b896147adf6544ce7dd4750074588180 [INFO] running `Command { std: "docker" "start" "-a" "6047802ff84d0d92ff715d2f1cc5f6d3b896147adf6544ce7dd4750074588180", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.97 [INFO] [stderr] Compiling proc-macro2 v1.0.27 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling cc v1.0.68 [INFO] [stderr] Compiling argh_shared v0.1.5 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking boxfnonce v0.1.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling bustd v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking daemonize v0.4.1 [INFO] [stderr] Checking flate2 v1.0.20 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking procfs v0.9.1 [INFO] [stderr] Compiling argh_derive v0.1.5 [INFO] [stderr] Checking argh v0.1.5 [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/error.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | ProcessNotFound(&'static str), [INFO] [stdout] | --------------- ^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 9 | ProcessNotFound(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `reason` is never read [INFO] [stdout] --> src/error.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 13 | Io { [INFO] [stdout] | -- field in this variant [INFO] [stdout] 14 | reason: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/error.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 16 | Daemonize { [INFO] [stdout] | --------- field in this variant [INFO] [stdout] 17 | error: DaemonizeError, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/error.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | Unicode { [INFO] [stdout] | ------- field in this variant [INFO] [stdout] 20 | error: Utf8Error, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `error` is never read [INFO] [stdout] --> src/error.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 32 | Thread { [INFO] [stdout] | ------ field in this variant [INFO] [stdout] 33 | error: Box, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Error` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `major` and `minor` are never read [INFO] [stdout] --> src/linux_version.rs:3:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct LinuxVersion { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 3 | pub major: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 4 | pub minor: u8, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LinuxVersion` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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/kill.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | .filter_map(|pid| Process::from_pid(pid, proc_buf).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] = 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/memory/pressure.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | Error::MalformedPressureFile [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] | 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] 20 | let mut file = File::open("/proc/pressure/memory")?; [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 43 | Err(malformed!()) [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 `malformed` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `bustd` (bin "bustd") due to 3 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "6047802ff84d0d92ff715d2f1cc5f6d3b896147adf6544ce7dd4750074588180", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6047802ff84d0d92ff715d2f1cc5f6d3b896147adf6544ce7dd4750074588180", kill_on_drop: false }` [INFO] [stdout] 6047802ff84d0d92ff715d2f1cc5f6d3b896147adf6544ce7dd4750074588180