[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] checking mmheroes/mmheroes against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmheroes%2Fmmheroes" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/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-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmheroes/mmheroes on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "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" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitfield-struct v0.9.3 [INFO] [stderr] Downloaded pancurses v0.17.0 [INFO] [stderr] Downloaded pdcurses-sys v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d78d5260b788a3f33bba788d5e5fdef822250a37991c37be5e062e21fcd2c36 [INFO] running `Command { std: "docker" "start" "-a" "8d78d5260b788a3f33bba788d5e5fdef822250a37991c37be5e062e21fcd2c36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d78d5260b788a3f33bba788d5e5fdef822250a37991c37be5e062e21fcd2c36", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d78d5260b788a3f33bba788d5e5fdef822250a37991c37be5e062e21fcd2c36", kill_on_drop: false }` [INFO] [stdout] 8d78d5260b788a3f33bba788d5e5fdef822250a37991c37be5e062e21fcd2c36 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f932d0148c67c4d65336d6cfcbab2785adfba5ae3d914f275da95bd4464da088 [INFO] running `Command { std: "docker" "start" "-a" "f932d0148c67c4d65336d6cfcbab2785adfba5ae3d914f275da95bd4464da088", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking assert_matches v1.5.0 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking option-ext v0.2.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Checking dirs-sys v0.4.1 [INFO] [stderr] Checking directories v5.0.1 [INFO] [stderr] Checking pancurses v0.17.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling bitfield-struct v0.9.3 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking 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/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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn observable_state(&self) -> Ref<'_, ObservableGameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking mmheroes v0.1.0 (/opt/rustwide/workdir/mmheroes-rs) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn observable_state(&self) -> Ref<'_, ObservableGameState> { [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)]` 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: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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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: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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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: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)]` 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/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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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: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: 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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: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: 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/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/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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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: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/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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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)]` 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)]` 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: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/corner_cases.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` 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/corner_cases.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | 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/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/corner_cases.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | 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: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/corner_cases.rs:237:5 [INFO] [stdout] | [INFO] [stdout] 237 | 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/corner_cases.rs:254:5 [INFO] [stdout] | [INFO] [stdout] 254 | 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: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/corner_cases.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | 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: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/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: 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)]` 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/corner_cases.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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/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/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/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: 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: 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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/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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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: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)]` 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/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)]` 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: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)]` 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/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: 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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/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)]` 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 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/traveling.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)]` 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/traveling.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | 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/traveling.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 103 | 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/traveling.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 130 | 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/traveling.rs:196:5 [INFO] [stdout] | [INFO] [stdout] 196 | 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/traveling.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 266 | 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/traveling.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 347 | 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/traveling.rs:428:5 [INFO] [stdout] | [INFO] [stdout] 428 | 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/traveling.rs:523:5 [INFO] [stdout] | [INFO] [stdout] 523 | 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/traveling.rs:627:5 [INFO] [stdout] | [INFO] [stdout] 627 | 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/traveling.rs:721:5 [INFO] [stdout] | [INFO] [stdout] 721 | 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/traveling.rs:843:5 [INFO] [stdout] | [INFO] [stdout] 843 | 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/traveling.rs:930:5 [INFO] [stdout] | [INFO] [stdout] 930 | 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/traveling.rs:991:5 [INFO] [stdout] | [INFO] [stdout] 991 | 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/traveling.rs:1075:5 [INFO] [stdout] | [INFO] [stdout] 1075 | 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/traveling.rs:1159:5 [INFO] [stdout] | [INFO] [stdout] 1159 | 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/traveling.rs:1234:5 [INFO] [stdout] | [INFO] [stdout] 1234 | 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/traveling.rs:1341:5 [INFO] [stdout] | [INFO] [stdout] 1341 | 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: 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/traveling.rs:1448:5 [INFO] [stdout] | [INFO] [stdout] 1448 | 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/traveling.rs:1504:5 [INFO] [stdout] | [INFO] [stdout] 1504 | 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/traveling.rs:1663:5 [INFO] [stdout] | [INFO] [stdout] 1663 | 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/traveling.rs:1728:5 [INFO] [stdout] | [INFO] [stdout] 1728 | 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/traveling.rs:1781:5 [INFO] [stdout] | [INFO] [stdout] 1781 | 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/traveling.rs:1834:5 [INFO] [stdout] | [INFO] [stdout] 1834 | 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/traveling.rs:1923:5 [INFO] [stdout] | [INFO] [stdout] 1923 | 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/traveling.rs:1978:5 [INFO] [stdout] | [INFO] [stdout] 1978 | 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.35s [INFO] running `Command { std: "docker" "inspect" "f932d0148c67c4d65336d6cfcbab2785adfba5ae3d914f275da95bd4464da088", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f932d0148c67c4d65336d6cfcbab2785adfba5ae3d914f275da95bd4464da088", kill_on_drop: false }` [INFO] [stdout] f932d0148c67c4d65336d6cfcbab2785adfba5ae3d914f275da95bd4464da088