[INFO] cloning repository https://github.com/Ascyii/AdventOfCode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ascyii/AdventOfCode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAscyii%2FAdventOfCode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAscyii%2FAdventOfCode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 82042031acbbaa9e4b81c66a131e6e46c516d7b1 [INFO] checking Ascyii/AdventOfCode/82042031acbbaa9e4b81c66a131e6e46c516d7b1 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAscyii%2FAdventOfCode" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ascyii/AdventOfCode on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/Ascyii/AdventOfCode [INFO] finished tweaking git repo https://github.com/Ascyii/AdventOfCode [INFO] tweaked toml for git repo https://github.com/Ascyii/AdventOfCode written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Ascyii/AdventOfCode 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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce227b2daa1e1478efea44e7e62725ff67922689fd8b84d653275f3fe88f9126 [INFO] running `Command { std: "docker" "start" "-a" "ce227b2daa1e1478efea44e7e62725ff67922689fd8b84d653275f3fe88f9126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce227b2daa1e1478efea44e7e62725ff67922689fd8b84d653275f3fe88f9126", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce227b2daa1e1478efea44e7e62725ff67922689fd8b84d653275f3fe88f9126", kill_on_drop: false }` [INFO] [stdout] ce227b2daa1e1478efea44e7e62725ff67922689fd8b84d653275f3fe88f9126 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0b4b26403ba7b062a75e79fcc09fbd478ee7dc76dc2e06133bac41348fb74243 [INFO] running `Command { std: "docker" "start" "-a" "0b4b26403ba7b062a75e79fcc09fbd478ee7dc76dc2e06133bac41348fb74243", kill_on_drop: false }` [INFO] [stderr] Checking aho-corasick v1.1.2 [INFO] [stderr] Checking regex-syntax v0.8.2 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking pico-args v0.5.0 [INFO] [stderr] Checking itertools v0.12.0 [INFO] [stderr] Checking regex-automata v0.4.3 [INFO] [stderr] Checking regex v1.10.2 [INFO] [stderr] Checking advent_of_code v0.9.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `mappings` [INFO] [stdout] --> src/bin/10.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mappings: HashMap<(usize, usize), Option<[(i32, i32); 2]>> = input [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mappings` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `directions` is never read [INFO] [stdout] --> src/bin/10.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | let mut directions: Option<[(i32, i32); 2]> = Some([(0, 0), (0, 0)]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `start` is never read [INFO] [stdout] --> src/bin/10.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | ... start = ((col_index, row_index), [(0, 0), (0, 0), (0, 0), (0, 0)]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/bin/10.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | ... start = ((col_index, row_index), [(0, 0), (0, 0), (0, 0), (0, 0)]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `energized` [INFO] [stdout] --> src/bin/16.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let energized: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_energized` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mappings` [INFO] [stdout] --> src/bin/10.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | let mappings: HashMap<(usize, usize), Option<[(i32, i32); 2]>> = input [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mappings` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/16.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | struct Position(usize, usize); [INFO] [stdout] | -------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `directions` is never read [INFO] [stdout] --> src/bin/10.rs:12:25 [INFO] [stdout] | [INFO] [stdout] 12 | let mut directions: Option<[(i32, i32); 2]> = Some([(0, 0), (0, 0)]); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `start` is never read [INFO] [stdout] --> src/bin/10.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | ... start = ((col_index, row_index), [(0, 0), (0, 0), (0, 0), (0, 0)]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> src/bin/10.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | ... start = ((col_index, row_index), [(0, 0), (0, 0), (0, 0), (0, 0)]); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: did you mean to capture by reference instead? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `energized` [INFO] [stdout] --> src/bin/16.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let energized: HashSet = HashSet::new(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_energized` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/bin/16.rs:16:17 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn part_two(input: &str) -> Option { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/bin/16.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | struct Position(usize, usize); [INFO] [stdout] | -------- ^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/08.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | let mut current = starter.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: call to `.clone()` on a reference in this situation does nothing [INFO] [stdout] --> src/bin/08.rs:102:34 [INFO] [stdout] | [INFO] [stdout] 102 | let mut current = starter.clone(); [INFO] [stdout] | ^^^^^^^^ help: remove this redundant call [INFO] [stdout] | [INFO] [stdout] = note: the type `str` does not implement `Clone`, so calling `clone` on `&str` copies the reference, which does not do anything and can be removed [INFO] [stdout] = note: `#[warn(noop_method_call)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.74s [INFO] running `Command { std: "docker" "inspect" "0b4b26403ba7b062a75e79fcc09fbd478ee7dc76dc2e06133bac41348fb74243", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b4b26403ba7b062a75e79fcc09fbd478ee7dc76dc2e06133bac41348fb74243", kill_on_drop: false }` [INFO] [stdout] 0b4b26403ba7b062a75e79fcc09fbd478ee7dc76dc2e06133bac41348fb74243