[INFO] cloning repository https://github.com/Quinn1876/advent-of-code [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Quinn1876/advent-of-code" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuinn1876%2Fadvent-of-code", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuinn1876%2Fadvent-of-code'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7136b954e50224270f9556f67836600b8db9cf82 [INFO] checking Quinn1876/advent-of-code against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuinn1876%2Fadvent-of-code" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Quinn1876/advent-of-code on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Quinn1876/advent-of-code [INFO] finished tweaking git repo https://github.com/Quinn1876/advent-of-code [INFO] tweaked toml for git repo https://github.com/Quinn1876/advent-of-code written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Quinn1876/advent-of-code 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f75d9cca312000df490065608d239661f2529529e0a152db2e0bbd48d6982fd5 [INFO] running `Command { std: "docker" "start" "-a" "f75d9cca312000df490065608d239661f2529529e0a152db2e0bbd48d6982fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f75d9cca312000df490065608d239661f2529529e0a152db2e0bbd48d6982fd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f75d9cca312000df490065608d239661f2529529e0a152db2e0bbd48d6982fd5", kill_on_drop: false }` [INFO] [stdout] f75d9cca312000df490065608d239661f2529529e0a152db2e0bbd48d6982fd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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" "-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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1d9d37a3176f991aff728dfd925e368356dc8b16b636903f50165b653c42c3a [INFO] running `Command { std: "docker" "start" "-a" "d1d9d37a3176f991aff728dfd925e368356dc8b16b636903f50165b653c42c3a", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.3 [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `parse_lines` [INFO] [stdout] --> src/q3.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | use super::{parse_line, parse_lines, get_priority, get_common_chars}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/q5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Split` and `fmt::Error` [INFO] [stdout] --> src/q7.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{BufRead, Split}, fmt::Error, slice::Iter}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_lines` [INFO] [stdout] --> src/q7.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::common::{parse_lines, self}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::DerefMut` and `rc::Rc` [INFO] [stdout] --> src/q9.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, collections::{HashSet, HashMap}, rc::Rc, ops::DerefMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorryLevel` [INFO] [stdout] --> src/q11.rs:218:46 [INFO] [stdout] | [INFO] [stdout] 218 | use crate::q11::{parse_input_to_monkeys, WorryLevel}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::parse_lines` [INFO] [stdout] --> src/common.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::common::parse_lines; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parse_input` [INFO] [stdout] --> src/q1.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use super::parse_input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action` and `Round` [INFO] [stdout] --> src/q2.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | use crate::q2::{Round, Action}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parse_input` [INFO] [stdout] --> src/q2.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | use super::parse_input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_common_chars`, `get_priority`, `parse_line`, and `parse_lines` [INFO] [stdout] --> src/q3.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | use super::{parse_line, parse_lines, get_priority, get_common_chars}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Region`, `contains`, and `parse_line` [INFO] [stdout] --> src/q4.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | use super::{Region, contains, parse_line}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/q5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parse_boxes` [INFO] [stdout] --> src/q5.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | use super::parse_boxes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buffer` and `process_data_stream` [INFO] [stdout] --> src/q6.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | use super::{Buffer, process_data_stream}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Split` and `fmt::Error` [INFO] [stdout] --> src/q7.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{BufRead, Split}, fmt::Error, slice::Iter}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_lines` [INFO] [stdout] --> src/q7.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::common::{parse_lines, self}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::q7::File` [INFO] [stdout] --> src/q7.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | use crate::q7::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Directory`, `FileSystem`, `Token`, and `into_token_stream` [INFO] [stdout] --> src/q7.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | use super::{Token, into_token_stream, FileSystem, Directory}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `iter::zip` and `vec` [INFO] [stdout] --> src/q7.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | use std::{iter::zip, vec}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_most_scenic_tree`, `get_scenic_score`, and `parse_puzzle_input_to_tree_grid` [INFO] [stdout] --> src/q8.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | use crate::q8::{parse_puzzle_input_to_tree_grid, get_most_scenic_tree, get_scenic_score}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::get_visible_trees` [INFO] [stdout] --> src/q8.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | use super::get_visible_trees; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::DerefMut` and `rc::Rc` [INFO] [stdout] --> src/q9.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, collections::{HashSet, HashMap}, rc::Rc, ops::DerefMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::parse_lines` [INFO] [stdout] --> src/q9.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | use crate::common::parse_lines; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Direction` and `Grid` [INFO] [stdout] --> src/q9.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | use super::{Direction, Grid}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::parse_lines` [INFO] [stdout] --> src/q10.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use crate::common::parse_lines; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CpuEmulator` and `Instruction` [INFO] [stdout] --> src/q10.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | use super::{Instruction, CpuEmulator}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WorryLevel` and `parse_input_to_monkeys` [INFO] [stdout] --> src/q11.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | use crate::q11::{parse_input_to_monkeys, WorryLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MonkeyManager` and `Monkey` [INFO] [stdout] --> src/q11.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | use super::{Monkey, MonkeyManager}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/q7.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{BufRead, Split}, fmt::Error, slice::Iter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufRead` [INFO] [stdout] --> src/q9.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, collections::{HashSet, HashMap}, rc::Rc, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/q7.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{BufRead, Split}, fmt::Error, slice::Iter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufRead` [INFO] [stdout] --> src/q9.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, collections::{HashSet, HashMap}, rc::Rc, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_z` is never used [INFO] [stdout] --> src/q3.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ASCII_z: u64 = 172; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_vec` is never used [INFO] [stdout] --> src/q6.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl Buffer { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub unsafe fn get_vec(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PrintOut` is never used [INFO] [stdout] --> src/q8.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait PrintOut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_grid` is never used [INFO] [stdout] --> src/q9.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 172 | pub fn print_grid(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_crt_data` is never used [INFO] [stdout] --> src/q10.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl CpuEmulator { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn print_crt_data(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_monkeys` and `print_inspections` are never used [INFO] [stdout] --> src/q11.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl MonkeyManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn print_monkeys(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn print_inspections(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_a` should have an upper case name [INFO] [stdout] --> src/q3.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ASCII_a: u64 = 97; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `ASCII_A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_z` should have an upper case name [INFO] [stdout] --> src/q3.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ASCII_z: u64 = 172; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case (notice the capitalization): `ASCII_Z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_z` is never used [INFO] [stdout] --> src/q3.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ASCII_z: u64 = 172; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PrintOut` is never used [INFO] [stdout] --> src/q8.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait PrintOut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_crt_data` is never used [INFO] [stdout] --> src/q10.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl CpuEmulator { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn print_crt_data(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_a` should have an upper case name [INFO] [stdout] --> src/q3.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ASCII_a: u64 = 97; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `ASCII_A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_z` should have an upper case name [INFO] [stdout] --> src/q3.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ASCII_z: u64 = 172; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case (notice the capitalization): `ASCII_Z` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.59s [INFO] running `Command { std: "docker" "inspect" "d1d9d37a3176f991aff728dfd925e368356dc8b16b636903f50165b653c42c3a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1d9d37a3176f991aff728dfd925e368356dc8b16b636903f50165b653c42c3a", kill_on_drop: false }` [INFO] [stdout] d1d9d37a3176f991aff728dfd925e368356dc8b16b636903f50165b653c42c3a [INFO] checking Quinn1876/advent-of-code against try#f9935d29d867449445ee008640ccca1bf1ae0889+rustflags=-Dtail_expr_drop_order for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FQuinn1876%2Fadvent-of-code" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Quinn1876/advent-of-code on toolchain f9935d29d867449445ee008640ccca1bf1ae0889 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Quinn1876/advent-of-code [INFO] finished tweaking git repo https://github.com/Quinn1876/advent-of-code [INFO] tweaked toml for git repo https://github.com/Quinn1876/advent-of-code written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Quinn1876/advent-of-code 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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 27f26e0f11bc32fe52882caac4ac7c4f7745a2e026d505b57e41f5cd0a201489 [INFO] running `Command { std: "docker" "start" "-a" "27f26e0f11bc32fe52882caac4ac7c4f7745a2e026d505b57e41f5cd0a201489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "27f26e0f11bc32fe52882caac4ac7c4f7745a2e026d505b57e41f5cd0a201489", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "27f26e0f11bc32fe52882caac4ac7c4f7745a2e026d505b57e41f5cd0a201489", kill_on_drop: false }` [INFO] [stdout] 27f26e0f11bc32fe52882caac4ac7c4f7745a2e026d505b57e41f5cd0a201489 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+f9935d29d867449445ee008640ccca1bf1ae0889" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7347b87e061ab5873c015ae3366ef5140dffe0169a65be4c0191be84648201cb [INFO] running `Command { std: "docker" "start" "-a" "7347b87e061ab5873c015ae3366ef5140dffe0169a65be4c0191be84648201cb", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.3 [INFO] [stderr] Checking advent-of-code v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::common::parse_lines` [INFO] [stdout] --> src/common.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | use crate::common::parse_lines; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parse_input` [INFO] [stdout] --> src/q1.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 40 | use super::parse_input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Action` and `Round` [INFO] [stdout] --> src/q2.rs:183:21 [INFO] [stdout] | [INFO] [stdout] 183 | use crate::q2::{Round, Action}; [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parse_input` [INFO] [stdout] --> src/q2.rs:185:9 [INFO] [stdout] | [INFO] [stdout] 185 | use super::parse_input; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_common_chars`, `get_priority`, `parse_line`, and `parse_lines` [INFO] [stdout] --> src/q3.rs:81:17 [INFO] [stdout] | [INFO] [stdout] 81 | use super::{parse_line, parse_lines, get_priority, get_common_chars}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_lines` [INFO] [stdout] --> src/q3.rs:81:29 [INFO] [stdout] | [INFO] [stdout] 81 | use super::{parse_line, parse_lines, get_priority, get_common_chars}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/q5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Split` and `fmt::Error` [INFO] [stdout] --> src/q7.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{BufRead, Split}, fmt::Error, slice::Iter}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_lines` [INFO] [stdout] --> src/q7.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::common::{parse_lines, self}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::DerefMut` and `rc::Rc` [INFO] [stdout] --> src/q9.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, collections::{HashSet, HashMap}, rc::Rc, ops::DerefMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WorryLevel` [INFO] [stdout] --> src/q11.rs:218:46 [INFO] [stdout] | [INFO] [stdout] 218 | use crate::q11::{parse_input_to_monkeys, WorryLevel}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Region`, `contains`, and `parse_line` [INFO] [stdout] --> src/q4.rs:64:17 [INFO] [stdout] | [INFO] [stdout] 64 | use super::{Region, contains, parse_line}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/q5.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::parse_boxes` [INFO] [stdout] --> src/q5.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | use super::parse_boxes; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Buffer` and `process_data_stream` [INFO] [stdout] --> src/q6.rs:67:17 [INFO] [stdout] | [INFO] [stdout] 67 | use super::{Buffer, process_data_stream}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Split` and `fmt::Error` [INFO] [stdout] --> src/q7.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{BufRead, Split}, fmt::Error, slice::Iter}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parse_lines` [INFO] [stdout] --> src/q7.rs:3:21 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::common::{parse_lines, self}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::q7::File` [INFO] [stdout] --> src/q7.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | use crate::q7::File; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Directory`, `FileSystem`, `Token`, and `into_token_stream` [INFO] [stdout] --> src/q7.rs:193:17 [INFO] [stdout] | [INFO] [stdout] 193 | use super::{Token, into_token_stream, FileSystem, Directory}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `iter::zip` and `vec` [INFO] [stdout] --> src/q7.rs:194:15 [INFO] [stdout] | [INFO] [stdout] 194 | use std::{iter::zip, vec}; [INFO] [stdout] | ^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `get_most_scenic_tree`, `get_scenic_score`, and `parse_puzzle_input_to_tree_grid` [INFO] [stdout] --> src/q8.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | use crate::q8::{parse_puzzle_input_to_tree_grid, get_most_scenic_tree, get_scenic_score}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::get_visible_trees` [INFO] [stdout] --> src/q8.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | use super::get_visible_trees; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ops::DerefMut` and `rc::Rc` [INFO] [stdout] --> src/q9.rs:1:57 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, collections::{HashSet, HashMap}, rc::Rc, ops::DerefMut}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::parse_lines` [INFO] [stdout] --> src/q9.rs:305:9 [INFO] [stdout] | [INFO] [stdout] 305 | use crate::common::parse_lines; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Direction` and `Grid` [INFO] [stdout] --> src/q9.rs:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | use super::{Direction, Grid}; [INFO] [stdout] | ^^^^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::common::parse_lines` [INFO] [stdout] --> src/q10.rs:142:9 [INFO] [stdout] | [INFO] [stdout] 142 | use crate::common::parse_lines; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CpuEmulator` and `Instruction` [INFO] [stdout] --> src/q10.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | use super::{Instruction, CpuEmulator}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `WorryLevel` and `parse_input_to_monkeys` [INFO] [stdout] --> src/q11.rs:218:22 [INFO] [stdout] | [INFO] [stdout] 218 | use crate::q11::{parse_input_to_monkeys, WorryLevel}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MonkeyManager` and `Monkey` [INFO] [stdout] --> src/q11.rs:220:17 [INFO] [stdout] | [INFO] [stdout] 220 | use super::{Monkey, MonkeyManager}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/q7.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{BufRead, Split}, fmt::Error, slice::Iter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufRead` [INFO] [stdout] --> src/q9.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, collections::{HashSet, HashMap}, rc::Rc, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BufRead` [INFO] [stdout] --> src/q7.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::{BufRead, Split}, fmt::Error, slice::Iter}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io::BufRead` [INFO] [stdout] --> src/q9.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{io::BufRead, collections::{HashSet, HashMap}, rc::Rc, ops::DerefMut}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_z` is never used [INFO] [stdout] --> src/q3.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ASCII_z: u64 = 172; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_vec` is never used [INFO] [stdout] --> src/q6.rs:44:19 [INFO] [stdout] | [INFO] [stdout] 21 | impl Buffer { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 44 | pub unsafe fn get_vec(&mut self) -> &mut Vec { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PrintOut` is never used [INFO] [stdout] --> src/q8.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait PrintOut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_grid` is never used [INFO] [stdout] --> src/q9.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 171 | impl Grid { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] 172 | pub fn print_grid(&self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_crt_data` is never used [INFO] [stdout] --> src/q10.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl CpuEmulator { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn print_crt_data(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `print_monkeys` and `print_inspections` are never used [INFO] [stdout] --> src/q11.rs:188:12 [INFO] [stdout] | [INFO] [stdout] 174 | impl MonkeyManager { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 188 | pub fn print_monkeys(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn print_inspections(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_a` should have an upper case name [INFO] [stdout] --> src/q3.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ASCII_a: u64 = 97; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `ASCII_A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_z` should have an upper case name [INFO] [stdout] --> src/q3.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ASCII_z: u64 = 172; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case (notice the capitalization): `ASCII_Z` [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/q9.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 220 | let mut tail_positions = HashSet::::default(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | tail_positions.insert(Position::default()); [INFO] [stdout] 222 | let mut first_knot = Knot::default(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | first_knot: Box::new(first_knot), [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/q11.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 143 | let re = Regex::new( [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | let captures = re.captures_iter(input); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | / captures.map(|cap: Captures| { [INFO] [stdout] 153 | | cap.into() [INFO] [stdout] 154 | | }).collect() [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 2 previous errors; 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` (lib) due to 3 previous errors; 33 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: constant `ASCII_z` is never used [INFO] [stdout] --> src/q3.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ASCII_z: u64 = 172; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PrintOut` is never used [INFO] [stdout] --> src/q8.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | trait PrintOut { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print_crt_data` is never used [INFO] [stdout] --> src/q10.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl CpuEmulator { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn print_crt_data(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_a` should have an upper case name [INFO] [stdout] --> src/q3.rs:12:7 [INFO] [stdout] | [INFO] [stdout] 12 | const ASCII_a: u64 = 97; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `ASCII_A` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ASCII_z` should have an upper case name [INFO] [stdout] --> src/q3.rs:13:7 [INFO] [stdout] | [INFO] [stdout] 13 | const ASCII_z: u64 = 172; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case (notice the capitalization): `ASCII_Z` [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/q9.rs:225:25 [INFO] [stdout] | [INFO] [stdout] 220 | let mut tail_positions = HashSet::::default(); [INFO] [stdout] | -------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 221 | tail_positions.insert(Position::default()); [INFO] [stdout] 222 | let mut first_knot = Knot::default(); [INFO] [stdout] | ---------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 225 | first_knot: Box::new(first_knot), [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/q11.rs:152:5 [INFO] [stdout] | [INFO] [stdout] 143 | let re = Regex::new( [INFO] [stdout] | -- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 151 | let captures = re.captures_iter(input); [INFO] [stdout] | -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 152 | / captures.map(|cap: Captures| { [INFO] [stdout] 153 | | cap.into() [INFO] [stdout] 154 | | }).collect() [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 2 previous errors; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code` (lib test) due to 3 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7347b87e061ab5873c015ae3366ef5140dffe0169a65be4c0191be84648201cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7347b87e061ab5873c015ae3366ef5140dffe0169a65be4c0191be84648201cb", kill_on_drop: false }` [INFO] [stdout] 7347b87e061ab5873c015ae3366ef5140dffe0169a65be4c0191be84648201cb