[INFO] cloning repository https://github.com/plaflamme/advent-2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/plaflamme/advent-2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplaflamme%2Fadvent-2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplaflamme%2Fadvent-2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e016bb36207aeecc63423e9059903b4bff99439d [INFO] checking plaflamme/advent-2018 against master#1f12b9b0fdbe735968ac002792a720f0ba4faca6 for crater-rollup-uwu [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fplaflamme%2Fadvent-2018" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/plaflamme/advent-2018 on toolchain 1f12b9b0fdbe735968ac002792a720f0ba4faca6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/plaflamme/advent-2018 [INFO] finished tweaking git repo https://github.com/plaflamme/advent-2018 [INFO] tweaked toml for git repo https://github.com/plaflamme/advent-2018 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/plaflamme/advent-2018 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" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded which v3.1.1 [INFO] [stderr] Downloaded async_once v0.2.6 [INFO] [stderr] Downloaded cached_proc_macro_types v0.1.0 [INFO] [stderr] Downloaded z3 v0.11.2 [INFO] [stderr] Downloaded cached_proc_macro v0.12.0 [INFO] [stderr] Downloaded slab v0.4.6 [INFO] [stderr] Downloaded futures-executor v0.3.21 [INFO] [stderr] Downloaded async-trait v0.1.56 [INFO] [stderr] Downloaded futures v0.3.21 [INFO] [stderr] Downloaded indexmap v1.8.2 [INFO] [stderr] Downloaded hashbrown v0.12.1 [INFO] [stderr] Downloaded pathfinding v3.0.12 [INFO] [stderr] Downloaded bindgen v0.58.1 [INFO] [stderr] Downloaded cached v0.34.0 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] [stderr] Downloaded clang-sys v1.3.3 [INFO] [stderr] Downloaded futures-macro v0.3.21 [INFO] [stderr] Downloaded fixedbitset v0.4.1 [INFO] [stderr] Downloaded thiserror v1.0.31 [INFO] [stderr] Downloaded thiserror-impl v1.0.31 [INFO] [stderr] Downloaded serde_plain v1.0.0 [INFO] [stderr] Downloaded tokio v1.19.2 [INFO] [stderr] Downloaded z3-sys v0.7.1 [INFO] [stderr] Downloaded ixlist v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4e2d7bb570db648986b6099cab62a93e5b9ec79aaa2b8f047bb40dc10195c2d6 [INFO] running `Command { std: "docker" "start" "-a" "4e2d7bb570db648986b6099cab62a93e5b9ec79aaa2b8f047bb40dc10195c2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4e2d7bb570db648986b6099cab62a93e5b9ec79aaa2b8f047bb40dc10195c2d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4e2d7bb570db648986b6099cab62a93e5b9ec79aaa2b8f047bb40dc10195c2d6", kill_on_drop: false }` [INFO] [stdout] 4e2d7bb570db648986b6099cab62a93e5b9ec79aaa2b8f047bb40dc10195c2d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+1f12b9b0fdbe735968ac002792a720f0ba4faca6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2135f68b5ef4a3d355c2da1db4958cd21e6fd5fd42d4dd48b840b1e9df84c962 [INFO] running `Command { std: "docker" "start" "-a" "2135f68b5ef4a3d355c2da1db4958cd21e6fd5fd42d4dd48b840b1e9df84c962", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Compiling regex-syntax v0.6.26 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling clang-sys v1.3.3 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling bindgen v0.58.1 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Compiling shlex v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ident_case v1.0.1 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Checking pin-project-lite v0.2.9 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-io v0.3.21 [INFO] [stderr] Checking slab v0.4.6 [INFO] [stderr] Compiling indexmap v1.8.2 [INFO] [stderr] Compiling async-trait v0.1.56 [INFO] [stderr] Compiling unicode-segmentation v1.9.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Checking once_cell v1.12.0 [INFO] [stderr] Compiling cached_proc_macro_types v0.1.0 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking itertools v0.10.3 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking fixedbitset v0.4.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Checking async_once v0.2.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Checking hashbrown v0.12.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking ixlist v0.1.0 [INFO] [stderr] Checking integer-sqrt v0.1.5 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling darling_core v0.13.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Checking tokio v1.19.2 [INFO] [stderr] Checking structopt v0.3.26 [INFO] [stderr] Checking thiserror v1.0.31 [INFO] [stderr] Checking pathfinding v3.0.12 [INFO] [stderr] Compiling darling_macro v0.13.4 [INFO] [stderr] Compiling darling v0.13.4 [INFO] [stderr] Compiling cached_proc_macro v0.12.0 [INFO] [stderr] Compiling z3-sys v0.7.1 [INFO] [stderr] Checking futures-executor v0.3.21 [INFO] [stderr] Checking futures v0.3.21 [INFO] [stderr] Checking cached v0.34.0 [INFO] [stderr] Checking serde_plain v1.0.0 [INFO] [stderr] Checking z3 v0.11.2 [INFO] [stderr] Checking advent-2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/puzzle10/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | ((self.top_left.x - self.bottom_right.x).abs() as u64 * (self.top_left.y - self.bottom_right.y).abs() as u64) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 110 - ((self.top_left.x - self.bottom_right.x).abs() as u64 * (self.top_left.y - self.bottom_right.y).abs() as u64) [INFO] [stdout] 110 + (self.top_left.x - self.bottom_right.x).abs() as u64 * (self.top_left.y - self.bottom_right.y).abs() as u64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/puzzle10/mod.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | ((self.top_left.x - self.bottom_right.x).abs() as u64 * (self.top_left.y - self.bottom_right.y).abs() as u64) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 110 - ((self.top_left.x - self.bottom_right.x).abs() as u64 * (self.top_left.y - self.bottom_right.y).abs() as u64) [INFO] [stdout] 110 + (self.top_left.x - self.bottom_right.x).abs() as u64 * (self.top_left.y - self.bottom_right.y).abs() as u64 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/puzzle9/mod.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let mut prev = self.marbles.get_mut(self.current_marble.prev).expect("no previous marble"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/puzzle9/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut next = self.marbles.get_mut(self.current_marble.next).expect("no next marble"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/puzzle9/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut prev = self.marbles.get_mut(self.current_marble.prev).expect("no previous marble"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/puzzle9/mod.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut next = self.marbles.get_mut(self.current_marble.idx).expect("no previous marble"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/puzzle9/mod.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | let mut prev = self.marbles.get_mut(self.current_marble.prev).expect("no previous marble"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/puzzle9/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | let mut next = self.marbles.get_mut(self.current_marble.next).expect("no next marble"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/puzzle9/mod.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let mut prev = self.marbles.get_mut(self.current_marble.prev).expect("no previous marble"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/puzzle9/mod.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut next = self.marbles.get_mut(self.current_marble.idx).expect("no previous marble"); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/puzzle15/mod.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | Attacked(Unit) [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttackOutcome` 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] 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] 148 | Attacked(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/puzzle15/mod.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | Moved(Pt, Pt) [INFO] [stdout] | ----- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MoveOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 154 | Moved((), ()) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/puzzle15/mod.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | Dead(Unit), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TurnOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 161 | Dead(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/puzzle15/mod.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | Alive(Unit, Option, AttackOutcome) [INFO] [stdout] | ----- ^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TurnOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 162 | Alive((), (), ()) [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/puzzle15/mod.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | Partial(Vec), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RoundOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 167 | Partial(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/puzzle15/mod.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | Full(Vec) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RoundOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 168 | Full(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bots_in_range` is never read [INFO] [stdout] --> src/puzzle23/mod.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct Solution { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 75 | bots_in_range: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Solution` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle15/mod.rs:396:37 [INFO] [stdout] | [INFO] [stdout] 396 | _ => panic!(format!("unexpected char {}", c)) [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] 396 - _ => panic!(format!("unexpected char {}", c)) [INFO] [stdout] 396 + _ => panic!("unexpected char {}", c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle16/mod.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | assert!(*index < 4, format!("Register should be [0,4[, but was {}", index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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] 115 - assert!(*index < 4, format!("Register should be [0,4[, but was {}", index)); [INFO] [stdout] 115 + assert!(*index < 4, "Register should be [0,4[, but was {}", index); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle16/mod.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(*index < 4, format!("Register should be [0,4[, but was {}", index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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] 122 - assert!(*index < 4, format!("Register should be [0,4[, but was {}", index)); [INFO] [stdout] 122 + assert!(*index < 4, "Register should be [0,4[, but was {}", index); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle17/mod.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | assert!(!ground.soil_at(¤t.down()).blocks_flow(), format!("{} {:?}", ground, self.origin)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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] 303 - assert!(!ground.soil_at(¤t.down()).blocks_flow(), format!("{} {:?}", ground, self.origin)); [INFO] [stdout] 303 + assert!(!ground.soil_at(¤t.down()).blocks_flow(), "{} {:?}", ground, self.origin); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle18/mod.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | None => panic!(format!("missing acre at {:?}", pt)), [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] 67 - None => panic!(format!("missing acre at {:?}", pt)), [INFO] [stdout] 67 + None => panic!("missing acre at {:?}", pt), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle18/mod.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | _ => panic!(format!("unexpected char {}", c)) [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] 121 - _ => panic!(format!("unexpected char {}", c)) [INFO] [stdout] 121 + _ => panic!("unexpected char {}", c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle20/mod.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | c => panic!(format!("unexpected char {:?}", c)) [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] 77 - c => panic!(format!("unexpected char {:?}", c)) [INFO] [stdout] 77 + c => panic!("unexpected char {:?}", c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle20/mod.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | c => panic!(format!("unexpected char {:?}", c)) [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] 105 - c => panic!(format!("unexpected char {:?}", c)) [INFO] [stdout] 105 + c => panic!("unexpected char {:?}", c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/puzzle15/mod.rs:148:14 [INFO] [stdout] | [INFO] [stdout] 148 | Attacked(Unit) [INFO] [stdout] | -------- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `AttackOutcome` 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] 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] 148 | Attacked(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/puzzle15/mod.rs:154:11 [INFO] [stdout] | [INFO] [stdout] 154 | Moved(Pt, Pt) [INFO] [stdout] | ----- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `MoveOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 154 | Moved((), ()) [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/puzzle15/mod.rs:161:10 [INFO] [stdout] | [INFO] [stdout] 161 | Dead(Unit), [INFO] [stdout] | ---- ^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TurnOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 161 | Dead(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/puzzle15/mod.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | Alive(Unit, Option, AttackOutcome) [INFO] [stdout] | ----- ^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `TurnOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 162 | Alive((), (), ()) [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/puzzle15/mod.rs:167:13 [INFO] [stdout] | [INFO] [stdout] 167 | Partial(Vec), [INFO] [stdout] | ------- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RoundOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 167 | Partial(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/puzzle15/mod.rs:168:10 [INFO] [stdout] | [INFO] [stdout] 168 | Full(Vec) [INFO] [stdout] | ---- ^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `RoundOutcome` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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] 168 | Full(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `bots_in_range` is never read [INFO] [stdout] --> src/puzzle23/mod.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 74 | struct Solution { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 75 | bots_in_range: u32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Solution` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle15/mod.rs:396:37 [INFO] [stdout] | [INFO] [stdout] 396 | _ => panic!(format!("unexpected char {}", c)) [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] 396 - _ => panic!(format!("unexpected char {}", c)) [INFO] [stdout] 396 + _ => panic!("unexpected char {}", c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle16/mod.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | assert!(*index < 4, format!("Register should be [0,4[, but was {}", index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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] 115 - assert!(*index < 4, format!("Register should be [0,4[, but was {}", index)); [INFO] [stdout] 115 + assert!(*index < 4, "Register should be [0,4[, but was {}", index); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle16/mod.rs:122:29 [INFO] [stdout] | [INFO] [stdout] 122 | assert!(*index < 4, format!("Register should be [0,4[, but was {}", index)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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] 122 - assert!(*index < 4, format!("Register should be [0,4[, but was {}", index)); [INFO] [stdout] 122 + assert!(*index < 4, "Register should be [0,4[, but was {}", index); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle17/mod.rs:303:65 [INFO] [stdout] | [INFO] [stdout] 303 | assert!(!ground.soil_at(¤t.down()).blocks_flow(), format!("{} {:?}", ground, self.origin)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this usage of `assert!()` is deprecated; it will be a hard error in Rust 2021 [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: the `assert!()` 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] 303 - assert!(!ground.soil_at(¤t.down()).blocks_flow(), format!("{} {:?}", ground, self.origin)); [INFO] [stdout] 303 + assert!(!ground.soil_at(¤t.down()).blocks_flow(), "{} {:?}", ground, self.origin); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle18/mod.rs:67:36 [INFO] [stdout] | [INFO] [stdout] 67 | None => panic!(format!("missing acre at {:?}", pt)), [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] 67 - None => panic!(format!("missing acre at {:?}", pt)), [INFO] [stdout] 67 + None => panic!("missing acre at {:?}", pt), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle18/mod.rs:121:33 [INFO] [stdout] | [INFO] [stdout] 121 | _ => panic!(format!("unexpected char {}", c)) [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] 121 - _ => panic!(format!("unexpected char {}", c)) [INFO] [stdout] 121 + _ => panic!("unexpected char {}", c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle20/mod.rs:77:29 [INFO] [stdout] | [INFO] [stdout] 77 | c => panic!(format!("unexpected char {:?}", c)) [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] 77 - c => panic!(format!("unexpected char {:?}", c)) [INFO] [stdout] 77 + c => panic!("unexpected char {:?}", c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: panic message is not a string literal [INFO] [stdout] --> src/puzzle20/mod.rs:105:37 [INFO] [stdout] | [INFO] [stdout] 105 | c => panic!(format!("unexpected char {:?}", c)) [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] 105 - c => panic!(format!("unexpected char {:?}", c)) [INFO] [stdout] 105 + c => panic!("unexpected char {:?}", c) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.15s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "2135f68b5ef4a3d355c2da1db4958cd21e6fd5fd42d4dd48b840b1e9df84c962", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2135f68b5ef4a3d355c2da1db4958cd21e6fd5fd42d4dd48b840b1e9df84c962", kill_on_drop: false }` [INFO] [stdout] 2135f68b5ef4a3d355c2da1db4958cd21e6fd5fd42d4dd48b840b1e9df84c962