[INFO] cloning repository https://github.com/EtiNL/mare_nostrum [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EtiNL/mare_nostrum" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEtiNL%2Fmare_nostrum", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEtiNL%2Fmare_nostrum'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8ee51eee94d64b33c193d22479593ff2dfe8ba6 [INFO] checking EtiNL/mare_nostrum against master#eb10639928a2781cf0a12440007fbcc1e3a6888f for pr-127827-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEtiNL%2Fmare_nostrum" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EtiNL/mare_nostrum on toolchain eb10639928a2781cf0a12440007fbcc1e3a6888f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/EtiNL/mare_nostrum [INFO] finished tweaking git repo https://github.com/EtiNL/mare_nostrum [INFO] tweaked toml for git repo https://github.com/EtiNL/mare_nostrum written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/EtiNL/mare_nostrum 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" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proc-macro2 v1.0.84 [INFO] [stderr] Downloaded redox_syscall v0.5.1 [INFO] [stderr] Downloaded cc v1.0.98 [INFO] [stderr] Downloaded miniz_oxide v0.7.3 [INFO] [stderr] Downloaded backtrace v0.3.72 [INFO] [stderr] Downloaded object v0.35.0 [INFO] [stderr] Downloaded syn v2.0.66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 692a3956b7a06375ae1e5cfdc79122b919fbf7fb4f4493dd6dce4101faa54f24 [INFO] running `Command { std: "docker" "start" "-a" "692a3956b7a06375ae1e5cfdc79122b919fbf7fb4f4493dd6dce4101faa54f24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "692a3956b7a06375ae1e5cfdc79122b919fbf7fb4f4493dd6dce4101faa54f24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "692a3956b7a06375ae1e5cfdc79122b919fbf7fb4f4493dd6dce4101faa54f24", kill_on_drop: false }` [INFO] [stdout] 692a3956b7a06375ae1e5cfdc79122b919fbf7fb4f4493dd6dce4101faa54f24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+eb10639928a2781cf0a12440007fbcc1e3a6888f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d98ecfe2958044cc55c1992701681967e0a2d0a9a0d291ef52fb1bafd017459c [INFO] running `Command { std: "docker" "start" "-a" "d98ecfe2958044cc55c1992701681967e0a2d0a9a0d291ef52fb1bafd017459c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Checking tinyvec v1.6.0 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling serde_derive v1.0.203 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Checking tokio v1.37.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking thiserror v1.0.61 [INFO] [stderr] Checking tungstenite v0.21.0 [INFO] [stderr] Checking serde v1.0.203 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-tungstenite v0.21.0 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking hyper v0.14.28 [INFO] [stderr] Checking warp v0.3.7 [INFO] [stderr] Checking mare_nostrum v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut roman_player = Arc::new(Mutex::new(Player { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut carthaginois_player = Arc::new(Mutex::new(Player { [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/player.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut greek_player = Arc::new(Mutex::new(Player { [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/player.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let mut egypsian_player = Arc::new(Mutex::new(Player { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_ref` [INFO] [stdout] --> src/game_state.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | for player_ref in &self.players {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_get_territoire` is never used [INFO] [stdout] --> src/plateau.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn test_get_territoire() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Converti`, `Pille`, `Occupe`, and `Deffend` are never constructed [INFO] [stdout] --> src/materiel_militaire.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ActionsLegions { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 4 | Converti, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | Pille, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | Occupe, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Deffend [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionsLegions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Legion` and `Trireme` are never constructed [INFO] [stdout] --> src/materiel_militaire.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum MaterielMilitaire { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 12 | Legion(ActionsLegions), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Trireme, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaterielMilitaire` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/heroes_and_wonders.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | AttackDice(GamePhases, Terrain, u8), [INFO] [stdout] | ---------- ^^^^^^^^^^ ^^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 | AttackDice((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | IncludeTaxTokenInGoodCombination(GamePhases), [INFO] [stdout] | -------------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | IncludeTaxTokenInGoodCombination(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | IncludeGoodTokenInTaxCombination(GamePhases), [INFO] [stdout] | -------------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | IncludeGoodTokenInTaxCombination(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | FreeInfluenceMarker(GamePhases), [INFO] [stdout] | ------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | FreeInfluenceMarker(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | SameGoodTokenInGoodCombination(GamePhases), [INFO] [stdout] | ------------------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | SameGoodTokenInGoodCombination(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/heroes_and_wonders.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | DefenceDice(GamePhases, Terrain, u8), [INFO] [stdout] | ----------- ^^^^^^^^^^ ^^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 | DefenceDice((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | ExengeWithTheNumberOfGoodPlayerWants(GamePhases), [INFO] [stdout] | ------------------------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | ExengeWithTheNumberOfGoodPlayerWants(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/heroes_and_wonders.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | BonusMonopole(GamePhases, Monopole), [INFO] [stdout] | ------------- ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 18 | BonusMonopole((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | UseLegionAsCaravane(GamePhases), [INFO] [stdout] | ------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | UseLegionAsCaravane(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | ContructForteresseForPierreOrImpot(GamePhases), [INFO] [stdout] | ---------------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | ContructForteresseForPierreOrImpot(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | DoubleBeneficePillage(GamePhases), [INFO] [stdout] | --------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | DoubleBeneficePillage(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | Plus5InBattleIfOwnTerritory(GamePhases), // if there is a legion [INFO] [stdout] | --------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | Plus5InBattleIfOwnTerritory(()), // if there is a legion [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | FreeLegionInOccupiedTerritory(GamePhases), [INFO] [stdout] | ----------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | FreeLegionInOccupiedTerritory(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | PlayFirstForTheWin(GamePhases), [INFO] [stdout] | ------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | PlayFirstForTheWin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | OneMoreDice(GamePhases), [INFO] [stdout] | ----------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | OneMoreDice(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:27:65 [INFO] [stdout] | [INFO] [stdout] 27 | AutomaticallyConvertTerritoryIfLeggionOnInfluenceMarker(GamePhases), [INFO] [stdout] | ------------------------------------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | AutomaticallyConvertTerritoryIfLeggionOnInfluenceMarker(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | LegionForGladiatorOrOneTax(GamePhases), [INFO] [stdout] | -------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | LegionForGladiatorOrOneTax(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:29:60 [INFO] [stdout] | [INFO] [stdout] 29 | TakeOneGoodThatPlayerWantsAfterRessourceCollection(GamePhases), [INFO] [stdout] | -------------------------------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | TakeOneGoodThatPlayerWantsAfterRessourceCollection(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | BuildOneBoatForOneWoodOrOneTax(GamePhases), [INFO] [stdout] | ------------------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | BuildOneBoatForOneWoodOrOneTax(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | OneTaxFree(GamePhases), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | OneTaxFree(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | KeepTwoDifferentGood(GamePhases), [INFO] [stdout] | -------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | KeepTwoDifferentGood(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | ChoosePeaceWithAnotherPlayer(GamePhases), [INFO] [stdout] | ---------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | ChoosePeaceWithAnotherPlayer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/heroes_and_wonders.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum HeroesAndWondersEnum { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | Hammourabi, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | Antigone, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | CastorEtPolux, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 45 | Circe, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | Gilgamesh, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 47 | Hamilcar, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | Hercule, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | Nabuchodonosor, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | Pentesilee, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | Persee, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | RamsesII, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | ReineDeSaba, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 54 | Spartacus, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | Colosse, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | TempleArtemis, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | Phare, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | StatueDeZeus, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 59 | JardinSuspendus [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeroesAndWondersEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `phase_transition` is never used [INFO] [stdout] --> src/game_phases.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn phase_transition(phase: GamePhases) -> GamePhases { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/monopole_counter.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | Militaire(u8), [INFO] [stdout] | --------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Monopole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Militaire(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/monopole_counter.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | Politique(u8), [INFO] [stdout] | --------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Monopole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Politique(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/monopole_counter.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | Commercial(u8) [INFO] [stdout] | ---------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Monopole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Commercial(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:98:9 [INFO] [stdout] | [INFO] [stdout] 98 | let mut roman_player = Arc::new(Mutex::new(Player { [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/player.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | let mut carthaginois_player = Arc::new(Mutex::new(Player { [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/player.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut greek_player = Arc::new(Mutex::new(Player { [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/player.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | let mut egypsian_player = Arc::new(Mutex::new(Player { [INFO] [stdout] | ----^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `player_ref` [INFO] [stdout] --> src/game_state.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | for player_ref in &self.players {} [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_player_ref` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_get_territoire` is never used [INFO] [stdout] --> src/plateau.rs:406:12 [INFO] [stdout] | [INFO] [stdout] 406 | pub fn test_get_territoire() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Converti`, `Pille`, `Occupe`, and `Deffend` are never constructed [INFO] [stdout] --> src/materiel_militaire.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 3 | pub enum ActionsLegions { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 4 | Converti, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 5 | Pille, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 6 | Occupe, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | Deffend [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ActionsLegions` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Legion` and `Trireme` are never constructed [INFO] [stdout] --> src/materiel_militaire.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub enum MaterielMilitaire { [INFO] [stdout] | ----------------- variants in this enum [INFO] [stdout] 12 | Legion(ActionsLegions), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 13 | Trireme, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MaterielMilitaire` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/heroes_and_wonders.rs:11:20 [INFO] [stdout] | [INFO] [stdout] 11 | AttackDice(GamePhases, Terrain, u8), [INFO] [stdout] | ---------- ^^^^^^^^^^ ^^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 11 | AttackDice((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:12:42 [INFO] [stdout] | [INFO] [stdout] 12 | IncludeTaxTokenInGoodCombination(GamePhases), [INFO] [stdout] | -------------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 12 | IncludeTaxTokenInGoodCombination(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:13:42 [INFO] [stdout] | [INFO] [stdout] 13 | IncludeGoodTokenInTaxCombination(GamePhases), [INFO] [stdout] | -------------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 13 | IncludeGoodTokenInTaxCombination(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | FreeInfluenceMarker(GamePhases), [INFO] [stdout] | ------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 14 | FreeInfluenceMarker(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:15:40 [INFO] [stdout] | [INFO] [stdout] 15 | SameGoodTokenInGoodCombination(GamePhases), [INFO] [stdout] | ------------------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | SameGoodTokenInGoodCombination(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0`, `1`, and `2` are never read [INFO] [stdout] --> src/heroes_and_wonders.rs:16:21 [INFO] [stdout] | [INFO] [stdout] 16 | DefenceDice(GamePhases, Terrain, u8), [INFO] [stdout] | ----------- ^^^^^^^^^^ ^^^^^^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 16 | DefenceDice((), (), ()), [INFO] [stdout] | ~~ ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:17:46 [INFO] [stdout] | [INFO] [stdout] 17 | ExengeWithTheNumberOfGoodPlayerWants(GamePhases), [INFO] [stdout] | ------------------------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 17 | ExengeWithTheNumberOfGoodPlayerWants(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/heroes_and_wonders.rs:18:23 [INFO] [stdout] | [INFO] [stdout] 18 | BonusMonopole(GamePhases, Monopole), [INFO] [stdout] | ------------- ^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 18 | BonusMonopole((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | UseLegionAsCaravane(GamePhases), [INFO] [stdout] | ------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | UseLegionAsCaravane(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:21:44 [INFO] [stdout] | [INFO] [stdout] 21 | ContructForteresseForPierreOrImpot(GamePhases), [INFO] [stdout] | ---------------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | ContructForteresseForPierreOrImpot(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | DoubleBeneficePillage(GamePhases), [INFO] [stdout] | --------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | DoubleBeneficePillage(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:23:37 [INFO] [stdout] | [INFO] [stdout] 23 | Plus5InBattleIfOwnTerritory(GamePhases), // if there is a legion [INFO] [stdout] | --------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 23 | Plus5InBattleIfOwnTerritory(()), // if there is a legion [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:24:39 [INFO] [stdout] | [INFO] [stdout] 24 | FreeLegionInOccupiedTerritory(GamePhases), [INFO] [stdout] | ----------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | FreeLegionInOccupiedTerritory(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:25:28 [INFO] [stdout] | [INFO] [stdout] 25 | PlayFirstForTheWin(GamePhases), [INFO] [stdout] | ------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 25 | PlayFirstForTheWin(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:26:21 [INFO] [stdout] | [INFO] [stdout] 26 | OneMoreDice(GamePhases), [INFO] [stdout] | ----------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 26 | OneMoreDice(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:27:65 [INFO] [stdout] | [INFO] [stdout] 27 | AutomaticallyConvertTerritoryIfLeggionOnInfluenceMarker(GamePhases), [INFO] [stdout] | ------------------------------------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 27 | AutomaticallyConvertTerritoryIfLeggionOnInfluenceMarker(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:28:36 [INFO] [stdout] | [INFO] [stdout] 28 | LegionForGladiatorOrOneTax(GamePhases), [INFO] [stdout] | -------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 28 | LegionForGladiatorOrOneTax(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:29:60 [INFO] [stdout] | [INFO] [stdout] 29 | TakeOneGoodThatPlayerWantsAfterRessourceCollection(GamePhases), [INFO] [stdout] | -------------------------------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 29 | TakeOneGoodThatPlayerWantsAfterRessourceCollection(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:30:40 [INFO] [stdout] | [INFO] [stdout] 30 | BuildOneBoatForOneWoodOrOneTax(GamePhases), [INFO] [stdout] | ------------------------------ ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 30 | BuildOneBoatForOneWoodOrOneTax(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:31:20 [INFO] [stdout] | [INFO] [stdout] 31 | OneTaxFree(GamePhases), [INFO] [stdout] | ---------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | OneTaxFree(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:32:30 [INFO] [stdout] | [INFO] [stdout] 32 | KeepTwoDifferentGood(GamePhases), [INFO] [stdout] | -------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | KeepTwoDifferentGood(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/heroes_and_wonders.rs:33:38 [INFO] [stdout] | [INFO] [stdout] 33 | ChoosePeaceWithAnotherPlayer(GamePhases), [INFO] [stdout] | ---------------------------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Ability` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | ChoosePeaceWithAnotherPlayer(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/heroes_and_wonders.rs:40:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub enum HeroesAndWondersEnum { [INFO] [stdout] | -------------------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 40 | Hammourabi, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | Antigone, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | CastorEtPolux, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 45 | Circe, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 46 | Gilgamesh, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 47 | Hamilcar, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | Hercule, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | Nabuchodonosor, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 50 | Pentesilee, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 51 | Persee, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 52 | RamsesII, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 53 | ReineDeSaba, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 54 | Spartacus, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | Colosse, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 56 | TempleArtemis, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 57 | Phare, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | StatueDeZeus, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 59 | JardinSuspendus [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `HeroesAndWondersEnum` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `phase_transition` is never used [INFO] [stdout] --> src/game_phases.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn phase_transition(phase: GamePhases) -> GamePhases { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/monopole_counter.rs:5:19 [INFO] [stdout] | [INFO] [stdout] 5 | Militaire(u8), [INFO] [stdout] | --------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Monopole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 5 | Militaire(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/monopole_counter.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | Politique(u8), [INFO] [stdout] | --------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Monopole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 6 | Politique(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/monopole_counter.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | Commercial(u8) [INFO] [stdout] | ---------- ^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Monopole` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 7 | Commercial(()) [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 43.08s [INFO] running `Command { std: "docker" "inspect" "d98ecfe2958044cc55c1992701681967e0a2d0a9a0d291ef52fb1bafd017459c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d98ecfe2958044cc55c1992701681967e0a2d0a9a0d291ef52fb1bafd017459c", kill_on_drop: false }` [INFO] [stdout] d98ecfe2958044cc55c1992701681967e0a2d0a9a0d291ef52fb1bafd017459c