[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] testing PrzemoRevolve/aoc2020_rust against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPrzemoRevolve%2Faoc2020_rust" "/workspace/builds/worker-76/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-76/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/PrzemoRevolve/aoc2020_rust on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-76/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.60.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-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77a45459430d5b5885509dbc7ef7559f661134b8cc5e64f149fe50c42912f4bf [INFO] running `Command { std: "docker" "start" "-a" "77a45459430d5b5885509dbc7ef7559f661134b8cc5e64f149fe50c42912f4bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77a45459430d5b5885509dbc7ef7559f661134b8cc5e64f149fe50c42912f4bf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77a45459430d5b5885509dbc7ef7559f661134b8cc5e64f149fe50c42912f4bf", kill_on_drop: false }` [INFO] [stdout] 77a45459430d5b5885509dbc7ef7559f661134b8cc5e64f149fe50c42912f4bf [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ffbe58192e6159d00ece6668923d08714d6027198fcc29cd5648c65c2511a3b6 [INFO] running `Command { std: "docker" "start" "-a" "ffbe58192e6159d00ece6668923d08714d6027198fcc29cd5648c65c2511a3b6", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling strsim v0.8.0 [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] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling 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 { [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) { [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 [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!(format!("Unrecognized instruction {:?}", (i, l))), [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 [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!(format!("Unrecognized instruction {:?}", (i, l))), [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 [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!(format!("Unrecognized instruction {:?}", (i, l))), [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 [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!(format!("Unrecognized dir {:?}", from)), [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 [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!(format!("Unrecognized dir {:?}", from)), [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 [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!(format!("Unreachable case, error parsing regex {}", l)) [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 [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!(format!("Err parse on {}", n))), [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 [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 [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!(format!("Unrecognized pixel {}", p)), [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 [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 22.29s [INFO] running `Command { std: "docker" "inspect" "ffbe58192e6159d00ece6668923d08714d6027198fcc29cd5648c65c2511a3b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ffbe58192e6159d00ece6668923d08714d6027198fcc29cd5648c65c2511a3b6", kill_on_drop: false }` [INFO] [stdout] ffbe58192e6159d00ece6668923d08714d6027198fcc29cd5648c65c2511a3b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7d5d0e723991a841dfbd200a668c3aaa51b51e446025fa80bfbb828ca6e5493 [INFO] running `Command { std: "docker" "start" "-a" "d7d5d0e723991a841dfbd200a668c3aaa51b51e446025fa80bfbb828ca6e5493", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [stderr] Compiling aoc2020_rust v0.1.0 (/opt/rustwide/workdir) [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 { [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) { [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 [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!(format!("Unrecognized instruction {:?}", (i, l))), [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 [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!(format!("Unrecognized instruction {:?}", (i, l))), [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 [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!(format!("Unrecognized instruction {:?}", (i, l))), [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 [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!(format!("Unrecognized dir {:?}", from)), [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 [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!(format!("Unrecognized dir {:?}", from)), [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 [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!(format!("Unreachable case, error parsing regex {}", l)) [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 [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!(format!("Err parse on {}", n))), [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 [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 [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!(format!("Unrecognized pixel {}", p)), [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 [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] [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 { [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) { [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 [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!(format!("Unrecognized instruction {:?}", (i, l))), [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 [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!(format!("Unrecognized instruction {:?}", (i, l))), [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 [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!(format!("Unrecognized instruction {:?}", (i, l))), [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 [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!(format!("Unrecognized dir {:?}", from)), [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 [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!(format!("Unrecognized dir {:?}", from)), [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 [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!(format!("Unreachable case, error parsing regex {}", l)) [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 [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!(format!("Err parse on {}", n))), [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 [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 [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!(format!("Unrecognized pixel {}", p)), [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 [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 test [unoptimized + debuginfo] target(s) in 3.84s [INFO] running `Command { std: "docker" "inspect" "d7d5d0e723991a841dfbd200a668c3aaa51b51e446025fa80bfbb828ca6e5493", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7d5d0e723991a841dfbd200a668c3aaa51b51e446025fa80bfbb828ca6e5493", kill_on_drop: false }` [INFO] [stdout] d7d5d0e723991a841dfbd200a668c3aaa51b51e446025fa80bfbb828ca6e5493 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-76/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=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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 77cf05221e6c8904c49625a7c93c5d03012a889bca8cd19f479f535840899f1e [INFO] running `Command { std: "docker" "start" "-a" "77cf05221e6c8904c49625a7c93c5d03012a889bca8cd19f479f535840899f1e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `itertools::Itertools` [INFO] [stderr] --> src/days/day16.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use itertools::Itertools; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `first_answer` [INFO] [stderr] --> src/days/day16.rs:6:13 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::{first_answer, read_input_no_skip, second_answer}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `HashMap` [INFO] [stderr] --> src/days/day21.rs:1:24 [INFO] [stderr] | [INFO] [stderr] 1 | use std::collections::{HashMap, HashSet}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `rules` [INFO] [stderr] --> src/days/day19.rs:39:10 [INFO] [stderr] | [INFO] [stderr] 39 | let (rules, data) = parse(input); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rules` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `data` [INFO] [stderr] --> src/days/day19.rs:39:17 [INFO] [stderr] | [INFO] [stderr] 39 | let (rules, data) = parse(input); [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `d` [INFO] [stderr] --> src/days/day19.rs:60:32 [INFO] [stderr] | [INFO] [stderr] 60 | } else if let Some(d) = or_exp.captures(rest) { [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_d` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/days/day20.rs:172:19 [INFO] [stderr] | [INFO] [stderr] 172 | fn second_problem(input: &Input) -> String { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `input` [INFO] [stderr] --> src/days/day21.rs:40:19 [INFO] [stderr] | [INFO] [stderr] 40 | fn second_problem(input: &Input) -> String { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `first_problem` [INFO] [stderr] --> src/days/day16.rs:29:4 [INFO] [stderr] | [INFO] [stderr] 29 | fn first_problem(input: &Vec) -> String { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `rotated` [INFO] [stderr] --> src/days/day20.rs:18:5 [INFO] [stderr] | [INFO] [stderr] 18 | rotated: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `into_array` [INFO] [stderr] --> src/days/day20.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | fn into_array(&self) -> [&Edge; 4] { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `print_edges` [INFO] [stderr] --> src/days/day20.rs:100:8 [INFO] [stderr] | [INFO] [stderr] 100 | fn print_edges(&self) -> () { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `print` [INFO] [stderr] --> src/days/day20.rs:119:8 [INFO] [stderr] | [INFO] [stderr] 119 | fn print(&self) -> () { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `rotate` [INFO] [stderr] --> src/days/day20.rs:131:8 [INFO] [stderr] | [INFO] [stderr] 131 | fn rotate(&mut self, times: Option) { [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `rotate_edges` [INFO] [stderr] --> src/days/day20.rs:176:4 [INFO] [stderr] | [INFO] [stderr] 176 | fn rotate_edges(edges: &Edges) -> Edges { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/days/day12.rs:36:29 [INFO] [stderr] | [INFO] [stderr] 36 | _ => panic!(format!("Unrecognized instruction {:?}", (i, l))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 36 - _ => panic!(format!("Unrecognized instruction {:?}", (i, l))), [INFO] [stderr] 36 + _ => panic!("Unrecognized instruction {:?}", (i, l)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/days/day12.rs:38:25 [INFO] [stderr] | [INFO] [stderr] 38 | _ => panic!(format!("Unrecognized instruction {:?}", (i, l))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 38 - _ => panic!(format!("Unrecognized instruction {:?}", (i, l))), [INFO] [stderr] 38 + _ => panic!("Unrecognized instruction {:?}", (i, l)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/days/day12.rs:79:25 [INFO] [stderr] | [INFO] [stderr] 79 | _ => panic!(format!("Unrecognized instruction {:?}", (i, l))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 79 - _ => panic!(format!("Unrecognized instruction {:?}", (i, l))), [INFO] [stderr] 79 + _ => panic!("Unrecognized instruction {:?}", (i, l)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/days/day12.rs:104:21 [INFO] [stderr] | [INFO] [stderr] 104 | _ => panic!(format!("Unrecognized dir {:?}", from)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 104 - _ => panic!(format!("Unrecognized dir {:?}", from)), [INFO] [stderr] 104 + _ => panic!("Unrecognized dir {:?}", from), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/days/day12.rs:114:21 [INFO] [stderr] | [INFO] [stderr] 114 | _ => panic!(format!("Unrecognized dir {:?}", from)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 114 - _ => panic!(format!("Unrecognized dir {:?}", from)), [INFO] [stderr] 114 + _ => panic!("Unrecognized dir {:?}", from), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/days/day16.rs:115:24 [INFO] [stderr] | [INFO] [stderr] 115 | panic!(format!("Unreachable case, error parsing regex {}", l)) [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 115 - panic!(format!("Unreachable case, error parsing regex {}", l)) [INFO] [stderr] 115 + panic!("Unreachable case, error parsing regex {}", l) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/days/day18.rs:87:48 [INFO] [stderr] | [INFO] [stderr] 87 | .unwrap_or_else(|_| panic!(format!("Err parse on {}", n))), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 87 - .unwrap_or_else(|_| panic!(format!("Err parse on {}", n))), [INFO] [stderr] 87 + .unwrap_or_else(|_| panic!("Err parse on {}", n)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/days/day19.rs:105:24 [INFO] [stderr] | [INFO] [stderr] 105 | panic!(format!( [INFO] [stderr] | ________________________^ [INFO] [stderr] 106 | | "Parsing error, cannot parse to usize {} whole str: {}", [INFO] [stderr] 107 | | c, s [INFO] [stderr] 108 | | )) [INFO] [stderr] | |_________________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 105 ~ panic!( [INFO] [stderr] 106 | "Parsing error, cannot parse to usize {} whole str: {}", [INFO] [stderr] 107 | c, s [INFO] [stderr] 108 ~ ) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/days/day20.rs:219:29 [INFO] [stderr] | [INFO] [stderr] 219 | p => panic!(format!("Unrecognized pixel {}", p)), [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 219 - p => panic!(format!("Unrecognized pixel {}", p)), [INFO] [stderr] 219 + p => panic!("Unrecognized pixel {}", p), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/days/day8.rs:66:25 [INFO] [stderr] | [INFO] [stderr] 66 | _ => panic!(format!( [INFO] [stderr] | _________________________^ [INFO] [stderr] 67 | | "Unrecognized instruction {}", [INFO] [stderr] 68 | | &instructions[i as usize].0 [INFO] [stderr] 69 | | )), [INFO] [stderr] | |_____________^ [INFO] [stderr] | [INFO] [stderr] = note: this usage of panic!() is deprecated; it will be a hard error in Rust 2021 [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: the panic!() macro supports formatting, so there's no need for the format!() macro here [INFO] [stderr] help: remove the `format!(..)` macro call [INFO] [stderr] | [INFO] [stderr] 66 ~ _ => panic!( [INFO] [stderr] 67 | "Unrecognized instruction {}", [INFO] [stderr] 68 | &instructions[i as usize].0 [INFO] [stderr] 69 ~ ), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `aoc2020_rust` (lib) generated 25 warnings [INFO] [stderr] warning: `aoc2020_rust` (lib test) generated 25 warnings (25 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.22s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/lib-10ab19f8dab660ea) [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/aoc2020_rust-f25df5390101a42d) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests lib [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "77cf05221e6c8904c49625a7c93c5d03012a889bca8cd19f479f535840899f1e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77cf05221e6c8904c49625a7c93c5d03012a889bca8cd19f479f535840899f1e", kill_on_drop: false }` [INFO] [stdout] 77cf05221e6c8904c49625a7c93c5d03012a889bca8cd19f479f535840899f1e