[INFO] cloning repository https://github.com/ryanobeirne/advent_of_code_2018 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ryanobeirne/advent_of_code_2018" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanobeirne%2Fadvent_of_code_2018", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanobeirne%2Fadvent_of_code_2018'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 12b7d4c605f27047493d0bd910fc0111514b8f6a [INFO] checking ryanobeirne/advent_of_code_2018 against master#8424f8e8cdf07010967a57584fd647b30e930d4d for pr-120095 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fryanobeirne%2Fadvent_of_code_2018" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryanobeirne/advent_of_code_2018 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/ryanobeirne/advent_of_code_2018 [INFO] finished tweaking git repo https://github.com/ryanobeirne/advent_of_code_2018 [INFO] tweaked toml for git repo https://github.com/ryanobeirne/advent_of_code_2018 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ryanobeirne/advent_of_code_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" "+8424f8e8cdf07010967a57584fd647b30e930d4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] bca45e5bb59d2518341654359ccd05c640554a4d79b83b9ea2d8181c539d2238 [INFO] running `Command { std: "docker" "start" "-a" "bca45e5bb59d2518341654359ccd05c640554a4d79b83b9ea2d8181c539d2238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bca45e5bb59d2518341654359ccd05c640554a4d79b83b9ea2d8181c539d2238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bca45e5bb59d2518341654359ccd05c640554a4d79b83b9ea2d8181c539d2238", kill_on_drop: false }` [INFO] [stdout] bca45e5bb59d2518341654359ccd05c640554a4d79b83b9ea2d8181c539d2238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] b6d8bdf48ea330e7dbff1e66149347979eabd6a2899b3ecd54f9bee9c9791111 [INFO] running `Command { std: "docker" "start" "-a" "b6d8bdf48ea330e7dbff1e66149347979eabd6a2899b3ecd54f9bee9c9791111", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.53 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking advent_of_code_2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day06.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day06.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | type Err = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | type Err = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day13.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day12.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day15.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> bin/day04.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 257 | struct Shift { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 258 | guard: usize, [INFO] [stdout] 259 | start: NaiveDateTime, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 260 | end: NaiveDateTime, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shift` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day12.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attacker` [INFO] [stdout] --> bin/day15.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | for (point, attacker) in points_creatures { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attacker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_point` [INFO] [stdout] --> bin/day15.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | for a_point in area.around.iter() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day07.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | type Result = result::Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | type Result = result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day07.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | type Err = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | type Err = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> bin/day15.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | fn closest_enemy(&self, point: &Point) -> &Creature { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `closest_enemy` is never used [INFO] [stdout] --> bin/day15.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn closest_enemy(&self, point: &Point) -> &Creature { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `enemy` is never used [INFO] [stdout] --> bin/day15.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl CreatureType { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 102 | fn enemy(&self) -> CreatureType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `attack` and `is_enemy` are never used [INFO] [stdout] --> bin/day15.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl Creature { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 137 | fn attack(&self, other: &mut Creature) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn is_enemy(&self, other: &Creature) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day06.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day06.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | type Err = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | type Err = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day13.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day07.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | type Result = result::Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | type Result = result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day07.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | type Err = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | type Err = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `serial` is never read [INFO] [stdout] --> bin/day11.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct Grid { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 71 | rack: BTreeMap, [INFO] [stdout] 72 | serial: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grid` 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `start` and `end` are never read [INFO] [stdout] --> bin/day04.rs:259:5 [INFO] [stdout] | [INFO] [stdout] 257 | struct Shift { [INFO] [stdout] | ----- fields in this struct [INFO] [stdout] 258 | guard: usize, [INFO] [stdout] 259 | start: NaiveDateTime, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 260 | end: NaiveDateTime, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shift` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day15.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `serial` is never read [INFO] [stdout] --> bin/day11.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 70 | struct Grid { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 71 | rack: BTreeMap, [INFO] [stdout] 72 | serial: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Grid` 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: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attacker` [INFO] [stdout] --> bin/day15.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | for (point, attacker) in points_creatures { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attacker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_point` [INFO] [stdout] --> bin/day15.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | for a_point in area.around.iter() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> bin/day15.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | fn closest_enemy(&self, point: &Point) -> &Creature { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `closest_enemy` is never used [INFO] [stdout] --> bin/day15.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn closest_enemy(&self, point: &Point) -> &Creature { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `enemy` is never used [INFO] [stdout] --> bin/day15.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl CreatureType { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 102 | fn enemy(&self) -> CreatureType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `attack` and `is_enemy` are never used [INFO] [stdout] --> bin/day15.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl Creature { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 137 | fn attack(&self, other: &mut Creature) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn is_enemy(&self, other: &Creature) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> bin/day15.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | Area::from(&Point { x: 0, y: 0} ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = Area::from(&Point { x: 0, y: 0} ); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3.12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v4.2.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "b6d8bdf48ea330e7dbff1e66149347979eabd6a2899b3ecd54f9bee9c9791111", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6d8bdf48ea330e7dbff1e66149347979eabd6a2899b3ecd54f9bee9c9791111", kill_on_drop: false }` [INFO] [stdout] b6d8bdf48ea330e7dbff1e66149347979eabd6a2899b3ecd54f9bee9c9791111 [INFO] checking ryanobeirne/advent_of_code_2018 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%2Fryanobeirne%2Fadvent_of_code_2018" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ryanobeirne/advent_of_code_2018 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/ryanobeirne/advent_of_code_2018 [INFO] finished tweaking git repo https://github.com/ryanobeirne/advent_of_code_2018 [INFO] tweaked toml for git repo https://github.com/ryanobeirne/advent_of_code_2018 written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ryanobeirne/advent_of_code_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" "+047472f299946caf090d1b5608ae4bd9f0416256" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 53a5203f0cf6a09e2a99617c0f8ddcc733142ffd1615f647b9cf3f977c24819c [INFO] running `Command { std: "docker" "start" "-a" "53a5203f0cf6a09e2a99617c0f8ddcc733142ffd1615f647b9cf3f977c24819c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53a5203f0cf6a09e2a99617c0f8ddcc733142ffd1615f647b9cf3f977c24819c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53a5203f0cf6a09e2a99617c0f8ddcc733142ffd1615f647b9cf3f977c24819c", kill_on_drop: false }` [INFO] [stdout] 53a5203f0cf6a09e2a99617c0f8ddcc733142ffd1615f647b9cf3f977c24819c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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] 1cc291e3369105abe744ade0244e105d43e2405fb0ea20685d086c622325f1c5 [INFO] running `Command { std: "docker" "start" "-a" "1cc291e3369105abe744ade0244e105d43e2405fb0ea20685d086c622325f1c5", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.53 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking cfg-if v0.1.7 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Checking either v1.5.2 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking num_cpus v1.10.0 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking advent_of_code_2018 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day06.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day06.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | type Err = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | type Err = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day07.rs:8:40 [INFO] [stdout] | [INFO] [stdout] 8 | type Result = result::Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | type Result = result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day07.rs:95:20 [INFO] [stdout] | [INFO] [stdout] 95 | type Err = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | type Err = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day13.rs:19:45 [INFO] [stdout] | [INFO] [stdout] 19 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day06.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day06.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | type Err = Box; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | type Err = Box; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: dereferencing `mut` binding [INFO] [stdout] --> bin/day13.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | if let Some(mut c) = cart { [INFO] [stdout] | ^^^^^ `mut` dereferences the type of this binding [INFO] [stdout] | [INFO] [stdout] help: this will change in edition 2024 [INFO] [stdout] --> bin/day13.rs:122:21 [INFO] [stdout] | [INFO] [stdout] 122 | if let Some(mut c) = cart { [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: requested on the command line with `-D dereferencing-mut-binding` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day12.rs:6:45 [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 6 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day15.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `advent_of_code_2018` (bin "day13" test) due to 2 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> bin/day15.rs:9:45 [INFO] [stdout] | [INFO] [stdout] 9 | type Result = std::result::Result>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attacker` [INFO] [stdout] --> bin/day15.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | for (point, attacker) in points_creatures { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attacker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_point` [INFO] [stdout] --> bin/day15.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | for a_point in area.around.iter() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> bin/day15.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | fn closest_enemy(&self, point: &Point) -> &Creature { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `closest_enemy` is never used [INFO] [stdout] --> bin/day15.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn closest_enemy(&self, point: &Point) -> &Creature { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `enemy` is never used [INFO] [stdout] --> bin/day15.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl CreatureType { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 102 | fn enemy(&self) -> CreatureType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `attack` and `is_enemy` are never used [INFO] [stdout] --> bin/day15.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl Creature { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 137 | fn attack(&self, other: &mut Creature) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn is_enemy(&self, other: &Creature) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `attacker` [INFO] [stdout] --> bin/day15.rs:60:21 [INFO] [stdout] | [INFO] [stdout] 60 | for (point, attacker) in points_creatures { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_attacker` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a_point` [INFO] [stdout] --> bin/day15.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | for a_point in area.around.iter() [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_a_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point` [INFO] [stdout] --> bin/day15.rs:89:29 [INFO] [stdout] | [INFO] [stdout] 89 | fn closest_enemy(&self, point: &Point) -> &Creature { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_point` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `closest_enemy` is never used [INFO] [stdout] --> bin/day15.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 32 | impl Map { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | fn closest_enemy(&self, point: &Point) -> &Creature { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `enemy` is never used [INFO] [stdout] --> bin/day15.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl CreatureType { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 102 | fn enemy(&self) -> CreatureType { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `attack` and `is_enemy` are never used [INFO] [stdout] --> bin/day15.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 136 | impl Creature { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] 137 | fn attack(&self, other: &mut Creature) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | fn is_enemy(&self, other: &Creature) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `from` that must be used [INFO] [stdout] --> bin/day15.rs:239:5 [INFO] [stdout] | [INFO] [stdout] 239 | Area::from(&Point { x: 0, y: 0} ); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 239 | let _ = Area::from(&Point { x: 0, y: 0} ); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "1cc291e3369105abe744ade0244e105d43e2405fb0ea20685d086c622325f1c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1cc291e3369105abe744ade0244e105d43e2405fb0ea20685d086c622325f1c5", kill_on_drop: false }` [INFO] [stdout] 1cc291e3369105abe744ade0244e105d43e2405fb0ea20685d086c622325f1c5