[INFO] cloning repository https://github.com/s33b00r/aoc23 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/s33b00r/aoc23" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs33b00r%2Faoc23", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs33b00r%2Faoc23'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 51818a8f3bd742d0bcaf1c3192e5bbefd898fc62 [INFO] checking s33b00r/aoc23 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fs33b00r%2Faoc23" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/s33b00r/aoc23 [INFO] finished tweaking git repo https://github.com/s33b00r/aoc23 [INFO] tweaked toml for git repo https://github.com/s33b00r/aoc23 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/s33b00r/aoc23 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/s33b00r/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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c38145fce7d8fe870218150dac9341574d872437d908245991035a425d7d027f [INFO] running `Command { std: "docker" "start" "-a" "c38145fce7d8fe870218150dac9341574d872437d908245991035a425d7d027f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c38145fce7d8fe870218150dac9341574d872437d908245991035a425d7d027f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c38145fce7d8fe870218150dac9341574d872437d908245991035a425d7d027f", kill_on_drop: false }` [INFO] [stdout] c38145fce7d8fe870218150dac9341574d872437d908245991035a425d7d027f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4379d3c5f4d45acd1bc03b4611398d171f315f00ba92db6d11fce1111e11f8fa [INFO] running `Command { std: "docker" "start" "-a" "4379d3c5f4d45acd1bc03b4611398d171f315f00ba92db6d11fce1111e11f8fa", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.70 [INFO] [stderr] Checking utf8parse v0.2.1 [INFO] [stderr] Checking colorchoice v1.0.0 [INFO] [stderr] Checking anstyle-query v1.0.0 [INFO] [stderr] Checking anstyle v1.0.4 [INFO] [stderr] Checking clap_lex v0.6.0 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Checking strsim v0.10.0 [INFO] [stderr] Checking md5 v0.7.0 [INFO] [stderr] Checking anstyle-parse v0.2.2 [INFO] [stderr] Checking anstream v0.6.4 [INFO] [stderr] Checking clap_builder v4.4.9 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Compiling syn v2.0.39 [INFO] [stderr] Compiling include_dir_macros v0.7.3 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking include_dir v0.7.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Checking clap v4.4.10 [INFO] [stderr] Checking y23 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `BTreeSet`, `HashSet`, and `ops::Range` [INFO] [stdout] --> src/bin/d14.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{time::Instant, ops::Range, collections::{HashSet, BTreeSet}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `string::ParseError` [INFO] [stdout] --> src/bin/d3.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{time::Instant, str::FromStr, convert::Infallible, string::ParseError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/d0.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 11 | todo!() [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 16 | result(solution, now.elapsed(), &args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/bin/d0.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let now = Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solution` [INFO] [stdout] --> src/bin/d0.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let solution: i32 = if !args.second { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `extra_math` should have an upper camel case name [INFO] [stdout] --> src/bin/d8.rs:76:7 [INFO] [stdout] | [INFO] [stdout] 76 | trait extra_math { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ExtraMath` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/d3.rs:48:53 [INFO] [stdout] | [INFO] [stdout] 48 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 49 | | let grid: Vec> = s.lines().map(|l| l.chars().collect()).collect(); [INFO] [stdout] 50 | | let width = grid[0].len() as i32; [INFO] [stdout] 51 | | let height = grid.len() as i32; [INFO] [stdout] 52 | | Ok(Grid{ grid, width, height }) [INFO] [stdout] 53 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/d3.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | Ok(Grid{ grid, width, height }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/d3.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | let grid = args.input.parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/bin/d0.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 11 | todo!() [INFO] [stdout] | ------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 16 | result(solution, now.elapsed(), &args); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/bin/d4.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Card { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 8 | id: usize, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/d2.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | Int(ParseIntError), [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GameParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 81 - Int(ParseIntError), [INFO] [stdout] 81 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/d2.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GameParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 - String(String), [INFO] [stdout] 82 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `y23` (bin "d3") due to 3 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/bin/d0.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let now = Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `solution` [INFO] [stdout] --> src/bin/d0.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let solution: i32 = if !args.second { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_solution` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeSet`, `HashSet`, and `ops::Range` [INFO] [stdout] --> src/bin/d14.rs:1:26 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{time::Instant, ops::Range, collections::{HashSet, BTreeSet}}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/d8.rs:54:53 [INFO] [stdout] | [INFO] [stdout] 54 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 55 | | let mut lines = s.lines(); [INFO] [stdout] 56 | | let instructions = lines.next().unwrap().to_string(); [INFO] [stdout] 57 | | let path = lines.skip(1).map(|l| { [INFO] [stdout] ... | [INFO] [stdout] 72 | | Ok(Map { path, instructions }) [INFO] [stdout] 73 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/d8.rs:72:9 [INFO] [stdout] | [INFO] [stdout] 72 | Ok(Map { path, instructions }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/d8.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | let map = args.input.parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `y23` (bin "d8" test) due to 3 previous errors; 1 warning emitted [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/d11.rs:16:53 [INFO] [stdout] | [INFO] [stdout] 16 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 17 | | let galaxies = s.lines().enumerate() [INFO] [stdout] 18 | | .map(|(y, l)| l.chars().enumerate() [INFO] [stdout] 19 | | .filter_map(|(x, c)| if c == '#' { Some((x, y)) } else { None }) [INFO] [stdout] ... | [INFO] [stdout] 31 | | Ok(GalaxyMap { galaxies, empty_horizontal, empty_vertical, empty_space_multiplier: 2 }) [INFO] [stdout] 32 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/d11.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | Ok(GalaxyMap { galaxies, empty_horizontal, empty_vertical, empty_space_multiplier: 2 }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/d11.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | let mut map = args.input.parse::().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/d13.rs:15:53 [INFO] [stdout] | [INFO] [stdout] 15 | fn from_str(s: &str) -> Result { [INFO] [stdout] | _____________________________________________________^ [INFO] [stdout] 16 | | let rows_as_number: Vec = s.lines() [INFO] [stdout] 17 | | .map(|l| l.chars().map(|c| if c == '#' { '1' } else { '0' }).collect::()) [INFO] [stdout] 18 | | .map(|s| usize::from_str_radix(s.as_str(), 2).unwrap()) [INFO] [stdout] ... | [INFO] [stdout] 34 | | Ok(Map { rows_as_number, cols_as_number }) [INFO] [stdout] 35 | | } [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/d13.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 34 | Ok(Map { rows_as_number, cols_as_number }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/bin/d13.rs:111:18 [INFO] [stdout] | [INFO] [stdout] 111 | .map(|l| l.parse::().unwrap()).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `y23` (bin "d11") due to 3 previous errors [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/d2.rs:81:9 [INFO] [stdout] | [INFO] [stdout] 81 | Int(ParseIntError), [INFO] [stdout] | --- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GameParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 81 - Int(ParseIntError), [INFO] [stdout] 81 + Int(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/bin/d2.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | String(String), [INFO] [stdout] | ------ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `GameParseError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 82 - String(String), [INFO] [stdout] 82 + String(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `y23` (bin "d13" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "4379d3c5f4d45acd1bc03b4611398d171f315f00ba92db6d11fce1111e11f8fa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4379d3c5f4d45acd1bc03b4611398d171f315f00ba92db6d11fce1111e11f8fa", kill_on_drop: false }` [INFO] [stdout] 4379d3c5f4d45acd1bc03b4611398d171f315f00ba92db6d11fce1111e11f8fa