[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] testing emlun/adventofcode-2019 against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femlun%2Fadventofcode-2019" "/workspace/builds/worker-50/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-50/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emlun/adventofcode-2019 on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-50/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: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "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-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f01c52acad0ebd281e51b25c293a65502bdecb59a3fc5248bc97b458ccfb6c2c [INFO] running `Command { std: "docker" "start" "-a" "f01c52acad0ebd281e51b25c293a65502bdecb59a3fc5248bc97b458ccfb6c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f01c52acad0ebd281e51b25c293a65502bdecb59a3fc5248bc97b458ccfb6c2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f01c52acad0ebd281e51b25c293a65502bdecb59a3fc5248bc97b458ccfb6c2c", kill_on_drop: false }` [INFO] [stdout] f01c52acad0ebd281e51b25c293a65502bdecb59a3fc5248bc97b458ccfb6c2c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2e302f6cfe8aa7ae8781c0fb08c4b81947fa8440b044d715527cdc04aa7fe94a [INFO] running `Command { std: "docker" "start" "-a" "2e302f6cfe8aa7ae8781c0fb08c4b81947fa8440b044d715527cdc04aa7fe94a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling vec_map v0.8.1 [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 is never read: `name` [INFO] [stdout] --> src/days/day20.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Warp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/day20.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[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] 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: 3 warnings emitted [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 is never read: `name` [INFO] [stdout] --> src/days/day20.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Warp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/day20.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[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] 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: 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] 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 10.72s [INFO] running `Command { std: "docker" "inspect" "2e302f6cfe8aa7ae8781c0fb08c4b81947fa8440b044d715527cdc04aa7fe94a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2e302f6cfe8aa7ae8781c0fb08c4b81947fa8440b044d715527cdc04aa7fe94a", kill_on_drop: false }` [INFO] [stdout] 2e302f6cfe8aa7ae8781c0fb08c4b81947fa8440b044d715527cdc04aa7fe94a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f1d610dcc5e3d8fcf8591968824b0d2a0609bb2bc40346bb61f7c2d1d9c61814 [INFO] running `Command { std: "docker" "start" "-a" "f1d610dcc5e3d8fcf8591968824b0d2a0609bb2bc40346bb61f7c2d1d9c61814", kill_on_drop: false }` [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 is never read: `name` [INFO] [stdout] --> src/days/day20.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Warp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/day20.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[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] 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: 3 warnings emitted [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 is never read: `name` [INFO] [stdout] --> src/days/day20.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Warp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/day20.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[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] 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: 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] 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: 5 warnings emitted [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 is never read: `name` [INFO] [stdout] --> src/days/day20.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Warp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/day20.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[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] 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 is never read: `name` [INFO] [stdout] --> src/days/day20.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | name: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] note: `Warp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/days/day20.rs:107:10 [INFO] [stdout] | [INFO] [stdout] 107 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [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: `#[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] 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: 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] 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: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.01s [INFO] running `Command { std: "docker" "inspect" "f1d610dcc5e3d8fcf8591968824b0d2a0609bb2bc40346bb61f7c2d1d9c61814", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1d610dcc5e3d8fcf8591968824b0d2a0609bb2bc40346bb61f7c2d1d9c61814", kill_on_drop: false }` [INFO] [stdout] f1d610dcc5e3d8fcf8591968824b0d2a0609bb2bc40346bb61f7c2d1d9c61814 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-50/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 91d8cee92af226084d9b8598841d1c4844dc34377dbfd98f116f8182d1c1b998 [INFO] running `Command { std: "docker" "start" "-a" "91d8cee92af226084d9b8598841d1c4844dc34377dbfd98f116f8182d1c1b998", kill_on_drop: false }` [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> src/days/day06.rs:21:6 [INFO] [stderr] | [INFO] [stderr] 21 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: field is never read: `name` [INFO] [stderr] --> src/days/day20.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 109 | name: String, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] note: `Warp` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/days/day20.rs:107:10 [INFO] [stderr] | [INFO] [stderr] 107 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/common.rs:19:44 [INFO] [stderr] | [INFO] [stderr] 19 | .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [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] 19 - .unwrap_or_else(|_| panic!(format!("Input file not found: {:?}", path))), [INFO] [stderr] 19 + .unwrap_or_else(|_| panic!("Input file not found: {:?}", path)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `adventofcode-2019` (lib) generated 3 warnings [INFO] [stderr] warning: `adventofcode-2019` (lib test) generated 3 warnings (3 duplicates) [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:44:48 [INFO] [stderr] | [INFO] [stderr] 44 | .unwrap_or_else(|_| panic!(format!("Invalid day number: {}", day))), [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] 44 - .unwrap_or_else(|_| panic!(format!("Invalid day number: {}", day))), [INFO] [stderr] 44 + .unwrap_or_else(|_| panic!("Invalid day number: {}", day)), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/main.rs:57:67 [INFO] [stderr] | [INFO] [stderr] 57 | let day_func = days::get_solver(day).unwrap_or_else(|| panic!(format!("Unknown day: {}", day))); [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] 57 - let day_func = days::get_solver(day).unwrap_or_else(|| panic!(format!("Unknown day: {}", day))); [INFO] [stderr] 57 + let day_func = days::get_solver(day).unwrap_or_else(|| panic!("Unknown day: {}", day)); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: `adventofcode-2019` (bin "adventofcode-2019" test) generated 5 warnings (3 duplicates) [INFO] [stderr] warning: `adventofcode-2019` (bin "adventofcode-2019") generated 5 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.02s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/adventofcode_2019-6ba2ccd148deef8c) [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test days::day15::tests::test_rotate ... ok [INFO] [stdout] test days::day17::tests::test_rotate ... ok [INFO] [stdout] test days::day18::tests::example_a1 ... ok [INFO] [stdout] test days::day18::tests::example_b1 ... ok [INFO] [stdout] test days::day18::tests::example_b2 ... ok [INFO] [stdout] test days::day14::tests::even_ingredients ... ok [INFO] [stdout] test days::day22::tests::cut ... ok [INFO] [stdout] test days::day18::tests::example_a2 ... ok [INFO] [stdout] test days::day18::tests::example_a3 ... ok [INFO] [stdout] test days::day18::tests::example_a5 ... ok [INFO] [stdout] test days::day22::tests::cut_3_deal_5 ... ok [INFO] [stdout] test days::day22::tests::cut_5_stack ... ok [INFO] [stdout] test days::day18::tests::example_b3 ... ok [INFO] [stdout] test days::day22::tests::deal13_2 ... ok [INFO] [stdout] test days::day22::tests::cut_cut ... ok [INFO] [stdout] test days::day22::tests::deal13_1 ... ok [INFO] [stdout] test days::day22::tests::deal13_11 ... ok [INFO] [stdout] test days::day22::tests::deal13_10 ... ok [INFO] [stdout] test days::day22::tests::deal13_12 ... ok [INFO] [stdout] test days::day16::tests::example_a3 ... ok [INFO] [stdout] test days::day22::tests::deal13_4 ... ok [INFO] [stdout] test days::day16::tests::example_a1 ... ok [INFO] [stdout] test days::day22::tests::deal13_5 ... ok [INFO] [stdout] test days::day22::tests::deal13_7 ... ok [INFO] [stdout] test days::day22::tests::deal13_8 ... ok [INFO] [stdout] test days::day22::tests::deal_5_cut_3 ... ok [INFO] [stdout] test days::day18::tests::example_b4 ... ok [INFO] [stdout] test days::day22::tests::deal13_6 ... ok [INFO] [stdout] test days::day22::tests::deal13_9 ... ok [INFO] [stdout] test days::day16::tests::example_a2 ... ok [INFO] [stdout] test days::day22::tests::deal_5_deal_3 ... ok [INFO] [stdout] test days::day22::tests::deal_5_stack ... ok [INFO] [stdout] test days::day22::tests::deal13_3 ... ok [INFO] [stdout] test days::day22::tests::stack_deal_5 ... ok [INFO] [stdout] test days::day22::tests::stack_stack ... ok [INFO] [stdout] test util::iter::tests::count_empty_is_empty ... ok [INFO] [stdout] test days::day22::tests::stack ... ok [INFO] [stdout] test days::day22::tests::stack_cut_5 ... ok [INFO] [stdout] test util::iter::tests::count_many_is_different ... ok [INFO] [stdout] test util::iter::tests::count_one_is_one ... ok [INFO] [stdout] test util::tests::can_permute_references ... ok [INFO] [stdout] test util::tests::can_permute_references_to_funny_types ... ok [INFO] [stdout] test days::day16::tests::example_b1 ... ok [INFO] [stdout] test util::tests::empty_has_no_permutations ... ok [INFO] [stdout] test util::tests::three_has_six_permutations ... ok [INFO] [stdout] test util::tests::two_has_two_permutations ... ok [INFO] [stdout] test util::tests::one_has_one_permutation ... ok [INFO] [stdout] test util::tests::five_has_120_permutations ... ok [INFO] [stdout] test days::day16::tests::example_b2 ... ok [INFO] [stdout] test util::tests::six_non_unique_has_duplicate_permutations ... ok [INFO] [stdout] test days::day16::tests::example_b3 ... ok [INFO] [stdout] test days::day22::tests::repeated_polynomial ... ok [INFO] [stdout] test days::day18::tests::example_a4 ... ok [INFO] [stdout] test util::tests::can_permute_large_sequences ... ok [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/adventofcode_2019-284aa8c9daa39621) [INFO] [stdout] test util::tests::eight_has_lots_of_permutations ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 55 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.74s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test days::day18::tests::example_b4 ... ok [INFO] [stdout] test days::day22::tests::cut ... ok [INFO] [stdout] test days::day22::tests::cut_3_deal_5 ... ok [INFO] [stdout] test days::day22::tests::cut_5_stack ... ok [INFO] [stdout] test days::day22::tests::cut_cut ... ok [INFO] [stdout] test days::day22::tests::deal13_1 ... ok [INFO] [stdout] test days::day22::tests::deal13_10 ... ok [INFO] [stdout] test days::day22::tests::deal13_11 ... ok [INFO] [stdout] test days::day18::tests::example_b3 ... ok [INFO] [stdout] test days::day15::tests::test_rotate ... ok [INFO] [stdout] test days::day17::tests::test_rotate ... ok [INFO] [stdout] test days::day14::tests::even_ingredients ... ok [INFO] [stdout] test days::day18::tests::example_a3 ... ok [INFO] [stdout] test days::day22::tests::deal13_12 ... ok [INFO] [stdout] test days::day18::tests::example_b1 ... ok [INFO] [stdout] test days::day16::tests::example_a1 ... ok [INFO] [stdout] test days::day16::tests::example_a2 ... ok [INFO] [stdout] test days::day18::tests::example_a1 ... ok [INFO] [stdout] test days::day16::tests::example_b1 ... ok [INFO] [stdout] test days::day16::tests::example_a3 ... ok [INFO] [stdout] test days::day18::tests::example_a5 ... ok [INFO] [stdout] test days::day18::tests::example_a2 ... ok [INFO] [stdout] test days::day22::tests::deal13_2 ... ok [INFO] [stdout] test days::day22::tests::deal13_8 ... ok [INFO] [stdout] test days::day22::tests::deal_5_deal_3 ... ok [INFO] [stdout] test days::day22::tests::deal13_7 ... ok [INFO] [stdout] test days::day22::tests::stack_cut_5 ... ok [INFO] [stdout] test days::day22::tests::deal13_4 ... ok [INFO] [stdout] test days::day22::tests::stack_stack ... ok [INFO] [stdout] test util::iter::tests::count_empty_is_empty ... ok [INFO] [stdout] test util::iter::tests::count_many_is_different ... ok [INFO] [stdout] test days::day22::tests::stack_deal_5 ... ok [INFO] [stdout] test days::day22::tests::deal_5_cut_3 ... ok [INFO] [stdout] test days::day22::tests::deal13_5 ... ok [INFO] [stdout] test days::day16::tests::example_b3 ... ok [INFO] [stdout] test days::day22::tests::deal13_6 ... ok [INFO] [stdout] test util::iter::tests::count_one_is_one ... ok [INFO] [stdout] test days::day16::tests::example_b2 ... ok [INFO] [stdout] test days::day22::tests::deal13_3 ... ok [INFO] [stdout] test days::day18::tests::example_b2 ... ok [INFO] [stdout] test days::day22::tests::deal_5_stack ... ok [INFO] [stdout] test days::day22::tests::stack ... ok [INFO] [stdout] test days::day22::tests::deal13_9 ... ok [INFO] [stdout] test days::day22::tests::repeated_polynomial ... ok [INFO] [stdout] test util::tests::can_permute_references ... ok [INFO] [stdout] test util::tests::one_has_one_permutation ... ok [INFO] [stdout] test util::tests::can_permute_references_to_funny_types ... ok [INFO] [stdout] test util::tests::five_has_120_permutations ... ok [INFO] [stdout] test util::tests::empty_has_no_permutations ... ok [INFO] [stdout] test util::tests::three_has_six_permutations ... ok [INFO] [stdout] test util::tests::two_has_two_permutations ... ok [INFO] [stdout] test util::tests::six_non_unique_has_duplicate_permutations ... ok [INFO] [stdout] test days::day18::tests::example_a4 ... ok [INFO] [stdout] test util::tests::can_permute_large_sequences ... ok [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-a8a21543c181b4b9) [INFO] [stdout] test util::tests::eight_has_lots_of_permutations ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 55 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.96s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test day01 ... ok [INFO] [stdout] test day03 ... ok [INFO] [stdout] test day05 ... ok [INFO] [stdout] test day04 ... ok [INFO] [stdout] test day07 ... ok [INFO] [stdout] test day08 ... ok [INFO] [stdout] test day22 ... ok [INFO] [stdout] test day14 ... ok [INFO] [stdout] test day06 ... ok [INFO] [stdout] test day19 ... ok [INFO] [stdout] test day11 ... ok [INFO] [stdout] test day17 ... ok [INFO] [stdout] test day15 ... ok [INFO] [stdout] test day24 ... ok [INFO] [stdout] test day09 ... ok [INFO] [stdout] test day23 ... ok [INFO] [stdout] test day02 ... ok [INFO] [stdout] test day25 ... ok [INFO] [stdout] test day21 ... ok [INFO] [stdout] test day13 ... ok [INFO] [stdout] test day10 ... ok [INFO] [stdout] test day20 ... ok [INFO] [stdout] test day18 ... ok [INFO] [stdout] test day12 ... ok [INFO] [stdout] test day16 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 25 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.74s [INFO] [stdout] [INFO] [stderr] Doc-tests adventofcode-2019 [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stderr] --> /opt/rustwide/workdir/src/days/day06.rs:21:6 [INFO] [stderr] | [INFO] [stderr] 21 | }; [INFO] [stderr] | ^ help: remove this semicolon [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [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" "91d8cee92af226084d9b8598841d1c4844dc34377dbfd98f116f8182d1c1b998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91d8cee92af226084d9b8598841d1c4844dc34377dbfd98f116f8182d1c1b998", kill_on_drop: false }` [INFO] [stdout] 91d8cee92af226084d9b8598841d1c4844dc34377dbfd98f116f8182d1c1b998