[INFO] cloning repository https://github.com/Draculente/aoc23 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Draculente/aoc23" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDraculente%2Faoc23", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FDraculente%2Faoc23'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ea021d1f30727c9cb207da81f5ae3a9f5641bb09 [INFO] checking Draculente/aoc23/ea021d1f30727c9cb207da81f5ae3a9f5641bb09 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%2FDraculente%2Faoc23" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Draculente/aoc23 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/Draculente/aoc23 [INFO] finished tweaking git repo https://github.com/Draculente/aoc23 [INFO] tweaked toml for git repo https://github.com/Draculente/aoc23 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Draculente/aoc23 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] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] ae366d73100c804973a6dcc0cb04da60423ea8920e0069364f04546ceedec88f [INFO] running `Command { std: "docker" "start" "-a" "ae366d73100c804973a6dcc0cb04da60423ea8920e0069364f04546ceedec88f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ae366d73100c804973a6dcc0cb04da60423ea8920e0069364f04546ceedec88f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae366d73100c804973a6dcc0cb04da60423ea8920e0069364f04546ceedec88f", kill_on_drop: false }` [INFO] [stdout] ae366d73100c804973a6dcc0cb04da60423ea8920e0069364f04546ceedec88f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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] 066efc462ad261dcc9cad7e886cdb0099a81569a086ef3133c0587a60829f6ca [INFO] running `Command { std: "docker" "start" "-a" "066efc462ad261dcc9cad7e886cdb0099a81569a086ef3133c0587a60829f6ca", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking aoc23 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn read_file(path: &str) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part1` is never used [INFO] [stdout] --> src/day1/mod.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn part1(input: Vec) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_part1_line` is never used [INFO] [stdout] --> src/day1/mod.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn handle_part1_line(line: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part2` is never used [INFO] [stdout] --> src/day1/mod.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn part2(input: Vec) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `handle_part2_line` is never used [INFO] [stdout] --> src/day1/mod.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn handle_part2_line(line: String) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Partial` is never constructed [INFO] [stdout] --> src/day5/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 6 | enum RuleRange{ [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 7 | Rule(i64, i64), [INFO] [stdout] 8 | Partial(i64) [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RuleRange` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rules` and `seeds` are never read [INFO] [stdout] --> src/day5/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 54 | struct Almanach { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 55 | rules: Arc, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 56 | seeds: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_file`, `run_one`, `location_from_seed`, `get_seed_ranges`, and `run_two` are never used [INFO] [stdout] --> src/day5/mod.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 59 | impl Almanach { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 64 | fn from_file(path: &str) -> anyhow::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn run_one(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | fn location_from_seed(rules: &Rules, seed: i64) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn get_seed_ranges(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn run_two(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day5/mod.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn part_one(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day5/mod.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn part_two(path: &str) -> Result { [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/day5/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut threads = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | / threads [INFO] [stdout] 116 | | .into_iter() [INFO] [stdout] 117 | | .map(|t| t.join().expect("Thread failed")) [INFO] [stdout] 118 | | .collect::, anyhow::Error>>() [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/day5/mod.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | .map(|t| t.join().expect("Thread failed")) [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [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/day5/mod.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | .and_then(|v| v.iter() [INFO] [stdout] | _______________________________^ [INFO] [stdout] 120 | | .min() [INFO] [stdout] 121 | | .ok_or(anyhow!("No min found")) [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/day5/mod.rs:125:70 [INFO] [stdout] | [INFO] [stdout] 125 | }).collect::, anyhow::Error>>().and_then(|v| v.iter().min().ok_or(anyhow!("No min found")).map(|i| *i)) [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/day5/mod.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(Self::new(rules, seeds)) [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: aborting due to 5 previous errors; 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc23` (bin "aoc23") due to 6 previous errors; 10 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/main.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn read_file(path: &str) -> Result, anyhow::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_one` is never used [INFO] [stdout] --> src/day5/mod.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | pub fn part_one(path: &str) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `part_two` is never used [INFO] [stdout] --> src/day5/mod.rs:159:8 [INFO] [stdout] | [INFO] [stdout] 159 | pub fn part_two(path: &str) -> Result { [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/day5/mod.rs:115:13 [INFO] [stdout] | [INFO] [stdout] 104 | let mut threads = Vec::new(); [INFO] [stdout] | ------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 115 | / threads [INFO] [stdout] 116 | | .into_iter() [INFO] [stdout] 117 | | .map(|t| t.join().expect("Thread failed")) [INFO] [stdout] 118 | | .collect::, anyhow::Error>>() [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/day5/mod.rs:117:26 [INFO] [stdout] | [INFO] [stdout] 117 | .map(|t| t.join().expect("Thread failed")) [INFO] [stdout] | - ^^^^^^^^ [INFO] [stdout] | | [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/day5/mod.rs:119:31 [INFO] [stdout] | [INFO] [stdout] 119 | .and_then(|v| v.iter() [INFO] [stdout] | _______________________________^ [INFO] [stdout] 120 | | .min() [INFO] [stdout] 121 | | .ok_or(anyhow!("No min found")) [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/day5/mod.rs:125:70 [INFO] [stdout] | [INFO] [stdout] 125 | }).collect::, anyhow::Error>>().and_then(|v| v.iter().min().ok_or(anyhow!("No min found")).map(|i| *i)) [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/day5/mod.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | Ok(Self::new(rules, seeds)) [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: aborting due to 5 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc23` (bin "aoc23" test) due to 6 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "066efc462ad261dcc9cad7e886cdb0099a81569a086ef3133c0587a60829f6ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "066efc462ad261dcc9cad7e886cdb0099a81569a086ef3133c0587a60829f6ca", kill_on_drop: false }` [INFO] [stdout] 066efc462ad261dcc9cad7e886cdb0099a81569a086ef3133c0587a60829f6ca