[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 try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femlun%2Fadventofcode-2019" "/workspace/builds/worker-48/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-48/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emlun/adventofcode-2019 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "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-48/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" "+722e1797249a965b6335aebd65d777f917e498f1" "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-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bf0bfaa539a5cb9cf42343d9092ead6463f542668ff5e4220294e5826c07af3b [INFO] running `Command { std: "docker" "start" "-a" "bf0bfaa539a5cb9cf42343d9092ead6463f542668ff5e4220294e5826c07af3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bf0bfaa539a5cb9cf42343d9092ead6463f542668ff5e4220294e5826c07af3b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bf0bfaa539a5cb9cf42343d9092ead6463f542668ff5e4220294e5826c07af3b", kill_on_drop: false }` [INFO] [stdout] bf0bfaa539a5cb9cf42343d9092ead6463f542668ff5e4220294e5826c07af3b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b1681cf168807324ec080ebdfbaa0e2267abd54f52de940f917a0899c2fa2e9 [INFO] running `Command { std: "docker" "start" "-a" "1b1681cf168807324ec080ebdfbaa0e2267abd54f52de940f917a0899c2fa2e9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 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 1m 22s [INFO] running `Command { std: "docker" "inspect" "1b1681cf168807324ec080ebdfbaa0e2267abd54f52de940f917a0899c2fa2e9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b1681cf168807324ec080ebdfbaa0e2267abd54f52de940f917a0899c2fa2e9", kill_on_drop: false }` [INFO] [stdout] 1b1681cf168807324ec080ebdfbaa0e2267abd54f52de940f917a0899c2fa2e9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89dc4346e9539f21a7772aa3004a7c0d2f357d5da385116f7bbcd1a023fc52ce [INFO] running `Command { std: "docker" "start" "-a" "89dc4346e9539f21a7772aa3004a7c0d2f357d5da385116f7bbcd1a023fc52ce", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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] [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 5.09s [INFO] running `Command { std: "docker" "inspect" "89dc4346e9539f21a7772aa3004a7c0d2f357d5da385116f7bbcd1a023fc52ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89dc4346e9539f21a7772aa3004a7c0d2f357d5da385116f7bbcd1a023fc52ce", kill_on_drop: false }` [INFO] [stdout] 89dc4346e9539f21a7772aa3004a7c0d2f357d5da385116f7bbcd1a023fc52ce [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-48/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" "-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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 85daef045512175afb6e8ded98e65627c67149be83120b03d50feab3604f1247 [INFO] running `Command { std: "docker" "start" "-a" "85daef045512175afb6e8ded98e65627c67149be83120b03d50feab3604f1247", 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" 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.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/adventofcode_2019-fcae7d5b3b15247e) [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::day16::tests::example_a1 ... ok [INFO] [stdout] test days::day16::tests::example_a2 ... ok [INFO] [stdout] test days::day16::tests::example_a3 ... 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::day18::tests::example_a3 ... 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_11 ... ok [INFO] [stdout] test days::day22::tests::cut_cut ... ok [INFO] [stdout] test days::day16::tests::example_b1 ... 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 ... ok [INFO] [stdout] test days::day22::tests::deal13_12 ... ok [INFO] [stdout] test days::day18::tests::example_b2 ... ok [INFO] [stdout] test days::day16::tests::example_b2 ... ok [INFO] [stdout] test days::day22::tests::deal13_2 ... ok [INFO] [stdout] test days::day16::tests::example_b3 ... ok [INFO] [stdout] test days::day18::tests::example_b1 ... ok [INFO] [stdout] test days::day22::tests::cut_5_stack ... 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_3 ... ok [INFO] [stdout] test days::day22::tests::deal13_5 ... ok [INFO] [stdout] test days::day22::tests::deal13_8 ... 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_7 ... 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 util::iter::tests::count_empty_is_empty ... 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::iter::tests::count_one_is_one ... 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 days::day22::tests::stack_cut_5 ... ok [INFO] [stdout] test days::day22::tests::stack_deal_5 ... ok [INFO] [stdout] test util::tests::five_has_120_permutations ... ok [INFO] [stdout] test days::day22::tests::stack_stack ... ok [INFO] [stdout] test days::day22::tests::stack ... ok [INFO] [stdout] test days::day22::tests::repeated_polynomial ... 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 util::tests::three_has_six_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-08f9ac6e41e65f11) [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 1.14s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test days::day15::tests::test_rotate ... ok [INFO] [stdout] test days::day18::tests::example_a1 ... ok [INFO] [stdout] test days::day22::tests::cut ... ok [INFO] [stdout] test days::day18::tests::example_b4 ... ok [INFO] [stdout] test days::day14::tests::even_ingredients ... ok [INFO] [stdout] test days::day22::tests::deal13_3 ... ok [INFO] [stdout] test days::day22::tests::deal13_4 ... ok [INFO] [stdout] test days::day18::tests::example_a3 ... 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_12 ... ok [INFO] [stdout] test days::day22::tests::deal13_10 ... ok [INFO] [stdout] test days::day22::tests::deal13_11 ... ok [INFO] [stdout] test days::day16::tests::example_a1 ... 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 util::iter::tests::count_one_is_one ... ok [INFO] [stdout] test days::day22::tests::stack_stack ... ok [INFO] [stdout] test days::day22::tests::deal13_9 ... ok [INFO] [stdout] test days::day17::tests::test_rotate ... ok [INFO] [stdout] test days::day18::tests::example_b2 ... ok [INFO] [stdout] test days::day16::tests::example_b1 ... ok [INFO] [stdout] test days::day18::tests::example_b1 ... ok [INFO] [stdout] test days::day16::tests::example_a2 ... ok [INFO] [stdout] test days::day22::tests::cut_3_deal_5 ... ok [INFO] [stdout] test days::day22::tests::deal_5_deal_3 ... ok [INFO] [stdout] test days::day22::tests::deal_5_cut_3 ... ok [INFO] [stdout] test days::day22::tests::deal13_7 ... ok [INFO] [stdout] test days::day22::tests::deal_5_stack ... ok [INFO] [stdout] test util::iter::tests::count_many_is_different ... ok [INFO] [stdout] test days::day16::tests::example_b3 ... ok [INFO] [stdout] test util::iter::tests::count_empty_is_empty ... ok [INFO] [stdout] test days::day22::tests::deal13_6 ... ok [INFO] [stdout] test days::day22::tests::stack ... ok [INFO] [stdout] test days::day22::tests::stack_deal_5 ... ok [INFO] [stdout] test days::day22::tests::deal13_8 ... ok [INFO] [stdout] test days::day22::tests::stack_cut_5 ... ok [INFO] [stdout] test days::day16::tests::example_b2 ... ok [INFO] [stdout] test days::day22::tests::deal13_5 ... ok [INFO] [stdout] test util::tests::can_permute_references ... ok [INFO] [stdout] test days::day22::tests::deal13_2 ... ok [INFO] [stdout] test days::day18::tests::example_b3 ... ok [INFO] [stdout] test days::day22::tests::repeated_polynomial ... 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::one_has_one_permutation ... ok [INFO] [stdout] test util::tests::two_has_two_permutations ... ok [INFO] [stdout] test util::tests::five_has_120_permutations ... ok [INFO] [stdout] test util::tests::six_non_unique_has_duplicate_permutations ... ok [INFO] [stdout] test util::tests::can_permute_references_to_funny_types ... 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 1.25s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stderr] Running tests/test.rs (/opt/rustwide/target/debug/deps/test-02c1d28dec488088) [INFO] [stdout] test day01 ... ok [INFO] [stdout] test day05 ... ok [INFO] [stdout] test day04 ... ok [INFO] [stdout] test day03 ... ok [INFO] [stdout] test day08 ... ok [INFO] [stdout] test day06 ... ok [INFO] [stdout] test day22 ... ok [INFO] [stdout] test day14 ... ok [INFO] [stdout] test day11 ... ok [INFO] [stdout] test day19 ... ok [INFO] [stdout] test day07 ... ok [INFO] [stdout] test day15 ... ok [INFO] [stdout] test day09 ... ok [INFO] [stdout] test day24 ... ok [INFO] [stdout] test day17 ... ok [INFO] [stdout] test day02 ... ok [INFO] [stdout] test day23 ... ok [INFO] [stdout] test day21 ... ok [INFO] [stdout] test day13 ... ok [INFO] [stdout] test day25 ... ok [INFO] [stdout] test day10 ... ok [INFO] [stdout] test day18 ... ok [INFO] [stdout] test day20 ... ok [INFO] [stdout] test day12 ... ok [INFO] [stderr] Doc-tests adventofcode-2019 [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 5.04s [INFO] [stdout] [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" "85daef045512175afb6e8ded98e65627c67149be83120b03d50feab3604f1247", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85daef045512175afb6e8ded98e65627c67149be83120b03d50feab3604f1247", kill_on_drop: false }` [INFO] [stdout] 85daef045512175afb6e8ded98e65627c67149be83120b03d50feab3604f1247