[INFO] fetching crate spacebattleship 0.1.0... [INFO] building spacebattleship-0.1.0 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate spacebattleship 0.1.0 into /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate spacebattleship 0.1.0 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "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" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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.2) [INFO] [stderr] Adding thiserror v1.0.69 (available: v2.0.16) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68645f2d057f4e61701fab509f5d96e41b4a51eb48631cec0fd61191a59aaeba [INFO] running `Command { std: "docker" "start" "-a" "68645f2d057f4e61701fab509f5d96e41b4a51eb48631cec0fd61191a59aaeba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68645f2d057f4e61701fab509f5d96e41b4a51eb48631cec0fd61191a59aaeba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68645f2d057f4e61701fab509f5d96e41b4a51eb48631cec0fd61191a59aaeba", kill_on_drop: false }` [INFO] [stdout] 68645f2d057f4e61701fab509f5d96e41b4a51eb48631cec0fd61191a59aaeba [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 946c75fe2317dbdab7cffdc339ba16477a6c1a9a24b61d74d621f158380d5e7f [INFO] running `Command { std: "docker" "start" "-a" "946c75fe2317dbdab7cffdc339ba16477a6c1a9a24b61d74d621f158380d5e7f", kill_on_drop: false }` [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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn iter_ships(&self) -> impl Iterator> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_ship(&self, ship: &Q) -> Option> [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] 182 | pub fn get_ship(&self, ship: &Q) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 196 | pub fn get_coord(&self, coord: D::Coordinate) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 50 | fn neighbors(&self, coord: Self::Coordinate) -> NeighborIter<'_, Self::NeighborIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board/setup.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 78 | coord: D::Coordinate, [INFO] [stdout] 79 | ) -> ProjectIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 113 | ship_entry_shared!(ShipEntry); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | ) -> ProjectIter<'_, D, S::ProjectIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board/setup.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 78 | coord: D::Coordinate, [INFO] [stdout] 79 | ) -> ProjectIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 114 | ship_entry_shared!(ShipEntryMut); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | ) -> ProjectIter<'_, D, S::ProjectIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board/setup.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn iter_ships(&self) -> impl Iterator> { [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] 245 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board/setup.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 261 | ) -> Result, AddShipError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ 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] 261 | ) -> Result, AddShipError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 279 | pub fn get_ship(&self, id: I) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 287 | pub fn get_ship_mut(&mut self, id: I) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ 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] 407 | pub fn get_coord(&self, player: Player, coord: Coordinate) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 412 | pub fn get_ship(&self, player: Player, ship: Ship) -> ShipRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ships.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 40 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 41 | coord: D::Coordinate, [INFO] [stdout] 42 | dim: &'a D, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 43 | ) -> ProjectIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: 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 1.36s [INFO] running `Command { std: "docker" "inspect" "946c75fe2317dbdab7cffdc339ba16477a6c1a9a24b61d74d621f158380d5e7f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "946c75fe2317dbdab7cffdc339ba16477a6c1a9a24b61d74d621f158380d5e7f", kill_on_drop: false }` [INFO] [stdout] 946c75fe2317dbdab7cffdc339ba16477a6c1a9a24b61d74d621f158380d5e7f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 584711a2023b4becace893d1e2a078e7392cada99b407d3784c754d1d4734af8 [INFO] running `Command { std: "docker" "start" "-a" "584711a2023b4becace893d1e2a078e7392cada99b407d3784c754d1d4734af8", kill_on_drop: false }` [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn iter_ships(&self) -> impl Iterator> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_ship(&self, ship: &Q) -> Option> [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] 182 | pub fn get_ship(&self, ship: &Q) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 196 | pub fn get_coord(&self, coord: D::Coordinate) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 50 | fn neighbors(&self, coord: Self::Coordinate) -> NeighborIter<'_, Self::NeighborIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board/setup.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 78 | coord: D::Coordinate, [INFO] [stdout] 79 | ) -> ProjectIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 113 | ship_entry_shared!(ShipEntry); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | ) -> ProjectIter<'_, D, S::ProjectIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board/setup.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 78 | coord: D::Coordinate, [INFO] [stdout] 79 | ) -> ProjectIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 114 | ship_entry_shared!(ShipEntryMut); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | ) -> ProjectIter<'_, D, S::ProjectIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board/setup.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn iter_ships(&self) -> impl Iterator> { [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] 245 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board/setup.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 261 | ) -> Result, AddShipError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ 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] 261 | ) -> Result, AddShipError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 279 | pub fn get_ship(&self, id: I) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 287 | pub fn get_ship_mut(&mut self, id: I) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ 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] 407 | pub fn get_coord(&self, player: Player, coord: Coordinate) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 412 | pub fn get_ship(&self, player: Player, ship: Ship) -> ShipRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ships.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 40 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 41 | coord: D::Coordinate, [INFO] [stdout] 42 | dim: &'a D, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 43 | ) -> ProjectIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 43 | ) -> ProjectIter<'a, D, Self::ProjectIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling spacebattleship v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board.rs:174:23 [INFO] [stdout] | [INFO] [stdout] 174 | pub fn iter_ships(&self) -> impl Iterator> { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 174 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board.rs:182:32 [INFO] [stdout] | [INFO] [stdout] 182 | pub fn get_ship(&self, ship: &Q) -> Option> [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] 182 | pub fn get_ship(&self, ship: &Q) -> Option> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 196 | pub fn get_coord(&self, coord: D::Coordinate) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 50 | fn neighbors(&self, coord: Self::Coordinate) -> NeighborIter<'_, Self::NeighborIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board/setup.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 78 | coord: D::Coordinate, [INFO] [stdout] 79 | ) -> ProjectIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 113 | ship_entry_shared!(ShipEntry); [INFO] [stdout] | ----------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | ) -> ProjectIter<'_, D, S::ProjectIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board/setup.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 78 | coord: D::Coordinate, [INFO] [stdout] 79 | ) -> ProjectIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] ... [INFO] [stdout] 114 | ship_entry_shared!(ShipEntryMut); [INFO] [stdout] | -------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [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: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 79 | ) -> ProjectIter<'_, D, S::ProjectIterState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board/setup.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn iter_ships(&self) -> impl Iterator> { [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] 245 | pub fn iter_ships(&self) -> impl Iterator> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/board/setup.rs:258:9 [INFO] [stdout] | [INFO] [stdout] 258 | &mut self, [INFO] [stdout] | ^^^^^^^^^ the lifetime is elided here [INFO] [stdout] ... [INFO] [stdout] 261 | ) -> Result, AddShipError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ 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] 261 | ) -> Result, AddShipError> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 279 | pub fn get_ship(&self, id: I) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 287 | pub fn get_ship_mut(&mut self, id: I) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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] | ^^^^^ 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] 407 | pub fn get_coord(&self, player: Player, coord: Coordinate) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is 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 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] 412 | pub fn get_ship(&self, player: Player, ship: Ship) -> ShipRef<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/ships.rs:43:10 [INFO] [stdout] | [INFO] [stdout] 40 | &'a self, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 41 | coord: D::Coordinate, [INFO] [stdout] 42 | dim: &'a D, [INFO] [stdout] | -- the lifetime is named here [INFO] [stdout] 43 | ) -> ProjectIter { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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: 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.85s [INFO] running `Command { std: "docker" "inspect" "584711a2023b4becace893d1e2a078e7392cada99b407d3784c754d1d4734af8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "584711a2023b4becace893d1e2a078e7392cada99b407d3784c754d1d4734af8", kill_on_drop: false }` [INFO] [stdout] 584711a2023b4becace893d1e2a078e7392cada99b407d3784c754d1d4734af8