[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] building mmheroes/mmheroes against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmmheroes%2Fmmheroes" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/mmheroes/mmheroes on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "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 pkg-config v0.3.24 [INFO] [stderr] Downloaded winreg v0.5.1 [INFO] [stderr] Downloaded ncurses v5.101.0 [INFO] [stderr] Downloaded cc v1.0.72 [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-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 70417b1bd2a136709ba5515991d16a8ac44ee5d49b22540a966749cea943e567 [INFO] running `Command { std: "docker" "start" "-a" "70417b1bd2a136709ba5515991d16a8ac44ee5d49b22540a966749cea943e567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "70417b1bd2a136709ba5515991d16a8ac44ee5d49b22540a966749cea943e567", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "70417b1bd2a136709ba5515991d16a8ac44ee5d49b22540a966749cea943e567", kill_on_drop: false }` [INFO] [stdout] 70417b1bd2a136709ba5515991d16a8ac44ee5d49b22540a966749cea943e567 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 277423bf99aafdcafdddca3f51bbe4331bec41923ff2898127737db6256cfbf5 [INFO] running `Command { std: "docker" "start" "-a" "277423bf99aafdcafdddca3f51bbe4331bec41923ff2898127737db6256cfbf5", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.159 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling ncurses v5.101.0 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling directories v5.0.1 [INFO] [stderr] Compiling pancurses v0.17.0 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling bitfield-struct v0.9.3 [INFO] [stderr] Compiling strum v0.26.3 [INFO] [stderr] Compiling mmheroes-core v0.1.0 (/opt/rustwide/workdir/mmheroes-core-rs) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/src/logic/mod.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn observable_state(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn observable_state(&self) -> Ref<'_, ObservableGameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mmheroes v0.1.0 (/opt/rustwide/workdir/mmheroes-rs) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.94s [INFO] running `Command { std: "docker" "inspect" "277423bf99aafdcafdddca3f51bbe4331bec41923ff2898127737db6256cfbf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "277423bf99aafdcafdddca3f51bbe4331bec41923ff2898127737db6256cfbf5", kill_on_drop: false }` [INFO] [stdout] 277423bf99aafdcafdddca3f51bbe4331bec41923ff2898127737db6256cfbf5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b1136aa1dfcce63714a81ac07d214412f02b2eedecbd95564e7da84a2e1c6657 [INFO] running `Command { std: "docker" "start" "-a" "b1136aa1dfcce63714a81ac07d214412f02b2eedecbd95564e7da84a2e1c6657", kill_on_drop: false }` [INFO] [stderr] Compiling assert_matches v1.5.0 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/src/logic/mod.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn observable_state(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn observable_state(&self) -> Ref<'_, ObservableGameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling mmheroes v0.1.0 (/opt/rustwide/workdir/mmheroes-rs) [INFO] [stderr] Compiling mmheroes-core v0.1.0 (/opt/rustwide/workdir/mmheroes-core-rs) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:94:5 [INFO] [stdout] | [INFO] [stdout] 94 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | initialize_game!((5, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:225:5 [INFO] [stdout] | [INFO] [stdout] 225 | initialize_game!((3, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:292:5 [INFO] [stdout] | [INFO] [stdout] 292 | initialize_game!((2, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:460:5 [INFO] [stdout] | [INFO] [stdout] 460 | initialize_game!((1, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:509:5 [INFO] [stdout] | [INFO] [stdout] 509 | initialize_game!((33, GameMode::Normal) => state, game_ui); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:557:5 [INFO] [stdout] | [INFO] [stdout] 557 | initialize_game!((4, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:604:5 [INFO] [stdout] | [INFO] [stdout] 604 | initialize_game!((1, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:650:5 [INFO] [stdout] | [INFO] [stdout] 650 | initialize_game!((1, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sleeping.rs:699:5 [INFO] [stdout] | [INFO] [stdout] 699 | initialize_game!((12, GameMode::Normal) => state, game_ui); [INFO] [stdout] | ---------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/studying.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | initialize_game!((1641333345581, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/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: 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: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/computer_class.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | initialize_game!((0, GameMode::God) => state, game_ui); [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/sasha.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/mausoleum.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/computer_class.rs: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: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/grisha.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/terkom.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/cafe.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/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/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/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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/cafe.rs: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/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/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/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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/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/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/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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/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/pasha.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/pasha.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/kuzmenko.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:92:5 [INFO] [stdout] | [INFO] [stdout] 92 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:175:5 [INFO] [stdout] | [INFO] [stdout] 175 | initialize_game!((1, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:271:5 [INFO] [stdout] | [INFO] [stdout] 271 | initialize_game!((1, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:354:5 [INFO] [stdout] | [INFO] [stdout] 354 | initialize_game!((3, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:437:5 [INFO] [stdout] | [INFO] [stdout] 437 | initialize_game!((3, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 520 | initialize_game!((4, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/dorm.rs:603:5 [INFO] [stdout] | [INFO] [stdout] 603 | initialize_game!((4, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/kolya.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/kolya.rs:108:5 [INFO] [stdout] | [INFO] [stdout] 108 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/kolya.rs:221:5 [INFO] [stdout] | [INFO] [stdout] 221 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/kolya.rs:361:5 [INFO] [stdout] | [INFO] [stdout] 361 | initialize_game!((0, GameMode::SelectInitialParameters) => state, game_ui); [INFO] [stdout] | -------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/kolya.rs:440:5 [INFO] [stdout] | [INFO] [stdout] 440 | initialize_game!((5, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/nil.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((1732930458130, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/punk.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | initialize_game!((0, GameMode::Normal, Some(high_scores.clone())) => state, game_ui); [INFO] [stdout] | ------------------------------------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:124:5 [INFO] [stdout] | [INFO] [stdout] 124 | initialize_game!((0, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:184:5 [INFO] [stdout] | [INFO] [stdout] 184 | initialize_game!((7, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:158:13 [INFO] [stdout] | [INFO] [stdout] 158 | let mut game = mmheroes_core::logic::create_game($seed, $state); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: mmheroes-core-rs/tests/exams.rs:230:5 [INFO] [stdout] | [INFO] [stdout] 230 | initialize_game!((5, GameMode::Normal) => state, game_ui); [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `initialize_game` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 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/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: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:144:19 [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 144 | fn game_state(&self) -> core::cell::Ref<'_, GameState>; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/tests/common.rs:148:19 [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 148 | fn game_state(&self) -> core::cell::Ref<'_, GameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/src/util/async_support.rs:169:13 [INFO] [stdout] | [INFO] [stdout] 169 | let mut executor = PromptingExecutor::new( [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> mmheroes-core-rs/src/util/async_support.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let mut executor = [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> mmheroes-core-rs/src/logic/mod.rs:258:29 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn observable_state(&self) -> Ref { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 258 | pub fn observable_state(&self) -> Ref<'_, ObservableGameState> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.24s [INFO] running `Command { std: "docker" "inspect" "b1136aa1dfcce63714a81ac07d214412f02b2eedecbd95564e7da84a2e1c6657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b1136aa1dfcce63714a81ac07d214412f02b2eedecbd95564e7da84a2e1c6657", kill_on_drop: false }` [INFO] [stdout] b1136aa1dfcce63714a81ac07d214412f02b2eedecbd95564e7da84a2e1c6657