[INFO] cloning repository https://github.com/The6P4C/rxprog-cli [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/The6P4C/rxprog-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThe6P4C%2Frxprog-cli", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThe6P4C%2Frxprog-cli'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a03240ed81a01db889fbbf0c879968bbce70e325 [INFO] checking The6P4C/rxprog-cli/a03240ed81a01db889fbbf0c879968bbce70e325 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FThe6P4C%2Frxprog-cli" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/The6P4C/rxprog-cli 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 git repo https://github.com/The6P4C/rxprog-cli [INFO] finished tweaking git repo https://github.com/The6P4C/rxprog-cli [INFO] tweaked toml for git repo https://github.com/The6P4C/rxprog-cli written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/The6P4C/rxprog-cli 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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 0aa8f3666ed37ae71d27793608337fad78309ebb35788d00b95a018567b8e97c [INFO] running `Command { std: "docker" "start" "-a" "0aa8f3666ed37ae71d27793608337fad78309ebb35788d00b95a018567b8e97c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0aa8f3666ed37ae71d27793608337fad78309ebb35788d00b95a018567b8e97c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0aa8f3666ed37ae71d27793608337fad78309ebb35788d00b95a018567b8e97c", kill_on_drop: false }` [INFO] [stdout] 0aa8f3666ed37ae71d27793608337fad78309ebb35788d00b95a018567b8e97c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 32b0685ec5017e3a5f74a66a035e4f5a31627ddc0140e396e581ba4e5197ba36 [INFO] running `Command { std: "docker" "start" "-a" "32b0685ec5017e3a5f74a66a035e4f5a31627ddc0140e396e581ba4e5197ba36", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.71 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking mock-io v0.1.0 (https://github.com/carllerche/mock-io#ad690f74) [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Checking libudev v0.2.0 [INFO] [stderr] Checking serialport v3.3.0 [INFO] [stderr] Checking rxprog v1.0.2 (/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/programmer.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 95 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(ProgrammerConnectedDeviceSelected { [INFO] [stdout] | ____________^ [INFO] [stdout] 104 | | target: self.target, [INFO] [stdout] 105 | | }) [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/programmer.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 123 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | Ok(ProgrammerConnectedClockModeSelected { [INFO] [stdout] | ____________^ [INFO] [stdout] 130 | | target: self.target, [INFO] [stdout] 131 | | }) [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/programmer.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 157 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | Ok(ProgrammerConnectedNewBitRateSelected { [INFO] [stdout] | ____________^ [INFO] [stdout] 176 | | target: self.target, [INFO] [stdout] 177 | | }) [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/programmer.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn program_user_or_data_area(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | Ok(ProgrammerConnectedWaitingForData { [INFO] [stdout] | ____________^ [INFO] [stdout] 237 | | target: self.target, [INFO] [stdout] 238 | | }) [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/programmer.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn end(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | Ok(ProgrammerConnectedProgrammingErasureState { [INFO] [stdout] | ____________^ [INFO] [stdout] 293 | | target: self.target, [INFO] [stdout] 294 | | }) [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 `rxprog` (lib) 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/command/test_util.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn is_script_complete(mut p: T) -> bool { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | let mut buf = [0u8; 1]; [INFO] [stdout] 5 | p.read(&mut buf).unwrap() == 0 && p.write(&[0x00]).is_err() [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/command/test_util.rs:5:39 [INFO] [stdout] | [INFO] [stdout] 3 | pub fn is_script_complete(mut p: T) -> bool { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 4 | let mut buf = [0u8; 1]; [INFO] [stdout] 5 | p.read(&mut buf).unwrap() == 0 && p.write(&[0x00]).is_err() [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/programmer.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 95 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 103 | Ok(ProgrammerConnectedDeviceSelected { [INFO] [stdout] | ____________^ [INFO] [stdout] 104 | | target: self.target, [INFO] [stdout] 105 | | }) [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/programmer.rs:129:12 [INFO] [stdout] | [INFO] [stdout] 123 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 129 | Ok(ProgrammerConnectedClockModeSelected { [INFO] [stdout] | ____________^ [INFO] [stdout] 130 | | target: self.target, [INFO] [stdout] 131 | | }) [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/programmer.rs:175:12 [INFO] [stdout] | [INFO] [stdout] 157 | mut self, [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 175 | Ok(ProgrammerConnectedNewBitRateSelected { [INFO] [stdout] | ____________^ [INFO] [stdout] 176 | | target: self.target, [INFO] [stdout] 177 | | }) [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/programmer.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn program_user_or_data_area(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 236 | Ok(ProgrammerConnectedWaitingForData { [INFO] [stdout] | ____________^ [INFO] [stdout] 237 | | target: self.target, [INFO] [stdout] 238 | | }) [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/programmer.rs:292:12 [INFO] [stdout] | [INFO] [stdout] 285 | pub fn end(mut self) -> Result { [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 292 | Ok(ProgrammerConnectedProgrammingErasureState { [INFO] [stdout] | ____________^ [INFO] [stdout] 293 | | target: self.target, [INFO] [stdout] 294 | | }) [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 7 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rxprog` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "32b0685ec5017e3a5f74a66a035e4f5a31627ddc0140e396e581ba4e5197ba36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32b0685ec5017e3a5f74a66a035e4f5a31627ddc0140e396e581ba4e5197ba36", kill_on_drop: false }` [INFO] [stdout] 32b0685ec5017e3a5f74a66a035e4f5a31627ddc0140e396e581ba4e5197ba36