[INFO] cloning repository https://github.com/mmheroes/mmheroes [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mmheroes/mmheroes" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmheroes%2Fmmheroes", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmheroes%2Fmmheroes'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b044cf3b511ff851323f1c28e228992ba4b31fa [INFO] testing mmheroes/mmheroes against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmheroes%2Fmmheroes" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/mmheroes/mmheroes [INFO] finished tweaking git repo https://github.com/mmheroes/mmheroes [INFO] tweaked toml for git repo https://github.com/mmheroes/mmheroes written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmheroes/mmheroes on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/mmheroes/mmheroes already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cedd19f6194c2b9f9e5a3a15f72bf3ce4509ac74f1b95271913cd3fe142f3a15 [INFO] running `Command { std: "docker" "start" "-a" "cedd19f6194c2b9f9e5a3a15f72bf3ce4509ac74f1b95271913cd3fe142f3a15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cedd19f6194c2b9f9e5a3a15f72bf3ce4509ac74f1b95271913cd3fe142f3a15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cedd19f6194c2b9f9e5a3a15f72bf3ce4509ac74f1b95271913cd3fe142f3a15", kill_on_drop: false }` [INFO] [stdout] cedd19f6194c2b9f9e5a3a15f72bf3ce4509ac74f1b95271913cd3fe142f3a15 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7335bd72e3fa7b694984fda5c87cd67e9448c7054f3a0fc6ad91b57a8c4ce088 [INFO] running `Command { std: "docker" "start" "-a" "7335bd72e3fa7b694984fda5c87cd67e9448c7054f3a0fc6ad91b57a8c4ce088", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling option-ext v0.2.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling pancurses v0.17.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling bitfield-struct v0.9.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling mmheroes-core v0.1.0 (/opt/rustwide/workdir/mmheroes-core-rs) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/src/logic/mod.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn observable_state(&self) -> Ref { [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] 258 | pub fn observable_state(&self) -> Ref<'_, ObservableGameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mmheroes v0.1.0 (/opt/rustwide/workdir/mmheroes-rs) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.32s [INFO] running `Command { std: "docker" "inspect" "7335bd72e3fa7b694984fda5c87cd67e9448c7054f3a0fc6ad91b57a8c4ce088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7335bd72e3fa7b694984fda5c87cd67e9448c7054f3a0fc6ad91b57a8c4ce088", kill_on_drop: false }` [INFO] [stdout] 7335bd72e3fa7b694984fda5c87cd67e9448c7054f3a0fc6ad91b57a8c4ce088 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d1866ae910b5cc7b22f21f475f4f5690097fc07396bc9f8054a546a6a962d029 [INFO] running `Command { std: "docker" "start" "-a" "d1866ae910b5cc7b22f21f475f4f5690097fc07396bc9f8054a546a6a962d029", kill_on_drop: false }` [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/src/logic/mod.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn observable_state(&self) -> Ref { [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] 258 | pub fn observable_state(&self) -> Ref<'_, ObservableGameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mmheroes v0.1.0 (/opt/rustwide/workdir/mmheroes-rs) [INFO] [stderr] Compiling mmheroes-core v0.1.0 (/opt/rustwide/workdir/mmheroes-core-rs) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/punk.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | initialize_game!((0, GameMode::Normal, Some(high_scores.clone())) => state, game_ui); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | initialize_game!((1, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | initialize_game!((1, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | initialize_game!((3, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 437 | initialize_game!((3, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 520 | initialize_game!((4, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:603:5 [INFO] [stdout] | [INFO] [stdout] 603 | initialize_game!((4, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/terkom.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/studying.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | initialize_game!((1641333345581, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sasha.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/studying.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 99 | initialize_game!((1641336778475, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/studying.rs:153:5 [INFO] [stdout] | [INFO] [stdout] 153 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/computer_class.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | initialize_game!((0, GameMode::God) => state, game_ui); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/nil.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((1732930458130, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/computer_class.rs:291:5 [INFO] [stdout] | [INFO] [stdout] 291 | initialize_game!((0, GameMode::God) => state, game_ui); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/computer_class.rs:472:5 [INFO] [stdout] | [INFO] [stdout] 472 | initialize_game!((2, GameMode::God) => state, game_ui); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/computer_class.rs:709:5 [INFO] [stdout] | [INFO] [stdout] 709 | initialize_game!((2, GameMode::God) => state, game_ui); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/mausoleum.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | initialize_game!((7, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | initialize_game!((5, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:273:5 [INFO] [stdout] | [INFO] [stdout] 273 | initialize_game!((4, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:319:5 [INFO] [stdout] | [INFO] [stdout] 319 | initialize_game!((2, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/cafe.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:365:5 [INFO] [stdout] | [INFO] [stdout] 365 | initialize_game!((1, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:406:5 [INFO] [stdout] | [INFO] [stdout] 406 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:453:5 [INFO] [stdout] | [INFO] [stdout] 453 | initialize_game!((2, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:560:5 [INFO] [stdout] | [INFO] [stdout] 560 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:732:5 [INFO] [stdout] | [INFO] [stdout] 732 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:935:5 [INFO] [stdout] | [INFO] [stdout] 935 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:1132:5 [INFO] [stdout] | [INFO] [stdout] 1132 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:1312:5 [INFO] [stdout] | [INFO] [stdout] 1312 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/grisha.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:1509:5 [INFO] [stdout] | [INFO] [stdout] 1509 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:1565:5 [INFO] [stdout] | [INFO] [stdout] 1565 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:1713:5 [INFO] [stdout] | [INFO] [stdout] 1713 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/grisha.rs:987:5 [INFO] [stdout] | [INFO] [stdout] 987 | initialize_game!((1, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/cafe.rs:289:5 [INFO] [stdout] | [INFO] [stdout] 289 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/cafe.rs:351:5 [INFO] [stdout] | [INFO] [stdout] 351 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/kuzmenko.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/cafe.rs:412:5 [INFO] [stdout] | [INFO] [stdout] 412 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/pasha.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/cafe.rs:510:5 [INFO] [stdout] | [INFO] [stdout] 510 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/pasha.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/cafe.rs:563:5 [INFO] [stdout] | [INFO] [stdout] 563 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/cafe.rs:833:5 [INFO] [stdout] | [INFO] [stdout] 833 | initialize_game!((7, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/kolya.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/kolya.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/kolya.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/kolya.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/kolya.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | initialize_game!((5, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | initialize_game!((5, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | initialize_game!((3, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | initialize_game!((2, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | initialize_game!((1, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 509 | initialize_game!((33, GameMode::Normal) => state, game_ui); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 557 | initialize_game!((4, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:604:5 [INFO] [stdout] | [INFO] [stdout] 604 | initialize_game!((1, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:650:5 [INFO] [stdout] | [INFO] [stdout] 650 | initialize_game!((1, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | initialize_game!((12, GameMode::Normal) => state, game_ui); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [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] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [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] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mmheroes-core` (test "kuzmenko"); 3 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name kuzmenko --edition=2021 mmheroes-core-rs/tests/kuzmenko.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=f401e9c0504a0440 -C extra-filename=-915f28bb907edb0f --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern assert_matches=/opt/rustwide/target/debug/deps/libassert_matches-58327a20575d53ab.rlib --extern bitfield_struct=/opt/rustwide/target/debug/deps/libbitfield_struct-a9203c36110af0d6.so --extern mmheroes_core=/opt/rustwide/target/debug/deps/libmmheroes_core-48fb3a632fac846d.rlib --extern strum=/opt/rustwide/target/debug/deps/libstrum-51af16aef30afe03.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `mmheroes-core` (test "exams"); 19 warnings emitted [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/bin/rustc --crate-name exams --edition=2021 mmheroes-core-rs/tests/exams.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=2b1caadec9ea5524 -C extra-filename=-ba90d7843331a7cc --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern assert_matches=/opt/rustwide/target/debug/deps/libassert_matches-58327a20575d53ab.rlib --extern bitfield_struct=/opt/rustwide/target/debug/deps/libbitfield_struct-a9203c36110af0d6.so --extern mmheroes_core=/opt/rustwide/target/debug/deps/libmmheroes_core-48fb3a632fac846d.rlib --extern strum=/opt/rustwide/target/debug/deps/libstrum-51af16aef30afe03.rlib --cap-lints=forbid` (signal: 9, SIGKILL: kill) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/src/util/async_support.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut executor = PromptingExecutor::new( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/src/util/async_support.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let mut executor = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/src/logic/mod.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn observable_state(&self) -> Ref { [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] 258 | pub fn observable_state(&self) -> Ref<'_, ObservableGameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d1866ae910b5cc7b22f21f475f4f5690097fc07396bc9f8054a546a6a962d029", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1866ae910b5cc7b22f21f475f4f5690097fc07396bc9f8054a546a6a962d029", kill_on_drop: false }` [INFO] [stdout] d1866ae910b5cc7b22f21f475f4f5690097fc07396bc9f8054a546a6a962d029