[INFO] cloning repository https://github.com/Kortekaasy/aoc2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Kortekaasy/aoc2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKortekaasy%2Faoc2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKortekaasy%2Faoc2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2ceebe85265be419901f474142f6fc54143ecbff [INFO] checking Kortekaasy/aoc2020 against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FKortekaasy%2Faoc2020" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Kortekaasy/aoc2020 [INFO] finished tweaking git repo https://github.com/Kortekaasy/aoc2020 [INFO] tweaked toml for git repo https://github.com/Kortekaasy/aoc2020 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Kortekaasy/aoc2020 on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Kortekaasy/aoc2020 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pest_derive v2.1.0 [INFO] [stderr] Downloaded fake-simd v0.1.2 [INFO] [stderr] Downloaded pest_generator v2.1.3 [INFO] [stderr] Downloaded opaque-debug v0.2.3 [INFO] [stderr] Downloaded pest_consume_macros v1.0.6 [INFO] [stderr] Downloaded maplit v1.0.2 [INFO] [stderr] Downloaded block-padding v0.1.5 [INFO] [stderr] Downloaded digest v0.8.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.24 [INFO] [stderr] Downloaded pest_consume v1.0.6 [INFO] [stderr] Downloaded block-buffer v0.7.3 [INFO] [stderr] Downloaded typenum v1.12.0 [INFO] [stderr] Downloaded pest_meta v2.1.3 [INFO] [stderr] Downloaded sha-1 v0.8.2 [INFO] [stderr] Downloaded byte-tools v0.3.1 [INFO] [stderr] Downloaded syn v1.0.54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4811a48ec4bd38096c4feb105f865f047349fd254b7e95fb2ca430c99a9b7717 [INFO] running `Command { std: "docker" "start" "-a" "4811a48ec4bd38096c4feb105f865f047349fd254b7e95fb2ca430c99a9b7717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4811a48ec4bd38096c4feb105f865f047349fd254b7e95fb2ca430c99a9b7717", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4811a48ec4bd38096c4feb105f865f047349fd254b7e95fb2ca430c99a9b7717", kill_on_drop: false }` [INFO] [stdout] 4811a48ec4bd38096c4feb105f865f047349fd254b7e95fb2ca430c99a9b7717 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e3a97c08fc669e4584d375c8c4630882492c6a78edac2b58a82e8b905c6f462c [INFO] running `Command { std: "docker" "start" "-a" "e3a97c08fc669e4584d375c8c4630882492c6a78edac2b58a82e8b905c6f462c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Checking ucd-trie v0.1.3 [INFO] [stderr] Checking day12 v0.1.0 (/opt/rustwide/workdir/day12) [INFO] [stderr] Checking day14 v0.1.0 (/opt/rustwide/workdir/day14) [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day14/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> day14/src/main.rs:18:25 [INFO] [stdout] | [INFO] [stdout] 18 | _ => panic!(format!("Invalid char {}", c)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 18 - _ => panic!(format!("Invalid char {}", c)), [INFO] [stdout] 18 + _ => panic!("Invalid char {}", c), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> day14/src/main.rs:64:25 [INFO] [stdout] | [INFO] [stdout] 64 | _ => panic!(format!("Invalid char {}", c)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: this usage of `panic!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `panic!()` macro supports formatting, so there's no need for the `format!()` macro here [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 64 - _ => panic!(format!("Invalid char {}", c)), [INFO] [stdout] 64 + _ => panic!("Invalid char {}", c), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day02 v0.1.0 (/opt/rustwide/workdir/day02) [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day12/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day02/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Checking day07 v0.1.0 (/opt/rustwide/workdir/day07) [INFO] [stderr] Checking day09 v0.1.0 (/opt/rustwide/workdir/day09) [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day07/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking pest v2.1.3 [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day09/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day13 v0.1.0 (/opt/rustwide/workdir/day13) [INFO] [stderr] Checking day15 v0.1.0 (/opt/rustwide/workdir/day15) [INFO] [stderr] Checking day10 v0.1.0 (/opt/rustwide/workdir/day10) [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day13/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day04 v0.1.0 (/opt/rustwide/workdir/day04) [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day10/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day11 v0.1.0 (/opt/rustwide/workdir/day11) [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day11/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day15/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day06 v0.1.0 (/opt/rustwide/workdir/day06) [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day04/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day05 v0.1.0 (/opt/rustwide/workdir/day05) [INFO] [stderr] Checking day17 v0.1.0 (/opt/rustwide/workdir/day17) [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day06/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day05/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day08 v0.1.0 (/opt/rustwide/workdir/day08) [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day17/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day03 v0.1.0 (/opt/rustwide/workdir/day03) [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day08/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cyc` [INFO] [stdout] --> day17/src/main.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | for cyc in 0..cycles { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cyc` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day01 v0.1.0 (/opt/rustwide/workdir/day01) [INFO] [stdout] warning: unused variable: `cyc` [INFO] [stdout] --> day17/src/main.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | for cyc in 0..cycles { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cyc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_map` is never used [INFO] [stdout] --> day17/src/main.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn print_map(map: &HashMap>>, range: i64) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print_map2` is never used [INFO] [stdout] --> day17/src/main.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | pub fn print_map2(map: &HashMap>>>, range: i64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day03/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking day16 v0.1.0 (/opt/rustwide/workdir/day16) [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day01/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day16/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling pest_consume_macros v1.0.6 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Checking pest_consume v1.0.6 [INFO] [stderr] Checking day18 v0.1.0 (/opt/rustwide/workdir/day18) [INFO] [stdout] warning: found module declaration for main.rs [INFO] [stdout] --> day18/src/lib.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | mod main; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: a binary crate cannot be used as library [INFO] [stdout] = note: `#[warn(special_module_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking advent_of_code2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.87s [INFO] running `Command { std: "docker" "inspect" "e3a97c08fc669e4584d375c8c4630882492c6a78edac2b58a82e8b905c6f462c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3a97c08fc669e4584d375c8c4630882492c6a78edac2b58a82e8b905c6f462c", kill_on_drop: false }` [INFO] [stdout] e3a97c08fc669e4584d375c8c4630882492c6a78edac2b58a82e8b905c6f462c