[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 beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigerh%2Faoc-2020-rs" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/migerh/aoc-2020-rs on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/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-13/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" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded terminal_size v0.1.15 [INFO] [stderr] Downloaded idata v0.1.2 [INFO] [stderr] Downloaded fixedbitset v0.3.1 [INFO] [stderr] Downloaded pathfinding v2.1.1 [INFO] [stderr] Downloaded console v0.13.0 [INFO] [stderr] Downloaded dynparser v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c303f02b9543815a6fa06787e381b1f774f170308d16b27cbc1a12eb3623969b [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" "c303f02b9543815a6fa06787e381b1f774f170308d16b27cbc1a12eb3623969b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c303f02b9543815a6fa06787e381b1f774f170308d16b27cbc1a12eb3623969b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c303f02b9543815a6fa06787e381b1f774f170308d16b27cbc1a12eb3623969b", kill_on_drop: false }` [INFO] [stdout] c303f02b9543815a6fa06787e381b1f774f170308d16b27cbc1a12eb3623969b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b3f9a17ef45dfe0b907660dc2b3b39a6133d939f85579786f03c4360dff4e821 [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" "b3f9a17ef45dfe0b907660dc2b3b39a6133d939f85579786f03c4360dff4e821", kill_on_drop: false }` [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 hashbrown v0.9.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling fixedbitset v0.3.1 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling idata v0.1.2 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling dynparser v0.4.2 [INFO] [stderr] Compiling itertools v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling terminal_size v0.1.15 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling pathfinding v2.1.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 console v0.13.0 [INFO] [stderr] Compiling indicatif v0.15.0 [INFO] [stderr] Compiling num v0.3.1 [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!(format!("Unknown rotation: {}", rotation)); [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!(format!("Tile {} shares more than one border with tile {}", self.id, neighbor.id)) [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!(format!("cannot map exit {} to any rotation", exit)), [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!(format!("cannot map exit {} to any rotation", exit)), [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!(format!("Encountered unexpected pair of input chars: '{}' and '{:?}'", v1, v2)) [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 1m 49s [INFO] running `Command { std: "docker" "inspect" "b3f9a17ef45dfe0b907660dc2b3b39a6133d939f85579786f03c4360dff4e821", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3f9a17ef45dfe0b907660dc2b3b39a6133d939f85579786f03c4360dff4e821", kill_on_drop: false }` [INFO] [stdout] b3f9a17ef45dfe0b907660dc2b3b39a6133d939f85579786f03c4360dff4e821 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7e2b1a60289d1502e30e964f3bef43bee801173f776318b99c4adbc8058f2c8a [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" "7e2b1a60289d1502e30e964f3bef43bee801173f776318b99c4adbc8058f2c8a", 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!(format!("Unknown rotation: {}", rotation)); [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!(format!("Tile {} shares more than one border with tile {}", self.id, neighbor.id)) [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!(format!("cannot map exit {} to any rotation", exit)), [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!(format!("cannot map exit {} to any rotation", exit)), [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!(format!("Encountered unexpected pair of input chars: '{}' and '{:?}'", v1, v2)) [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 5.85s [INFO] running `Command { std: "docker" "inspect" "7e2b1a60289d1502e30e964f3bef43bee801173f776318b99c4adbc8058f2c8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7e2b1a60289d1502e30e964f3bef43bee801173f776318b99c4adbc8058f2c8a", kill_on_drop: false }` [INFO] [stdout] 7e2b1a60289d1502e30e964f3bef43bee801173f776318b99c4adbc8058f2c8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 65319295a846d830c4b497c98676fef42dfbac79f9cb10aa296d9fbb7dea4254 [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" "65319295a846d830c4b497c98676fef42dfbac79f9cb10aa296d9fbb7dea4254", kill_on_drop: false }` [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!(format!("Unknown rotation: {}", rotation)); [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!(format!("Tile {} shares more than one border with tile {}", self.id, neighbor.id)) [INFO] [stderr] 49 + panic!("Tile {} shares more than one border with tile {}", self.id, neighbor.id) [INFO] [stderr] | [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] warning: panic message is not a string literal [INFO] [stdout] running 13 tests [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!(format!("cannot map exit {} to any rotation", exit)), [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!(format!("cannot map exit {} to any rotation", exit)), [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!(format!("Encountered unexpected pair of input chars: '{}' and '{:?}'", v1, v2)) [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.05s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/y2020-eb6cfd17d9dfad68) [INFO] [stdout] test day18::test::example_1_1 ... ok [INFO] [stdout] test day15::test::example_1_3 ... ok [INFO] [stdout] test day15::test::example_1_1 ... ok [INFO] [stdout] test day18::test::example_1_2 ... ok [INFO] [stdout] test day18::test::example_2_2 ... ok [INFO] [stdout] test day15::test::example_1_2 ... ok [INFO] [stdout] test day18::test::example_2_1 ... ok [INFO] [stdout] test day18::test::example_1_3 ... ok [INFO] [stdout] test day4::test::invalid_expiration_year_can_be_validated ... ok [INFO] [stdout] test day1::test::example_2_1 ... ok [INFO] [stdout] test day18::test::example_2_3 ... ok [INFO] [stdout] test day1::test::example_1_1 ... ok [INFO] [stdout] test day4::test::valid_expiration_year_can_be_validated ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "65319295a846d830c4b497c98676fef42dfbac79f9cb10aa296d9fbb7dea4254", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "65319295a846d830c4b497c98676fef42dfbac79f9cb10aa296d9fbb7dea4254", kill_on_drop: false }` [INFO] [stdout] 65319295a846d830c4b497c98676fef42dfbac79f9cb10aa296d9fbb7dea4254