[INFO] cloning repository https://github.com/hamidr/rmafia [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hamidr/rmafia" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamidr%2Frmafia", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamidr%2Frmafia'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 961432d3abecd2c7774bd558c406e70ccf58d216 [INFO] checking hamidr/rmafia against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhamidr%2Frmafia" "/workspace/builds/worker-20/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-20/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/hamidr/rmafia on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hamidr/rmafia [INFO] finished tweaking git repo https://github.com/hamidr/rmafia [INFO] tweaked toml for git repo https://github.com/hamidr/rmafia written to /workspace/builds/worker-20/source/Cargo.toml [INFO] crate git repo https://github.com/hamidr/rmafia already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2cd1d5e518159fdf4120bb189980c532c25a752c2ec2d1f9db1a7a1f37596fa8 [INFO] running `Command { std: "docker" "start" "-a" "2cd1d5e518159fdf4120bb189980c532c25a752c2ec2d1f9db1a7a1f37596fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2cd1d5e518159fdf4120bb189980c532c25a752c2ec2d1f9db1a7a1f37596fa8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2cd1d5e518159fdf4120bb189980c532c25a752c2ec2d1f9db1a7a1f37596fa8", kill_on_drop: false }` [INFO] [stdout] 2cd1d5e518159fdf4120bb189980c532c25a752c2ec2d1f9db1a7a1f37596fa8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] cb235de7f1f1dbc5b4e29f9c6511f76ac7dbdbb121508c4d1d972af8c2e5840d [INFO] running `Command { std: "docker" "start" "-a" "cb235de7f1f1dbc5b4e29f9c6511f76ac7dbdbb121508c4d1d972af8c2e5840d", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling serde v1.0.127 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking bimap v0.6.1 [INFO] [stderr] Checking ringbuf v0.2.6 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking btreemultimap v0.1.0 [INFO] [stderr] Checking serde_json v1.0.66 [INFO] [stderr] Checking nanoid v0.4.0 [INFO] [stderr] Checking rmafia v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/scenario.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeMap, BTreeSet}, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Power` [INFO] [stdout] --> src/waiting.rs:26:67 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::{oracle::{Oracle, TwoWayRing}, scenario::{HolyMessage, Power, Pray}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `vec` [INFO] [stdout] --> src/scenario.rs:1:46 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::{BTreeMap, BTreeSet}, vec}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Power` [INFO] [stdout] --> src/waiting.rs:26:67 [INFO] [stdout] | [INFO] [stdout] 26 | use crate::{oracle::{Oracle, TwoWayRing}, scenario::{HolyMessage, Power, Pray}}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/main.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | ps.get_mut(&1).unwrap().tell(todo!()); [INFO] [stdout] | ^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/main.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | ps.get_mut(&1).unwrap().tell(todo!()); [INFO] [stdout] | ^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/in_memory_room.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | Self(todo!()) [INFO] [stdout] | ^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let state = game.state(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spells` [INFO] [stdout] --> src/games/classic/game.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let spells = self.room.read_all(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spells` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spells` [INFO] [stdout] --> src/games/classic/game.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | fn darkness(&mut self, spells: &impl Spells) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spells` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gf` [INFO] [stdout] --> src/games/classic/play.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | (gf, Power::NightKill, NightAct::One(player)) if room.has(player, &Power::ShotOnKill) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/games/classic/play.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | (Power::HandFakeGun, NightAct::Two(p1, p2)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | fn stop(&mut self, power: &Power) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | fn get(&self, power: &Power) -> Option<&NightAct> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | fn raw(&self, power: &Power) -> Option<&RawSpell> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | fn get_kv(&self, power: &Power) -> Option<(&Power, &NightAct)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | fn expect1(&self, power: &Power) -> Option<&PlayerId> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | fn expect2(&self, power: &Power) -> Option<(&PlayerId, &PlayerId)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | fn one(&self, power: &Power) -> Option<(PlayerId, Power, PlayerId)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | fn two(&self, power: &Power) -> Option<(PlayerId, Power, (PlayerId, PlayerId))> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | fn all(&self, power: &Power) -> Option<(PlayerId, Power, Vec)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | fn raw_vec(&self, power: &Power) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable call [INFO] [stdout] --> src/in_memory_room.rs:117:9 [INFO] [stdout] | [INFO] [stdout] 117 | Self(todo!()) [INFO] [stdout] | ^^^^ ------- any code following this expression is unreachable [INFO] [stdout] | | [INFO] [stdout] | unreachable call [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:33:9 [INFO] [stdout] | [INFO] [stdout] 33 | let state = game.state(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spells` [INFO] [stdout] --> src/games/classic/game.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | let spells = self.room.read_all(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spells` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `spells` [INFO] [stdout] --> src/games/classic/game.rs:124:28 [INFO] [stdout] | [INFO] [stdout] 124 | fn darkness(&mut self, spells: &impl Spells) -> Result { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_spells` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gf` [INFO] [stdout] --> src/games/classic/play.rs:64:14 [INFO] [stdout] | [INFO] [stdout] 64 | (gf, Power::NightKill, NightAct::One(player)) if room.has(player, &Power::ShotOnKill) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p1` [INFO] [stdout] --> src/games/classic/play.rs:154:52 [INFO] [stdout] | [INFO] [stdout] 154 | (Power::HandFakeGun, NightAct::Two(p1, p2)) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_p1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:123:24 [INFO] [stdout] | [INFO] [stdout] 123 | fn stop(&mut self, power: &Power) -> bool { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:127:19 [INFO] [stdout] | [INFO] [stdout] 127 | fn get(&self, power: &Power) -> Option<&NightAct> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:131:19 [INFO] [stdout] | [INFO] [stdout] 131 | fn raw(&self, power: &Power) -> Option<&RawSpell> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | fn get_kv(&self, power: &Power) -> Option<(&Power, &NightAct)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:139:23 [INFO] [stdout] | [INFO] [stdout] 139 | fn expect1(&self, power: &Power) -> Option<&PlayerId> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:143:23 [INFO] [stdout] | [INFO] [stdout] 143 | fn expect2(&self, power: &Power) -> Option<(&PlayerId, &PlayerId)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:147:19 [INFO] [stdout] | [INFO] [stdout] 147 | fn one(&self, power: &Power) -> Option<(PlayerId, Power, PlayerId)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:151:19 [INFO] [stdout] | [INFO] [stdout] 151 | fn two(&self, power: &Power) -> Option<(PlayerId, Power, (PlayerId, PlayerId))> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:155:19 [INFO] [stdout] | [INFO] [stdout] 155 | fn all(&self, power: &Power) -> Option<(PlayerId, Power, Vec)> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `power` [INFO] [stdout] --> src/in_memory_room.rs:159:23 [INFO] [stdout] | [INFO] [stdout] 159 | fn raw_vec(&self, power: &Power) -> Option> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_power` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/games/classic/game.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut x = self.room.by_power(power).pop()?; [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/games/classic/game.rs:74:13 [INFO] [stdout] | [INFO] [stdout] 74 | let mut x = self.room.by_power(power).pop()?; [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: enum is never used: `ShootingResult` [INFO] [stdout] --> src/scenario.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ShootingResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `night` [INFO] [stdout] --> src/scenario.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn night(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `active` [INFO] [stdout] --> src/scenario.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn active(&self) -> [Power; 9] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `passive` [INFO] [stdout] --> src/scenario.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn passive(&self) -> [Power; 3] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `YouHaveGun` [INFO] [stdout] --> src/scenario.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | YouHaveGun, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `YouAreBoss` [INFO] [stdout] --> src/scenario.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | YouAreBoss, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IsMafia` [INFO] [stdout] --> src/scenario.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | IsMafia(PlayerId, bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Has` [INFO] [stdout] --> src/scenario.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Has(Power) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vote` [INFO] [stdout] --> src/scenario.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Vote(PlayerId); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `action` [INFO] [stdout] --> src/scenario.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | action: Power, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `query` [INFO] [stdout] --> src/scenario.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | query: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `meta` [INFO] [stdout] --> src/scenario.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | meta: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_consistent` [INFO] [stdout] --> src/scenario.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn is_consistent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on` [INFO] [stdout] --> src/scenario.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn on(&self) -> &Vec { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Out` [INFO] [stdout] --> src/scenario.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | Out(PlayerId), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FakeGun` [INFO] [stdout] --> src/scenario.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | FakeGun(PlayerId) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `One` [INFO] [stdout] --> src/room.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | One(PlayerId), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Two` [INFO] [stdout] --> src/room.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Two(PlayerId, PlayerId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wicked` [INFO] [stdout] --> src/room.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Wicked(PlayerId, Power) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ids` [INFO] [stdout] --> src/room.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn ids(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `strategy` [INFO] [stdout] --> src/games/classic/game.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | strategy: Play, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `enquery` [INFO] [stdout] --> src/games/classic/game.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | enquery: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enquery` [INFO] [stdout] --> src/games/classic/game.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn enquery(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_ballot` [INFO] [stdout] --> src/games/classic/game.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn make_ballot(&self) -> Ballots { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_id_by_power` [INFO] [stdout] --> src/games/classic/game.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn first_id_by_power(&mut self, power: &Power) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pass_night_kill` [INFO] [stdout] --> src/games/classic/game.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn pass_night_kill(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kick_out` [INFO] [stdout] --> src/games/classic/game.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn kick_out(&mut self, id: &PlayerId) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_it` [INFO] [stdout] --> src/games/classic/game.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn is_it(&self, state: CityState) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_shooting` [INFO] [stdout] --> src/games/classic/game.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn on_shooting(&mut self, res: ShootingResult) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `darkness` [INFO] [stdout] --> src/games/classic/game.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn darkness(&mut self, spells: &impl Spells) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sunrise` [INFO] [stdout] --> src/games/classic/game.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn sunrise(&mut self, n: &impl News) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sunset` [INFO] [stdout] --> src/games/classic/game.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn sunset(&mut self, d: &impl DeathBallot) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `defend` [INFO] [stdout] --> src/games/classic/game.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn defend(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RealGun` [INFO] [stdout] --> src/games/classic/play.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | RealGun(PlayerId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FakeGun` [INFO] [stdout] --> src/games/classic/play.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | FakeGun [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `KillingStatus` [INFO] [stdout] --> src/games/classic/play.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum KillingStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `day` [INFO] [stdout] --> src/games/classic/play.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | day: BTreeMultiMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_paralyzed_unguarded_spell` [INFO] [stdout] --> src/games/classic/play.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn remove_paralyzed_unguarded_spell(room: &impl Room, spells: &mut impl Spells) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `did_hit_mafia` [INFO] [stdout] --> src/games/classic/play.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn did_hit_mafia(room: &impl Room, commando: PlayerId, target: PlayerId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_wicked_or_boss_killing` [INFO] [stdout] --> src/games/classic/play.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn is_wicked_or_boss_killing(room: &mut impl Room, spells: &impl Spells) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `who_wicked_kills` [INFO] [stdout] --> src/games/classic/play.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn who_wicked_kills(room:& impl Room, wicked: PlayerId, killee: PlayerId, power: &Power) -> KillingStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_player_ids` [INFO] [stdout] --> src/games/classic/play.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_player_ids(spells: &impl Spells, power: &Power) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `heals` [INFO] [stdout] --> src/games/classic/play.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn heals(spells: &impl Spells, total: usize, ) -> BTreeSet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_killed_one` [INFO] [stdout] --> src/games/classic/play.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn remove_killed_one(room: &mut impl Room, spells: &impl Spells) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `detective` [INFO] [stdout] --> src/games/classic/play.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn detective(room: &impl Room, msgs: &mut Messages, spells: &impl Spells) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gunman` [INFO] [stdout] --> src/games/classic/play.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | fn gunman(&mut self, spells: &impl Spells) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_night` [INFO] [stdout] --> src/games/classic/play.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn apply_night(&mut self, room: &mut impl Room, mut spells: impl Spells) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shoot` [INFO] [stdout] --> src/games/classic/play.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn shoot(&mut self, room: &mut impl Room, shooter: &PlayerId, on: PlayerId) -> ShootingResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/games/classic/play.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | fn new(msgs: Messages, removed: BTreeSet) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/elections/ballot.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(total: usize) -> Ballots { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `OracleRef` [INFO] [stdout] --> src/waiting.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub type OracleRef = TwoWayRing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text_to` [INFO] [stdout] --> src/in_memory_room.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn text_to(&mut self, id: &PlayerId, msg: HolyMessage) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_all` [INFO] [stdout] --> src/in_memory_room.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn read_all(&mut self) -> BTreeMap> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `by_power` [INFO] [stdout] --> src/in_memory_room.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn by_power(&mut self, power: &Power) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/in_memory_room.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new() -> OneToOneSpells { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `read` [INFO] [stdout] --> src/oracle.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | read: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/oracle.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn read(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `ShootingResult` [INFO] [stdout] --> src/scenario.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum ShootingResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `night` [INFO] [stdout] --> src/scenario.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn night(&self) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `active` [INFO] [stdout] --> src/scenario.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn active(&self) -> [Power; 9] { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `passive` [INFO] [stdout] --> src/scenario.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn passive(&self) -> [Power; 3] { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `YouHaveGun` [INFO] [stdout] --> src/scenario.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | YouHaveGun, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `YouAreBoss` [INFO] [stdout] --> src/scenario.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | YouAreBoss, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `IsMafia` [INFO] [stdout] --> src/scenario.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | IsMafia(PlayerId, bool), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Has` [INFO] [stdout] --> src/scenario.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | Has(Power) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Vote` [INFO] [stdout] --> src/scenario.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | pub struct Vote(PlayerId); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `action` [INFO] [stdout] --> src/scenario.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | action: Power, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `query` [INFO] [stdout] --> src/scenario.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | query: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `meta` [INFO] [stdout] --> src/scenario.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | meta: Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_consistent` [INFO] [stdout] --> src/scenario.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | fn is_consistent(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on` [INFO] [stdout] --> src/scenario.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn on(&self) -> &Vec { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Out` [INFO] [stdout] --> src/scenario.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | Out(PlayerId), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FakeGun` [INFO] [stdout] --> src/scenario.rs:131:5 [INFO] [stdout] | [INFO] [stdout] 131 | FakeGun(PlayerId) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `One` [INFO] [stdout] --> src/room.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | One(PlayerId), [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Two` [INFO] [stdout] --> src/room.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | Two(PlayerId, PlayerId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Wicked` [INFO] [stdout] --> src/room.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | Wicked(PlayerId, Power) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `ids` [INFO] [stdout] --> src/room.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn ids(&self) -> Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `strategy` [INFO] [stdout] --> src/games/classic/game.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | strategy: Play, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `enquery` [INFO] [stdout] --> src/games/classic/game.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | enquery: u8, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `enquery` [INFO] [stdout] --> src/games/classic/game.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | fn enquery(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_ballot` [INFO] [stdout] --> src/games/classic/game.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | fn make_ballot(&self) -> Ballots { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `first_id_by_power` [INFO] [stdout] --> src/games/classic/game.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn first_id_by_power(&mut self, power: &Power) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `pass_night_kill` [INFO] [stdout] --> src/games/classic/game.rs:78:8 [INFO] [stdout] | [INFO] [stdout] 78 | fn pass_night_kill(&mut self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `kick_out` [INFO] [stdout] --> src/games/classic/game.rs:89:8 [INFO] [stdout] | [INFO] [stdout] 89 | fn kick_out(&mut self, id: &PlayerId) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_it` [INFO] [stdout] --> src/games/classic/game.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | fn is_it(&self, state: CityState) -> bool { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `on_shooting` [INFO] [stdout] --> src/games/classic/game.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | fn on_shooting(&mut self, res: ShootingResult) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `darkness` [INFO] [stdout] --> src/games/classic/game.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | fn darkness(&mut self, spells: &impl Spells) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sunrise` [INFO] [stdout] --> src/games/classic/game.rs:130:8 [INFO] [stdout] | [INFO] [stdout] 130 | fn sunrise(&mut self, n: &impl News) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `sunset` [INFO] [stdout] --> src/games/classic/game.rs:136:8 [INFO] [stdout] | [INFO] [stdout] 136 | fn sunset(&mut self, d: &impl DeathBallot) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `defend` [INFO] [stdout] --> src/games/classic/game.rs:144:8 [INFO] [stdout] | [INFO] [stdout] 144 | fn defend(&self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `RealGun` [INFO] [stdout] --> src/games/classic/play.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | RealGun(PlayerId), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `FakeGun` [INFO] [stdout] --> src/games/classic/play.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | FakeGun [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `KillingStatus` [INFO] [stdout] --> src/games/classic/play.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum KillingStatus { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `day` [INFO] [stdout] --> src/games/classic/play.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | day: BTreeMultiMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_paralyzed_unguarded_spell` [INFO] [stdout] --> src/games/classic/play.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | fn remove_paralyzed_unguarded_spell(room: &impl Room, spells: &mut impl Spells) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `did_hit_mafia` [INFO] [stdout] --> src/games/classic/play.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | fn did_hit_mafia(room: &impl Room, commando: PlayerId, target: PlayerId) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `is_wicked_or_boss_killing` [INFO] [stdout] --> src/games/classic/play.rs:57:8 [INFO] [stdout] | [INFO] [stdout] 57 | fn is_wicked_or_boss_killing(room: &mut impl Room, spells: &impl Spells) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `who_wicked_kills` [INFO] [stdout] --> src/games/classic/play.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | fn who_wicked_kills(room:& impl Room, wicked: PlayerId, killee: PlayerId, power: &Power) -> KillingStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_player_ids` [INFO] [stdout] --> src/games/classic/play.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | fn get_player_ids(spells: &impl Spells, power: &Power) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `heals` [INFO] [stdout] --> src/games/classic/play.rs:98:8 [INFO] [stdout] | [INFO] [stdout] 98 | fn heals(spells: &impl Spells, total: usize, ) -> BTreeSet { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `remove_killed_one` [INFO] [stdout] --> src/games/classic/play.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | fn remove_killed_one(room: &mut impl Room, spells: &impl Spells) -> Result, Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `detective` [INFO] [stdout] --> src/games/classic/play.rs:127:8 [INFO] [stdout] | [INFO] [stdout] 127 | fn detective(room: &impl Room, msgs: &mut Messages, spells: &impl Spells) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `gunman` [INFO] [stdout] --> src/games/classic/play.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | fn gunman(&mut self, spells: &impl Spells) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_night` [INFO] [stdout] --> src/games/classic/play.rs:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn apply_night(&mut self, room: &mut impl Room, mut spells: impl Spells) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `shoot` [INFO] [stdout] --> src/games/classic/play.rs:180:12 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn shoot(&mut self, room: &mut impl Room, shooter: &PlayerId, on: PlayerId) -> ShootingResult { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/games/classic/play.rs:199:8 [INFO] [stdout] | [INFO] [stdout] 199 | fn new(msgs: Messages, removed: BTreeSet) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/elections/ballot.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new(total: usize) -> Ballots { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `OracleRef` [INFO] [stdout] --> src/waiting.rs:28:1 [INFO] [stdout] | [INFO] [stdout] 28 | pub type OracleRef = TwoWayRing; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `text_to` [INFO] [stdout] --> src/in_memory_room.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | fn text_to(&mut self, id: &PlayerId, msg: HolyMessage) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_all` [INFO] [stdout] --> src/in_memory_room.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn read_all(&mut self) -> BTreeMap> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `by_power` [INFO] [stdout] --> src/in_memory_room.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn by_power(&mut self, power: &Power) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> src/in_memory_room.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | pub fn new() -> OneToOneSpells { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `read` [INFO] [stdout] --> src/oracle.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | read: Rc>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read` [INFO] [stdout] --> src/oracle.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn read(&mut self) -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 77 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.82s [INFO] running `Command { std: "docker" "inspect" "cb235de7f1f1dbc5b4e29f9c6511f76ac7dbdbb121508c4d1d972af8c2e5840d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cb235de7f1f1dbc5b4e29f9c6511f76ac7dbdbb121508c4d1d972af8c2e5840d", kill_on_drop: false }` [INFO] [stdout] cb235de7f1f1dbc5b4e29f9c6511f76ac7dbdbb121508c4d1d972af8c2e5840d