[INFO] cloning repository https://github.com/kschat/advent-of-code-2020 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kschat/advent-of-code-2020" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkschat%2Fadvent-of-code-2020", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkschat%2Fadvent-of-code-2020'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 26fb64f501a412a42e4800d0d104052de1979ccd [INFO] checking kschat/advent-of-code-2020 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkschat%2Fadvent-of-code-2020" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kschat/advent-of-code-2020 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kschat/advent-of-code-2020 [INFO] finished tweaking git repo https://github.com/kschat/advent-of-code-2020 [INFO] tweaked toml for git repo https://github.com/kschat/advent-of-code-2020 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kschat/advent-of-code-2020 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cached_proc_macro_types v0.1.0 [INFO] [stderr] Downloaded darling_macro v0.10.3 [INFO] [stderr] Downloaded darling v0.10.3 [INFO] [stderr] Downloaded darling_core v0.10.3 [INFO] [stderr] Downloaded cached_proc_macro v0.6.0 [INFO] [stderr] Downloaded cached v0.22.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c66096c326840a1af02df6e2bc663b07d09b7151854492e794dbce0961f5951 [INFO] running `Command { std: "docker" "start" "-a" "0c66096c326840a1af02df6e2bc663b07d09b7151854492e794dbce0961f5951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c66096c326840a1af02df6e2bc663b07d09b7151854492e794dbce0961f5951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c66096c326840a1af02df6e2bc663b07d09b7151854492e794dbce0961f5951", kill_on_drop: false }` [INFO] [stdout] 0c66096c326840a1af02df6e2bc663b07d09b7151854492e794dbce0961f5951 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 691cc9c34a4b3eb7a1cffe374a920dd1cf5325a184b6a2af0cd7be2a1f71984f [INFO] running `Command { std: "docker" "start" "-a" "691cc9c34a4b3eb7a1cffe374a920dd1cf5325a184b6a2af0cd7be2a1f71984f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Compiling async-mutex v1.4.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling darling_core v0.10.3 [INFO] [stderr] Compiling pin-project-internal v1.0.2 [INFO] [stderr] Compiling futures-macro v0.3.8 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Compiling darling_macro v0.10.3 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Checking futures-util v0.3.8 [INFO] [stderr] Compiling darling v0.10.3 [INFO] [stderr] Compiling cached_proc_macro v0.6.0 [INFO] [stderr] Checking futures-executor v0.3.8 [INFO] [stderr] Checking futures v0.3.8 [INFO] [stderr] Checking cached v0.22.0 [INFO] [stderr] Checking advent-of-code-2020 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `country_id` is never read [INFO] [stdout] --> src/d04.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Passport { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 23 | id: String, [INFO] [stdout] 24 | country_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row` and `column` are never read [INFO] [stdout] --> src/d05.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Seat { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | row: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | column: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Seat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/d07.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Unknown(&'a str), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Unknown(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/d14.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &'static str = include_str!("../data/docking-program.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | _ => panic!(format!("Unknown day {}", action)), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 55 - _ => panic!(format!("Unknown day {}", action)), [INFO] [stdout] 55 + _ => panic!("Unknown day {}", action), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d03.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | value => panic!(format!("Unknown value \"{}\" in map", value)), [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] 84 - value => panic!(format!("Unknown value \"{}\" in map", value)), [INFO] [stdout] 84 + value => panic!("Unknown value \"{}\" in map", value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d05.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | _ => panic!(format!("Unknown direction \"{}\"", direction)), [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 - _ => panic!(format!("Unknown direction \"{}\"", direction)), [INFO] [stdout] 46 + _ => panic!("Unknown direction \"{}\"", direction), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | Some(token) => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 141 - Some(token) => panic!(format!("Unexpected token \"{:?}\"", token)), [INFO] [stdout] 141 + Some(token) => panic!("Unexpected token \"{:?}\"", token), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | _ => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 190 - _ => panic!(format!("Unexpected token \"{:?}\"", token)), [INFO] [stdout] 190 + _ => panic!("Unexpected token \"{:?}\"", token), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:202:31 [INFO] [stdout] | [INFO] [stdout] 202 | Some(token) => panic!(format!("Expected 'contain', found \"{:?}\"", token)), [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] 202 - Some(token) => panic!(format!("Expected 'contain', found \"{:?}\"", token)), [INFO] [stdout] 202 + Some(token) => panic!("Expected 'contain', found \"{:?}\"", token), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:219:25 [INFO] [stdout] | [INFO] [stdout] 219 | _ => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 219 - _ => panic!(format!("Unexpected token \"{:?}\"", token)), [INFO] [stdout] 219 + _ => panic!("Unexpected token \"{:?}\"", token), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d08.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | value => panic!(format!("Unexpected int code \"{}\"", value)), [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] 108 - value => panic!(format!("Unexpected int code \"{}\"", value)), [INFO] [stdout] 108 + value => panic!("Unexpected int code \"{}\"", value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d10.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | val => panic!(format!("Unexpected difference {}", val)), [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] 15 - val => panic!(format!("Unexpected difference {}", val)), [INFO] [stdout] 15 + val => panic!("Unexpected difference {}", val), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `country_id` is never read [INFO] [stdout] --> src/d04.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Passport { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 23 | id: String, [INFO] [stdout] 24 | country_id: Option, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Passport` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `row` and `column` are never read [INFO] [stdout] --> src/d05.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | struct Seat { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | row: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 8 | column: u8, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Seat` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/d07.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | Unknown(&'a str), [INFO] [stdout] | ------- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | Unknown(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `INPUT` is never used [INFO] [stdout] --> src/d14.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | const INPUT: &'static str = include_str!("../data/docking-program.txt"); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/main.rs:55:21 [INFO] [stdout] | [INFO] [stdout] 55 | _ => panic!(format!("Unknown day {}", action)), [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] = note: `#[warn(non_fmt_panics)]` on by default [INFO] [stdout] help: remove the `format!(..)` macro call [INFO] [stdout] | [INFO] [stdout] 55 - _ => panic!(format!("Unknown day {}", action)), [INFO] [stdout] 55 + _ => panic!("Unknown day {}", action), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d03.rs:84:37 [INFO] [stdout] | [INFO] [stdout] 84 | value => panic!(format!("Unknown value \"{}\" in map", value)), [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] 84 - value => panic!(format!("Unknown value \"{}\" in map", value)), [INFO] [stdout] 84 + value => panic!("Unknown value \"{}\" in map", value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d05.rs:46:25 [INFO] [stdout] | [INFO] [stdout] 46 | _ => panic!(format!("Unknown direction \"{}\"", direction)), [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 - _ => panic!(format!("Unknown direction \"{}\"", direction)), [INFO] [stdout] 46 + _ => panic!("Unknown direction \"{}\"", direction), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:141:31 [INFO] [stdout] | [INFO] [stdout] 141 | Some(token) => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 141 - Some(token) => panic!(format!("Unexpected token \"{:?}\"", token)), [INFO] [stdout] 141 + Some(token) => panic!("Unexpected token \"{:?}\"", token), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:190:25 [INFO] [stdout] | [INFO] [stdout] 190 | _ => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 190 - _ => panic!(format!("Unexpected token \"{:?}\"", token)), [INFO] [stdout] 190 + _ => panic!("Unexpected token \"{:?}\"", token), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:202:31 [INFO] [stdout] | [INFO] [stdout] 202 | Some(token) => panic!(format!("Expected 'contain', found \"{:?}\"", token)), [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] 202 - Some(token) => panic!(format!("Expected 'contain', found \"{:?}\"", token)), [INFO] [stdout] 202 + Some(token) => panic!("Expected 'contain', found \"{:?}\"", token), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d07.rs:219:25 [INFO] [stdout] | [INFO] [stdout] 219 | _ => panic!(format!("Unexpected token \"{:?}\"", token)), [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] 219 - _ => panic!(format!("Unexpected token \"{:?}\"", token)), [INFO] [stdout] 219 + _ => panic!("Unexpected token \"{:?}\"", token), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d08.rs:108:33 [INFO] [stdout] | [INFO] [stdout] 108 | value => panic!(format!("Unexpected int code \"{}\"", value)), [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] 108 - value => panic!(format!("Unexpected int code \"{}\"", value)), [INFO] [stdout] 108 + value => panic!("Unexpected int code \"{}\"", value), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/d10.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | val => panic!(format!("Unexpected difference {}", val)), [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] 15 - val => panic!(format!("Unexpected difference {}", val)), [INFO] [stdout] 15 + val => panic!("Unexpected difference {}", val), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.72s [INFO] running `Command { std: "docker" "inspect" "691cc9c34a4b3eb7a1cffe374a920dd1cf5325a184b6a2af0cd7be2a1f71984f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "691cc9c34a4b3eb7a1cffe374a920dd1cf5325a184b6a2af0cd7be2a1f71984f", kill_on_drop: false }` [INFO] [stdout] 691cc9c34a4b3eb7a1cffe374a920dd1cf5325a184b6a2af0cd7be2a1f71984f