[INFO] cloning repository https://github.com/Mathletesv/Game-of-Rocks [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Mathletesv/Game-of-Rocks" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathletesv%2FGame-of-Rocks", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathletesv%2FGame-of-Rocks'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3ccf5299c19fdea5b19113f9e5f01c9e3a155c0f [INFO] testing Mathletesv/Game-of-Rocks against master#99e3aef02079e9c10583638520cd0c134dc3a01d for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMathletesv%2FGame-of-Rocks" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Mathletesv/Game-of-Rocks on toolchain 99e3aef02079e9c10583638520cd0c134dc3a01d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Mathletesv/Game-of-Rocks [INFO] finished tweaking git repo https://github.com/Mathletesv/Game-of-Rocks [INFO] tweaked toml for git repo https://github.com/Mathletesv/Game-of-Rocks written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/Mathletesv/Game-of-Rocks already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 52e678cf22dc126068d0d14f72f1e26775d3c335630d4bb4d477b300f54dc43d [INFO] running `Command { std: "docker" "start" "-a" "52e678cf22dc126068d0d14f72f1e26775d3c335630d4bb4d477b300f54dc43d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "52e678cf22dc126068d0d14f72f1e26775d3c335630d4bb4d477b300f54dc43d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "52e678cf22dc126068d0d14f72f1e26775d3c335630d4bb4d477b300f54dc43d", kill_on_drop: false }` [INFO] [stdout] 52e678cf22dc126068d0d14f72f1e26775d3c335630d4bb4d477b300f54dc43d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4118382ed0916dc71b0ee961341e26dd7a1b02a6e3a859d63f7f802b57ede70b [INFO] running `Command { std: "docker" "start" "-a" "4118382ed0916dc71b0ee961341e26dd7a1b02a6e3a859d63f7f802b57ede70b", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.68 [INFO] [stderr] Compiling libc v0.2.92 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling futures-core v0.3.13 [INFO] [stderr] Compiling futures-sink v0.3.13 [INFO] [stderr] Compiling bytes v0.5.6 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling futures-io v0.3.13 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling pin-project-lite v0.1.12 [INFO] [stderr] Compiling futures-task v0.3.13 [INFO] [stderr] Compiling pin-project-internal v0.4.28 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling async-trait v0.1.48 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling match_cfg v0.1.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling const_fn v0.4.6 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling httparse v1.3.5 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling v_escape v0.13.2 [INFO] [stderr] Compiling v_htmlescape v0.10.4 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling snap v1.0.4 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.2 [INFO] [stderr] Compiling tinyvec v1.1.1 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Compiling futures-channel v0.3.13 [INFO] [stderr] Compiling lru-cache v0.1.2 [INFO] [stderr] Compiling crossbeam-channel v0.4.4 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling buf-min v0.1.1 [INFO] [stderr] Compiling standback v0.2.17 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling time v0.2.26 [INFO] [stderr] Compiling cookie v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling bytestring v1.0.0 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling brotli-sys v0.3.2 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling rmp v0.8.10 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling hostname v0.3.1 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling resolv-conf v0.7.0 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling threadpool v1.8.1 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling sha-1 v0.9.4 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling mio-uds v0.6.8 [INFO] [stderr] Compiling tokio v0.2.25 [INFO] [stderr] Compiling idna v0.2.2 [INFO] [stderr] Compiling regex v1.4.5 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling tokio-util v0.3.1 [INFO] [stderr] Compiling brotli2 v0.3.2 [INFO] [stderr] Compiling futures-macro v0.3.13 [INFO] [stderr] Compiling derive_more v0.99.13 [INFO] [stderr] Compiling actix-macros v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling enum-as-inner v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.0.6 [INFO] [stderr] Compiling time-macros-impl v0.1.1 [INFO] [stderr] Compiling actix-web-codegen v0.4.0 [INFO] [stderr] Compiling v_escape_derive v0.8.4 [INFO] [stderr] Compiling actix_derive v0.5.0 [INFO] [stderr] Compiling thiserror v1.0.24 [INFO] [stderr] Compiling futures-util v0.3.13 [INFO] [stderr] Compiling time-macros v0.1.1 [INFO] [stderr] Compiling pin-project v0.4.28 [INFO] [stderr] Compiling actix-codec v0.3.0 [INFO] [stderr] Compiling pin-project v1.0.6 [INFO] [stderr] Compiling tracing-futures v0.2.5 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling actix-service v1.0.6 [INFO] [stderr] Compiling futures v0.3.13 [INFO] [stderr] Compiling h2 v0.2.7 [INFO] [stderr] Compiling trust-dns-proto v0.19.7 [INFO] [stderr] Compiling actix-threadpool v0.3.3 [INFO] [stderr] Compiling actix-rt v1.1.1 [INFO] [stderr] Compiling actix-utils v2.0.0 [INFO] [stderr] Compiling actix-server v1.0.4 [INFO] [stderr] Compiling actix-tls v2.0.0 [INFO] [stderr] Compiling trust-dns-resolver v0.19.7 [INFO] [stderr] Compiling actix-testing v1.0.1 [INFO] [stderr] Compiling actix-connect v2.0.0 [INFO] [stderr] Compiling actix v0.10.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling actix-router v0.2.7 [INFO] [stderr] Compiling rmp-serde v0.15.4 [INFO] [stderr] Compiling actix-http v2.2.0 [INFO] [stderr] Compiling awc v2.0.3 [INFO] [stderr] Compiling actix-web v3.3.2 [INFO] [stderr] Compiling actix-web-actors v3.0.0 [INFO] [stderr] Compiling actix-files v0.3.0 [INFO] [stderr] Compiling game-of-rocks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `middleware` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{middleware, web, App, Error, HttpRequest, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:171:60 [INFO] [stdout] | [INFO] [stdout] 171 | ... Ok(id) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:258:48 [INFO] [stdout] | [INFO] [stdout] 258 | fn handle(&mut self, msg: server::SetRoom, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `show_possible` [INFO] [stdout] --> src/server.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | show_possible, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `show_possible: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | / self.sessions [INFO] [stdout] 236 | | .get(&user_id) [INFO] [stdout] 237 | | .expect("impossible") [INFO] [stdout] 238 | | .1 [INFO] [stdout] 239 | | .do_send(SetRoom(room_id)); [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | / self.sessions[&i.id].0.do_send(Message(json![ [INFO] [stdout] 244 | | { [INFO] [stdout] 245 | | "type": "playerJoined", [INFO] [stdout] 246 | | "name": i.name, [INFO] [stdout] 247 | | } [INFO] [stdout] 248 | | ])); [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | / self.sessions [INFO] [stdout] 278 | | .get(&id) [INFO] [stdout] 279 | | .expect("impossible") [INFO] [stdout] 280 | | .1 [INFO] [stdout] 281 | | .do_send(SetRoom(room_id)); [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 47s [INFO] running `Command { std: "docker" "inspect" "4118382ed0916dc71b0ee961341e26dd7a1b02a6e3a859d63f7f802b57ede70b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4118382ed0916dc71b0ee961341e26dd7a1b02a6e3a859d63f7f802b57ede70b", kill_on_drop: false }` [INFO] [stdout] 4118382ed0916dc71b0ee961341e26dd7a1b02a6e3a859d63f7f802b57ede70b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7acdb9508db3148688bd37d94f9d8a11dc406c932e8ab3eee0d9d708e70f736f [INFO] running `Command { std: "docker" "start" "-a" "7acdb9508db3148688bd37d94f9d8a11dc406c932e8ab3eee0d9d708e70f736f", kill_on_drop: false }` [INFO] [stderr] Compiling game-of-rocks v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `middleware` [INFO] [stdout] --> src/main.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use actix_web::{middleware, web, App, Error, HttpRequest, HttpResponse, HttpServer}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `serde_json::to_string` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde_json::to_string; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/main.rs:171:60 [INFO] [stdout] | [INFO] [stdout] 171 | ... Ok(id) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/main.rs:258:48 [INFO] [stdout] | [INFO] [stdout] 258 | fn handle(&mut self, msg: server::SetRoom, ctx: &mut Self::Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `show_possible` [INFO] [stdout] --> src/server.rs:269:13 [INFO] [stdout] | [INFO] [stdout] 269 | show_possible, [INFO] [stdout] | ^^^^^^^^^^^^^ help: try ignoring the field: `show_possible: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:235:17 [INFO] [stdout] | [INFO] [stdout] 235 | / self.sessions [INFO] [stdout] 236 | | .get(&user_id) [INFO] [stdout] 237 | | .expect("impossible") [INFO] [stdout] 238 | | .1 [INFO] [stdout] 239 | | .do_send(SetRoom(room_id)); [INFO] [stdout] | |_______________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:243:25 [INFO] [stdout] | [INFO] [stdout] 243 | / self.sessions[&i.id].0.do_send(Message(json![ [INFO] [stdout] 244 | | { [INFO] [stdout] 245 | | "type": "playerJoined", [INFO] [stdout] 246 | | "name": i.name, [INFO] [stdout] 247 | | } [INFO] [stdout] 248 | | ])); [INFO] [stdout] | |____________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/server.rs:277:9 [INFO] [stdout] | [INFO] [stdout] 277 | / self.sessions [INFO] [stdout] 278 | | .get(&id) [INFO] [stdout] 279 | | .expect("impossible") [INFO] [stdout] 280 | | .1 [INFO] [stdout] 281 | | .do_send(SetRoom(room_id)); [INFO] [stdout] | |_______________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.70s [INFO] running `Command { std: "docker" "inspect" "7acdb9508db3148688bd37d94f9d8a11dc406c932e8ab3eee0d9d708e70f736f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7acdb9508db3148688bd37d94f9d8a11dc406c932e8ab3eee0d9d708e70f736f", kill_on_drop: false }` [INFO] [stdout] 7acdb9508db3148688bd37d94f9d8a11dc406c932e8ab3eee0d9d708e70f736f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+99e3aef02079e9c10583638520cd0c134dc3a01d" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 45ad6447aba7278e8a468ca5a0c4008faa28f24d65cd40f3f3b6fbb21b964cf5 [INFO] running `Command { std: "docker" "start" "-a" "45ad6447aba7278e8a468ca5a0c4008faa28f24d65cd40f3f3b6fbb21b964cf5", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `middleware` [INFO] [stderr] --> src/main.rs:3:17 [INFO] [stderr] | [INFO] [stderr] 3 | use actix_web::{middleware, web, App, Error, HttpRequest, HttpResponse, HttpServer}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde_json::to_string` [INFO] [stderr] --> src/main.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use serde_json::to_string; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `id` [INFO] [stderr] --> src/main.rs:171:60 [INFO] [stderr] | [INFO] [stderr] 171 | ... Ok(id) => { [INFO] [stderr] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> src/main.rs:258:48 [INFO] [stderr] | [INFO] [stderr] 258 | fn handle(&mut self, msg: server::SetRoom, ctx: &mut Self::Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `show_possible` [INFO] [stderr] --> src/server.rs:269:13 [INFO] [stderr] | [INFO] [stderr] 269 | show_possible, [INFO] [stderr] | ^^^^^^^^^^^^^ help: try ignoring the field: `show_possible: _` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/server.rs:235:17 [INFO] [stderr] | [INFO] [stderr] 235 | / self.sessions [INFO] [stderr] 236 | | .get(&user_id) [INFO] [stderr] 237 | | .expect("impossible") [INFO] [stderr] 238 | | .1 [INFO] [stderr] 239 | | .do_send(SetRoom(room_id)); [INFO] [stderr] | |_______________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/server.rs:243:25 [INFO] [stderr] | [INFO] [stderr] 243 | / self.sessions[&i.id].0.do_send(Message(json![ [INFO] [stderr] 244 | | { [INFO] [stderr] 245 | | "type": "playerJoined", [INFO] [stderr] 246 | | "name": i.name, [INFO] [stderr] 247 | | } [INFO] [stderr] 248 | | ])); [INFO] [stderr] | |____________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/server.rs:277:9 [INFO] [stderr] | [INFO] [stderr] 277 | / self.sessions [INFO] [stderr] 278 | | .get(&id) [INFO] [stderr] 279 | | .expect("impossible") [INFO] [stderr] 280 | | .1 [INFO] [stderr] 281 | | .do_send(SetRoom(room_id)); [INFO] [stderr] | |_______________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.15s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/game_of_rocks-f594a0d41ff01137) [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" "45ad6447aba7278e8a468ca5a0c4008faa28f24d65cd40f3f3b6fbb21b964cf5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45ad6447aba7278e8a468ca5a0c4008faa28f24d65cd40f3f3b6fbb21b964cf5", kill_on_drop: false }` [INFO] [stdout] 45ad6447aba7278e8a468ca5a0c4008faa28f24d65cd40f3f3b6fbb21b964cf5