[INFO] fetching crate spacebattleship 0.1.0... [INFO] testing spacebattleship-0.1.0 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate spacebattleship 0.1.0 into /workspace/builds/worker-2-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spacebattleship 0.1.0 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded enumflags2 v0.6.4 [INFO] [stderr] Downloaded enumflags2_derive v0.6.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f84ff923e33af21d0425210b3b5c40abc1c6deb016dbfd516ba27f1dd9d050d2 [INFO] running `Command { std: "docker" "start" "-a" "f84ff923e33af21d0425210b3b5c40abc1c6deb016dbfd516ba27f1dd9d050d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f84ff923e33af21d0425210b3b5c40abc1c6deb016dbfd516ba27f1dd9d050d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f84ff923e33af21d0425210b3b5c40abc1c6deb016dbfd516ba27f1dd9d050d2", kill_on_drop: false }` [INFO] [stdout] f84ff923e33af21d0425210b3b5c40abc1c6deb016dbfd516ba27f1dd9d050d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] bfad3d16d0b188a329e9b3788425692b3e4aeb0af514f1a3a8c4bc6e672c28d4 [INFO] running `Command { std: "docker" "start" "-a" "bfad3d16d0b188a329e9b3788425692b3e4aeb0af514f1a3a8c4bc6e672c28d4", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling enumflags2_derive v0.6.4 [INFO] [stderr] Compiling enumflags2 v0.6.4 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.84s [INFO] running `Command { std: "docker" "inspect" "bfad3d16d0b188a329e9b3788425692b3e4aeb0af514f1a3a8c4bc6e672c28d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfad3d16d0b188a329e9b3788425692b3e4aeb0af514f1a3a8c4bc6e672c28d4", kill_on_drop: false }` [INFO] [stdout] bfad3d16d0b188a329e9b3788425692b3e4aeb0af514f1a3a8c4bc6e672c28d4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 5c060f583694dac389feba0b755a47da2fd54f26d91c91c05d5bc2d1264cb763 [INFO] running `Command { std: "docker" "start" "-a" "5c060f583694dac389feba0b755a47da2fd54f26d91c91c05d5bc2d1264cb763", kill_on_drop: false }` [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] [stderr] Compiling 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/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 `test` profile [unoptimized + debuginfo] target(s) in 0.80s [INFO] running `Command { std: "docker" "inspect" "5c060f583694dac389feba0b755a47da2fd54f26d91c91c05d5bc2d1264cb763", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c060f583694dac389feba0b755a47da2fd54f26d91c91c05d5bc2d1264cb763", kill_on_drop: false }` [INFO] [stdout] 5c060f583694dac389feba0b755a47da2fd54f26d91c91c05d5bc2d1264cb763 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] ea3697a5634aaecce90c53a77cebcac75274fc282a71a5f380120eecad75dcbb [INFO] running `Command { std: "docker" "start" "-a" "ea3697a5634aaecce90c53a77cebcac75274fc282a71a5f380120eecad75dcbb", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/board.rs:174:23 [INFO] [stderr] | [INFO] [stderr] 174 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 174 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/board.rs:182:32 [INFO] [stderr] | [INFO] [stderr] 182 | pub fn get_ship(&self, ship: &Q) -> Option> [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 182 | pub fn get_ship(&self, ship: &Q) -> Option> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/board.rs:196:22 [INFO] [stderr] | [INFO] [stderr] 196 | pub fn get_coord(&self, coord: D::Coordinate) -> Option> { [INFO] [stderr] | ^^^^^ ------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 196 | pub fn get_coord(&self, coord: D::Coordinate) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/board/dimensions.rs:50:18 [INFO] [stderr] | [INFO] [stderr] 50 | fn neighbors(&self, coord: Self::Coordinate) -> NeighborIter { [INFO] [stderr] | ^^^^^ ------------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 50 | fn neighbors(&self, coord: Self::Coordinate) -> NeighborIter<'_, Self::NeighborIterState> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/board/setup.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 78 | coord: D::Coordinate, [INFO] [stderr] 79 | ) -> ProjectIter { [INFO] [stderr] | ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] ... [INFO] [stderr] 113 | ship_entry_shared!(ShipEntry); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `ship_entry_shared` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 79 | ) -> ProjectIter<'_, D, S::ProjectIterState> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/board/setup.rs:77:17 [INFO] [stderr] | [INFO] [stderr] 77 | &self, [INFO] [stderr] | ^^^^^ this lifetime flows to the output [INFO] [stderr] 78 | coord: D::Coordinate, [INFO] [stderr] 79 | ) -> ProjectIter { [INFO] [stderr] | ----------------------------------- the lifetime gets resolved as `'_` [INFO] [stderr] ... [INFO] [stderr] 114 | ship_entry_shared!(ShipEntryMut); [INFO] [stderr] | -------------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `ship_entry_shared` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 79 | ) -> ProjectIter<'_, D, S::ProjectIterState> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/board/setup.rs:245:23 [INFO] [stderr] | [INFO] [stderr] 245 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stderr] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 245 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/board/setup.rs:258:9 [INFO] [stderr] | [INFO] [stderr] 258 | &mut self, [INFO] [stderr] | ^^^^^^^^^ this lifetime flows to the output [INFO] [stderr] ... [INFO] [stderr] 261 | ) -> Result, AddShipError> { [INFO] [stderr] | --------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 261 | ) -> Result, AddShipError> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/board/setup.rs:279:21 [INFO] [stderr] | [INFO] [stderr] 279 | pub fn get_ship(&self, id: I) -> Option> { [INFO] [stderr] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 279 | pub fn get_ship(&self, id: I) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/board/setup.rs:287:25 [INFO] [stderr] | [INFO] [stderr] 287 | pub fn get_ship_mut(&mut self, id: I) -> Option> { [INFO] [stderr] | ^^^^^^^^^ --------------------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 287 | pub fn get_ship_mut(&mut self, id: I) -> Option> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/game/simple.rs:407:22 [INFO] [stderr] | [INFO] [stderr] 407 | pub fn get_coord(&self, player: Player, coord: Coordinate) -> Option { [INFO] [stderr] | ^^^^^ this lifetime flows to the output ------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 407 | pub fn get_coord(&self, player: Player, coord: Coordinate) -> Option> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/game/simple.rs:412:21 [INFO] [stderr] | [INFO] [stderr] 412 | pub fn get_ship(&self, player: Player, ship: Ship) -> ShipRef { [INFO] [stderr] | ^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 412 | pub fn get_ship(&self, player: Player, ship: Ship) -> ShipRef<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/ships.rs:40:10 [INFO] [stderr] | [INFO] [stderr] 40 | &'a self, [INFO] [stderr] | ^^ these lifetimes flow to the output [INFO] [stderr] 41 | coord: D::Coordinate, [INFO] [stderr] 42 | dim: &'a D, [INFO] [stderr] | ^^ these lifetimes flow to the output [INFO] [stderr] 43 | ) -> ProjectIter { [INFO] [stderr] | -------------------------------------- the lifetime gets resolved as `'a` [INFO] [stderr] | [INFO] [stderr] help: one option is to consistently use `'a` [INFO] [stderr] | [INFO] [stderr] 43 | ) -> ProjectIter<'a, D, Self::ProjectIterState> { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `spacebattleship` (lib) generated 13 warnings (run `cargo fix --lib -p spacebattleship` to apply 13 suggestions) [INFO] [stderr] warning: `spacebattleship` (lib test) generated 13 warnings (13 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/spacebattleship-ef661ae5155607f9) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ea3697a5634aaecce90c53a77cebcac75274fc282a71a5f380120eecad75dcbb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea3697a5634aaecce90c53a77cebcac75274fc282a71a5f380120eecad75dcbb", kill_on_drop: false }` [INFO] [stdout] ea3697a5634aaecce90c53a77cebcac75274fc282a71a5f380120eecad75dcbb