[INFO] cloning repository https://github.com/kstrohbeck/aoc-2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kstrohbeck/aoc-2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrohbeck%2Faoc-2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrohbeck%2Faoc-2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 30940d65f60c3d781b0bde46e443339c7698b582 [INFO] checking kstrohbeck/aoc-2021 against try#23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 for pr-115950 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkstrohbeck%2Faoc-2021" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kstrohbeck/aoc-2021 on toolchain 23ffd2897cbb44320ca18dfe4d05dbacb37d55e0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kstrohbeck/aoc-2021 [INFO] finished tweaking git repo https://github.com/kstrohbeck/aoc-2021 [INFO] tweaked toml for git repo https://github.com/kstrohbeck/aoc-2021 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/kstrohbeck/aoc-2021 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" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c814edb13733c81670069dbad1fcefe8c35dc53736b30292ef9ace08113095e [INFO] running `Command { std: "docker" "start" "-a" "5c814edb13733c81670069dbad1fcefe8c35dc53736b30292ef9ace08113095e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c814edb13733c81670069dbad1fcefe8c35dc53736b30292ef9ace08113095e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c814edb13733c81670069dbad1fcefe8c35dc53736b30292ef9ace08113095e", kill_on_drop: false }` [INFO] [stdout] 5c814edb13733c81670069dbad1fcefe8c35dc53736b30292ef9ace08113095e [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:4f8da3c744d2da974e54ce020a79f4ad54313e914ebeaab8fc086f07e8d8b066" "/opt/rustwide/cargo-home/bin/cargo" "+23ffd2897cbb44320ca18dfe4d05dbacb37d55e0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2db59fd5ab5bf63da6233b8f17cce7ad96a5e1aac3df1cfa48fe5482f57985ae [INFO] running `Command { std: "docker" "start" "-a" "2db59fd5ab5bf63da6233b8f17cce7ad96a5e1aac3df1cfa48fe5482f57985ae", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling num-bigint v0.4.3 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Checking itertools v0.10.1 [INFO] [stderr] Checking crossbeam-channel v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking num v0.4.0 [INFO] [stderr] Checking aoc-2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day_12.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/day_16.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | error::{Error, ErrorKind, ParseError}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::utils::Vec2d` [INFO] [stdout] --> src/day_19.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::utils::Vec2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> src/day_22.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt, ops}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `VecDeque` [INFO] [stdout] --> src/day_12.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | collections::{HashMap, HashSet, VecDeque}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/day_16.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | error::{Error, ErrorKind, ParseError}, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::utils::Vec2d` [INFO] [stdout] --> src/day_19.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::utils::Vec2d; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops` [INFO] [stdout] --> src/day_22.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{fmt, ops}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eight` [INFO] [stdout] --> src/day_08.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let eight = eight.ok_or("no 8 given")?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_eight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `heights` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day_09.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 46 | for coord in heights.all_coords() { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 79 | heights[coord] = Cell::Basin(basin); [INFO] [stdout] | ^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `eight` [INFO] [stdout] --> src/day_08.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | let eight = eight.ok_or("no 8 given")?; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_eight` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `grid` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day_15.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 14 | for (x, y) in grid.all_coords() { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 21 | grid[(x, y)] = risk; [INFO] [stdout] | ^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `heights` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day_09.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 46 | for coord in heights.all_coords() { [INFO] [stdout] | -------------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 79 | heights[coord] = Cell::Basin(basin); [INFO] [stdout] | ^^^^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_16.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | fn hex_string(mut input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_type` [INFO] [stdout] --> src/day_16.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | op_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `op_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_18.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | fn sum(mut iter: I) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | mut image, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | mut image, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0502]: cannot borrow `grid` as mutable because it is also borrowed as immutable [INFO] [stdout] --> src/day_15.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 14 | for (x, y) in grid.all_coords() { [INFO] [stdout] | ----------------- [INFO] [stdout] | | [INFO] [stdout] | immutable borrow occurs here [INFO] [stdout] | immutable borrow later used here [INFO] [stdout] ... [INFO] [stdout] 21 | grid[(x, y)] = risk; [INFO] [stdout] | ^^^^ mutable borrow occurs here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_16.rs:27:15 [INFO] [stdout] | [INFO] [stdout] 27 | fn hex_string(mut input: &str) -> IResult<&str, Vec> { [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_21.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_21.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `op_type` [INFO] [stdout] --> src/day_16.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | op_type, [INFO] [stdout] | ^^^^^^^ help: try ignoring the field: `op_type: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_18.rs:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | fn sum(mut iter: I) -> Self [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2021` (bin "aoc-2021") due to 3 previous errors; 12 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | mut image, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_20.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | mut image, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_21.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_21.rs:22:18 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut p1, mut p2) = parse(&data); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0502`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aoc-2021` (bin "aoc-2021" test) due to 3 previous errors; 12 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2db59fd5ab5bf63da6233b8f17cce7ad96a5e1aac3df1cfa48fe5482f57985ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2db59fd5ab5bf63da6233b8f17cce7ad96a5e1aac3df1cfa48fe5482f57985ae", kill_on_drop: false }` [INFO] [stdout] 2db59fd5ab5bf63da6233b8f17cce7ad96a5e1aac3df1cfa48fe5482f57985ae