[INFO] fetching crate spacebattleship 0.1.0... [INFO] checking spacebattleship-0.1.0 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate spacebattleship 0.1.0 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate spacebattleship 0.1.0 [INFO] finished tweaking crates.io crate spacebattleship 0.1.0 [INFO] tweaked toml for crates.io crate spacebattleship 0.1.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate spacebattleship 0.1.0 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding enumflags2 v0.6.4 (available: v0.7.12) [INFO] [stderr] Adding rand v0.7.3 (available: v0.9.1) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.12) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 87d2e54025e34ae0c44d9d3b4773dd0911eca2ac80f3c3e6fb266ac81e9fa286 [INFO] running `Command { std: "docker" "start" "-a" "87d2e54025e34ae0c44d9d3b4773dd0911eca2ac80f3c3e6fb266ac81e9fa286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "87d2e54025e34ae0c44d9d3b4773dd0911eca2ac80f3c3e6fb266ac81e9fa286", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "87d2e54025e34ae0c44d9d3b4773dd0911eca2ac80f3c3e6fb266ac81e9fa286", kill_on_drop: false }` [INFO] [stdout] 87d2e54025e34ae0c44d9d3b4773dd0911eca2ac80f3c3e6fb266ac81e9fa286 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3230c96ee7450ff1fd68d30ebb2e06531b74ca7577a9728bcff4e9d9d8000a4e [INFO] running `Command { std: "docker" "start" "-a" "3230c96ee7450ff1fd68d30ebb2e06531b74ca7577a9728bcff4e9d9d8000a4e", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Checking enumflags2 v0.6.4 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking spacebattleship v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_ship(&self, ship: &Q) -> Option> [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_ship(&self, ship: &Q) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn get_coord(&self, coord: D::Coordinate) -> Option> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 196 | pub fn get_coord(&self, coord: D::Coordinate) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/dimensions.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | fn neighbors(&self, coord: Self::Coordinate) -> NeighborIter { [INFO] [stdout] | ^^^^^ ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | fn neighbors(&self, coord: Self::Coordinate) -> NeighborIter<'_, Self::NeighborIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/setup.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 78 | coord: D::Coordinate, [INFO] [stdout] 79 | ) -> ProjectIter { [INFO] [stdout] | ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] ... [INFO] [stdout] 113 | ship_entry_shared!(ShipEntry); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ship_entry_shared` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | ) -> ProjectIter<'_, D, S::ProjectIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/setup.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 78 | coord: D::Coordinate, [INFO] [stdout] 79 | ) -> ProjectIter { [INFO] [stdout] | ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] ... [INFO] [stdout] 114 | ship_entry_shared!(ShipEntryMut); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ship_entry_shared` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | ) -> ProjectIter<'_, D, S::ProjectIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/setup.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 245 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/setup.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 261 | ) -> Result, AddShipError> { [INFO] [stdout] | --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 261 | ) -> Result, AddShipError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/setup.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn get_ship(&self, id: I) -> Option> { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 279 | pub fn get_ship(&self, id: I) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/setup.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn get_ship_mut(&mut self, id: I) -> Option> { [INFO] [stdout] | ^^^^^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 287 | pub fn get_ship_mut(&mut self, id: I) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/game/simple.rs:407:22 [INFO] [stdout] | [INFO] [stdout] 407 | pub fn get_coord(&self, player: Player, coord: Coordinate) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 407 | pub fn get_coord(&self, player: Player, coord: Coordinate) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/game/simple.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn get_ship(&self, player: Player, ship: Ship) -> ShipRef { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 412 | pub fn get_ship(&self, player: Player, ship: Ship) -> ShipRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ships.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 41 | coord: D::Coordinate, [INFO] [stdout] 42 | dim: &'a D, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 43 | ) -> ProjectIter { [INFO] [stdout] | -------------------------------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 43 | ) -> ProjectIter<'a, D, Self::ProjectIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_ship(&self, ship: &Q) -> Option> [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_ship(&self, ship: &Q) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board.rs:196:22 [INFO] [stdout] | [INFO] [stdout] 196 | pub fn get_coord(&self, coord: D::Coordinate) -> Option> { [INFO] [stdout] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 196 | pub fn get_coord(&self, coord: D::Coordinate) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/dimensions.rs:50:18 [INFO] [stdout] | [INFO] [stdout] 50 | fn neighbors(&self, coord: Self::Coordinate) -> NeighborIter { [INFO] [stdout] | ^^^^^ ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 50 | fn neighbors(&self, coord: Self::Coordinate) -> NeighborIter<'_, Self::NeighborIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/setup.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 78 | coord: D::Coordinate, [INFO] [stdout] 79 | ) -> ProjectIter { [INFO] [stdout] | ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] ... [INFO] [stdout] 113 | ship_entry_shared!(ShipEntry); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ship_entry_shared` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | ) -> ProjectIter<'_, D, S::ProjectIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/setup.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | &self, [INFO] [stdout] | ^^^^^ this lifetime flows to the output [INFO] [stdout] 78 | coord: D::Coordinate, [INFO] [stdout] 79 | ) -> ProjectIter { [INFO] [stdout] | ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] ... [INFO] [stdout] 114 | ship_entry_shared!(ShipEntryMut); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `ship_entry_shared` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 79 | ) -> ProjectIter<'_, D, S::ProjectIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/setup.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 245 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/setup.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | &mut self, [INFO] [stdout] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stdout] ... [INFO] [stdout] 261 | ) -> Result, AddShipError> { [INFO] [stdout] | --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 261 | ) -> Result, AddShipError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/setup.rs:279:21 [INFO] [stdout] | [INFO] [stdout] 279 | pub fn get_ship(&self, id: I) -> Option> { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 279 | pub fn get_ship(&self, id: I) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/board/setup.rs:287:25 [INFO] [stdout] | [INFO] [stdout] 287 | pub fn get_ship_mut(&mut self, id: I) -> Option> { [INFO] [stdout] | ^^^^^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 287 | pub fn get_ship_mut(&mut self, id: I) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/game/simple.rs:407:22 [INFO] [stdout] | [INFO] [stdout] 407 | pub fn get_coord(&self, player: Player, coord: Coordinate) -> Option { [INFO] [stdout] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 407 | pub fn get_coord(&self, player: Player, coord: Coordinate) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/game/simple.rs:412:21 [INFO] [stdout] | [INFO] [stdout] 412 | pub fn get_ship(&self, player: Player, ship: Ship) -> ShipRef { [INFO] [stdout] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 412 | pub fn get_ship(&self, player: Player, ship: Ship) -> ShipRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/ships.rs:40:10 [INFO] [stdout] | [INFO] [stdout] 40 | &'a self, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 41 | coord: D::Coordinate, [INFO] [stdout] 42 | dim: &'a D, [INFO] [stdout] | ^^ these lifetimes flow to the output [INFO] [stdout] 43 | ) -> ProjectIter { [INFO] [stdout] | -------------------------------------- the lifetime gets resolved as `'a` [INFO] [stdout] | [INFO] [stdout] help: one option is to consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 43 | ) -> ProjectIter<'a, D, Self::ProjectIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.92s [INFO] running `Command { std: "docker" "inspect" "3230c96ee7450ff1fd68d30ebb2e06531b74ca7577a9728bcff4e9d9d8000a4e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3230c96ee7450ff1fd68d30ebb2e06531b74ca7577a9728bcff4e9d9d8000a4e", kill_on_drop: false }` [INFO] [stdout] 3230c96ee7450ff1fd68d30ebb2e06531b74ca7577a9728bcff4e9d9d8000a4e