[INFO] cloning repository https://github.com/N-give/viri [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/N-give/viri" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN-give%2Fviri", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FN-give%2Fviri'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 069f759d040c86f61404ac382196f2abf3e15ac4 [INFO] checking N-give/viri/069f759d040c86f61404ac382196f2abf3e15ac4 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%2FN-give%2Fviri" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/N-give/viri 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/N-give/viri [INFO] finished tweaking git repo https://github.com/N-give/viri [INFO] tweaked toml for git repo https://github.com/N-give/viri written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/N-give/viri 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] c7cb0e7e788432cfd4b4ca7c6acbede520f1e1ba28d6a19b5d31e131963fb3df [INFO] running `Command { std: "docker" "start" "-a" "c7cb0e7e788432cfd4b4ca7c6acbede520f1e1ba28d6a19b5d31e131963fb3df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7cb0e7e788432cfd4b4ca7c6acbede520f1e1ba28d6a19b5d31e131963fb3df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7cb0e7e788432cfd4b4ca7c6acbede520f1e1ba28d6a19b5d31e131963fb3df", kill_on_drop: false }` [INFO] [stdout] c7cb0e7e788432cfd4b4ca7c6acbede520f1e1ba28d6a19b5d31e131963fb3df [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] 55ee274e048661eb516c2d5889462cfa6876faf6e4be42740e51516d76d187b2 [INFO] running `Command { std: "docker" "start" "-a" "55ee274e048661eb516c2d5889462cfa6876faf6e4be42740e51516d76d187b2", kill_on_drop: false }` [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling siphasher v0.3.5 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling anyhow v1.0.42 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking signal-hook-registry v1.4.0 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Checking phf v0.8.0 [INFO] [stderr] Checking viri v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `output` [INFO] [stdout] --> src/child.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{output, cursor::Cursor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/child.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | }, runtime::Runtime, sync::mpsc::{self, UnboundedReceiver}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `clone` and `slice::Iter` [INFO] [stdout] --> src/state.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{clone, collections::HashMap, slice::Iter}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `output` [INFO] [stdout] --> src/child.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{output, cursor::Cursor}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/child.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | }, runtime::Runtime, sync::mpsc::{self, UnboundedReceiver}}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `clone` and `slice::Iter` [INFO] [stdout] --> src/state.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{clone, collections::HashMap, slice::Iter}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OutputType` is never used [INFO] [stdout] --> src/output.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum OutputType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputType` 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] [INFO] [stdout] [INFO] [stdout] warning: struct `Output` is never constructed [INFO] [stdout] --> src/output.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Output` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run_output`, and `print_buffer` are never used [INFO] [stdout] --> src/output.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Output { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 23 | pub fn new(recv: Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn run_output(mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | async fn print_buffer( [INFO] [stdout] | ^^^^^^^^^^^^ [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/child.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 25 | command_recv: UnboundedReceiver, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | output_send: Sender, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let mut cmd = Command::new(&proc); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | rt.block_on(async { [INFO] [stdout] | _________________^ [INFO] [stdout] 38 | | let mut child = cmd.spawn()?; [INFO] [stdout] 39 | | let cin = BufWriter::new( [INFO] [stdout] 40 | | child.stdin.take().expect("failed to get child input") [INFO] [stdout] ... | [INFO] [stdout] 55 | | Ok(()) [INFO] [stdout] 56 | | }) [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: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `viri` (bin "viri") due to 2 previous errors; 6 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: enum `OutputType` is never used [INFO] [stdout] --> src/output.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum OutputType { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `OutputType` 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] [INFO] [stdout] [INFO] [stdout] warning: struct `Output` is never constructed [INFO] [stdout] --> src/output.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Output { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Output` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `run_output`, and `print_buffer` are never used [INFO] [stdout] --> src/output.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl Output { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 23 | pub fn new(recv: Receiver) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub async fn run_output(mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | async fn print_buffer( [INFO] [stdout] | ^^^^^^^^^^^^ [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/child.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 25 | command_recv: UnboundedReceiver, [INFO] [stdout] | ---------------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 26 | output_send: Sender, [INFO] [stdout] | --------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 29 | let mut cmd = Command::new(&proc); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 37 | rt.block_on(async { [INFO] [stdout] | _________________^ [INFO] [stdout] 38 | | let mut child = cmd.spawn()?; [INFO] [stdout] 39 | | let cin = BufWriter::new( [INFO] [stdout] 40 | | child.stdin.take().expect("failed to get child input") [INFO] [stdout] ... | [INFO] [stdout] 55 | | Ok(()) [INFO] [stdout] 56 | | }) [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: aborting due to 1 previous error; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `viri` (bin "viri" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "55ee274e048661eb516c2d5889462cfa6876faf6e4be42740e51516d76d187b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "55ee274e048661eb516c2d5889462cfa6876faf6e4be42740e51516d76d187b2", kill_on_drop: false }` [INFO] [stdout] 55ee274e048661eb516c2d5889462cfa6876faf6e4be42740e51516d76d187b2