[INFO] cloning repository https://github.com/TPHRyan/aoc2021 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TPHRyan/aoc2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTPHRyan%2Faoc2021", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTPHRyan%2Faoc2021'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67e29aa7efca6777801fe8c4bf5ff433e95acff7 [INFO] checking TPHRyan/aoc2021 against try#0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef for pr-147859 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTPHRyan%2Faoc2021" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/TPHRyan/aoc2021 [INFO] finished tweaking git repo https://github.com/TPHRyan/aoc2021 [INFO] tweaked toml for git repo https://github.com/TPHRyan/aoc2021 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/TPHRyan/aoc2021 on toolchain 0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/TPHRyan/aoc2021 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" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_scan v0.4.1 [INFO] [stderr] Downloaded micromath v2.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 717285aa0ff5a53d2d20ec62cadf655b042637c4405b99f6916081165a1b2d58 [INFO] running `Command { std: "docker" "start" "-a" "717285aa0ff5a53d2d20ec62cadf655b042637c4405b99f6916081165a1b2d58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "717285aa0ff5a53d2d20ec62cadf655b042637c4405b99f6916081165a1b2d58", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "717285aa0ff5a53d2d20ec62cadf655b042637c4405b99f6916081165a1b2d58", kill_on_drop: false }` [INFO] [stdout] 717285aa0ff5a53d2d20ec62cadf655b042637c4405b99f6916081165a1b2d58 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+0269aeccce4fd29ce9ad0ebd47a62e584d7e25ef" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 40b51409a9396ba3011334204596637e95516585ac37fd251867a504c6111fe5 [INFO] running `Command { std: "docker" "start" "-a" "40b51409a9396ba3011334204596637e95516585ac37fd251867a504c6111fe5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling aoc2021 v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking itoa v0.4.8 [INFO] [stderr] Checking micromath v2.0.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Checking serde_scan v0.4.1 [INFO] [stderr] Checking serde_json v1.0.72 [INFO] [stdout] warning: unused import: `Challenge` [INFO] [stdout] --> src/aoc.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | pub use challenge::{get_challenge, Challenge}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChallengeSolution` [INFO] [stdout] --> src/aoc.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub use solution::{get_challenge_solution, ChallengeSolution}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vector::Component` [INFO] [stdout] --> src/common.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use vector::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chunk` [INFO] [stdout] --> src/sub/navigation.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | pub use chunk::{parse_chunks_for_line, Chunk, ChunkStyle, ParseError, ParseResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Challenge` [INFO] [stdout] --> src/aoc.rs:5:36 [INFO] [stdout] | [INFO] [stdout] 5 | pub use challenge::{get_challenge, Challenge}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ChallengeSolution` [INFO] [stdout] --> src/aoc.rs:7:44 [INFO] [stdout] | [INFO] [stdout] 7 | pub use solution::{get_challenge_solution, ChallengeSolution}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vector::Component` [INFO] [stdout] --> src/common.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | pub use vector::Component; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Chunk` [INFO] [stdout] --> src/sub/navigation.rs:3:40 [INFO] [stdout] | [INFO] [stdout] 3 | pub use chunk::{parse_chunks_for_line, Chunk, ChunkStyle, ParseError, ParseResult}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `AXES`, `dot`, `from_slice`, `iter`, `distance`, and `magnitude` are never used [INFO] [stdout] --> src/common/vector/vector.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Vector: Copy + Debug + Default + FromIterator + Send + Sync [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | const AXES: usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn dot(self, rhs: Self) -> C; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn from_slice(slice: &[C]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn iter(&self) -> Iter<'_, Self, C> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn distance(self, rhs: Self) -> f32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn magnitude(self) -> f32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `style` is never read [INFO] [stdout] --> src/sub/navigation/chunk.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | style: ChunkStyle, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sub/navigation/chunk/parser.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | Error(Box), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 9 - Error(Box), [INFO] [stdout] 9 + Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VisitedCaves` is never constructed [INFO] [stdout] --> src/sub/pathfinding/cave_systems/system.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | struct VisitedCaves { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `have_already_visited`, and `visit_from` are never used [INFO] [stdout] --> src/sub/pathfinding/cave_systems/system.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl VisitedCaves { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 181 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn have_already_visited(&self, to_id: usize, from_id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn visit_from(&mut self, from_id: usize, to_id: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/common/helpers.rs:35:63 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn filter_newlines<'a>(input: &'a String) -> Filter, fn(&&'a str) -> bool> { [INFO] [stdout] | -- ^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 35 - pub fn filter_newlines<'a>(input: &'a String) -> Filter, fn(&&'a str) -> bool> { [INFO] [stdout] 35 + pub fn filter_newlines<'a>(input: &'a String) -> Filter, fn(&&'a str) -> bool> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/map2d.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn cursor_at(&self, pos: Vector2) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 131 | pub fn cursor_at(&self, pos: Vector2) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/map2d/cursor.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(map2d: &Map2D) -> Cursor { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(map2d: &Map2D) -> Cursor<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sub/heightmaps/heightmap.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn cursor_at(&self, pos: Vector2) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn cursor_at(&self, pos: Vector2) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `AXES`, `dot`, `from_slice`, `iter`, `distance`, and `magnitude` are never used [INFO] [stdout] --> src/common/vector/vector.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub trait Vector: Copy + Debug + Default + FromIterator + Send + Sync [INFO] [stdout] | ------ associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 14 | const AXES: usize; [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn dot(self, rhs: Self) -> C; [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | fn from_slice(slice: &[C]) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn iter(&self) -> Iter<'_, Self, C> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | fn distance(self, rhs: Self) -> f32 [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn magnitude(self) -> f32 [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `style` is never read [INFO] [stdout] --> src/sub/navigation/chunk.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] 15 | style: ChunkStyle, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/sub/navigation/chunk/parser.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | Error(Box), [INFO] [stdout] | ----- ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ParseError` 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] 9 - Error(Box), [INFO] [stdout] 9 + Error(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VisitedCaves` is never constructed [INFO] [stdout] --> src/sub/pathfinding/cave_systems/system.rs:176:8 [INFO] [stdout] | [INFO] [stdout] 176 | struct VisitedCaves { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `have_already_visited`, and `visit_from` are never used [INFO] [stdout] --> src/sub/pathfinding/cave_systems/system.rs:181:12 [INFO] [stdout] | [INFO] [stdout] 180 | impl VisitedCaves { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 181 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 187 | pub fn have_already_visited(&self, to_id: usize, from_id: usize) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 194 | pub fn visit_from(&mut self, from_id: usize, to_id: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/common/helpers.rs:35:63 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn filter_newlines<'a>(input: &'a String) -> Filter, fn(&&'a str) -> bool> { [INFO] [stdout] | -- ^^ -- the same lifetime is named here [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is elided here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 35 - pub fn filter_newlines<'a>(input: &'a String) -> Filter, fn(&&'a str) -> bool> { [INFO] [stdout] 35 + pub fn filter_newlines<'a>(input: &'a String) -> Filter, fn(&&'a str) -> bool> { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/map2d.rs:131:22 [INFO] [stdout] | [INFO] [stdout] 131 | pub fn cursor_at(&self, pos: Vector2) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 131 | pub fn cursor_at(&self, pos: Vector2) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/common/map2d/cursor.rs:14:23 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(map2d: &Map2D) -> Cursor { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 14 | pub fn new(map2d: &Map2D) -> Cursor<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/sub/heightmaps/heightmap.rs:33:22 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn cursor_at(&self, pos: Vector2) -> Option> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 33 | pub fn cursor_at(&self, pos: Vector2) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.02s [INFO] running `Command { std: "docker" "inspect" "40b51409a9396ba3011334204596637e95516585ac37fd251867a504c6111fe5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "40b51409a9396ba3011334204596637e95516585ac37fd251867a504c6111fe5", kill_on_drop: false }` [INFO] [stdout] 40b51409a9396ba3011334204596637e95516585ac37fd251867a504c6111fe5