[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#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkschat%2Fadvent-of-code-2020" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kschat/advent-of-code-2020 on toolchain 8424f8e8cdf07010967a57584fd647b30e930d4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "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-5-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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cached v0.22.0 [INFO] [stderr] Downloaded darling_core v0.10.3 [INFO] [stderr] Downloaded darling_macro v0.10.3 [INFO] [stderr] Downloaded cached_proc_macro v0.6.0 [INFO] [stderr] Downloaded darling v0.10.3 [INFO] [stderr] Downloaded syn v1.0.54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ad1ab9fea7f3d9dcec20bda361f982a1c1bc107553b5751a497230f6a82fd16d [INFO] running `Command { std: "docker" "start" "-a" "ad1ab9fea7f3d9dcec20bda361f982a1c1bc107553b5751a497230f6a82fd16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ad1ab9fea7f3d9dcec20bda361f982a1c1bc107553b5751a497230f6a82fd16d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad1ab9fea7f3d9dcec20bda361f982a1c1bc107553b5751a497230f6a82fd16d", kill_on_drop: false }` [INFO] [stdout] ad1ab9fea7f3d9dcec20bda361f982a1c1bc107553b5751a497230f6a82fd16d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12ee48debe978af06443b5afa946f6021fa4f3937939f4123a4848bac56e9827 [INFO] running `Command { std: "docker" "start" "-a" "12ee48debe978af06443b5afa946f6021fa4f3937939f4123a4848bac56e9827", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling fnv v1.0.7 [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] Checking slab v0.4.2 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking regex v1.4.2 [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: 13 warnings emitted [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: 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 [unoptimized + debuginfo] target(s) in 6.18s [INFO] running `Command { std: "docker" "inspect" "12ee48debe978af06443b5afa946f6021fa4f3937939f4123a4848bac56e9827", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12ee48debe978af06443b5afa946f6021fa4f3937939f4123a4848bac56e9827", kill_on_drop: false }` [INFO] [stdout] 12ee48debe978af06443b5afa946f6021fa4f3937939f4123a4848bac56e9827 [INFO] checking kschat/advent-of-code-2020 against try#047472f299946caf090d1b5608ae4bd9f0416256+rustflags=-Ddereferencing_mut_binding for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkschat%2Fadvent-of-code-2020" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kschat/advent-of-code-2020 on toolchain 047472f299946caf090d1b5608ae4bd9f0416256 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+047472f299946caf090d1b5608ae4bd9f0416256" "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-5-tc2/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" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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" "+047472f299946caf090d1b5608ae4bd9f0416256" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9047fe708020b325f411a58d8ef30de86c5d1e122c1e95ee738a0abd14472e4 [INFO] running `Command { std: "docker" "start" "-a" "f9047fe708020b325f411a58d8ef30de86c5d1e122c1e95ee738a0abd14472e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9047fe708020b325f411a58d8ef30de86c5d1e122c1e95ee738a0abd14472e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9047fe708020b325f411a58d8ef30de86c5d1e122c1e95ee738a0abd14472e4", kill_on_drop: false }` [INFO] [stdout] f9047fe708020b325f411a58d8ef30de86c5d1e122c1e95ee738a0abd14472e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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 -Ddereferencing_mut_binding" "-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" "+047472f299946caf090d1b5608ae4bd9f0416256" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4acd5aa36136512b4d0859046362018b2e3361d64cb3c43e11b4d8c5d7e6a6d6 [INFO] running `Command { std: "docker" "start" "-a" "4acd5aa36136512b4d0859046362018b2e3361d64cb3c43e11b4d8c5d7e6a6d6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.54 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Checking futures-sink v0.3.8 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Checking futures-core v0.3.8 [INFO] [stderr] Checking futures-io v0.3.8 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Compiling event-listener v2.5.1 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking thread_local v1.0.1 [INFO] [stderr] Checking regex-syntax v0.6.21 [INFO] [stderr] Checking futures-channel v0.3.8 [INFO] [stderr] Checking futures-task v0.3.8 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking aho-corasick v0.7.15 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking regex v1.4.2 [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] Compiling darling v0.10.3 [INFO] [stderr] Checking pin-project v1.0.2 [INFO] [stderr] Compiling cached_proc_macro v0.6.0 [INFO] [stderr] Checking futures-util v0.3.8 [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] error: dereferencing `mut` binding [INFO] [stdout] --> src/d13.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | let (offset, mut step) = bus_sequence [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/d13.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | let (offset, mut step) = bus_sequence [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> src/d13.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | let (offset, mut step) = bus_sequence [INFO] [stdout] | ^^^^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> src/d13.rs:26:18 [INFO] [stdout] | [INFO] [stdout] 26 | let (offset, mut step) = bus_sequence [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [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: 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] error: aborting due to 1 previous error; 13 warnings emitted [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] [stderr] error: could not compile `advent-of-code-2020` (bin "advent-of-code-2020") due to 2 previous errors; 13 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 1 previous error; 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent-of-code-2020` (bin "advent-of-code-2020" test) due to 2 previous errors; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "4acd5aa36136512b4d0859046362018b2e3361d64cb3c43e11b4d8c5d7e6a6d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4acd5aa36136512b4d0859046362018b2e3361d64cb3c43e11b4d8c5d7e6a6d6", kill_on_drop: false }` [INFO] [stdout] 4acd5aa36136512b4d0859046362018b2e3361d64cb3c43e11b4d8c5d7e6a6d6