[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.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmigerh%2Faoc-2020-rs" "/workspace/builds/worker-29/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-29/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/migerh/aoc-2020-rs on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.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-29/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.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fixedbitset v0.3.1 [INFO] [stderr] Downloaded terminal_size v0.1.15 [INFO] [stderr] Downloaded console v0.13.0 [INFO] [stderr] Downloaded idata v0.1.2 [INFO] [stderr] Downloaded pathfinding v2.1.1 [INFO] [stderr] Downloaded dynparser v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1501a97de24bc6886d8b1d25c9fdbbdd3b14134fed3cd7a90d6164940cdef9ea [INFO] running `Command { std: "docker" "start" "-a" "1501a97de24bc6886d8b1d25c9fdbbdd3b14134fed3cd7a90d6164940cdef9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1501a97de24bc6886d8b1d25c9fdbbdd3b14134fed3cd7a90d6164940cdef9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1501a97de24bc6886d8b1d25c9fdbbdd3b14134fed3cd7a90d6164940cdef9ea", kill_on_drop: false }` [INFO] [stdout] 1501a97de24bc6886d8b1d25c9fdbbdd3b14134fed3cd7a90d6164940cdef9ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 84527ab7ebb3134394160c37ba280f4471297c589db2f5d844e4fcb34c155462 [INFO] running `Command { std: "docker" "start" "-a" "84527ab7ebb3134394160c37ba280f4471297c589db2f5d844e4fcb34c155462", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.80 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling regex-syntax v0.6.21 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling unicode-width v0.1.8 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling number_prefix v0.3.0 [INFO] [stderr] Compiling fixedbitset v0.3.1 [INFO] [stderr] Compiling idata v0.1.2 [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 num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling num-rational v0.3.2 [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 rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling regex v1.4.2 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling pathfinding v2.1.1 [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 19.74s [INFO] running `Command { std: "docker" "inspect" "84527ab7ebb3134394160c37ba280f4471297c589db2f5d844e4fcb34c155462", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84527ab7ebb3134394160c37ba280f4471297c589db2f5d844e4fcb34c155462", kill_on_drop: false }` [INFO] [stdout] 84527ab7ebb3134394160c37ba280f4471297c589db2f5d844e4fcb34c155462 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e62bb165985e50fe44b3980d79f6878a6b2a619cd79f15050fe9ae1396628b6e [INFO] running `Command { std: "docker" "start" "-a" "e62bb165985e50fe44b3980d79f6878a6b2a619cd79f15050fe9ae1396628b6e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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 3.21s [INFO] running `Command { std: "docker" "inspect" "e62bb165985e50fe44b3980d79f6878a6b2a619cd79f15050fe9ae1396628b6e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e62bb165985e50fe44b3980d79f6878a6b2a619cd79f15050fe9ae1396628b6e", kill_on_drop: false }` [INFO] [stdout] e62bb165985e50fe44b3980d79f6878a6b2a619cd79f15050fe9ae1396628b6e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-29/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 2c85eac36da7dd00d90f627f9edf647befe9480a41bf49fb3e5c3cbf9863d110 [INFO] running `Command { std: "docker" "start" "-a" "2c85eac36da7dd00d90f627f9edf647befe9480a41bf49fb3e5c3cbf9863d110", 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] [stdout] [INFO] [stderr] --> src/day20/tile.rs:111:20 [INFO] [stdout] running 13 tests [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] [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!(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.08s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/y2020-2fa1199e3b3fb83c) [INFO] [stdout] test day15::test::example_1_1 ... ok [INFO] [stdout] test day15::test::example_1_2 ... ok [INFO] [stdout] test day18::test::example_1_2 ... ok [INFO] [stdout] test day15::test::example_1_3 ... ok [INFO] [stdout] test day18::test::example_1_1 ... ok [INFO] [stdout] test day18::test::example_2_3 ... ok [INFO] [stdout] test day1::test::example_2_1 ... ok [INFO] [stdout] test day18::test::example_1_3 ... ok [INFO] [stdout] test day18::test::example_2_1 ... ok [INFO] [stdout] test day18::test::example_2_2 ... ok [INFO] [stdout] test day4::test::invalid_expiration_year_can_be_validated ... 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.01s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "2c85eac36da7dd00d90f627f9edf647befe9480a41bf49fb3e5c3cbf9863d110", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c85eac36da7dd00d90f627f9edf647befe9480a41bf49fb3e5c3cbf9863d110", kill_on_drop: false }` [INFO] [stdout] 2c85eac36da7dd00d90f627f9edf647befe9480a41bf49fb3e5c3cbf9863d110