[INFO] cloning repository https://github.com/ledbettj/aoc2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ledbettj/aoc2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fledbettj%2Faoc2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fledbettj%2Faoc2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8aa5313d508ba816204c5ae76a03a18ffc51f930 [INFO] checking ledbettj/aoc2023 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%2Fledbettj%2Faoc2023" "/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/ledbettj/aoc2023 [INFO] finished tweaking git repo https://github.com/ledbettj/aoc2023 [INFO] tweaked toml for git repo https://github.com/ledbettj/aoc2023 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ledbettj/aoc2023 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/ledbettj/aoc2023 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] acd4b1eda38a8df3163a9e42deeb2997da24bc6b8f652298ee0e089911143b55 [INFO] running `Command { std: "docker" "start" "-a" "acd4b1eda38a8df3163a9e42deeb2997da24bc6b8f652298ee0e089911143b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "acd4b1eda38a8df3163a9e42deeb2997da24bc6b8f652298ee0e089911143b55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "acd4b1eda38a8df3163a9e42deeb2997da24bc6b8f652298ee0e089911143b55", kill_on_drop: false }` [INFO] [stdout] acd4b1eda38a8df3163a9e42deeb2997da24bc6b8f652298ee0e089911143b55 [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] ba4a143fd7523e1ed87bd8e268895682d6a4c60e42f82fc9b62bd5022b5812bc [INFO] running `Command { std: "docker" "start" "-a" "ba4a143fd7523e1ed87bd8e268895682d6a4c60e42f82fc9b62bd5022b5812bc", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-bigint v0.4.4 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Checking memchr v2.6.4 [INFO] [stderr] Compiling anyhow v1.0.75 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking colored v2.1.0 [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking num v0.4.1 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day17.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | .find(|(index, &coord)| coord == prev) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/day17.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | .find(|(index, &coord)| coord == prev) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (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/day11.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 16 | | let mut rows = HashSet::new(); [INFO] [stdout] 17 | | let mut cols = HashSet::new(); [INFO] [stdout] 18 | | let galaxies = s [INFO] [stdout] ... | [INFO] [stdout] 41 | | }) [INFO] [stdout] 42 | | } [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/day11.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / Ok(Self { [INFO] [stdout] 37 | | galaxies, [INFO] [stdout] 38 | | rows, [INFO] [stdout] 39 | | cols, [INFO] [stdout] 40 | | cost: 2, [INFO] [stdout] 41 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day13.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 20 | | let rows: Vec = s.lines().map(|s| s.into()).collect(); [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | let cols = (0..rows[0].len()) [INFO] [stdout] ... | [INFO] [stdout] 30 | | Ok(Self { rows, cols }) [INFO] [stdout] 31 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day13.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(Self { rows, cols }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day13.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|block| block.parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day16.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 21 | | let grid: HashMap<(isize, isize), char> = s [INFO] [stdout] 22 | | .trim() [INFO] [stdout] 23 | | .lines() [INFO] [stdout] ... | [INFO] [stdout] 44 | | }) [INFO] [stdout] 45 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day16.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / Ok(Self { [INFO] [stdout] 40 | | grid, [INFO] [stdout] 41 | | energy: HashSet::new(), [INFO] [stdout] 42 | | w, [INFO] [stdout] 43 | | h, [INFO] [stdout] 44 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day11.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 16 | | let mut rows = HashSet::new(); [INFO] [stdout] 17 | | let mut cols = HashSet::new(); [INFO] [stdout] 18 | | let galaxies = s [INFO] [stdout] ... | [INFO] [stdout] 41 | | }) [INFO] [stdout] 42 | | } [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/day11.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | / Ok(Self { [INFO] [stdout] 37 | | galaxies, [INFO] [stdout] 38 | | rows, [INFO] [stdout] 39 | | cols, [INFO] [stdout] 40 | | cost: 2, [INFO] [stdout] 41 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day11.rs:105:23 [INFO] [stdout] | [INFO] [stdout] 105 | let u: Universe = EXAMPLE_INPUT.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day11.rs:111:23 [INFO] [stdout] | [INFO] [stdout] 111 | let u: Universe = INPUT.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day11.rs:117:27 [INFO] [stdout] | [INFO] [stdout] 117 | let mut u: Universe = EXAMPLE_INPUT.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day11.rs:124:27 [INFO] [stdout] | [INFO] [stdout] 124 | let mut u: Universe = INPUT.parse().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day13.rs:19:51 [INFO] [stdout] | [INFO] [stdout] 19 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 20 | | let rows: Vec = s.lines().map(|s| s.into()).collect(); [INFO] [stdout] 21 | | [INFO] [stdout] 22 | | let cols = (0..rows[0].len()) [INFO] [stdout] ... | [INFO] [stdout] 30 | | Ok(Self { rows, cols }) [INFO] [stdout] 31 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day13.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | Ok(Self { rows, cols }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day13.rs:38:20 [INFO] [stdout] | [INFO] [stdout] 38 | .map(|block| block.parse().unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day16.rs:20:51 [INFO] [stdout] | [INFO] [stdout] 20 | fn from_str(s: &str) -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 21 | | let grid: HashMap<(isize, isize), char> = s [INFO] [stdout] 22 | | .trim() [INFO] [stdout] 23 | | .lines() [INFO] [stdout] ... | [INFO] [stdout] 44 | | }) [INFO] [stdout] 45 | | } [INFO] [stdout] | |___^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day16.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | / Ok(Self { [INFO] [stdout] 40 | | grid, [INFO] [stdout] 41 | | energy: HashSet::new(), [INFO] [stdout] 42 | | w, [INFO] [stdout] 43 | | h, [INFO] [stdout] 44 | | }) [INFO] [stdout] | |______^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day16.rs:163:25 [INFO] [stdout] | [INFO] [stdout] 163 | let mut m: Mirror = EXAMPLE_INPUT.parse().expect("Failed to parse Mirror"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day16.rs:169:25 [INFO] [stdout] | [INFO] [stdout] 169 | let mut m: Mirror = INPUT.parse().expect("Failed to parse Mirror"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day16.rs:175:25 [INFO] [stdout] | [INFO] [stdout] 175 | let mut m: Mirror = EXAMPLE_INPUT.parse().expect("Failed to parse Mirror"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/day16.rs:181:25 [INFO] [stdout] | [INFO] [stdout] 181 | let mut m: Mirror = INPUT.parse().expect("Failed to parse Mirror"); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc` (lib) due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `aoc` (lib test) due to 15 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ba4a143fd7523e1ed87bd8e268895682d6a4c60e42f82fc9b62bd5022b5812bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba4a143fd7523e1ed87bd8e268895682d6a4c60e42f82fc9b62bd5022b5812bc", kill_on_drop: false }` [INFO] [stdout] ba4a143fd7523e1ed87bd8e268895682d6a4c60e42f82fc9b62bd5022b5812bc