[INFO] cloning repository https://github.com/omshankar1/advent-of-code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/omshankar1/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomshankar1%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomshankar1%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c28aee84b59d06763a9e88865683203e4a8361f0 [INFO] checking omshankar1/advent-of-code-2020 against master#7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 for pr-85387 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fomshankar1%2Fadvent-of-code-2020" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/omshankar1/advent-of-code-2020 on toolchain 7dc9ff5c629753b6930ecfe9a0446538b8e25fb7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/omshankar1/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/omshankar1/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/omshankar1/advent-of-code-2020 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/omshankar1/advent-of-code-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2e6706971d014544009420abcc3997da2753472b1593437572a130be01fcbe35 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "2e6706971d014544009420abcc3997da2753472b1593437572a130be01fcbe35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2e6706971d014544009420abcc3997da2753472b1593437572a130be01fcbe35", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e6706971d014544009420abcc3997da2753472b1593437572a130be01fcbe35", kill_on_drop: false }` [INFO] [stdout] 2e6706971d014544009420abcc3997da2753472b1593437572a130be01fcbe35 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+7dc9ff5c629753b6930ecfe9a0446538b8e25fb7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9b49d410dcd981bac620a4760c041469f9b44f7c033c1ec5bad85193f0dfd810 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9b49d410dcd981bac620a4760c041469f9b44f7c033c1ec5bad85193f0dfd810", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking adventofcode2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a02` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let a02 = a02_1::problem1(&input[..]); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_a02` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a02` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let a02 = a02_1::problem2(&input[..]); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_a02` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/a02_1.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `numchar_occurrences` [INFO] [stdout] --> src/a02_1.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn numchar_occurrences(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a02` [INFO] [stdout] --> src/main.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | let a02 = a02_1::problem1(&input[..]); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_a02` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a02` [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let a02 = a02_1::problem2(&input[..]); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_a02` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/a02_1.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let input = " [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_valid` [INFO] [stdout] --> src/a02_1.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn is_valid(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `numchar_occurrences` [INFO] [stdout] --> src/a02_1.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn numchar_occurrences(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.51s [INFO] running `Command { std: "docker" "inspect" "9b49d410dcd981bac620a4760c041469f9b44f7c033c1ec5bad85193f0dfd810", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b49d410dcd981bac620a4760c041469f9b44f7c033c1ec5bad85193f0dfd810", kill_on_drop: false }` [INFO] [stdout] 9b49d410dcd981bac620a4760c041469f9b44f7c033c1ec5bad85193f0dfd810