[INFO] cloning repository https://github.com/TuckerBMorgan/RustServerForFireplace [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/TuckerBMorgan/RustServerForFireplace" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuckerBMorgan%2FRustServerForFireplace", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuckerBMorgan%2FRustServerForFireplace'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c21e0042e1226cf8af79429e927df5b8b9b542b6 [INFO] checking TuckerBMorgan/RustServerForFireplace/c21e0042e1226cf8af79429e927df5b8b9b542b6 against try#4d98531622e1718ae0bc3c7a1ab9cd8938428452+rustflags=-Dtail_expr_drop_order for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FTuckerBMorgan%2FRustServerForFireplace" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/TuckerBMorgan/RustServerForFireplace on toolchain 4d98531622e1718ae0bc3c7a1ab9cd8938428452 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/TuckerBMorgan/RustServerForFireplace [INFO] finished tweaking git repo https://github.com/TuckerBMorgan/RustServerForFireplace [INFO] tweaked toml for git repo https://github.com/TuckerBMorgan/RustServerForFireplace written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/TuckerBMorgan/RustServerForFireplace 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" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4fd086967b39c9b1a2b2527c80a5dc2cf778ea234cdc7f44406728718e8da62e [INFO] running `Command { std: "docker" "start" "-a" "4fd086967b39c9b1a2b2527c80a5dc2cf778ea234cdc7f44406728718e8da62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4fd086967b39c9b1a2b2527c80a5dc2cf778ea234cdc7f44406728718e8da62e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fd086967b39c9b1a2b2527c80a5dc2cf778ea234cdc7f44406728718e8da62e", kill_on_drop: false }` [INFO] [stdout] 4fd086967b39c9b1a2b2527c80a5dc2cf778ea234cdc7f44406728718e8da62e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dtail_expr_drop_order" "-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+4d98531622e1718ae0bc3c7a1ab9cd8938428452" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5315f6eab899aa0624cd31e713efb5b4158fca3a429a306f0e6c4f616bc787cf [INFO] running `Command { std: "docker" "start" "-a" "5315f6eab899aa0624cd31e713efb5b4158fca3a429a306f0e6c4f616bc787cf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling unicode-ident v1.0.4 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Compiling futures-util v0.3.24 [INFO] [stderr] Checking futures-sink v0.3.24 [INFO] [stderr] Compiling rustls v0.20.6 [INFO] [stderr] Checking futures-io v0.3.24 [INFO] [stderr] Compiling thiserror v1.0.35 [INFO] [stderr] Compiling tokio v1.21.1 [INFO] [stderr] Checking openssl-probe v0.1.5 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking rustls-pemfile v0.2.1 [INFO] [stderr] Checking num_threads v0.1.6 [INFO] [stderr] Checking pem v1.1.0 [INFO] [stderr] Checking rhai v0.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Checking rustls-native-certs v0.6.2 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking futures-channel v0.3.24 [INFO] [stderr] Compiling lua52-sys v0.1.2 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking socket2 v0.4.7 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Checking mio v0.8.4 [INFO] [stderr] Checking time v0.3.14 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking yasna v0.5.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking sct v0.7.0 [INFO] [stderr] Checking webpki v0.22.0 [INFO] [stderr] Checking rcgen v0.9.3 [INFO] [stderr] Checking hlua v0.4.1 [INFO] [stderr] Compiling futures-macro v0.3.24 [INFO] [stderr] Compiling thiserror-impl v1.0.35 [INFO] [stderr] Compiling tracing-attributes v0.1.22 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling serde_derive v1.0.144 [INFO] [stderr] Checking tracing v0.1.36 [INFO] [stderr] Checking quinn-proto v0.8.4 [INFO] [stderr] Checking serde v1.0.144 [INFO] [stderr] Checking futures-executor v0.3.24 [INFO] [stderr] Checking quinn-udp v0.1.3 [INFO] [stderr] Checking futures v0.3.24 [INFO] [stderr] Checking quinn v0.8.5 [INFO] [stderr] Checking serde_json v1.0.85 [INFO] [stderr] Checking fireplace_server v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `add_enchantment::*` [INFO] [stdout] --> src/runes/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub use add_enchantment::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `attack::*` [INFO] [stdout] --> src/runes/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use attack::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `destroy::*` [INFO] [stdout] --> src/runes/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use destroy::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `heal::*` [INFO] [stdout] --> src/runes/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub use heal::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `silence::*` [INFO] [stdout] --> src/runes/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub use silence::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/game_thread.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `add_enchantment::*` [INFO] [stdout] --> src/runes/mod.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub use add_enchantment::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `attack::*` [INFO] [stdout] --> src/runes/mod.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | pub use attack::*; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `destroy::*` [INFO] [stdout] --> src/runes/mod.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | pub use destroy::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `heal::*` [INFO] [stdout] --> src/runes/mod.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | pub use heal::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `silence::*` [INFO] [stdout] --> src/runes/mod.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | pub use silence::*; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::str` [INFO] [stdout] --> src/game_thread.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::str; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:28:23 [INFO] [stdout] | [INFO] [stdout] 28 | use futures::stream::{self, StreamExt}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/controller.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{thread_rng, Rng, sample}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/controller.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | sample(&mut rng, self.deck.iter(), n) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/controller.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use rand::{thread_rng, Rng, sample}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::sample`: renamed to seq::sample_iter [INFO] [stdout] --> src/controller.rs:238:9 [INFO] [stdout] | [INFO] [stdout] 238 | sample(&mut rng, self.deck.iter(), n) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `available_parallelism` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(available_parallelism)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `available_parallelism` has been stable since 1.59.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(available_parallelism)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/new_controller.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | implement_for_lua!(NewController, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/new_controller.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | implement_for_lua!(NewController, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/new_controller.rs:32:40 [INFO] [stdout] | [INFO] [stdout] 32 | implement_for_lua!(NewController, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/new_controller.rs:32:36 [INFO] [stdout] | [INFO] [stdout] 32 | implement_for_lua!(NewController, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/play_minion.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | implement_for_lua!(PlayMinion, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/play_minion.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | implement_for_lua!(PlayMinion, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/play_minion.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/play_minion.rs:25:37 [INFO] [stdout] | [INFO] [stdout] 25 | implement_for_lua!(PlayMinion, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/play_minion.rs:25:33 [INFO] [stdout] | [INFO] [stdout] 25 | implement_for_lua!(PlayMinion, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/summon_minion.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(SummonMinion, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/summon_minion.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(SummonMinion, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/play_minion.rs:43:28 [INFO] [stdout] | [INFO] [stdout] 43 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/deal_card.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(DealCard, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/deal_card.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(DealCard, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/summon_minion.rs:16:39 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(SummonMinion, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/summon_minion.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(SummonMinion, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/start_game.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | implement_for_lua!(StartGame, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/start_game.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | implement_for_lua!(StartGame, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/deal_card.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(DealCard, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/deal_card.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(DealCard, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/shuffle_card.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(ShuffleCard, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/shuffle_card.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(ShuffleCard, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/start_game.rs:10:36 [INFO] [stdout] | [INFO] [stdout] 10 | implement_for_lua!(StartGame, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/start_game.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | implement_for_lua!(StartGame, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/rotate_turn.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | implement_for_lua!(RotateTurn, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/rotate_turn.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | implement_for_lua!(RotateTurn, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/rotate_turn.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/shuffle_card.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(ShuffleCard, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/shuffle_card.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(ShuffleCard, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/add_tag.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | implement_for_lua!(AddTag, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/add_tag.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | implement_for_lua!(AddTag, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/rotate_turn.rs:20:37 [INFO] [stdout] | [INFO] [stdout] 20 | implement_for_lua!(RotateTurn, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/add_tag.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/rotate_turn.rs:20:33 [INFO] [stdout] | [INFO] [stdout] 20 | implement_for_lua!(RotateTurn, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/rotate_turn.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/remove_tag.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(RemoveTag, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/remove_tag.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(RemoveTag, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/remove_tag.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/add_tag.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | implement_for_lua!(AddTag, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/add_tag.rs:23:29 [INFO] [stdout] | [INFO] [stdout] 23 | implement_for_lua!(AddTag, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/add_tag.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/set_base_mana.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(SetBaseMana, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_base_mana.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(SetBaseMana, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_base_mana.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/remove_tag.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(RemoveTag, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/remove_tag.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(RemoveTag, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/remove_tag.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/set_mana.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(SetMana, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_mana.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(SetMana, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/set_base_mana.rs:14:38 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(SetBaseMana, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/mulligan.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(Mulligan, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_base_mana.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(SetBaseMana, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/mulligan.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(Mulligan, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_base_mana.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/set_mana.rs:14:34 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(SetMana, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_mana.rs:14:30 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(SetMana, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/play_card.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | implement_for_lua!(PlayCard, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/play_card.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | implement_for_lua!(PlayCard, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/mulligan.rs:16:35 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(Mulligan, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/mulligan.rs:16:31 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(Mulligan, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/kill_minion.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(KillMinion, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/kill_minion.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(KillMinion, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/play_card.rs:40:35 [INFO] [stdout] | [INFO] [stdout] 40 | implement_for_lua!(PlayCard, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/play_card.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | implement_for_lua!(PlayCard, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/add_enchantment.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | implement_for_lua!(AddEnchantment, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/add_enchantment.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | implement_for_lua!(AddEnchantment, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/add_enchantment.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/kill_minion.rs:14:37 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(KillMinion, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/kill_minion.rs:14:33 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(KillMinion, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/modify_health.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(ModifyHealth, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/modify_health.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(ModifyHealth, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/add_enchantment.rs:23:41 [INFO] [stdout] | [INFO] [stdout] 23 | implement_for_lua!(AddEnchantment, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/damage_rune.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | implement_for_lua!(DamageRune, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/damage_rune.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | implement_for_lua!(DamageRune, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/add_enchantment.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | implement_for_lua!(AddEnchantment, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/add_enchantment.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/attack.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | implement_lua_push!(Attack, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/modify_health.rs:14:39 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(ModifyHealth, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/attack.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | implement_lua_push!(Attack, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/modify_health.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(ModifyHealth, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/attack.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/destroy.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | implement_for_lua!(Destroy, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/destroy.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | implement_for_lua!(Destroy, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/damage_rune.rs:15:37 [INFO] [stdout] | [INFO] [stdout] 15 | implement_for_lua!(DamageRune, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/damage_rune.rs:15:33 [INFO] [stdout] | [INFO] [stdout] 15 | implement_for_lua!(DamageRune, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/heal.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | implement_for_lua!(Heal, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/heal.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | implement_for_lua!(Heal, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/attack.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | implement_lua_push!(Attack, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/attack.rs:24:30 [INFO] [stdout] | [INFO] [stdout] 24 | implement_lua_push!(Attack, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/attack.rs:27:28 [INFO] [stdout] | [INFO] [stdout] 27 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/silence.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(Silence, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/silence.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(Silence, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/destroy.rs:12:34 [INFO] [stdout] | [INFO] [stdout] 12 | implement_for_lua!(Destroy, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/silence.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/destroy.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | implement_for_lua!(Destroy, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/set_health.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | implement_for_lua!(SetHealth, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_health.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | implement_for_lua!(SetHealth, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/heal.rs:15:31 [INFO] [stdout] | [INFO] [stdout] 15 | implement_for_lua!(Heal, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_health.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/heal.rs:15:27 [INFO] [stdout] | [INFO] [stdout] 15 | implement_for_lua!(Heal, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/set_attack.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(SetAttack, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_attack.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(SetAttack, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/silence.rs:16:34 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(Silence, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_attack.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/silence.rs:16:30 [INFO] [stdout] | [INFO] [stdout] 16 | implement_for_lua!(Silence, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/silence.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/modify_attack.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | implement_for_lua!(ModifyAttack, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/modify_attack.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | implement_for_lua!(ModifyAttack, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/set_health.rs:13:36 [INFO] [stdout] | [INFO] [stdout] 13 | implement_for_lua!(SetHealth, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_health.rs:13:32 [INFO] [stdout] | [INFO] [stdout] 13 | implement_for_lua!(SetHealth, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_health.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/set_attack.rs:14:36 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(SetAttack, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_attack.rs:14:32 [INFO] [stdout] | [INFO] [stdout] 14 | implement_for_lua!(SetAttack, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/create_card.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | implement_for_lua!(CreateCard, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/create_card.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | implement_for_lua!(CreateCard, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_attack.rs:26:28 [INFO] [stdout] | [INFO] [stdout] 26 | fn execute_rune(&self, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/modify_attack.rs:13:39 [INFO] [stdout] | [INFO] [stdout] 13 | implement_for_lua!(ModifyAttack, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/modify_attack.rs:13:35 [INFO] [stdout] | [INFO] [stdout] 13 | implement_for_lua!(ModifyAttack, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/create_card.rs:17:37 [INFO] [stdout] | [INFO] [stdout] 17 | implement_for_lua!(CreateCard, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/create_card.rs:17:33 [INFO] [stdout] | [INFO] [stdout] 17 | implement_for_lua!(CreateCard, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/report_minion_to_client.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | implement_for_lua!(ReportMinionToClient, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/report_minion_to_client.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | implement_for_lua!(ReportMinionToClient, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/set_current_controller.rs:20:47 [INFO] [stdout] | [INFO] [stdout] 20 | implement_for_lua!(SetCurrentController, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_current_controller.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | implement_for_lua!(SetCurrentController, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/runes/set_current_controller.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | fn execute_rune(&self, mut game_state: &mut GameState) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_current_controller.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | fn execute_rune(&self, mut game_state: &mut GameState) {} [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/macros.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | implement_for_lua!(ERuneType, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] | [INFO] [stdout] ::: src/rune_vm.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | implement_enum_and_unfold!(StartGame, SetMana, SetAttack, SetHealth, ModifyHealth, ModifyAttack, SetBaseMana, SummonMinion, CreateCard,); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_enum_and_unfold` (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] --> src/macros.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | implement_for_lua!(ERuneType, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/rune_vm.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | implement_enum_and_unfold!(StartGame, SetMana, SetAttack, SetHealth, ModifyHealth, ModifyAttack, SetBaseMana, SummonMinion, CreateCard,); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_enum_and_unfold` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/report_minion_to_client.rs:28:47 [INFO] [stdout] | [INFO] [stdout] 28 | implement_for_lua!(ReportMinionToClient, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/report_minion_to_client.rs:28:43 [INFO] [stdout] | [INFO] [stdout] 28 | implement_for_lua!(ReportMinionToClient, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/runes/set_current_controller.rs:20:47 [INFO] [stdout] | [INFO] [stdout] 20 | implement_for_lua!(SetCurrentController, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_current_controller.rs:20:43 [INFO] [stdout] | [INFO] [stdout] 20 | implement_for_lua!(SetCurrentController, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `game_state` [INFO] [stdout] --> src/runes/set_current_controller.rs:23:32 [INFO] [stdout] | [INFO] [stdout] 23 | fn execute_rune(&self, mut game_state: &mut GameState) {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_game_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runes/set_current_controller.rs:23:28 [INFO] [stdout] | [INFO] [stdout] 23 | fn execute_rune(&self, mut game_state: &mut GameState) {} [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/macros.rs:49:44 [INFO] [stdout] | [INFO] [stdout] 49 | implement_for_lua!(ERuneType, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] | [INFO] [stdout] ::: src/rune_vm.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | implement_enum_and_unfold!(StartGame, SetMana, SetAttack, SetHealth, ModifyHealth, ModifyAttack, SetBaseMana, SummonMinion, CreateCard,); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_enum_and_unfold` (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] --> src/macros.rs:49:40 [INFO] [stdout] | [INFO] [stdout] 49 | implement_for_lua!(ERuneType, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] ::: src/rune_vm.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | implement_enum_and_unfold!(StartGame, SetMana, SetAttack, SetHealth, ModifyHealth, ModifyAttack, SetBaseMana, SummonMinion, CreateCard,); [INFO] [stdout] | ---------------------------------------------------------------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `implement_enum_and_unfold` (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] --> src/game_state.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | let mut controller = self.get_mut_controller_by_uid(controller_uid).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game_state.rs:559:13 [INFO] [stdout] | [INFO] [stdout] 559 | let mut controller = self.get_mut_controller_by_uid(controller_uid).unwrap(); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/controller.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | implement_lua_push!(Controller, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controller.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | implement_lua_push!(Controller, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/controller.rs:56:38 [INFO] [stdout] | [INFO] [stdout] 56 | implement_lua_push!(Controller, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/controller.rs:56:34 [INFO] [stdout] | [INFO] [stdout] 56 | implement_lua_push!(Controller, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/client_option.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | implement_for_lua!(ClientOption, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client_option.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | implement_for_lua!(ClientOption, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `metatable` [INFO] [stdout] --> src/client_option.rs:33:39 [INFO] [stdout] | [INFO] [stdout] 33 | implement_for_lua!(ClientOption, |mut metatable| {}); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_metatable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/client_option.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | implement_for_lua!(ClientOption, |mut metatable| {}); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/process_message.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | fn new_connection(client_id: u32, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/process_message.rs:55:35 [INFO] [stdout] | [INFO] [stdout] 55 | fn new_connection(client_id: u32, mut game_state: &mut GameState) { [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server` is never used [INFO] [stdout] --> src/main.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn run_server(addr: SocketAddr) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_health` and `get_entity_type` are never used [INFO] [stdout] --> src/entity.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Entity: Send { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 9 | fn get_health(&self) -> u16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | fn get_entity_type(&self) -> _EEntityType; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `join_handle` is never read [INFO] [stdout] --> src/player_thread.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PlayerThread { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub join_handle: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ClientMessage` is never used [INFO] [stdout] --> src/client_message.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait ClientMessage {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 45 | let cert = rcgen::generate_simple_self_signed(vec!["localhost".into()]).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let mut server_config = ServerConfig::with_single_cert(cert_chain, priv_key)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok((server_config, cert_der)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 60 | let (server_config, server_cert) = configure_server().unwrap(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let (_endpoint, incoming) = Endpoint::server(server_config, bind_addr)?; [INFO] [stdout] | --------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Ok((incoming, server_cert)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 79 | fn spawn_new_player(client_id: u32, stream: TcpStream) -> PlayerThread { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | PlayerThread::new(client_id, Some(stream)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/game_thread.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn start_thread(self) -> JoinHandle<()> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | / Some(thread::Builder::new() [INFO] [stdout] 45 | | .name("game_thread".to_string()) [INFO] [stdout] 46 | | .spawn(move || { game_thread_main(self); })) [INFO] [stdout] 47 | | .unwrap() [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_option.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_server` is never used [INFO] [stdout] --> src/main.rs:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | fn run_server(addr: SocketAddr) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_health` and `get_entity_type` are never used [INFO] [stdout] --> src/entity.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait Entity: Send { [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] 9 | fn get_health(&self) -> u16; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | fn get_entity_type(&self) -> _EEntityType; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/player_thread.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn start_thread(self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | to_server: Sender, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | from_server: Receiver) [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | -> JoinHandle<()> { [INFO] [stdout] 31 | Some(thread::spawn(move || { player_thread_function(self, to_server, from_server); })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `join_handle` is never read [INFO] [stdout] --> src/player_thread.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct PlayerThread { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 14 | pub join_handle: Option>, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `ClientMessage` is never used [INFO] [stdout] --> src/client_message.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub trait ClientMessage {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 45 | let cert = rcgen::generate_simple_self_signed(vec!["localhost".into()]).unwrap(); [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 51 | let mut server_config = ServerConfig::with_single_cert(cert_chain, priv_key)?; [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] ... [INFO] [stdout] 56 | Ok((server_config, cert_der)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:62:8 [INFO] [stdout] | [INFO] [stdout] 60 | let (server_config, server_cert) = configure_server().unwrap(); [INFO] [stdout] | ------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 61 | let (_endpoint, incoming) = Endpoint::server(server_config, bind_addr)?; [INFO] [stdout] | --------- -------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 62 | Ok((incoming, server_cert)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/main.rs:80:34 [INFO] [stdout] | [INFO] [stdout] 79 | fn spawn_new_player(client_id: u32, stream: TcpStream) -> PlayerThread { [INFO] [stdout] | ----------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 80 | PlayerThread::new(client_id, Some(stream)) [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller.rs:11:21 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Serialize, Deserialize, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/controller.rs:17:21 [INFO] [stdout] | [INFO] [stdout] 17 | #[derive(Serialize, Deserialize, Copy, Clone)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/game_thread.rs:44:9 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn start_thread(self) -> JoinHandle<()> { [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 44 | / Some(thread::Builder::new() [INFO] [stdout] 45 | | .name("game_thread".to_string()) [INFO] [stdout] 46 | | .spawn(move || { game_thread_main(self); })) [INFO] [stdout] 47 | | .unwrap() [INFO] [stdout] | |_____________________^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/client_option.rs:7:41 [INFO] [stdout] | [INFO] [stdout] 7 | #[derive(Copy, Clone, Debug, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: this error originates in the macro `try` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: these values and local bindings have significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/player_thread.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn start_thread(self, [INFO] [stdout] | ---- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 28 | to_server: Sender, [INFO] [stdout] | -------------------------------- these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 29 | from_server: Receiver) [INFO] [stdout] | ------------------------------------ these values have significant drop implementation and will observe changes in drop order under Edition 2024 [INFO] [stdout] 30 | -> JoinHandle<()> { [INFO] [stdout] 31 | Some(thread::spawn(move || { player_thread_function(self, to_server, from_server); })) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 88 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 88 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `fireplace_server` (bin "fireplace_server") due to 9 previous errors; 88 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fireplace_server` (bin "fireplace_server" test) due to 9 previous errors; 88 warnings emitted [INFO] running `Command { std: "docker" "inspect" "5315f6eab899aa0624cd31e713efb5b4158fca3a429a306f0e6c4f616bc787cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5315f6eab899aa0624cd31e713efb5b4158fca3a429a306f0e6c4f616bc787cf", kill_on_drop: false }` [INFO] [stdout] 5315f6eab899aa0624cd31e713efb5b4158fca3a429a306f0e6c4f616bc787cf