[INFO] cloning repository https://github.com/NEUZhangy/Mafia_Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/NEUZhangy/Mafia_Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNEUZhangy%2FMafia_Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNEUZhangy%2FMafia_Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3f5b9884ca000fbe8605dc00309c20c8a18fe4ce [INFO] testing NEUZhangy/Mafia_Rust against master#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNEUZhangy%2FMafia_Rust" "/workspace/builds/worker-3/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/NEUZhangy/Mafia_Rust on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-3/source/rust-toolchain [INFO] started tweaking git repo https://github.com/NEUZhangy/Mafia_Rust [INFO] finished tweaking git repo https://github.com/NEUZhangy/Mafia_Rust [INFO] tweaked toml for git repo https://github.com/NEUZhangy/Mafia_Rust written to /workspace/builds/worker-3/source/Cargo.toml [INFO] crate git repo https://github.com/NEUZhangy/Mafia_Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 132fa067b95f7d8c1038ee0a567525bf10f9fda6cfe2270d8ccc902ae398dc99 [INFO] running `Command { std: "docker" "start" "-a" "132fa067b95f7d8c1038ee0a567525bf10f9fda6cfe2270d8ccc902ae398dc99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "132fa067b95f7d8c1038ee0a567525bf10f9fda6cfe2270d8ccc902ae398dc99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "132fa067b95f7d8c1038ee0a567525bf10f9fda6cfe2270d8ccc902ae398dc99", kill_on_drop: false }` [INFO] [stdout] 132fa067b95f7d8c1038ee0a567525bf10f9fda6cfe2270d8ccc902ae398dc99 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 16b3632b2f77bdaae305220b5fb37a080172a83bfff43bca1111a17c82135255 [INFO] running `Command { std: "docker" "start" "-a" "16b3632b2f77bdaae305220b5fb37a080172a83bfff43bca1111a17c82135255", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling quick-error v1.2.3 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling cpal v0.13.3 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-macro v0.3.15 [INFO] [stderr] Compiling tokio v1.6.0 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling alsa v0.5.0 [INFO] [stderr] Compiling tokio-macros v1.2.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling thiserror-impl v1.0.25 [INFO] [stderr] Compiling thiserror v1.0.25 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling futures-executor v0.3.15 [INFO] [stderr] Compiling futures v0.3.15 [INFO] [stderr] Compiling tokio-util v0.6.7 [INFO] [stderr] Compiling tokio-stream v0.1.6 [INFO] [stderr] Compiling tokio-tungstenite v0.13.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling warp v0.3.1 [INFO] [stderr] Compiling hello-rocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `websocket_init` [INFO] [stdout] --> src/game.rs:7:49 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::websockets_chat::{back_send_message, websocket_init, broadcast}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/websockets_chat.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | Err(e) => "" [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> src/websockets_chat.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | for (&uid, tx) in USERS.read().await.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `hunter_action` [INFO] [stdout] --> src/actions.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn hunter_action(&mut self, p_num: u8, status: Status) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `user_message` [INFO] [stdout] --> src/websockets_chat.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | async fn user_message(my_id: u8, msg: Message, users: &Users) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | init_game().await; [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/websockets_chat.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | BACK.0.send(Msg { user_id: my_id, user_msg: send_msg.to_string() }); [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: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 3m 14s [INFO] running `Command { std: "docker" "inspect" "16b3632b2f77bdaae305220b5fb37a080172a83bfff43bca1111a17c82135255", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16b3632b2f77bdaae305220b5fb37a080172a83bfff43bca1111a17c82135255", kill_on_drop: false }` [INFO] [stdout] 16b3632b2f77bdaae305220b5fb37a080172a83bfff43bca1111a17c82135255 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa47a4092cb29f1fd15af529103eae66f047736111106ca517b990e6a90e3bd3 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "aa47a4092cb29f1fd15af529103eae66f047736111106ca517b990e6a90e3bd3", kill_on_drop: false }` [INFO] [stderr] Compiling hello-rocket v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `hunter` [INFO] [stdout] --> src/actions.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let hunter = game.get_hunter().unwrap().clone(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hunter` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e` [INFO] [stdout] --> src/websockets_chat.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | Err(e) => "" [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uid` [INFO] [stdout] --> src/websockets_chat.rs:153:11 [INFO] [stdout] | [INFO] [stdout] 153 | for (&uid, tx) in USERS.read().await.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `user_message` [INFO] [stdout] --> src/websockets_chat.rs:114:10 [INFO] [stdout] | [INFO] [stdout] 114 | async fn user_message(my_id: u8, msg: Message, users: &Users) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | init_game().await; [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/websockets_chat.rs:106:9 [INFO] [stdout] | [INFO] [stdout] 106 | BACK.0.send(Msg { user_id: my_id, user_msg: send_msg.to_string() }); [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/websockets_chat.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | USERS.read().await.get(&1).unwrap().send(Ok(Message::text("getString"))); [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/game.rs:120:5 [INFO] [stdout] | [INFO] [stdout] 120 | init_game().await; [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 21.86s [INFO] running `Command { std: "docker" "inspect" "aa47a4092cb29f1fd15af529103eae66f047736111106ca517b990e6a90e3bd3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa47a4092cb29f1fd15af529103eae66f047736111106ca517b990e6a90e3bd3", kill_on_drop: false }` [INFO] [stdout] aa47a4092cb29f1fd15af529103eae66f047736111106ca517b990e6a90e3bd3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 696d34de4e988c33607b2411944cf87872f5bd3ffbb99c20eb543ae7159cc0d5 [INFO] running `Command { std: "docker" "start" "-a" "696d34de4e988c33607b2411944cf87872f5bd3ffbb99c20eb543ae7159cc0d5", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `hunter` [INFO] [stderr] --> src/actions.rs:126:9 [INFO] [stderr] | [INFO] [stderr] 126 | let hunter = game.get_hunter().unwrap().clone(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_hunter` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `e` [INFO] [stderr] --> src/websockets_chat.rs:103:17 [INFO] [stderr] | [INFO] [stderr] 103 | Err(e) => "" [INFO] [stderr] | ^ help: if this is intentional, prefix it with an underscore: `_e` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `uid` [INFO] [stderr] --> src/websockets_chat.rs:153:11 [INFO] [stderr] | [INFO] [stderr] 153 | for (&uid, tx) in USERS.read().await.iter() { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_uid` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `user_message` [INFO] [stderr] --> src/websockets_chat.rs:114:10 [INFO] [stderr] | [INFO] [stderr] 114 | async fn user_message(my_id: u8, msg: Message, users: &Users) { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:33:5 [INFO] [stderr] | [INFO] [stderr] 33 | init_game().await; [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/websockets_chat.rs:106:9 [INFO] [stderr] | [INFO] [stderr] 106 | BACK.0.send(Msg { user_id: my_id, user_msg: send_msg.to_string() }); [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/websockets_chat.rs:252:5 [INFO] [stderr] | [INFO] [stderr] 252 | USERS.read().await.get(&1).unwrap().send(Ok(Message::text("getString"))); [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/game.rs:120:5 [INFO] [stderr] | [INFO] [stderr] 120 | init_game().await; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `hello-rocket` (bin "hello-rocket" test) generated 8 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.17s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hello_rocket-3c64dea14bb6d61c) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test actions::test_witch_action ... ok [INFO] [stdout] test actions::test_player_status_change ... ok [INFO] [stdout] test actions::test_hunter_action ... ok [INFO] [stdout] test actions::test_game ... ok [INFO] [stdout] test actions::test_get_hunter ... ok [INFO] [stderr] ALSA lib confmisc.c:767:(parse_card) cannot find card '0' [INFO] [stderr] ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory [INFO] [stderr] ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings [INFO] [stderr] ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_concat returned error: No such file or directory [INFO] [stderr] ALSA lib confmisc.c:1246:(snd_func_refer) error evaluating name [INFO] [stderr] ALSA lib conf.c:4732:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory [INFO] [stderr] ALSA lib conf.c:5220:(snd_config_expand) Evaluate error: No such file or directory [INFO] [stderr] ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM default [INFO] [stderr] ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card [INFO] [stderr] ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card [INFO] [stderr] ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card [INFO] [stderr] ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card [INFO] [stderr] Cannot connect to server socket err = No such file or directory [INFO] [stderr] Cannot connect to server request channel [INFO] [stderr] jack server is not running or cannot be started [INFO] [stderr] JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock [INFO] [stderr] JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock [INFO] [stderr] Cannot connect to server socket err = No such file or directory [INFO] [stderr] Cannot connect to server request channel [INFO] [stdout] test util::test_assign_card - should panic ... ok [INFO] [stderr] jack server is not running or cannot be started [INFO] [stderr] JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock [INFO] [stderr] JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock [INFO] [stderr] ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port [INFO] [stderr] ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port [INFO] [stderr] ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused [INFO] [stderr] [INFO] [stderr] ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused [INFO] [stderr] [INFO] [stderr] ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card [INFO] [stderr] ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card [INFO] [stderr] ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card [INFO] [stderr] ALSA lib pcm_hw.c:1829:(_snd_pcm_hw_open) Invalid value for card [INFO] [stdout] test game::test_play_sound ... FAILED [INFO] [stdout] test websockets_chat::websocket_init_test ... FAILED [INFO] [stdout] test game::test_game_init has been running for over 60 seconds [ERROR] error running command: no output for 300 seconds [INFO] running `Command { std: "docker" "inspect" "696d34de4e988c33607b2411944cf87872f5bd3ffbb99c20eb543ae7159cc0d5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "696d34de4e988c33607b2411944cf87872f5bd3ffbb99c20eb543ae7159cc0d5", kill_on_drop: false }` [INFO] [stdout] 696d34de4e988c33607b2411944cf87872f5bd3ffbb99c20eb543ae7159cc0d5