[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 1.59.0 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-72/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-72/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emlun/adventofcode-2019 on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-72/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" "+1.59.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-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f67cf7f45ec7928149b3b6ff2010fbbbd7ad8c09a9b2a78fb05d052c4a857f5e [INFO] running `Command { std: "docker" "start" "-a" "f67cf7f45ec7928149b3b6ff2010fbbbd7ad8c09a9b2a78fb05d052c4a857f5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f67cf7f45ec7928149b3b6ff2010fbbbd7ad8c09a9b2a78fb05d052c4a857f5e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f67cf7f45ec7928149b3b6ff2010fbbbd7ad8c09a9b2a78fb05d052c4a857f5e", kill_on_drop: false }` [INFO] [stdout] f67cf7f45ec7928149b3b6ff2010fbbbd7ad8c09a9b2a78fb05d052c4a857f5e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] debc154edd1793135f16a30ef990a26c13948aaa64f16abd0baf4a7e1111f874 [INFO] running `Command { std: "docker" "start" "-a" "debc154edd1793135f16a30ef990a26c13948aaa64f16abd0baf4a7e1111f874", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling unicode-width v0.1.6 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling vec_map v0.8.1 [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 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] [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] [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 14.52s [INFO] running `Command { std: "docker" "inspect" "debc154edd1793135f16a30ef990a26c13948aaa64f16abd0baf4a7e1111f874", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "debc154edd1793135f16a30ef990a26c13948aaa64f16abd0baf4a7e1111f874", kill_on_drop: false }` [INFO] [stdout] debc154edd1793135f16a30ef990a26c13948aaa64f16abd0baf4a7e1111f874 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f959ab61da93891bf5bd95528738991dae2beff12c86a5eac0e2644cfc6bdb52 [INFO] running `Command { std: "docker" "start" "-a" "f959ab61da93891bf5bd95528738991dae2beff12c86a5eac0e2644cfc6bdb52", 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 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] [INFO] [stdout] [INFO] [stderr] Compiling adventofcode-2019 v0.1.0 (/opt/rustwide/workdir) [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] [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] [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] [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 2.88s [INFO] running `Command { std: "docker" "inspect" "f959ab61da93891bf5bd95528738991dae2beff12c86a5eac0e2644cfc6bdb52", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f959ab61da93891bf5bd95528738991dae2beff12c86a5eac0e2644cfc6bdb52", kill_on_drop: false }` [INFO] [stdout] f959ab61da93891bf5bd95528738991dae2beff12c86a5eac0e2644cfc6bdb52 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-72/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" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2dd9685641c22554b4f70c48a5cb579ef0b380df207dbb2974d4f101c88336cc [INFO] running `Command { std: "docker" "start" "-a" "2dd9685641c22554b4f70c48a5cb579ef0b380df207dbb2974d4f101c88336cc", 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] [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") generated 5 warnings (3 duplicates) [INFO] [stderr] warning: `adventofcode-2019` (bin "adventofcode-2019" test) generated 5 warnings (5 duplicates) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/adventofcode_2019-a2fd11666a675481) [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_a2 ... ok [INFO] [stdout] test days::day14::tests::even_ingredients ... ok [INFO] [stdout] test days::day22::tests::deal13_1 ... ok [INFO] [stdout] test days::day18::tests::example_b4 ... ok [INFO] [stdout] test days::day18::tests::example_b2 ... ok [INFO] [stdout] test days::day16::tests::example_a2 ... ok [INFO] [stdout] test days::day16::tests::example_a1 ... ok [INFO] [stdout] test days::day16::tests::example_a3 ... ok [INFO] [stdout] test days::day22::tests::deal13_2 ... ok [INFO] [stdout] test days::day22::tests::deal13_11 ... ok [INFO] [stdout] test days::day22::tests::deal13_3 ... ok [INFO] [stdout] test days::day22::tests::deal13_12 ... ok [INFO] [stdout] test days::day22::tests::deal13_10 ... ok [INFO] [stdout] test days::day22::tests::cut_cut ... ok [INFO] [stdout] test days::day18::tests::example_a5 ... ok [INFO] [stdout] test days::day22::tests::cut_5_stack ... ok [INFO] [stdout] test days::day18::tests::example_b3 ... ok [INFO] [stdout] test days::day18::tests::example_b1 ... ok [INFO] [stdout] test days::day22::tests::deal13_5 ... ok [INFO] [stdout] test days::day22::tests::deal13_6 ... ok [INFO] [stdout] test days::day18::tests::example_a3 ... 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::deal13_7 ... ok [INFO] [stdout] test days::day22::tests::deal13_4 ... ok [INFO] [stdout] test days::day22::tests::deal13_8 ... ok [INFO] [stdout] test days::day16::tests::example_b1 ... ok [INFO] [stdout] test days::day22::tests::deal13_9 ... ok [INFO] [stdout] test days::day22::tests::deal_5_cut_3 ... 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::stack ... ok [INFO] [stdout] test days::day22::tests::stack_cut_5 ... ok [INFO] [stdout] test days::day22::tests::stack_deal_5 ... ok [INFO] [stdout] test days::day16::tests::example_b3 ... ok [INFO] [stdout] test days::day16::tests::example_b2 ... ok [INFO] [stdout] test util::iter::tests::count_empty_is_empty ... ok [INFO] [stdout] test days::day22::tests::stack_stack ... ok [INFO] [stdout] test util::iter::tests::count_many_is_different ... ok [INFO] [stdout] test util::tests::can_permute_references ... ok [INFO] [stdout] test util::tests::empty_has_no_permutations ... ok [INFO] [stdout] test util::tests::one_has_one_permutation ... ok [INFO] [stdout] test util::iter::tests::count_one_is_one ... ok [INFO] [stdout] test util::tests::three_has_six_permutations ... 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::two_has_two_permutations ... ok [INFO] [stdout] test days::day22::tests::repeated_polynomial ... 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 unittests (/opt/rustwide/target/debug/deps/adventofcode_2019-cc4118b8dd9b43d4) [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.82s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test days::day15::tests::test_rotate ... ok [INFO] [stdout] test days::day14::tests::even_ingredients ... ok [INFO] [stdout] test days::day17::tests::test_rotate ... ok [INFO] [stdout] test days::day18::tests::example_a2 ... ok [INFO] [stdout] test days::day16::tests::example_a1 ... ok [INFO] [stdout] test days::day18::tests::example_a1 ... ok [INFO] [stdout] test days::day18::tests::example_a3 ... ok [INFO] [stdout] test days::day16::tests::example_a2 ... 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_b1 ... ok [INFO] [stdout] test days::day22::tests::cut ... ok [INFO] [stdout] test days::day22::tests::cut_5_stack ... ok [INFO] [stdout] test days::day22::tests::cut_3_deal_5 ... ok [INFO] [stdout] test days::day22::tests::cut_cut ... ok [INFO] [stdout] test days::day18::tests::example_b2 ... ok [INFO] [stdout] test days::day18::tests::example_b3 ... 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_12 ... ok [INFO] [stdout] test days::day22::tests::deal13_11 ... ok [INFO] [stdout] test days::day22::tests::deal13_2 ... ok [INFO] [stdout] test days::day22::tests::deal13_4 ... ok [INFO] [stdout] test days::day18::tests::example_b4 ... ok [INFO] [stdout] test days::day22::tests::deal13_5 ... ok [INFO] [stdout] test days::day22::tests::deal13_7 ... ok [INFO] [stdout] test days::day16::tests::example_b2 ... ok [INFO] [stdout] test days::day22::tests::deal13_9 ... ok [INFO] [stdout] test days::day22::tests::deal13_6 ... ok [INFO] [stdout] test days::day22::tests::deal13_3 ... 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::day22::tests::deal_5_deal_3 ... 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::stack_cut_5 ... 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 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 util::tests::one_has_one_permutation ... ok [INFO] [stdout] test util::tests::empty_has_no_permutations ... ok [INFO] [stdout] test days::day16::tests::example_b3 ... ok [INFO] [stdout] test util::tests::three_has_six_permutations ... ok [INFO] [stdout] test util::tests::five_has_120_permutations ... ok [INFO] [stdout] test util::tests::two_has_two_permutations ... ok [INFO] [stdout] test days::day22::tests::repeated_polynomial ... 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] [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.79s [INFO] [stdout] [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-364397c7d1243d3a) [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test day01 ... ok [INFO] [stdout] test day03 ... ok [INFO] [stdout] test day04 ... ok [INFO] [stdout] test day06 ... ok [INFO] [stdout] test day05 ... ok [INFO] [stdout] test day22 ... ok [INFO] [stdout] test day08 ... ok [INFO] [stdout] test day07 ... ok [INFO] [stdout] test day14 ... ok [INFO] [stdout] test day15 ... ok [INFO] [stdout] test day19 ... ok [INFO] [stdout] test day24 ... ok [INFO] [stdout] test day17 ... ok [INFO] [stdout] test day11 ... ok [INFO] [stdout] test day02 ... ok [INFO] [stdout] test day23 ... ok [INFO] [stdout] test day09 ... ok [INFO] [stdout] test day13 ... ok [INFO] [stdout] test day21 ... ok [INFO] [stdout] test day10 ... ok [INFO] [stdout] test day25 ... 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.79s [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" "2dd9685641c22554b4f70c48a5cb579ef0b380df207dbb2974d4f101c88336cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2dd9685641c22554b4f70c48a5cb579ef0b380df207dbb2974d4f101c88336cc", kill_on_drop: false }` [INFO] [stdout] 2dd9685641c22554b4f70c48a5cb579ef0b380df207dbb2974d4f101c88336cc