[INFO] cloning repository https://github.com/PrzemoRevolve/aoc2020_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/PrzemoRevolve/aoc2020_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrzemoRevolve%2Faoc2020_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrzemoRevolve%2Faoc2020_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca62496cd228c5ab59279bc6e1e831d1553eb2f4 [INFO] documenting PrzemoRevolve/aoc2020_rust against 1.55.0 for beta-1.56-rustdoc-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrzemoRevolve%2Faoc2020_rust" "/workspace/builds/worker-86/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-86/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PrzemoRevolve/aoc2020_rust on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/PrzemoRevolve/aoc2020_rust [INFO] finished tweaking git repo https://github.com/PrzemoRevolve/aoc2020_rust [INFO] tweaked toml for git repo https://github.com/PrzemoRevolve/aoc2020_rust written to /workspace/builds/worker-86/source/Cargo.toml [INFO] crate git repo https://github.com/PrzemoRevolve/aoc2020_rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 463f246dcafc2cb3144abe860bd1f34353d9a4676c12a4d4d716bdde37571fc5 [INFO] running `Command { std: "docker" "start" "-a" "463f246dcafc2cb3144abe860bd1f34353d9a4676c12a4d4d716bdde37571fc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "463f246dcafc2cb3144abe860bd1f34353d9a4676c12a4d4d716bdde37571fc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "463f246dcafc2cb3144abe860bd1f34353d9a4676c12a4d4d716bdde37571fc5", kill_on_drop: false }` [INFO] [stdout] 463f246dcafc2cb3144abe860bd1f34353d9a4676c12a4d4d716bdde37571fc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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" "RUSTDOCFLAGS=--cap-lints=warn" "-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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "doc" "--frozen" "--no-deps" "--document-private-items" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6d7cf4fa3b75f7fca3598b05ba99c69cdce517c742bf5051610582fac77fb553 [INFO] running `Command { std: "docker" "start" "-a" "6d7cf4fa3b75f7fca3598b05ba99c69cdce517c742bf5051610582fac77fb553", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Checking itertools v0.9.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking regex v1.4.2 [INFO] [stderr] Checking num v0.3.1 [INFO] [stderr] Checking aoc2020_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Documenting aoc2020_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `itertools::Itertools` [INFO] [stdout] --> src/days/day16.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use itertools::Itertools; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `first_answer` [INFO] [stdout] --> src/days/day16.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::{first_answer, read_input_no_skip, second_answer}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/days/day21.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rules` [INFO] [stdout] --> src/days/day19.rs:39:10 [INFO] [stdout] | [INFO] [stdout] 39 | let (rules, data) = parse(input); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/days/day19.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let (rules, data) = parse(input); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `d` [INFO] [stdout] --> src/days/day19.rs:60:32 [INFO] [stdout] | [INFO] [stdout] 60 | } else if let Some(d) = or_exp.captures(rest) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/days/day20.rs:172:19 [INFO] [stdout] | [INFO] [stdout] 172 | fn second_problem(input: &Input) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> src/days/day21.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | fn second_problem(input: &Input) -> String { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `first_problem` [INFO] [stdout] --> src/days/day16.rs:29:4 [INFO] [stdout] | [INFO] [stdout] 29 | fn first_problem(input: &Vec<String>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rotated` [INFO] [stdout] --> src/days/day20.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | rotated: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `into_array` [INFO] [stdout] --> src/days/day20.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | fn into_array(&self) -> [&Edge; 4] { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print_edges` [INFO] [stdout] --> src/days/day20.rs:100:8 [INFO] [stdout] | [INFO] [stdout] 100 | fn print_edges(&self) -> () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/days/day20.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn print(&self) -> () { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `rotate` [INFO] [stdout] --> src/days/day20.rs:131:8 [INFO] [stdout] | [INFO] [stdout] 131 | fn rotate(&mut self, times: Option<usize>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rotate_edges` [INFO] [stdout] --> src/days/day20.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 176 | fn rotate_edges(edges: &Edges) -> Edges { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/days/day12.rs:36:29 [INFO] [stdout] | [INFO] [stdout] 36 | _ => panic!(format!("Unrecognized instruction {:?}", (i, l))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_fmt_panics)]` on by default [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [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] 36 | _ => panic!("Unrecognized instruction {:?}", (i, l)), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/days/day12.rs:38:25 [INFO] [stdout] | [INFO] [stdout] 38 | _ => panic!(format!("Unrecognized instruction {:?}", (i, l))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [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] 38 | _ => panic!("Unrecognized instruction {:?}", (i, l)), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/days/day12.rs:79:25 [INFO] [stdout] | [INFO] [stdout] 79 | _ => panic!(format!("Unrecognized instruction {:?}", (i, l))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [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] 79 | _ => panic!("Unrecognized instruction {:?}", (i, l)), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/days/day12.rs:104:21 [INFO] [stdout] | [INFO] [stdout] 104 | _ => panic!(format!("Unrecognized dir {:?}", from)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [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] 104 | _ => panic!("Unrecognized dir {:?}", from), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/days/day12.rs:114:21 [INFO] [stdout] | [INFO] [stdout] 114 | _ => panic!(format!("Unrecognized dir {:?}", from)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [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] 114 | _ => panic!("Unrecognized dir {:?}", from), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/days/day16.rs:115:24 [INFO] [stdout] | [INFO] [stdout] 115 | panic!(format!("Unreachable case, error parsing regex {}", l)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [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] 115 | panic!("Unreachable case, error parsing regex {}", l) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/days/day18.rs:87:48 [INFO] [stdout] | [INFO] [stdout] 87 | .unwrap_or_else(|_| panic!(format!("Err parse on {}", n))), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [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] 87 | .unwrap_or_else(|_| panic!("Err parse on {}", n)), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/days/day19.rs:105:24 [INFO] [stdout] | [INFO] [stdout] 105 | panic!(format!( [INFO] [stdout] | ________________________^ [INFO] [stdout] 106 | | "Parsing error, cannot parse to usize {} whole str: {}", [INFO] [stdout] 107 | | c, s [INFO] [stdout] 108 | | )) [INFO] [stdout] | |_________________^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [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] 105 | panic!( [INFO] [stdout] 106 | "Parsing error, cannot parse to usize {} whole str: {}", [INFO] [stdout] 107 | c, s [INFO] [stdout] 108 | ) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/days/day20.rs:219:29 [INFO] [stdout] | [INFO] [stdout] 219 | p => panic!(format!("Unrecognized pixel {}", p)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [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] 219 | p => panic!("Unrecognized pixel {}", p), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/days/day8.rs:66:25 [INFO] [stdout] | [INFO] [stdout] 66 | _ => panic!(format!( [INFO] [stdout] | _________________________^ [INFO] [stdout] 67 | | "Unrecognized instruction {}", [INFO] [stdout] 68 | | &instructions[i as usize].0 [INFO] [stdout] 69 | | )), [INFO] [stdout] | |_____________^ [INFO] [stdout] | [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 <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/panic-macro-consistency.html> [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] 66 | _ => panic!( [INFO] [stdout] 67 | "Unrecognized instruction {}", [INFO] [stdout] 68 | &instructions[i as usize].0 [INFO] [stdout] 69 | ), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.96s [INFO] running `Command { std: "docker" "inspect" "6d7cf4fa3b75f7fca3598b05ba99c69cdce517c742bf5051610582fac77fb553", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d7cf4fa3b75f7fca3598b05ba99c69cdce517c742bf5051610582fac77fb553", kill_on_drop: false }` [INFO] [stdout] 6d7cf4fa3b75f7fca3598b05ba99c69cdce517c742bf5051610582fac77fb553