[INFO] fetching crate io-extras 0.18.4... [INFO] building io-extras-0.18.4 against try#9b5e8b16bd1c4acf4cf8e6880368314cf021a987+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] extracting crate io-extras 0.18.4 into /workspace/builds/worker-0-tc2/source [INFO] validating manifest of crates.io crate io-extras 0.18.4 on toolchain 9b5e8b16bd1c4acf4cf8e6880368314cf021a987 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate io-extras 0.18.4 [INFO] finished tweaking crates.io crate io-extras 0.18.4 [INFO] tweaked toml for crates.io crate io-extras 0.18.4 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate crates.io crate io-extras 0.18.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" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 82a3821d020896853258c02b223c5fe6c0a2f88e62938d577078d796cbd6bc66 [INFO] running `Command { std: "docker" "start" "-a" "82a3821d020896853258c02b223c5fe6c0a2f88e62938d577078d796cbd6bc66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "82a3821d020896853258c02b223c5fe6c0a2f88e62938d577078d796cbd6bc66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82a3821d020896853258c02b223c5fe6c0a2f88e62938d577078d796cbd6bc66", kill_on_drop: false }` [INFO] [stdout] 82a3821d020896853258c02b223c5fe6c0a2f88e62938d577078d796cbd6bc66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9b5e8b16bd1c4acf4cf8e6880368314cf021a987" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36e4e24dd4bbda70bb5847068fb4d2dfa1d85621dc8dff54b7072f6ff385e3b4 [INFO] running `Command { std: "docker" "start" "-a" "36e4e24dd4bbda70bb5847068fb4d2dfa1d85621dc8dff54b7072f6ff385e3b4", kill_on_drop: false }` [INFO] [stderr] Compiling io-lifetimes v2.0.4 [INFO] [stderr] Compiling io-extras v0.18.4 (/opt/rustwide/workdir) [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/raw.rs:199:39 [INFO] [stdout] | [INFO] [stdout] 199 | unsafe { &*as_file_view(self.0) }.read(buf) [INFO] [stdout] | -------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/raw.rs:204:39 [INFO] [stdout] | [INFO] [stdout] 204 | unsafe { &*as_file_view(self.0) }.read_vectored(bufs) [INFO] [stdout] | -------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/raw.rs:210:39 [INFO] [stdout] | [INFO] [stdout] 210 | unsafe { &*as_file_view(self.0) }.is_read_vectored() [INFO] [stdout] | -------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/raw.rs:215:39 [INFO] [stdout] | [INFO] [stdout] 215 | unsafe { &*as_file_view(self.0) }.read_to_end(buf) [INFO] [stdout] | -------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/raw.rs:220:39 [INFO] [stdout] | [INFO] [stdout] 220 | unsafe { &*as_file_view(self.0) }.read_to_string(buf) [INFO] [stdout] | -------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/raw.rs:225:39 [INFO] [stdout] | [INFO] [stdout] 225 | unsafe { &*as_file_view(self.0) }.read_exact(buf) [INFO] [stdout] | -------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/raw.rs:304:39 [INFO] [stdout] | [INFO] [stdout] 304 | unsafe { &*as_file_view(self.0) }.write(buf) [INFO] [stdout] | -------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/raw.rs:309:39 [INFO] [stdout] | [INFO] [stdout] 309 | unsafe { &*as_file_view(self.0) }.flush() [INFO] [stdout] | -------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/raw.rs:314:39 [INFO] [stdout] | [INFO] [stdout] 314 | unsafe { &*as_file_view(self.0) }.write_vectored(bufs) [INFO] [stdout] | -------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/raw.rs:320:39 [INFO] [stdout] | [INFO] [stdout] 320 | unsafe { &*as_file_view(self.0) }.is_write_vectored() [INFO] [stdout] | -------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/raw.rs:325:39 [INFO] [stdout] | [INFO] [stdout] 325 | unsafe { &*as_file_view(self.0) }.write_all(buf) [INFO] [stdout] | -------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/raw.rs:331:39 [INFO] [stdout] | [INFO] [stdout] 331 | unsafe { &*as_file_view(self.0) }.write_all_vectored(bufs) [INFO] [stdout] | -------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: a temporary value will be dropped here before the execution exits the block in Edition 2024, which will raise borrow checking error [INFO] [stdout] --> src/raw.rs:336:39 [INFO] [stdout] | [INFO] [stdout] 336 | unsafe { &*as_file_view(self.0) }.write_fmt(fmt) [INFO] [stdout] | -------------------^ [INFO] [stdout] | | [INFO] [stdout] | consider using a `let` binding to create a longer lived value; or replacing the `{ .. }` block with curly brackets `( .. )`; or folding the rest of the expression into the surrounding `unsafe { .. }` [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `io-extras` (lib) due to 13 previous errors [INFO] running `Command { std: "docker" "inspect" "36e4e24dd4bbda70bb5847068fb4d2dfa1d85621dc8dff54b7072f6ff385e3b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36e4e24dd4bbda70bb5847068fb4d2dfa1d85621dc8dff54b7072f6ff385e3b4", kill_on_drop: false }` [INFO] [stdout] 36e4e24dd4bbda70bb5847068fb4d2dfa1d85621dc8dff54b7072f6ff385e3b4