[INFO] cloning repository https://github.com/Bwc9876/gh-grader-preview [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Bwc9876/gh-grader-preview" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBwc9876%2Fgh-grader-preview", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBwc9876%2Fgh-grader-preview'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 10ffee561c1e8bf046c6f3d4b438a8cb31387b23 [INFO] checking Bwc9876/gh-grader-preview/10ffee561c1e8bf046c6f3d4b438a8cb31387b23 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%2FBwc9876%2Fgh-grader-preview" "/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/Bwc9876/gh-grader-preview 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/Bwc9876/gh-grader-preview [INFO] finished tweaking git repo https://github.com/Bwc9876/gh-grader-preview [INFO] tweaked toml for git repo https://github.com/Bwc9876/gh-grader-preview written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Bwc9876/gh-grader-preview 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] 6523f0efae22520bd04fad9388f0a928a3b0ec4090487f801e1220c9700f7526 [INFO] running `Command { std: "docker" "start" "-a" "6523f0efae22520bd04fad9388f0a928a3b0ec4090487f801e1220c9700f7526", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6523f0efae22520bd04fad9388f0a928a3b0ec4090487f801e1220c9700f7526", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6523f0efae22520bd04fad9388f0a928a3b0ec4090487f801e1220c9700f7526", kill_on_drop: false }` [INFO] [stdout] 6523f0efae22520bd04fad9388f0a928a3b0ec4090487f801e1220c9700f7526 [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] cf2ee6478fb73537f8b64fa533433a99dcecbda1a7e4493f2b1679de2f9d0d8d [INFO] running `Command { std: "docker" "start" "-a" "cf2ee6478fb73537f8b64fa533433a99dcecbda1a7e4493f2b1679de2f9d0d8d", kill_on_drop: false }` [INFO] [stderr] Checking anstyle v1.0.6 [INFO] [stderr] Checking clap_lex v0.7.0 [INFO] [stderr] Checking strsim v0.11.0 [INFO] [stderr] Compiling serde v1.0.196 [INFO] [stderr] Compiling portable-atomic v1.6.0 [INFO] [stderr] Compiling anyhow v1.0.79 [INFO] [stderr] Compiling serde_json v1.0.113 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking ryu v1.0.16 [INFO] [stderr] Checking roff v0.2.1 [INFO] [stderr] Checking number_prefix v0.4.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Checking console v0.15.8 [INFO] [stderr] Checking wait-timeout v0.2.0 [INFO] [stderr] Checking anstream v0.6.11 [INFO] [stderr] Checking clap_builder v4.5.0 [INFO] [stderr] Checking indicatif v0.17.8 [INFO] [stderr] Checking regex-automata v0.4.5 [INFO] [stderr] Compiling clap_derive v4.5.0 [INFO] [stderr] Compiling serde_derive v1.0.196 [INFO] [stderr] Checking regex v1.10.3 [INFO] [stderr] Checking clap v4.5.0 [INFO] [stderr] Checking clap_complete v4.5.0 [INFO] [stderr] Checking clap_mangen v0.2.20 [INFO] [stderr] Checking gh-grader-preview v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `points` is never read [INFO] [stdout] --> src/grader.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TestCase { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub points: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/main.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 35 | let bar = ProgressBar::new_spinner(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | match test.run() { [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/grader.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 68 | let res = runner::run_phase(&self.run, &self.input, self.timeout as u64)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let matches = self.check_output(res.stdout.clone())?; [INFO] [stdout] 70 | Ok((matches, res)) [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] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `points` is never read [INFO] [stdout] --> src/grader.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct TestCase { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 28 | pub points: Option, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [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/main.rs:48:19 [INFO] [stdout] | [INFO] [stdout] 35 | let bar = ProgressBar::new_spinner(); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 48 | match test.run() { [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/runner.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 54 | let mut child = spawn_cmd(cmd) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let res = child.wait_timeout(duration); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | [INFO] [stdout] 72 | let nested_res = res [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let err = nested_res [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | Ok(TestResult { [INFO] [stdout] | ________^ [INFO] [stdout] 81 | | stdout: child.stdout.and_then(read_stream).unwrap_or_default(), [INFO] [stdout] 82 | | stderr: child.stderr.and_then(read_stream).unwrap_or_default(), [INFO] [stdout] 83 | | status: err, [INFO] [stdout] 84 | | }) [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] | [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 3 previous errors; 1 warning emitted [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/grader.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 68 | let res = runner::run_phase(&self.run, &self.input, self.timeout as u64)?; [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 69 | let matches = self.check_output(res.stdout.clone())?; [INFO] [stdout] 70 | Ok((matches, res)) [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] | [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/runner.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 54 | let mut child = spawn_cmd(cmd) [INFO] [stdout] | ----- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 70 | let res = child.wait_timeout(duration); [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 71 | [INFO] [stdout] 72 | let nested_res = res [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 76 | let err = nested_res [INFO] [stdout] | --- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 80 | Ok(TestResult { [INFO] [stdout] | ________^ [INFO] [stdout] 81 | | stdout: child.stdout.and_then(read_stream).unwrap_or_default(), [INFO] [stdout] 82 | | stderr: child.stderr.and_then(read_stream).unwrap_or_default(), [INFO] [stdout] 83 | | status: err, [INFO] [stdout] 84 | | }) [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] | [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 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `gh-grader-preview` (bin "gh-grader-preview" test) due to 4 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gh-grader-preview` (bin "gh-grader-preview") due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "cf2ee6478fb73537f8b64fa533433a99dcecbda1a7e4493f2b1679de2f9d0d8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf2ee6478fb73537f8b64fa533433a99dcecbda1a7e4493f2b1679de2f9d0d8d", kill_on_drop: false }` [INFO] [stdout] cf2ee6478fb73537f8b64fa533433a99dcecbda1a7e4493f2b1679de2f9d0d8d