[INFO] cloning repository https://github.com/SarthakSingh31/ld47-actix [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SarthakSingh31/ld47-actix" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarthakSingh31%2Fld47-actix", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarthakSingh31%2Fld47-actix'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8d6c837498425e6fc85aae10225c8c73f94faf68 [INFO] building SarthakSingh31/ld47-actix against master#a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 for pr-93180 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSarthakSingh31%2Fld47-actix" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/SarthakSingh31/ld47-actix on toolchain a7f375789bab1a4e4a291c963081a8ca7d2b6bd7 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/SarthakSingh31/ld47-actix [INFO] finished tweaking git repo https://github.com/SarthakSingh31/ld47-actix [INFO] tweaked toml for git repo https://github.com/SarthakSingh31/ld47-actix written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/SarthakSingh31/ld47-actix already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] debbac1dc36b1785000477055c4d7b43ffcf09fc8eb7e0363b5c6c4b10645d42 [INFO] running `Command { std: "docker" "start" "-a" "debbac1dc36b1785000477055c4d7b43ffcf09fc8eb7e0363b5c6c4b10645d42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "debbac1dc36b1785000477055c4d7b43ffcf09fc8eb7e0363b5c6c4b10645d42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "debbac1dc36b1785000477055c4d7b43ffcf09fc8eb7e0363b5c6c4b10645d42", kill_on_drop: false }` [INFO] [stdout] debbac1dc36b1785000477055c4d7b43ffcf09fc8eb7e0363b5c6c4b10645d42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 29a7bf3a4128dd593cb9b7b23dcb3cf47dffc4fda87fb7fb13a4694bd570b9b2 [INFO] running `Command { std: "docker" "start" "-a" "29a7bf3a4128dd593cb9b7b23dcb3cf47dffc4fda87fb7fb13a4694bd570b9b2", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling futures-core v0.3.5 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling pin-project-internal v0.4.25 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling futures-io v0.3.5 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling pin-project-lite v0.1.10 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling instant v0.1.7 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling tinyvec v1.0.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling flate2 v1.0.18 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling regex v1.3.9 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling backtrace v0.3.51 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-openssl v0.4.0 [INFO] [stderr] Compiling futures-macro v0.3.5 [INFO] [stderr] Compiling derive_more v0.99.11 [INFO] [stderr] Compiling actix-macros v0.1.2 [INFO] [stderr] Compiling thiserror-impl v1.0.20 [INFO] [stderr] Compiling async-trait v0.1.41 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling actix-web-codegen v0.3.0 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling thiserror v1.0.20 [INFO] [stderr] Compiling pin-project v0.4.25 [INFO] [stderr] Compiling futures-util v0.3.5 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures v0.3.5 [INFO] [stderr] Compiling h2 v0.2.6 [INFO] [stderr] Compiling trust-dns-proto v0.19.5 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [INFO] [stderr] Compiling serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix v0.10.0 [INFO] [stderr] Compiling actix-http v2.0.0 [INFO] [stderr] Compiling awc v2.0.0 [INFO] [stderr] Compiling actix-web v3.1.0 [INFO] [stderr] Compiling actix-web-actors v3.0.0 [INFO] [stderr] Compiling ld47-actix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Animation`, `Card` [INFO] [stdout] --> src/server.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::config::{Card, Animation, GameConfig}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | _ => () [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/main.rs:86:73 [INFO] [stdout] | [INFO] [stdout] 86 | MessageType::InitiateGame{username, character_type, color} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `color: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gc` [INFO] [stdout] --> src/server.rs:234:106 [INFO] [stdout] | [INFO] [stdout] 234 | fn fill_slots_with_ai(game: &mut Game, rng: &mut ThreadRng, ctx: &mut Context, game_id: usize, gc: &GameConfig) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/server.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | fn restarting(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act` [INFO] [stdout] --> src/server.rs:307:88 [INFO] [stdout] | [INFO] [stdout] 307 | let game_tick_handle = ctx.run_interval(Duration::from_millis(1000), move |act, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/server.rs:576:54 [INFO] [stdout] | [INFO] [stdout] 576 | fn handle(&mut self, gameinfo: AnimationMessage, ctx: &mut Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/server.rs:615:60 [INFO] [stdout] | [INFO] [stdout] 615 | fn handle(&mut self, gameinfo: PollPlayerDeathMessage, ctx: &mut Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/server.rs:817:26 [INFO] [stdout] | [INFO] [stdout] 817 | fn handle(&mut self, msg: Disconnect, _: &mut Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Animation` [INFO] [stdout] --> src/config.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Animation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Card` [INFO] [stdout] --> src/config.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Card { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_real_active_players_mut` [INFO] [stdout] --> src/server.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | fn get_real_active_players_mut(game: &mut Game) -> Vec<&mut Player> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cardDist` should have a snake case name [INFO] [stdout] --> src/server.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | cardDist: WeightedIndex, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `card_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 46.40s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v3.1.0, time-macros-impl v0.1.1 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "29a7bf3a4128dd593cb9b7b23dcb3cf47dffc4fda87fb7fb13a4694bd570b9b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29a7bf3a4128dd593cb9b7b23dcb3cf47dffc4fda87fb7fb13a4694bd570b9b2", kill_on_drop: false }` [INFO] [stdout] 29a7bf3a4128dd593cb9b7b23dcb3cf47dffc4fda87fb7fb13a4694bd570b9b2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+a7f375789bab1a4e4a291c963081a8ca7d2b6bd7" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 809cd722df63f7cb537f55a0068da363d2b5b8774bd04081a566b6a597e3ed2c [INFO] running `Command { std: "docker" "start" "-a" "809cd722df63f7cb537f55a0068da363d2b5b8774bd04081a566b6a597e3ed2c", kill_on_drop: false }` [INFO] [stderr] Compiling ld47-actix v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Animation`, `Card` [INFO] [stdout] --> src/server.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::config::{Card, Animation, GameConfig}; [INFO] [stdout] | ^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:207:21 [INFO] [stdout] | [INFO] [stdout] 207 | _ => () [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `color` [INFO] [stdout] --> src/main.rs:86:73 [INFO] [stdout] | [INFO] [stdout] 86 | MessageType::InitiateGame{username, character_type, color} => { [INFO] [stdout] | ^^^^^ help: try ignoring the field: `color: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gc` [INFO] [stdout] --> src/server.rs:234:106 [INFO] [stdout] | [INFO] [stdout] 234 | fn fill_slots_with_ai(game: &mut Game, rng: &mut ThreadRng, ctx: &mut Context, game_id: usize, gc: &GameConfig) { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_gc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/server.rs:262:30 [INFO] [stdout] | [INFO] [stdout] 262 | fn restarting(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `act` [INFO] [stdout] --> src/server.rs:307:88 [INFO] [stdout] | [INFO] [stdout] 307 | let game_tick_handle = ctx.run_interval(Duration::from_millis(1000), move |act, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/server.rs:576:54 [INFO] [stdout] | [INFO] [stdout] 576 | fn handle(&mut self, gameinfo: AnimationMessage, ctx: &mut Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/server.rs:615:60 [INFO] [stdout] | [INFO] [stdout] 615 | fn handle(&mut self, gameinfo: PollPlayerDeathMessage, ctx: &mut Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `msg` [INFO] [stdout] --> src/server.rs:817:26 [INFO] [stdout] | [INFO] [stdout] 817 | fn handle(&mut self, msg: Disconnect, _: &mut Context) -> Self::Result { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Animation` [INFO] [stdout] --> src/config.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Animation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Card` [INFO] [stdout] --> src/config.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Card { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_real_active_players_mut` [INFO] [stdout] --> src/server.rs:249:8 [INFO] [stdout] | [INFO] [stdout] 249 | fn get_real_active_players_mut(game: &mut Game) -> Vec<&mut Player> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `cardDist` should have a snake case name [INFO] [stdout] --> src/server.rs:157:5 [INFO] [stdout] | [INFO] [stdout] 157 | cardDist: WeightedIndex, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `card_dist` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.60s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: actix-web v3.1.0, time-macros-impl v0.1.1 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 2` [INFO] running `Command { std: "docker" "inspect" "809cd722df63f7cb537f55a0068da363d2b5b8774bd04081a566b6a597e3ed2c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "809cd722df63f7cb537f55a0068da363d2b5b8774bd04081a566b6a597e3ed2c", kill_on_drop: false }` [INFO] [stdout] 809cd722df63f7cb537f55a0068da363d2b5b8774bd04081a566b6a597e3ed2c