[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#16b569057e4d1591b4bee05f10df34000308dedc for pr-127827 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEtiNL%2Fmare_nostrum" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EtiNL/mare_nostrum on toolchain 16b569057e4d1591b4bee05f10df34000308dedc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+16b569057e4d1591b4bee05f10df34000308dedc" "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-1-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" "+16b569057e4d1591b4bee05f10df34000308dedc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+16b569057e4d1591b4bee05f10df34000308dedc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 427c3370445586a0281a48018f02f2a464d7800f925063933e13ff6d3a0a059d [INFO] running `Command { std: "docker" "start" "-a" "427c3370445586a0281a48018f02f2a464d7800f925063933e13ff6d3a0a059d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "427c3370445586a0281a48018f02f2a464d7800f925063933e13ff6d3a0a059d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "427c3370445586a0281a48018f02f2a464d7800f925063933e13ff6d3a0a059d", kill_on_drop: false }` [INFO] [stdout] 427c3370445586a0281a48018f02f2a464d7800f925063933e13ff6d3a0a059d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+16b569057e4d1591b4bee05f10df34000308dedc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8745c93120b79b403677c1f5e5b5b77cc3d78d1586484f14050e975db3f4ba1f [INFO] running `Command { std: "docker" "start" "-a" "8745c93120b79b403677c1f5e5b5b77cc3d78d1586484f14050e975db3f4ba1f", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking headers v0.3.9 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling serde_derive v1.0.203 [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 tungstenite v0.21.0 [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: 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: 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: 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: 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: 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/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: 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] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.95s [INFO] running `Command { std: "docker" "inspect" "8745c93120b79b403677c1f5e5b5b77cc3d78d1586484f14050e975db3f4ba1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8745c93120b79b403677c1f5e5b5b77cc3d78d1586484f14050e975db3f4ba1f", kill_on_drop: false }` [INFO] [stdout] 8745c93120b79b403677c1f5e5b5b77cc3d78d1586484f14050e975db3f4ba1f [INFO] checking EtiNL/mare_nostrum against try#8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 for pr-127827 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEtiNL%2Fmare_nostrum" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/EtiNL/mare_nostrum on toolchain 8a6640bd72b80869b16392026cb3aa8ce8e3f9b7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "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-1-tc2/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" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f1ea8c52c88af973b432999f617826cf380a7fbfc057994ac9e212345a17bb83 [INFO] running `Command { std: "docker" "start" "-a" "f1ea8c52c88af973b432999f617826cf380a7fbfc057994ac9e212345a17bb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f1ea8c52c88af973b432999f617826cf380a7fbfc057994ac9e212345a17bb83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f1ea8c52c88af973b432999f617826cf380a7fbfc057994ac9e212345a17bb83", kill_on_drop: false }` [INFO] [stdout] f1ea8c52c88af973b432999f617826cf380a7fbfc057994ac9e212345a17bb83 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+8a6640bd72b80869b16392026cb3aa8ce8e3f9b7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e84d63dc18b40bf1fb411ab8d20f6e087b1fc091763e0e84352328cb4c04722 [INFO] running `Command { std: "docker" "start" "-a" "1e84d63dc18b40bf1fb411ab8d20f6e087b1fc091763e0e84352328cb4c04722", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.84 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Checking bytes v1.6.0 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking futures-sink v0.3.30 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling unicase v2.7.0 [INFO] [stderr] Checking log v0.4.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling serde v1.0.203 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking cpufeatures v0.2.12 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking mio v0.8.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking mime v0.3.17 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking url v2.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling serde_json v1.0.117 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking httpdate v1.0.3 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Checking headers-core v0.2.0 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Checking encoding_rs v0.8.34 [INFO] [stderr] Checking tower-service v0.3.2 [INFO] [stderr] Checking memchr v2.7.2 [INFO] [stderr] Checking base64 v0.21.7 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking headers v0.3.9 [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 tungstenite v0.21.0 [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] [stdout] error[E0277]: the trait bound `{async closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:175:19: 175:24}: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:175:19 [INFO] [stdout] | [INFO] [stdout] 175 | .and_then(|buf| async move { [INFO] [stdout] | __________--------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 176 | | Json::decode(buf).map_err(|err| { [INFO] [stdout] 177 | | tracing::debug!("request json body error: {}", err); [INFO] [stdout] 178 | | reject::known(BodyDeserializeError { cause: err }) [INFO] [stdout] 179 | | }) [INFO] [stdout] 180 | | }) [INFO] [stdout] | |_________^ the trait `Clone` is not implemented for `{async closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:175:19: 175:24}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `filter::Filter::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filter/mod.rs:258:34 [INFO] [stdout] | [INFO] [stdout] 255 | fn and_then(self, fun: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 258 | F: Func + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `Filter::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:175:19: 175:24}: std::marker::Copy` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:172:46 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn json() -> impl Filter + Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `{async closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:175:19: 175:24}`, which is required by `and_then::AndThen + std::marker::Copy, impl filter::Filter + FilterBase + std::marker::Copy>, {async closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:175:19: 175:24}>: std::marker::Copy` [INFO] [stdout] | [INFO] [stdout] note: required for `AndThen + Copy, ...>, ...>` to implement `std::marker::Copy` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filter/and_then.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp-62e4d6ee9ce028ed.long-type-14600625014320600995.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:210:19: 210:24}: Clone` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:210:19 [INFO] [stdout] | [INFO] [stdout] 210 | .and_then(|buf| async move { [INFO] [stdout] | __________--------_^ [INFO] [stdout] | | | [INFO] [stdout] | | required by a bound introduced by this call [INFO] [stdout] 211 | | Form::decode(buf).map_err(|err| { [INFO] [stdout] 212 | | tracing::debug!("request form body error: {}", err); [INFO] [stdout] 213 | | reject::known(BodyDeserializeError { cause: err }) [INFO] [stdout] 214 | | }) [INFO] [stdout] 215 | | }) [INFO] [stdout] | |_________^ the trait `Clone` is not implemented for `{async closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:210:19: 210:24}` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `filter::Filter::and_then` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filter/mod.rs:258:34 [INFO] [stdout] | [INFO] [stdout] 255 | fn and_then(self, fun: F) -> AndThen [INFO] [stdout] | -------- required by a bound in this associated function [INFO] [stdout] ... [INFO] [stdout] 258 | F: Func + Clone, [INFO] [stdout] | ^^^^^ required by this bound in `Filter::and_then` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `{async closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:210:19: 210:24}: std::marker::Copy` is not satisfied [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:207:46 [INFO] [stdout] | [INFO] [stdout] 207 | pub fn form() -> impl Filter + Copy { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::marker::Copy` is not implemented for `{async closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:210:19: 210:24}`, which is required by `and_then::AndThen + std::marker::Copy, impl filter::Filter + FilterBase + std::marker::Copy>, {async closure@/opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/body.rs:210:19: 210:24}>: std::marker::Copy` [INFO] [stdout] | [INFO] [stdout] note: required for `AndThen + Copy, ...>, ...>` to implement `std::marker::Copy` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filter/and_then.rs:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | #[derive(Clone, Copy, Debug)] [INFO] [stdout] | ^^^^ unsatisfied trait bound introduced in this `derive` macro [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/warp-62e4d6ee9ce028ed.long-type-1541120377447649563.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/warp-0.3.7/src/filters/fs.rs:95:46 [INFO] [stdout] | [INFO] [stdout] 95 | let is_dir = tokio::fs::metadata(buf.clone()) [INFO] [stdout] | ^^^ cannot infer type [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0282. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `warp` (lib) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "1e84d63dc18b40bf1fb411ab8d20f6e087b1fc091763e0e84352328cb4c04722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e84d63dc18b40bf1fb411ab8d20f6e087b1fc091763e0e84352328cb4c04722", kill_on_drop: false }` [INFO] [stdout] 1e84d63dc18b40bf1fb411ab8d20f6e087b1fc091763e0e84352328cb4c04722