[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-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Femlun%2Fadventofcode-2019" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/emlun/adventofcode-2019 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/emlun/adventofcode-2019 [INFO] finished tweaking git repo https://github.com/emlun/adventofcode-2019 [INFO] tweaked toml for git repo https://github.com/emlun/adventofcode-2019 written to /workspace/builds/worker-4/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-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fdd9561955bfbb45a6aedc2cb71d79e73e2dddf24b35c63a673122064e9ae053 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "fdd9561955bfbb45a6aedc2cb71d79e73e2dddf24b35c63a673122064e9ae053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fdd9561955bfbb45a6aedc2cb71d79e73e2dddf24b35c63a673122064e9ae053", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fdd9561955bfbb45a6aedc2cb71d79e73e2dddf24b35c63a673122064e9ae053", kill_on_drop: false }` [INFO] [stdout] fdd9561955bfbb45a6aedc2cb71d79e73e2dddf24b35c63a673122064e9ae053 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 092475ab8acb7bfc494b4aebab33b4d169bf7260b0db49ac01baefc508d75c21 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "092475ab8acb7bfc494b4aebab33b4d169bf7260b0db49ac01baefc508d75c21", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 17.80s [INFO] running `Command { std: "docker" "inspect" "092475ab8acb7bfc494b4aebab33b4d169bf7260b0db49ac01baefc508d75c21", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "092475ab8acb7bfc494b4aebab33b4d169bf7260b0db49ac01baefc508d75c21", kill_on_drop: false }` [INFO] [stdout] 092475ab8acb7bfc494b4aebab33b4d169bf7260b0db49ac01baefc508d75c21 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38793d5d58c7a9ea6e9944c93ac6d89e199620173b06aff602ff4688c1a3bd5c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "38793d5d58c7a9ea6e9944c93ac6d89e199620173b06aff602ff4688c1a3bd5c", 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: 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: 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.42s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/adventofcode_2019-6ba2ccd148deef8c) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/adventofcode_2019-284aa8c9daa39621) [INFO] [stderr] Executable tests/test.rs (/opt/rustwide/target/debug/deps/test-a8a21543c181b4b9) [INFO] running `Command { std: "docker" "inspect" "38793d5d58c7a9ea6e9944c93ac6d89e199620173b06aff602ff4688c1a3bd5c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38793d5d58c7a9ea6e9944c93ac6d89e199620173b06aff602ff4688c1a3bd5c", kill_on_drop: false }` [INFO] [stdout] 38793d5d58c7a9ea6e9944c93ac6d89e199620173b06aff602ff4688c1a3bd5c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] aaf8cb3a0cf8f6ad04e2ef31ec4a63b5468bb7b9baa4f2023343b8569626ec81 [INFO] running `Command { std: "docker" "start" "-a" "aaf8cb3a0cf8f6ad04e2ef31ec4a63b5468bb7b9baa4f2023343b8569626ec81", kill_on_drop: false }` [INFO] [stdout] [INFO] [stderr] warning: unnecessary trailing semicolon [INFO] [stdout] running 55 tests [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 src/lib.rs (/opt/rustwide/target/debug/deps/adventofcode_2019-6ba2ccd148deef8c) [INFO] [stdout] test days::day18::tests::example_b1 ... ok [INFO] [stdout] test days::day18::tests::example_b2 ... ok [INFO] [stdout] test days::day18::tests::example_b3 ... ok [INFO] [stdout] test days::day14::tests::even_ingredients ... ok [INFO] [stdout] test days::day18::tests::example_b4 ... ok [INFO] [stdout] test days::day22::tests::cut_3_deal_5 ... 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::day16::tests::example_a2 ... ok [INFO] [stdout] test days::day16::tests::example_a1 ... ok [INFO] [stdout] test days::day22::tests::cut ... ok [INFO] [stdout] test days::day22::tests::deal13_3 ... ok [INFO] [stdout] test days::day22::tests::deal13_2 ... 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::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::deal_5_deal_3 ... ok [INFO] [stdout] test days::day22::tests::deal_5_cut_3 ... ok [INFO] [stdout] test days::day22::tests::deal13_9 ... ok [INFO] [stdout] test days::day22::tests::deal13_8 ... 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::deal_5_stack ... ok [INFO] [stdout] test days::day22::tests::deal13_11 ... 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::stack_stack ... ok [INFO] [stdout] test days::day18::tests::example_a5 ... ok [INFO] [stdout] test util::iter::tests::count_one_is_one ... ok [INFO] [stdout] test days::day22::tests::deal13_5 ... ok [INFO] [stdout] test days::day22::tests::deal13_6 ... ok [INFO] [stdout] test days::day22::tests::deal13_7 ... ok [INFO] [stdout] test days::day18::tests::example_a3 ... ok [INFO] [stdout] test util::tests::empty_has_no_permutations ... ok [INFO] [stdout] test util::iter::tests::count_empty_is_empty ... 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::can_permute_references ... ok [INFO] [stdout] test util::tests::can_permute_references_to_funny_types ... ok [INFO] [stdout] test days::day15::tests::test_rotate ... ok [INFO] [stdout] test days::day22::tests::deal13_4 ... 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::one_has_one_permutation ... ok [INFO] [stdout] test days::day16::tests::example_b1 ... 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::day16::tests::example_b2 ... ok [INFO] [stdout] test util::tests::can_permute_large_sequences ... ok [INFO] [stdout] test days::day18::tests::example_a4 ... ok [INFO] [stdout] test util::tests::eight_has_lots_of_permutations ... ok [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/adventofcode_2019-284aa8c9daa39621) [INFO] [stdout] [INFO] [stdout] test result: ok. 55 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.23s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 55 tests [INFO] [stdout] test days::day18::tests::example_a1 ... ok [INFO] [stdout] test days::day15::tests::test_rotate ... 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::day16::tests::example_a1 ... ok [INFO] [stdout] test days::day18::tests::example_a5 ... ok [INFO] [stdout] test days::day18::tests::example_b1 ... ok [INFO] [stdout] test days::day18::tests::example_b3 ... 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::cut_5_stack ... ok [INFO] [stdout] test days::day22::tests::cut_cut ... ok [INFO] [stdout] test days::day22::tests::deal13_11 ... ok [INFO] [stdout] test days::day18::tests::example_b2 ... ok [INFO] [stdout] test days::day22::tests::deal13_4 ... ok [INFO] [stdout] test days::day22::tests::deal13_3 ... 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::deal13_8 ... 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_2 ... ok [INFO] [stdout] test days::day22::tests::deal_5_cut_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_deal_5 ... 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 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::stack_stack ... ok [INFO] [stdout] test util::tests::can_permute_references ... ok [INFO] [stdout] test days::day22::tests::deal13_5 ... ok [INFO] [stdout] test days::day22::tests::deal13_12 ... ok [INFO] [stdout] test days::day22::tests::stack_cut_5 ... ok [INFO] [stdout] test days::day22::tests::cut ... ok [INFO] [stdout] test util::tests::one_has_one_permutation ... ok [INFO] [stdout] test days::day18::tests::example_a3 ... ok [INFO] [stdout] test days::day18::tests::example_a2 ... ok [INFO] [stdout] test days::day22::tests::deal13_9 ... 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::three_has_six_permutations ... ok [INFO] [stdout] test util::tests::empty_has_no_permutations ... ok [INFO] [stdout] test util::tests::five_has_120_permutations ... ok [INFO] [stdout] test util::tests::can_permute_references_to_funny_types ... 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_b1 ... ok [INFO] [stdout] test days::day16::tests::example_b3 ... 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.91s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 25 tests [INFO] [stdout] test day01 ... ok [INFO] [stdout] test day05 ... ok [INFO] [stdout] test day03 ... ok [INFO] [stdout] test day04 ... ok [INFO] [stdout] test day06 ... ok [INFO] [stdout] test day08 ... ok [INFO] [stdout] test day07 ... ok [INFO] [stdout] test day22 ... ok [INFO] [stdout] test day14 ... ok [INFO] [stdout] test day19 ... ok [INFO] [stdout] test day15 ... ok [INFO] [stdout] test day17 ... ok [INFO] [stdout] test day24 ... ok [INFO] [stdout] test day23 ... ok [INFO] [stdout] test day11 ... ok [INFO] [stdout] test day09 ... ok [INFO] [stdout] test day21 ... ok [INFO] [stdout] test day02 ... ok [INFO] [stdout] test day25 ... ok [INFO] [stdout] test day13 ... ok [INFO] [stdout] test day20 ... ok [INFO] [stdout] test day10 ... 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 3.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" "aaf8cb3a0cf8f6ad04e2ef31ec4a63b5468bb7b9baa4f2023343b8569626ec81", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaf8cb3a0cf8f6ad04e2ef31ec4a63b5468bb7b9baa4f2023343b8569626ec81", kill_on_drop: false }` [INFO] [stdout] aaf8cb3a0cf8f6ad04e2ef31ec4a63b5468bb7b9baa4f2023343b8569626ec81