[INFO] cloning repository https://github.com/montanero/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/montanero/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontanero%2Faoc2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontanero%2Faoc2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cb10443da61c95c9955950f5a8d08da895ed776a [INFO] checking montanero/aoc2021 against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontanero%2Faoc2021" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] [stderr] error: unable to write file src/aoc/day02b.rs [INFO] [stderr] error: unable to write file src/aoc/day03a.rs [INFO] [stderr] error: unable to write file src/aoc/day04a.rs [INFO] [stderr] error: unable to write file src/aoc/day04b.rs [INFO] [stderr] error: unable to write file src/aoc/day05a.rs [INFO] [stderr] error: unable to write file src/aoc/day05b.rs [INFO] [stderr] error: unable to write file src/aoc/day06a.rs [INFO] [stderr] error: unable to write file src/aoc/day06b.rs [INFO] [stderr] error: unable to write file src/aoc/day07a.rs [INFO] [stderr] error: unable to write file src/aoc/day07b.rs [INFO] [stderr] error: unable to write file src/aoc/day08a.rs [INFO] [stderr] error: unable to write file src/aoc/day08b.rs [INFO] [stderr] error: unable to write file src/aoc/day09a.rs [INFO] [stderr] error: unable to write file src/aoc/day09b.rs [INFO] [stderr] error: unable to write file src/aoc/day10a.rs [INFO] [stderr] error: unable to write file src/aoc/day10b.rs [INFO] [stderr] error: unable to write file src/aoc/day11a.rs [INFO] [stderr] error: unable to write file src/aoc/day11b.rs [INFO] [stderr] error: unable to write file src/aoc/day12a.rs [INFO] [stderr] error: unable to write file src/aoc/day12b.rs [INFO] [stderr] error: unable to write file src/aoc/day13a.rs [INFO] [stderr] error: unable to write file src/aoc/day13b.rs [INFO] [stderr] error: unable to write file src/aoc/day14a.rs [INFO] [stderr] error: unable to write file src/aoc/day14b.rs [INFO] [stderr] error: unable to write file src/aoc/day15a.rs [INFO] [stderr] error: unable to write file src/aoc/day15b.rs [INFO] [stderr] error: unable to write file src/aoc/day16a.rs [INFO] [stderr] error: unable to write file src/aoc/day16b.rs [INFO] [stderr] error: unable to write file src/aoc/day17a.rs [INFO] [stderr] error: unable to write file src/aoc/day17b.rs [INFO] [stderr] error: unable to write file src/aoc/day18a.rs [INFO] [stderr] error: unable to write file src/aoc/day18b.rs [INFO] [stderr] error: unable to write file src/aoc/day19a.rs [INFO] [stderr] error: unable to write file src/aoc/day20a.rs [INFO] [stderr] error: unable to write file src/aoc/day20b.rs [INFO] [stderr] error: unable to write file src/aoc/day21a.rs [INFO] [stderr] error: unable to write file src/aoc/day21b.rs [INFO] [stderr] error: unable to write file src/aoc/day23a.rs [INFO] [stderr] error: unable to write file src/aoc/demo.rs [INFO] [stderr] error: unable to write file src/aoc/file.rs [INFO] [stderr] error: unable to write file src/main.rs [INFO] [stderr] fatal: unable to checkout working tree [INFO] [stderr] warning: Clone succeeded, but checkout failed. [INFO] [stderr] You can inspect what was checked out with 'git status' [INFO] [stderr] and retry with 'git restore --source=HEAD :/' [INFO] [stderr] [INFO] checking montanero/aoc2021 against try#5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 for pr-143808 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmontanero%2Faoc2021" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/montanero/aoc2021 [INFO] finished tweaking git repo https://github.com/montanero/aoc2021 [INFO] tweaked toml for git repo https://github.com/montanero/aoc2021 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/montanero/aoc2021 on toolchain 5de9e0e6cf775e94e0de2003f35e183f3f77bfe8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/montanero/aoc2021 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" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7d302b15016f44ec187a71d3c19659a6ab1b4f97c6a877b0517c23f3ce32bf52 [INFO] running `Command { std: "docker" "start" "-a" "7d302b15016f44ec187a71d3c19659a6ab1b4f97c6a877b0517c23f3ce32bf52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7d302b15016f44ec187a71d3c19659a6ab1b4f97c6a877b0517c23f3ce32bf52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d302b15016f44ec187a71d3c19659a6ab1b4f97c6a877b0517c23f3ce32bf52", kill_on_drop: false }` [INFO] [stdout] 7d302b15016f44ec187a71d3c19659a6ab1b4f97c6a877b0517c23f3ce32bf52 [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" "-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+5de9e0e6cf775e94e0de2003f35e183f3f77bfe8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abebf35be97e27c09e579a5bc9191e358cba8668d1b4613dedb2a615daa5ba1f [INFO] running `Command { std: "docker" "start" "-a" "abebf35be97e27c09e579a5bc9191e358cba8668d1b4613dedb2a615daa5ba1f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking itertools v0.8.2 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/day15a.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn solve() -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_file` is never used [INFO] [stdout] --> src/aoc/day15a.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn solve_file(f: &Path) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solver` is never constructed [INFO] [stdout] --> src/aoc/day15a.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | struct Solver { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create`, `create_initial_line`, `calculate`, and `fix` are never used [INFO] [stdout] --> src/aoc/day15a.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 24 | impl Solver { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 25 | fn create(levels: Vec>) -> Solver { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn create_initial_line(levels: &Vec>, y: usize, left_value: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | fn calculate(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn fix(&mut self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/aoc/day15a.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn read_file(p0: &Path) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_line` is never used [INFO] [stdout] --> src/aoc/day15a.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn parse_line(line: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve` is never used [INFO] [stdout] --> src/aoc/day15b.rs:6:15 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) fn solve() -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `solve_file` is never used [INFO] [stdout] --> src/aoc/day15b.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn solve_file(f: &Path) -> u32 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unfold` is never used [INFO] [stdout] --> src/aoc/day15b.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn unfold(tile: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unfold_x` is never used [INFO] [stdout] --> src/aoc/day15b.rs:25:4 [INFO] [stdout] | [INFO] [stdout] 25 | fn unfold_x(orig: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `unfold_y` is never used [INFO] [stdout] --> src/aoc/day15b.rs:40:4 [INFO] [stdout] | [INFO] [stdout] 40 | fn unfold_y(orig: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Solver` is never constructed [INFO] [stdout] --> src/aoc/day15b.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | struct Solver { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `create`, `create_initial_line`, `calculate`, and `fix` are never used [INFO] [stdout] --> src/aoc/day15b.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl Solver { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 63 | fn create(levels: Vec>) -> Solver { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn create_initial_line(levels: &Vec>, y: usize, left_value: u32) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | fn calculate(&mut self) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn fix(&mut self, x: usize, y: usize) -> bool { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_file` is never used [INFO] [stdout] --> src/aoc/day15b.rs:134:4 [INFO] [stdout] | [INFO] [stdout] 134 | fn read_file(p0: &Path) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_line` is never used [INFO] [stdout] --> src/aoc/day15b.rs:139:4 [INFO] [stdout] | [INFO] [stdout] 139 | fn parse_line(line: &str) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_lines` is never used [INFO] [stdout] --> src/aoc/file.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn read_lines(filename: &Path) -> io::Result>> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `input` is never used [INFO] [stdout] --> src/aoc/file.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn input(filename: &str) -> PathBuf { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1.91s [INFO] running `Command { std: "docker" "inspect" "abebf35be97e27c09e579a5bc9191e358cba8668d1b4613dedb2a615daa5ba1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abebf35be97e27c09e579a5bc9191e358cba8668d1b4613dedb2a615daa5ba1f", kill_on_drop: false }` [INFO] [stdout] abebf35be97e27c09e579a5bc9191e358cba8668d1b4613dedb2a615daa5ba1f