[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] testing SarthakSingh31/ld47-actix against 1.63.0 for beta-1.64-2 [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 1.63.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.63.0" "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" "+1.63.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_json v1.0.58 [INFO] [stderr] Downloaded pin-project-internal v0.4.25 [INFO] [stderr] Downloaded actix v0.10.0 [INFO] [stderr] Downloaded backtrace v0.3.51 [INFO] [stderr] Downloaded miniz_oxide v0.4.2 [INFO] [stderr] Downloaded actix-web-actors v3.0.0 [INFO] [stderr] Downloaded pin-project v0.4.25 [INFO] [stderr] Downloaded hermit-abi v0.1.16 [INFO] [stderr] Downloaded libc v0.2.78 [INFO] [stderr] Downloaded standback v0.2.10 [INFO] [stderr] Downloaded tokio-openssl v0.4.0 [INFO] [stderr] Downloaded syn v1.0.42 [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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 889b05172b3d6f08cbfc377bcaa3dc974fc792ee96c7d90d5055be971c4f2f8d [INFO] running `Command { std: "docker" "start" "-a" "889b05172b3d6f08cbfc377bcaa3dc974fc792ee96c7d90d5055be971c4f2f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "889b05172b3d6f08cbfc377bcaa3dc974fc792ee96c7d90d5055be971c4f2f8d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "889b05172b3d6f08cbfc377bcaa3dc974fc792ee96c7d90d5055be971c4f2f8d", kill_on_drop: false }` [INFO] [stdout] 889b05172b3d6f08cbfc377bcaa3dc974fc792ee96c7d90d5055be971c4f2f8d [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 894a73db6d587ab6d1e3ff7c65cc97f6fcfdd45ec31f31c5ada352ec7c8d87ef [INFO] running `Command { std: "docker" "start" "-a" "894a73db6d587ab6d1e3ff7c65cc97f6fcfdd45ec31f31c5ada352ec7c8d87ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling proc-macro-hack v0.5.18 [INFO] [stderr] Compiling futures-sink v0.3.5 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling pin-project-internal v0.4.25 [INFO] [stderr] Compiling pin-project-lite v0.1.10 [INFO] [stderr] Compiling arc-swap v0.4.7 [INFO] [stderr] Compiling proc-macro-nested v0.1.6 [INFO] [stderr] Compiling once_cell v1.4.1 [INFO] [stderr] Compiling cc v1.0.60 [INFO] [stderr] Compiling smallvec v1.4.2 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling tinyvec v0.3.4 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling adler v0.2.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Compiling gimli v0.22.0 [INFO] [stderr] Compiling openssl v0.10.30 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling rustc-demangle v0.1.16 [INFO] [stderr] Compiling object v0.20.0 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling linked-hash-map v0.5.3 [INFO] [stderr] Compiling const_fn v0.4.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Compiling encoding_rs v0.8.24 [INFO] [stderr] Compiling serde_json v1.0.58 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling dtoa v0.4.6 [INFO] [stderr] Compiling base64 v0.12.3 [INFO] [stderr] Compiling language-tags v0.2.2 [INFO] [stderr] Compiling instant v0.1.7 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling futures-channel v0.3.5 [INFO] [stderr] Compiling lock_api v0.4.1 [INFO] [stderr] Compiling futures-task v0.3.5 [INFO] [stderr] Compiling unicode-bidi v0.3.4 [INFO] [stderr] Compiling bytestring v0.1.5 [INFO] [stderr] Compiling http v0.2.1 [INFO] [stderr] Compiling unicode-normalization v0.1.13 [INFO] [stderr] Compiling standback v0.2.10 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.22 [INFO] [stderr] Compiling cookie v0.14.2 [INFO] [stderr] Compiling miniz_oxide v0.4.2 [INFO] [stderr] Compiling indexmap v1.6.0 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling tinyvec v1.0.1 [INFO] [stderr] Compiling openssl-sys v0.9.58 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling tracing v0.1.21 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.35 [INFO] [stderr] Compiling signal-hook-registry v1.2.1 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.0 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.15 [INFO] [stderr] Compiling mio v0.6.22 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling flate2 v1.0.18 [INFO] [stderr] Compiling url v2.1.1 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.0 [INFO] [stderr] Compiling resolv-conf v0.6.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling addr2line v0.13.0 [INFO] [stderr] Compiling sha-1 v0.9.1 [INFO] [stderr] Compiling backtrace v0.3.51 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.22 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling tokio-openssl v0.4.0 [INFO] [stderr] Compiling brotli2 v0.3.2 [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 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 serde_urlencoded v0.6.1 [INFO] [stderr] Compiling actix-router v0.2.5 [INFO] [stderr] Compiling uuid v0.8.1 [INFO] [stderr] Compiling trust-dns-resolver v0.19.5 [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 `Animation` is never constructed [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 `Card` is never constructed [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 `get_real_active_players_mut` is never used [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 1m 49s [INFO] running `Command { std: "docker" "inspect" "894a73db6d587ab6d1e3ff7c65cc97f6fcfdd45ec31f31c5ada352ec7c8d87ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "894a73db6d587ab6d1e3ff7c65cc97f6fcfdd45ec31f31c5ada352ec7c8d87ef", kill_on_drop: false }` [INFO] [stdout] 894a73db6d587ab6d1e3ff7c65cc97f6fcfdd45ec31f31c5ada352ec7c8d87ef [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c6c9abd80d8726e8056f444ef5b8a7d3af8099362cca6487c2b595ff516345e [INFO] running `Command { std: "docker" "start" "-a" "3c6c9abd80d8726e8056f444ef5b8a7d3af8099362cca6487c2b595ff516345e", 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 `Animation` is never constructed [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 `Card` is never constructed [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 `get_real_active_players_mut` is never used [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.55s [INFO] running `Command { std: "docker" "inspect" "3c6c9abd80d8726e8056f444ef5b8a7d3af8099362cca6487c2b595ff516345e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c6c9abd80d8726e8056f444ef5b8a7d3af8099362cca6487c2b595ff516345e", kill_on_drop: false }` [INFO] [stdout] 3c6c9abd80d8726e8056f444ef5b8a7d3af8099362cca6487c2b595ff516345e [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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+1.63.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45ce50b121f46f97ea2e91795da33cbaac9c4dee6794367f17cdfbcbf7f70998 [INFO] running `Command { std: "docker" "start" "-a" "45ce50b121f46f97ea2e91795da33cbaac9c4dee6794367f17cdfbcbf7f70998", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `Animation`, `Card` [INFO] [stderr] --> src/server.rs:9:21 [INFO] [stderr] | [INFO] [stderr] 9 | use crate::config::{Card, Animation, GameConfig}; [INFO] [stderr] | ^^^^ ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:207:21 [INFO] [stderr] | [INFO] [stderr] 207 | _ => () [INFO] [stderr] | ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `color` [INFO] [stderr] --> src/main.rs:86:73 [INFO] [stderr] | [INFO] [stderr] 86 | MessageType::InitiateGame{username, character_type, color} => { [INFO] [stderr] | ^^^^^ help: try ignoring the field: `color: _` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `gc` [INFO] [stderr] --> src/server.rs:234:106 [INFO] [stderr] | [INFO] [stderr] 234 | fn fill_slots_with_ai(game: &mut Game, rng: &mut ThreadRng, ctx: &mut Context, game_id: usize, gc: &GameConfig) { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_gc` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/server.rs:262:30 [INFO] [stderr] | [INFO] [stderr] 262 | fn restarting(&mut self, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `act` [INFO] [stderr] --> src/server.rs:307:88 [INFO] [stderr] | [INFO] [stderr] 307 | let game_tick_handle = ctx.run_interval(Duration::from_millis(1000), move |act, ctx| { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_act` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/server.rs:576:54 [INFO] [stderr] | [INFO] [stderr] 576 | fn handle(&mut self, gameinfo: AnimationMessage, ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/server.rs:615:60 [INFO] [stderr] | [INFO] [stderr] 615 | fn handle(&mut self, gameinfo: PollPlayerDeathMessage, ctx: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `msg` [INFO] [stderr] --> src/server.rs:817:26 [INFO] [stderr] | [INFO] [stderr] 817 | fn handle(&mut self, msg: Disconnect, _: &mut Context) -> Self::Result { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_msg` [INFO] [stderr] [INFO] [stderr] warning: struct `Animation` is never constructed [INFO] [stderr] --> src/config.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Animation { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Card` is never constructed [INFO] [stderr] --> src/config.rs:6:12 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct Card { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `get_real_active_players_mut` is never used [INFO] [stderr] --> src/server.rs:249:8 [INFO] [stderr] | [INFO] [stderr] 249 | fn get_real_active_players_mut(game: &mut Game) -> Vec<&mut Player> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `cardDist` should have a snake case name [INFO] [stderr] --> src/server.rs:157:5 [INFO] [stderr] | [INFO] [stderr] 157 | cardDist: WeightedIndex, [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to snake case: `card_dist` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `ld47-actix` (bin "ld47-actix" test) generated 13 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.14s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/ld47_actix-0b54e648563d3f5f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "45ce50b121f46f97ea2e91795da33cbaac9c4dee6794367f17cdfbcbf7f70998", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45ce50b121f46f97ea2e91795da33cbaac9c4dee6794367f17cdfbcbf7f70998", kill_on_drop: false }` [INFO] [stdout] 45ce50b121f46f97ea2e91795da33cbaac9c4dee6794367f17cdfbcbf7f70998