[INFO] cloning repository https://github.com/ddavison/advent-of-code-2020-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddavison/advent-of-code-2020-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddavison%2Fadvent-of-code-2020-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddavison%2Fadvent-of-code-2020-rust'... [INFO] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddavison%2Fadvent-of-code-2020-rust: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [INFO] cloning repository https://github.com/ddavison/advent-of-code-2020-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddavison/advent-of-code-2020-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddavison%2Fadvent-of-code-2020-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddavison%2Fadvent-of-code-2020-rust'... [INFO] [stderr] fatal: write error: No space left on device [INFO] [stderr] fatal: fetch-pack: invalid index-pack output [WARN] Retrying crate fetch in 3 seconds (attempt 2) [INFO] cloning repository https://github.com/ddavison/advent-of-code-2020-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ddavison/advent-of-code-2020-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddavison%2Fadvent-of-code-2020-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddavison%2Fadvent-of-code-2020-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9345d3f2f0f578a6e48922f21c66f169975f43cf [INFO] checking ddavison/advent-of-code-2020-rust against try#b047d5f4496a7526d91d0dddea494c05853f2a7b for pr-122661-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fddavison%2Fadvent-of-code-2020-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ddavison/advent-of-code-2020-rust [INFO] finished tweaking git repo https://github.com/ddavison/advent-of-code-2020-rust [INFO] tweaked toml for git repo https://github.com/ddavison/advent-of-code-2020-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ddavison/advent-of-code-2020-rust on toolchain b047d5f4496a7526d91d0dddea494c05853f2a7b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ddavison/advent-of-code-2020-rust 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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 830f2b8b213c479cc3d11cfdb8cd8def10391d9cc9a08eedc110f14f5f6c0c6c [INFO] running `Command { std: "docker" "start" "-a" "830f2b8b213c479cc3d11cfdb8cd8def10391d9cc9a08eedc110f14f5f6c0c6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "830f2b8b213c479cc3d11cfdb8cd8def10391d9cc9a08eedc110f14f5f6c0c6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "830f2b8b213c479cc3d11cfdb8cd8def10391d9cc9a08eedc110f14f5f6c0c6c", kill_on_drop: false }` [INFO] [stdout] 830f2b8b213c479cc3d11cfdb8cd8def10391d9cc9a08eedc110f14f5f6c0c6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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" "+b047d5f4496a7526d91d0dddea494c05853f2a7b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bf45fe934bc0a1ef321593a84b0837470a0ebda6702018792f61b529e56e46a6 [INFO] running `Command { std: "docker" "start" "-a" "bf45fe934bc0a1ef321593a84b0837470a0ebda6702018792f61b529e56e46a6", kill_on_drop: false }` [INFO] [stderr] Checking aoc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `sp` [INFO] [stdout] --> src/day_3/mod.rs:153:39 [INFO] [stdout] | [INFO] [stdout] 153 | self.points.iter().find(|(pt, sp)| pt.0 == x && pt.1 == y) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reqd_fields` [INFO] [stdout] --> src/day_4/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let reqd_fields: [&str; 8] = ["byr", "iyr", "eyr", "hgt", "hcl", "ecl", "pid", "cid"]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reqd_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/day_4/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/day_4/mod.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | .for_each(|p| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_4/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut vec: Vec> = Vec::new(); [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: fields `model` and `start_point` are never read [INFO] [stdout] --> src/day_3/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Toboggan { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | start_point: (u32, u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `up`, `down`, `left`, and `right` are never used [INFO] [stdout] --> src/day_3/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | trait Moveable { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 15 | fn up(&mut self) -> (u32, u32); [INFO] [stdout] | ^^ [INFO] [stdout] 16 | fn down(&mut self) -> (u32, u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | fn left(&mut self) -> (u32, u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | fn right(&mut self) -> (u32, u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `day_4` is never used [INFO] [stdout] --> src/day_4/mod.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn day_4(_part: Part, _input: &str) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/day_3/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | fn ride<'a>(&'a mut self, map: &'a Map) -> Vec<(&Point, &Space)> { [INFO] [stdout] | ^^ ^^ ------ ------ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 43 | fn ride<'a>(&'a mut self, map: &'a Map) -> Vec<(&'a Point, &'a Space)> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sp` [INFO] [stdout] --> src/day_3/mod.rs:153:39 [INFO] [stdout] | [INFO] [stdout] 153 | self.points.iter().find(|(pt, sp)| pt.0 == x && pt.1 == y) [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_sp` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `reqd_fields` [INFO] [stdout] --> src/day_4/mod.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | let reqd_fields: [&str; 8] = ["byr", "iyr", "eyr", "hgt", "hcl", "ecl", "pid", "cid"]; [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_reqd_fields` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `vec` [INFO] [stdout] --> src/day_4/mod.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | let mut vec: Vec> = Vec::new(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/day_4/mod.rs:14:20 [INFO] [stdout] | [INFO] [stdout] 14 | .for_each(|p| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/day_4/mod.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | let mut vec: Vec> = Vec::new(); [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: fields `model` and `start_point` are never read [INFO] [stdout] --> src/day_3/mod.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Toboggan { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 8 | model: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | start_point: (u32, u32), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `up`, `down`, `left`, and `right` are never used [INFO] [stdout] --> src/day_3/mod.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | trait Moveable { [INFO] [stdout] | -------- methods in this trait [INFO] [stdout] 15 | fn up(&mut self) -> (u32, u32); [INFO] [stdout] | ^^ [INFO] [stdout] 16 | fn down(&mut self) -> (u32, u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | fn left(&mut self) -> (u32, u32); [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | fn right(&mut self) -> (u32, u32); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/day_3/mod.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | fn ride<'a>(&'a mut self, map: &'a Map) -> Vec<(&Point, &Space)> { [INFO] [stdout] | ^^ ^^ ------ ------ the same lifetime is elided here [INFO] [stdout] | | | | [INFO] [stdout] | | | the same lifetime is elided here [INFO] [stdout] | | the lifetime is named here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 43 | fn ride<'a>(&'a mut self, map: &'a Map) -> Vec<(&'a Point, &'a Space)> { [INFO] [stdout] | ++ ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "bf45fe934bc0a1ef321593a84b0837470a0ebda6702018792f61b529e56e46a6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf45fe934bc0a1ef321593a84b0837470a0ebda6702018792f61b529e56e46a6", kill_on_drop: false }` [INFO] [stdout] bf45fe934bc0a1ef321593a84b0837470a0ebda6702018792f61b529e56e46a6