[INFO] cloning repository https://github.com/emlun/adventofcode-2019 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/emlun/adventofcode-2019" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femlun%2Fadventofcode-2019", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femlun%2Fadventofcode-2019'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 95eaf35e777d4cddc4e498a9b12e2e8f3f5d4e4d [INFO] building emlun/adventofcode-2019 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femlun%2Fadventofcode-2019" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emlun/adventofcode-2019 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emlun/adventofcode-2019 [INFO] finished tweaking git repo https://github.com/emlun/adventofcode-2019 [INFO] tweaked toml for git repo https://github.com/emlun/adventofcode-2019 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/emlun/adventofcode-2019 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20e4194ce4112c8130f4a544bb14e8c8c47c4706a4f03df15c8c96042bbfe706 [INFO] running `Command { std: "docker" "start" "-a" "20e4194ce4112c8130f4a544bb14e8c8c47c4706a4f03df15c8c96042bbfe706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20e4194ce4112c8130f4a544bb14e8c8c47c4706a4f03df15c8c96042bbfe706", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20e4194ce4112c8130f4a544bb14e8c8c47c4706a4f03df15c8c96042bbfe706", kill_on_drop: false }` [INFO] [stdout] 20e4194ce4112c8130f4a544bb14e8c8c47c4706a4f03df15c8c96042bbfe706 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 776d1462d03e64738ab2c24050b3d934bb5783896f3643a5ae947b443ac53241 [INFO] running `Command { std: "docker" "start" "-a" "776d1462d03e64738ab2c24050b3d934bb5783896f3643a5ae947b443ac53241", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling vec_map v0.8.1 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling clap v2.33.0 [INFO] [stderr] Compiling adventofcode-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/days/day06.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/days/day20.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | struct Warp { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Warp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/common.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 19 - .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [INFO] [stdout] 19 + .unwrap_or_else(|_| panic!("Input file not found: {:?}", path)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/days/day06.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/days/day20.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | struct Warp { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Warp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `counts` is never used [INFO] [stdout] --> src/util/iter.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Countable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 4 | fn counts(self) -> HashMap; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | .unwrap_or_else(|_| panic!(format!("Invalid day number: {}", day))), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 44 - .unwrap_or_else(|_| panic!(format!("Invalid day number: {}", day))), [INFO] [stdout] 44 + .unwrap_or_else(|_| panic!("Invalid day number: {}", day)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:57:67 [INFO] [stdout] | [INFO] [stdout] 57 | let day_func = days::get_solver(day).unwrap_or_else(|| panic!(format!("Unknown day: {}", day))); [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] 57 - let day_func = days::get_solver(day).unwrap_or_else(|| panic!(format!("Unknown day: {}", day))); [INFO] [stdout] 57 + let day_func = days::get_solver(day).unwrap_or_else(|| panic!("Unknown day: {}", day)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/common.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [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] 19 - .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [INFO] [stdout] 19 + .unwrap_or_else(|_| panic!("Input file not found: {:?}", path)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.57s [INFO] running `Command { std: "docker" "inspect" "776d1462d03e64738ab2c24050b3d934bb5783896f3643a5ae947b443ac53241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "776d1462d03e64738ab2c24050b3d934bb5783896f3643a5ae947b443ac53241", kill_on_drop: false }` [INFO] [stdout] 776d1462d03e64738ab2c24050b3d934bb5783896f3643a5ae947b443ac53241 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 883c4ff1af8aad6c189da45beabb8d25791f69ce01b26e2913b7a4d4a763d8ea [INFO] running `Command { std: "docker" "start" "-a" "883c4ff1af8aad6c189da45beabb8d25791f69ce01b26e2913b7a4d4a763d8ea", kill_on_drop: false }` [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/days/day06.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/days/day20.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | struct Warp { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Warp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/common.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 19 - .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [INFO] [stdout] 19 + .unwrap_or_else(|_| panic!("Input file not found: {:?}", path)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling adventofcode-2019 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/days/day06.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/days/day20.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | struct Warp { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Warp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `counts` is never used [INFO] [stdout] --> src/util/iter.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait Countable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 4 | fn counts(self) -> HashMap; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | .unwrap_or_else(|_| panic!(format!("Invalid day number: {}", day))), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 44 - .unwrap_or_else(|_| panic!(format!("Invalid day number: {}", day))), [INFO] [stdout] 44 + .unwrap_or_else(|_| panic!("Invalid day number: {}", day)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:57:67 [INFO] [stdout] | [INFO] [stdout] 57 | let day_func = days::get_solver(day).unwrap_or_else(|| panic!(format!("Unknown day: {}", day))); [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] 57 - let day_func = days::get_solver(day).unwrap_or_else(|| panic!(format!("Unknown day: {}", day))); [INFO] [stdout] 57 + let day_func = days::get_solver(day).unwrap_or_else(|| panic!("Unknown day: {}", day)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/common.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [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] 19 - .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [INFO] [stdout] 19 + .unwrap_or_else(|_| panic!("Input file not found: {:?}", path)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/days/day06.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/days/day06.rs:21:6 [INFO] [stdout] | [INFO] [stdout] 21 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/days/day20.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | struct Warp { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Warp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/common.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 19 - .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [INFO] [stdout] 19 + .unwrap_or_else(|_| panic!("Input file not found: {:?}", path)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/days/day20.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 108 | struct Warp { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Warp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:44:48 [INFO] [stdout] | [INFO] [stdout] 44 | .unwrap_or_else(|_| panic!(format!("Invalid day number: {}", day))), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 44 - .unwrap_or_else(|_| panic!(format!("Invalid day number: {}", day))), [INFO] [stdout] 44 + .unwrap_or_else(|_| panic!("Invalid day number: {}", day)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:57:67 [INFO] [stdout] | [INFO] [stdout] 57 | let day_func = days::get_solver(day).unwrap_or_else(|| panic!(format!("Unknown day: {}", day))); [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] 57 - let day_func = days::get_solver(day).unwrap_or_else(|| panic!(format!("Unknown day: {}", day))); [INFO] [stdout] 57 + let day_func = days::get_solver(day).unwrap_or_else(|| panic!("Unknown day: {}", day)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/common.rs:19:44 [INFO] [stdout] | [INFO] [stdout] 19 | .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [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] 19 - .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [INFO] [stdout] 19 + .unwrap_or_else(|_| panic!("Input file not found: {:?}", path)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.07s [INFO] running `Command { std: "docker" "inspect" "883c4ff1af8aad6c189da45beabb8d25791f69ce01b26e2913b7a4d4a763d8ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "883c4ff1af8aad6c189da45beabb8d25791f69ce01b26e2913b7a4d4a763d8ea", kill_on_drop: false }` [INFO] [stdout] 883c4ff1af8aad6c189da45beabb8d25791f69ce01b26e2913b7a4d4a763d8ea