[INFO] fetching crate ld06 0.1.1... [INFO] checking ld06-0.1.1 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] extracting crate ld06 0.1.1 into /workspace/builds/worker-7-tc2/source [INFO] validating manifest of crates.io crate ld06 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 ld06 0.1.1 [INFO] finished tweaking crates.io crate ld06 0.1.1 [INFO] tweaked toml for crates.io crate ld06 0.1.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate crates.io crate ld06 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ca48664cb4078fc5ccb74ce08ebdcde745e7814a35aff5028c0a83e6411874a4 [INFO] running `Command { std: "docker" "start" "-a" "ca48664cb4078fc5ccb74ce08ebdcde745e7814a35aff5028c0a83e6411874a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca48664cb4078fc5ccb74ce08ebdcde745e7814a35aff5028c0a83e6411874a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca48664cb4078fc5ccb74ce08ebdcde745e7814a35aff5028c0a83e6411874a4", kill_on_drop: false }` [INFO] [stdout] ca48664cb4078fc5ccb74ce08ebdcde745e7814a35aff5028c0a83e6411874a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] bb7c53cbbf4b479eebd61148bc8ddf4194b165d509954ea77f07447d61ff0cb6 [INFO] running `Command { std: "docker" "start" "-a" "bb7c53cbbf4b479eebd61148bc8ddf4194b165d509954ea77f07447d61ff0cb6", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.123 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.12 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking traitobject v0.1.0 [INFO] [stderr] Checking miniz_oxide v0.5.1 [INFO] [stderr] Compiling anyhow v1.0.56 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking arc-swap v0.4.8 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking unsafe-any v0.4.2 [INFO] [stderr] Checking typemap v0.3.3 [INFO] [stderr] Checking cache-padded v1.2.0 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Checking log-mdc v0.1.0 [INFO] [stderr] Checking ringbuf v0.2.8 [INFO] [stderr] Checking cancellation v0.1.0 [INFO] [stderr] Checking convert_case v0.5.0 [INFO] [stderr] Checking is_debug v1.0.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking ordered-float v1.1.1 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking nix v0.23.1 [INFO] [stderr] Checking flate2 v1.0.23 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking libudev v0.3.0 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Checking serialport v4.1.0 [INFO] [stderr] Checking serde v1.0.136 [INFO] [stderr] Checking serde_yaml v0.8.23 [INFO] [stderr] Checking serde_json v1.0.79 [INFO] [stderr] Checking serde-value v0.6.0 [INFO] [stderr] Checking ld06 v0.1.1 (/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/ld06_driver.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 42 | let serial = port [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 50 | let spsc = RingBuffer::new(8); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 51 | let (p, c) = spsc.split(); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 52 | [INFO] [stdout] 53 | Ok(LD06 { [INFO] [stdout] | ____________^ [INFO] [stdout] 54 | | port: Some(BufReader::new(serial)), [INFO] [stdout] 55 | | prod: Some(p), [INFO] [stdout] 56 | | cons: c, [INFO] [stdout] 57 | | cts: CancellationTokenSource::new(), [INFO] [stdout] 58 | | }) [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] | [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/ld06_driver.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 65 | let serial = port [INFO] [stdout] | ------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 72 | let spsc = RingBuffer::new(8); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 73 | let (p, c) = spsc.split(); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 74 | [INFO] [stdout] 75 | Ok(LD06 { [INFO] [stdout] | ____________^ [INFO] [stdout] 76 | | port: Some(BufReader::new(serial)), [INFO] [stdout] 77 | | prod: Some(p), [INFO] [stdout] 78 | | cons: c, [INFO] [stdout] 79 | | cts: CancellationTokenSource::new(), [INFO] [stdout] 80 | | }) [INFO] [stdout] | | ^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | |_________| [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/ld06_driver.rs:91:19 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn from_reader(data: R) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let spsc = RingBuffer::new(8); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let (p, c) = spsc.split(); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 91 | port: Some(BufReader::new(data)), [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/ld06_driver.rs:92:19 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn from_reader(data: R) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let spsc = RingBuffer::new(8); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let (p, c) = spsc.split(); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 92 | prod: Some(p), [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/ld06_driver.rs:94:18 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn from_reader(data: R) -> Self { [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 87 | let spsc = RingBuffer::new(8); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 88 | let (p, c) = spsc.split(); [INFO] [stdout] | - - these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 94 | cts: CancellationTokenSource::new(), [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 `ld06` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "bb7c53cbbf4b479eebd61148bc8ddf4194b165d509954ea77f07447d61ff0cb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb7c53cbbf4b479eebd61148bc8ddf4194b165d509954ea77f07447d61ff0cb6", kill_on_drop: false }` [INFO] [stdout] bb7c53cbbf4b479eebd61148bc8ddf4194b165d509954ea77f07447d61ff0cb6