[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#22572d0994593197593e2a1b7b18d720a9a349a7 for pr-126452-1 [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 22572d0994593197593e2a1b7b18d720a9a349a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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" "+22572d0994593197593e2a1b7b18d720a9a349a7" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c9c2f557771578053e20f7f38976aa91d6d5c081b71fe866c6d21163c6474b1f [INFO] running `Command { std: "docker" "start" "-a" "c9c2f557771578053e20f7f38976aa91d6d5c081b71fe866c6d21163c6474b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c9c2f557771578053e20f7f38976aa91d6d5c081b71fe866c6d21163c6474b1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9c2f557771578053e20f7f38976aa91d6d5c081b71fe866c6d21163c6474b1f", kill_on_drop: false }` [INFO] [stdout] c9c2f557771578053e20f7f38976aa91d6d5c081b71fe866c6d21163c6474b1f [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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+22572d0994593197593e2a1b7b18d720a9a349a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b41ae89a34b37c7330fd4e658dbc4ae4ccabfd424cd43622262e49386917e42a [INFO] running `Command { std: "docker" "start" "-a" "b41ae89a34b37c7330fd4e658dbc4ae4ccabfd424cd43622262e49386917e42a", 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 lazy_static v1.3.0 [INFO] [stderr] Checking scopeguard v0.3.3 [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 version_check v0.1.5 [INFO] [stderr] Compiling num-integer v0.1.39 [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/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: if this is an object-safe trait, 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | 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/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: if this is an object-safe trait, 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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | type Result = std::result::Result>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 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: 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | type Result = 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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 95 | type Err = Box; [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: 1 warning emitted [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: 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: 8 warnings emitted [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [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: 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/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: if this is an object-safe trait, 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/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: if this is an object-safe trait, 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | type Err = Box; [INFO] [stdout] | +++ [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: 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: if this is an object-safe trait, 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 67 | type Err = Box; [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: 2 warnings 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.66s [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" "b41ae89a34b37c7330fd4e658dbc4ae4ccabfd424cd43622262e49386917e42a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b41ae89a34b37c7330fd4e658dbc4ae4ccabfd424cd43622262e49386917e42a", kill_on_drop: false }` [INFO] [stdout] b41ae89a34b37c7330fd4e658dbc4ae4ccabfd424cd43622262e49386917e42a [INFO] checking ryanobeirne/advent_of_code_2018 against try#6289438dbad80b1a0029c66dd3f6abf57c2c51be for pr-126452-1 [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 6289438dbad80b1a0029c66dd3f6abf57c2c51be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2365fbc51614a5486d7dbfd9a9356de55ec87fe89dd5ddc5343653632f0de8ca [INFO] running `Command { std: "docker" "start" "-a" "2365fbc51614a5486d7dbfd9a9356de55ec87fe89dd5ddc5343653632f0de8ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2365fbc51614a5486d7dbfd9a9356de55ec87fe89dd5ddc5343653632f0de8ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2365fbc51614a5486d7dbfd9a9356de55ec87fe89dd5ddc5343653632f0de8ca", kill_on_drop: false }` [INFO] [stdout] 2365fbc51614a5486d7dbfd9a9356de55ec87fe89dd5ddc5343653632f0de8ca [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" "-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" "+6289438dbad80b1a0029c66dd3f6abf57c2c51be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2fdd34c2578988fe5ef847c51ec8246762ce375642ca8288cc89cc0c7d7249a9 [INFO] running `Command { std: "docker" "start" "-a" "2fdd34c2578988fe5ef847c51ec8246762ce375642ca8288cc89cc0c7d7249a9", 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 memoffset v0.2.1 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.6 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling memchr v2.2.0 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [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: if this is an object-safe trait, 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/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: if this is an object-safe trait, 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/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: if this is an object-safe trait, 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/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: if this is an object-safe trait, 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: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: if this is an object-safe trait, 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/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: if this is an object-safe trait, 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: 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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | 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/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: if this is an object-safe trait, 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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | 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: if this is an object-safe trait, 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: if this is an object-safe trait, 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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 19 | type Result = std::result::Result>; [INFO] [stdout] | +++ [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: `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: 2 warnings emitted [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: 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 `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: 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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings 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: 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: 1 warning 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/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: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 8 | type Result = 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/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: if this is an object-safe trait, 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.86s [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" "2fdd34c2578988fe5ef847c51ec8246762ce375642ca8288cc89cc0c7d7249a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2fdd34c2578988fe5ef847c51ec8246762ce375642ca8288cc89cc0c7d7249a9", kill_on_drop: false }` [INFO] [stdout] 2fdd34c2578988fe5ef847c51ec8246762ce375642ca8288cc89cc0c7d7249a9