[INFO] cloning repository https://github.com/migerh/aoc-2020-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/migerh/aoc-2020-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigerh%2Faoc-2020-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigerh%2Faoc-2020-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f104d29ac7a0bd666c371fe29275d12ef93542cf [INFO] testing migerh/aoc-2020-rs against 1.55.0 for beta-1.56-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigerh%2Faoc-2020-rs" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/migerh/aoc-2020-rs on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/migerh/aoc-2020-rs [INFO] finished tweaking git repo https://github.com/migerh/aoc-2020-rs [INFO] tweaked toml for git repo https://github.com/migerh/aoc-2020-rs written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/migerh/aoc-2020-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 669ccc5569bc3fef80304054ccdefc4391216115f12dd070c0739d15a63441d8 [INFO] running `Command { std: "docker" "start" "-a" "669ccc5569bc3fef80304054ccdefc4391216115f12dd070c0739d15a63441d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "669ccc5569bc3fef80304054ccdefc4391216115f12dd070c0739d15a63441d8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "669ccc5569bc3fef80304054ccdefc4391216115f12dd070c0739d15a63441d8", kill_on_drop: false }` [INFO] [stdout] 669ccc5569bc3fef80304054ccdefc4391216115f12dd070c0739d15a63441d8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16e8be6b967cf3019d54ea82f6bd160e37a48a8358fec324fbf598e5a1fc9a43 [INFO] running `Command { std: "docker" "start" "-a" "16e8be6b967cf3019d54ea82f6bd160e37a48a8358fec324fbf598e5a1fc9a43", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling idata v0.1.2 [INFO] [stderr] Compiling fixedbitset v0.3.1 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling dynparser v0.4.2 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling terminal_size v0.1.15 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling pathfinding v2.1.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling num v0.3.1 [INFO] [stderr] Compiling console v0.13.0 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling y2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day20/tile.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | panic!(format!("Unknown rotation: {}", rotation)); [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] 111 | panic!("Unknown rotation: {}", rotation); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day20/tilehash.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | panic!(format!("Tile {} shares more than one border with tile {}", self.id, neighbor.id)) [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] 49 | panic!("Tile {} shares more than one border with tile {}", self.id, neighbor.id) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day20/reconstruct.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | _ => panic!(format!("cannot map exit {} to any rotation", exit)), [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] 32 | _ => panic!("cannot map exit {} to any rotation", exit), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day20/reconstruct.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | _ => panic!(format!("cannot map exit {} to any rotation", exit)), [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] 42 | _ => panic!("cannot map exit {} to any rotation", exit), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day24/mod.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | (v1, v2) => panic!(format!("Encountered unexpected pair of input chars: '{}' and '{:?}'", v1, v2)) [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] 46 | (v1, v2) => panic!("Encountered unexpected pair of input chars: '{}' and '{:?}'", v1, v2) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [optimized + debuginfo] target(s) in 44.94s [INFO] running `Command { std: "docker" "inspect" "16e8be6b967cf3019d54ea82f6bd160e37a48a8358fec324fbf598e5a1fc9a43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16e8be6b967cf3019d54ea82f6bd160e37a48a8358fec324fbf598e5a1fc9a43", kill_on_drop: false }` [INFO] [stdout] 16e8be6b967cf3019d54ea82f6bd160e37a48a8358fec324fbf598e5a1fc9a43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0328044e6b31a772293c6cbd7156114e129f28511699939bdd2134ad802fb25b [INFO] running `Command { std: "docker" "start" "-a" "0328044e6b31a772293c6cbd7156114e129f28511699939bdd2134ad802fb25b", kill_on_drop: false }` [INFO] [stderr] Compiling y2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day20/tile.rs:111:20 [INFO] [stdout] | [INFO] [stdout] 111 | panic!(format!("Unknown rotation: {}", rotation)); [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] 111 | panic!("Unknown rotation: {}", rotation); [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day20/tilehash.rs:49:32 [INFO] [stdout] | [INFO] [stdout] 49 | panic!(format!("Tile {} shares more than one border with tile {}", self.id, neighbor.id)) [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] 49 | panic!("Tile {} shares more than one border with tile {}", self.id, neighbor.id) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day20/reconstruct.rs:32:21 [INFO] [stdout] | [INFO] [stdout] 32 | _ => panic!(format!("cannot map exit {} to any rotation", exit)), [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] 32 | _ => panic!("cannot map exit {} to any rotation", exit), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day20/reconstruct.rs:42:21 [INFO] [stdout] | [INFO] [stdout] 42 | _ => panic!(format!("cannot map exit {} to any rotation", exit)), [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] 42 | _ => panic!("cannot map exit {} to any rotation", exit), [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/day24/mod.rs:46:32 [INFO] [stdout] | [INFO] [stdout] 46 | (v1, v2) => panic!(format!("Encountered unexpected pair of input chars: '{}' and '{:?}'", v1, v2)) [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] 46 | (v1, v2) => panic!("Encountered unexpected pair of input chars: '{}' and '{:?}'", v1, v2) [INFO] [stdout] | -- -- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 2.71s [INFO] running `Command { std: "docker" "inspect" "0328044e6b31a772293c6cbd7156114e129f28511699939bdd2134ad802fb25b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0328044e6b31a772293c6cbd7156114e129f28511699939bdd2134ad802fb25b", kill_on_drop: false }` [INFO] [stdout] 0328044e6b31a772293c6cbd7156114e129f28511699939bdd2134ad802fb25b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 63452ce37fc86da3eacb5058bdcbcdb5169a3289a69ce1c6260e253738173732 [INFO] running `Command { std: "docker" "start" "-a" "63452ce37fc86da3eacb5058bdcbcdb5169a3289a69ce1c6260e253738173732", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day20/tile.rs:111:20 [INFO] [stderr] | [INFO] [stderr] 111 | panic!(format!("Unknown rotation: {}", rotation)); [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] 111 | panic!("Unknown rotation: {}", rotation); [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day20/tilehash.rs:49:32 [INFO] [stderr] | [INFO] [stderr] 49 | panic!(format!("Tile {} shares more than one border with tile {}", self.id, neighbor.id)) [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] 49 | panic!("Tile {} shares more than one border with tile {}", self.id, neighbor.id) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day20/reconstruct.rs:32:21 [INFO] [stderr] | [INFO] [stderr] 32 | _ => panic!(format!("cannot map exit {} to any rotation", exit)), [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] 32 | _ => panic!("cannot map exit {} to any rotation", exit), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day20/reconstruct.rs:42:21 [INFO] [stderr] | [INFO] [stderr] 42 | _ => panic!(format!("cannot map exit {} to any rotation", exit)), [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] 42 | _ => panic!("cannot map exit {} to any rotation", exit), [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stderr] --> src/day24/mod.rs:46:32 [INFO] [stderr] | [INFO] [stderr] 46 | (v1, v2) => panic!(format!("Encountered unexpected pair of input chars: '{}' and '{:?}'", v1, v2)) [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] 46 | (v1, v2) => panic!("Encountered unexpected pair of input chars: '{}' and '{:?}'", v1, v2) [INFO] [stderr] | -- -- [INFO] [stderr] [INFO] [stderr] warning: `y2020` (bin "y2020" test) generated 5 warnings [INFO] [stderr] Finished test [optimized + debuginfo] target(s) in 0.15s [INFO] [stdout] [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/y2020-c9b02577737b1b5f) [INFO] [stdout] running 13 tests [INFO] [stdout] test day18::test::example_1_2 ... ok [INFO] [stdout] test day18::test::example_1_3 ... ok [INFO] [stdout] test day15::test::example_1_1 ... ok [INFO] [stdout] test day15::test::example_1_3 ... ok [INFO] [stdout] test day18::test::example_1_1 ... ok [INFO] [stdout] test day1::test::example_2_1 ... ok [INFO] [stdout] test day4::test::invalid_expiration_year_can_be_validated ... ok [INFO] [stdout] test day4::test::valid_expiration_year_can_be_validated ... ok [INFO] [stdout] test day18::test::example_2_2 ... ok [INFO] [stdout] test day18::test::example_2_3 ... ok [INFO] [stdout] test day15::test::example_1_2 ... ok [INFO] [stdout] test day1::test::example_1_1 ... ok [INFO] [stdout] test day18::test::example_2_1 ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "63452ce37fc86da3eacb5058bdcbcdb5169a3289a69ce1c6260e253738173732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63452ce37fc86da3eacb5058bdcbcdb5169a3289a69ce1c6260e253738173732", kill_on_drop: false }` [INFO] [stdout] 63452ce37fc86da3eacb5058bdcbcdb5169a3289a69ce1c6260e253738173732