[INFO] cloning repository https://github.com/lgvacanti/adventofcode2023 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lgvacanti/adventofcode2023" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flgvacanti%2Fadventofcode2023", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flgvacanti%2Fadventofcode2023'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ee28af424d0f267bbdf4f362ae2c922768c7f4d0 [INFO] checking lgvacanti/adventofcode2023 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%2Flgvacanti%2Fadventofcode2023" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/lgvacanti/adventofcode2023 [INFO] finished tweaking git repo https://github.com/lgvacanti/adventofcode2023 [INFO] tweaked toml for git repo https://github.com/lgvacanti/adventofcode2023 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/lgvacanti/adventofcode2023 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/lgvacanti/adventofcode2023 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] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 44dbb6dce6975f5fff7876fdab7cdd64a9600c5020b3488263df05809331d196 [INFO] running `Command { std: "docker" "start" "-a" "44dbb6dce6975f5fff7876fdab7cdd64a9600c5020b3488263df05809331d196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44dbb6dce6975f5fff7876fdab7cdd64a9600c5020b3488263df05809331d196", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44dbb6dce6975f5fff7876fdab7cdd64a9600c5020b3488263df05809331d196", kill_on_drop: false }` [INFO] [stdout] 44dbb6dce6975f5fff7876fdab7cdd64a9600c5020b3488263df05809331d196 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 91ed3f6ed39009d045375978029136ec91df56c2366779a543c62f792dccf3a0 [INFO] running `Command { std: "docker" "start" "-a" "91ed3f6ed39009d045375978029136ec91df56c2366779a543c62f792dccf3a0", kill_on_drop: false }` [INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2021 which implies `resolver = "2"` [INFO] [stderr] | [INFO] [stderr] = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest [INFO] [stderr] = note: to use the edition 2021 resolver, specify `workspace.resolver = "2"` in the workspace root's manifest [INFO] [stderr] = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stderr] Checking day00 v0.1.0 (/opt/rustwide/workdir/day00) [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/day02) [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> day00/src/bin/part2.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | fn part2(input: &str) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> day00/src/bin/part2.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | fn part2(input: &str) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `len` are never used [INFO] [stdout] --> day03/src/bin/part2.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 111 | / impl Map [INFO] [stdout] 112 | | where [INFO] [stdout] 113 | | T: Clone + Copy, [INFO] [stdout] | |____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | fn get(self, x: usize, y: usize) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn len(&self) -> 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: associated items `new`, `fits_in`, and `print_contents` are never used [INFO] [stdout] --> day03/src/bin/part2.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 139 | impl LinearMapSection { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 140 | fn new(start: usize, end: usize) -> LinearMapSection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn fits_in(self, map: &Map) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | fn print_contents(self, map: &Map) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `len` are never used [INFO] [stdout] --> day03/src/bin/part1.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 100 | / impl Map [INFO] [stdout] 101 | | where [INFO] [stdout] 102 | | T: Clone + Copy, [INFO] [stdout] | |____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn get(self, x: usize, y: usize) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn len(&self) -> 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: associated items `new` and `fits_in` are never used [INFO] [stdout] --> day03/src/bin/part1.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl LinearMapSection { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 129 | fn new(start: usize, end: usize) -> LinearMapSection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn fits_in(self, map: &Map) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day03/src/bin/part2.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | / String::from_iter(map.m[self.start..=self.end].iter()) [INFO] [stdout] 194 | | .parse() [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] --> day03/src/bin/part1.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | / String::from_iter(map.m[self.start..=self.end].iter()) [INFO] [stdout] 183 | | .parse() [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `len` are never used [INFO] [stdout] --> day03/src/bin/part1.rs:113:8 [INFO] [stdout] | [INFO] [stdout] 100 | / impl Map [INFO] [stdout] 101 | | where [INFO] [stdout] 102 | | T: Clone + Copy, [INFO] [stdout] | |____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | fn get(self, x: usize, y: usize) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn len(&self) -> 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: associated items `new`, `fits_in`, and `print_contents` are never used [INFO] [stdout] --> day03/src/bin/part1.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 128 | impl LinearMapSection { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 129 | fn new(start: usize, end: usize) -> LinearMapSection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | fn fits_in(self, map: &Map) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | fn print_contents(self, map: &Map) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day03` (bin "part2") due to 1 previous error; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day03/src/bin/part1.rs:182:9 [INFO] [stdout] | [INFO] [stdout] 182 | / String::from_iter(map.m[self.start..=self.end].iter()) [INFO] [stdout] 183 | | .parse() [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day03` (bin "part1") due to 1 previous error; 2 warnings emitted [INFO] [stderr] error: could not compile `day03` (bin "part1" test) due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> day00/src/bin/part1.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | fn part1(input: &str) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> day02/src/bin/part2.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | for (n, game) in games.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> day02/src/bin/part2.rs:24:10 [INFO] [stdout] | [INFO] [stdout] 24 | for (n, game) in games.iter().enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> day00/src/bin/part1.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | fn part1(input: &str) -> u32 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get` and `len` are never used [INFO] [stdout] --> day03/src/bin/part2.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 111 | / impl Map [INFO] [stdout] 112 | | where [INFO] [stdout] 113 | | T: Clone + Copy, [INFO] [stdout] | |____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 124 | fn get(self, x: usize, y: usize) -> T { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 128 | fn len(&self) -> 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: associated items `new`, `fits_in`, and `print_contents` are never used [INFO] [stdout] --> day03/src/bin/part2.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 139 | impl LinearMapSection { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 140 | fn new(start: usize, end: usize) -> LinearMapSection { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 145 | fn fits_in(self, map: &Map) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | fn print_contents(self, map: &Map) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> day03/src/bin/part2.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | / String::from_iter(map.m[self.start..=self.end].iter()) [INFO] [stdout] 194 | | .parse() [INFO] [stdout] | |____________________^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `day03` (bin "part2" test) due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "91ed3f6ed39009d045375978029136ec91df56c2366779a543c62f792dccf3a0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91ed3f6ed39009d045375978029136ec91df56c2366779a543c62f792dccf3a0", kill_on_drop: false }` [INFO] [stdout] 91ed3f6ed39009d045375978029136ec91df56c2366779a543c62f792dccf3a0