[INFO] cloning repository https://github.com/RobJenks/google-code-jam [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/RobJenks/google-code-jam" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobJenks%2Fgoogle-code-jam", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FRobJenks%2Fgoogle-code-jam'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 53f48f7e42d0a913e0b67328936085f018ebbba7 [INFO] checking RobJenks/google-code-jam/53f48f7e42d0a913e0b67328936085f018ebbba7 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%2FRobJenks%2Fgoogle-code-jam" "/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/RobJenks/google-code-jam 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/RobJenks/google-code-jam [INFO] finished tweaking git repo https://github.com/RobJenks/google-code-jam [INFO] tweaked toml for git repo https://github.com/RobJenks/google-code-jam written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/RobJenks/google-code-jam 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] 46b6d6dc1f45c0c58a41b307b98b6ffb6945fef97a3561bfd887e3230b916f12 [INFO] running `Command { std: "docker" "start" "-a" "46b6d6dc1f45c0c58a41b307b98b6ffb6945fef97a3561bfd887e3230b916f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46b6d6dc1f45c0c58a41b307b98b6ffb6945fef97a3561bfd887e3230b916f12", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46b6d6dc1f45c0c58a41b307b98b6ffb6945fef97a3561bfd887e3230b916f12", kill_on_drop: false }` [INFO] [stdout] 46b6d6dc1f45c0c58a41b307b98b6ffb6945fef97a3561bfd887e3230b916f12 [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] 1ffc1952e1779e7d9fcaf9b6110d8694921c727d6d47480c823e5f9c0ef46fbd [INFO] running `Command { std: "docker" "start" "-a" "1ffc1952e1779e7d9fcaf9b6110d8694921c727d6d47480c823e5f9c0ef46fbd", kill_on_drop: false }` [INFO] [stderr] Checking google-code-jam v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `FromStr` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::{FromStr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/codejam_2018/round_1a_1.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FromStr` [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:2:16 [INFO] [stdout] | [INFO] [stdout] 2 | use std::str::{FromStr}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Grid` [INFO] [stdout] --> src/codejam_2018/qualifier_3.rs:87:17 [INFO] [stdout] | [INFO] [stdout] 87 | use super::{Grid, determine_best_size, build_grid}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std` [INFO] [stdout] --> src/codejam_2018/round_1a_1.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Grid` [INFO] [stdout] --> src/codejam_2018/round_1a_1.rs:129:30 [INFO] [stdout] | [INFO] [stdout] 129 | use super::{util::Input, Grid, load_grid, get_distribution }; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/codejam_2018/qualifier_3.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | while let next = best_cell(&grid, &size) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `while let` pattern [INFO] [stdout] --> src/codejam_2018/qualifier_3.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | while let next = best_cell(&grid, &size) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the loop will never exit [INFO] [stdout] = help: consider instead using a `loop { ... }` with a `let` inside it [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_lines` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_lines(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn read_file(path : &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_lines` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn read_file_lines(path: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create`, `get_line`, `get_line_as`, `get_line_components`, `get_line_components_as`, and `create_for_string` are never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Input { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 51 | pub fn create(pre_load: bool, data_path: &str) -> Input { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_line(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_line_as(&mut self) -> T [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_line_components(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_line_components_as(&mut self) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn create_for_string(data: &str) -> Input { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stdin_all` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn stdin_all() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `get_line_components` and `create_for_string` are never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Input { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_line_components(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn create_for_string(data: &str) -> Input { [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/codejam_2018/../util/mod.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | .map(|x| x.parse::().unwrap_or_else(|_| panic!("Failed to parse input component to desired type"))) [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; 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `google-code-jam` (bin "google-code-jam") due to 2 previous errors; 9 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `get_lines` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn get_lines(input: String) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn read_file(path : &str) -> String { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file_lines` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn read_file_lines(path: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create`, `get_line`, `get_line_as`, `get_line_components`, `get_line_components_as`, and `create_for_string` are never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Input { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 51 | pub fn create(pre_load: bool, data_path: &str) -> Input { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get_line(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | pub fn get_line_as(&mut self) -> T [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_line_components(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub fn get_line_components_as(&mut self) -> Vec [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn create_for_string(data: &str) -> Input { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `stdin_all` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn stdin_all() -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_line_components` is never used [INFO] [stdout] --> src/codejam_2018/../util/mod.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl Input { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 66 | pub fn get_line_components(&mut self) -> Vec { [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/codejam_2018/../util/mod.rs:75:22 [INFO] [stdout] | [INFO] [stdout] 75 | .map(|x| x.parse::().unwrap_or_else(|_| panic!("Failed to parse input component to desired type"))) [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; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `google-code-jam` (bin "google-code-jam" test) due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "1ffc1952e1779e7d9fcaf9b6110d8694921c727d6d47480c823e5f9c0ef46fbd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ffc1952e1779e7d9fcaf9b6110d8694921c727d6d47480c823e5f9c0ef46fbd", kill_on_drop: false }` [INFO] [stdout] 1ffc1952e1779e7d9fcaf9b6110d8694921c727d6d47480c823e5f9c0ef46fbd