[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 try#ce59db7a1b1b012fb2793c4641c1bdecad7a128b for pr-85530 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNEUZhangy%2FMafia_Rust" "/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/NEUZhangy/Mafia_Rust on toolchain ce59db7a1b1b012fb2793c4641c1bdecad7a128b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-5/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-5/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" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rodio v0.14.0 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9385556f0c7e93df46caecf6096ed0f09472f2d978d7593a507c44d19ad82537 [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" "9385556f0c7e93df46caecf6096ed0f09472f2d978d7593a507c44d19ad82537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9385556f0c7e93df46caecf6096ed0f09472f2d978d7593a507c44d19ad82537", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9385556f0c7e93df46caecf6096ed0f09472f2d978d7593a507c44d19ad82537", kill_on_drop: false }` [INFO] [stdout] 9385556f0c7e93df46caecf6096ed0f09472f2d978d7593a507c44d19ad82537 [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "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] 99c2ad93da6fd9586193ba531300e2314c0d77084919944a0d9335c86dc75d4b [INFO] running `Command { std: "docker" "start" "-a" "99c2ad93da6fd9586193ba531300e2314c0d77084919944a0d9335c86dc75d4b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling futures-sink v0.3.15 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Compiling futures-io v0.3.15 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling cpufeatures v0.1.4 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling cpal v0.13.3 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling state v0.4.2 [INFO] [stderr] Compiling instant v0.1.9 [INFO] [stderr] Compiling lock_api v0.4.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 indexmap v1.6.2 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling tracing-core v0.1.18 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling input_buffer v0.4.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling tracing v0.1.26 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling twoway v0.1.8 [INFO] [stderr] Compiling buf_redux v0.8.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling mime_guess v2.0.3 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.6 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling signal-hook-registry v1.3.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling jobserver v0.1.22 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling rand_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling headers v0.3.4 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling multipart v0.17.1 [INFO] [stderr] Compiling tungstenite v0.12.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [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 pin-project v1.0.7 [INFO] [stderr] Compiling rodio v0.14.0 [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 52s [INFO] running `Command { std: "docker" "inspect" "99c2ad93da6fd9586193ba531300e2314c0d77084919944a0d9335c86dc75d4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "99c2ad93da6fd9586193ba531300e2314c0d77084919944a0d9335c86dc75d4b", kill_on_drop: false }` [INFO] [stdout] 99c2ad93da6fd9586193ba531300e2314c0d77084919944a0d9335c86dc75d4b [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 82ea9799d34db670614c6e2f8e5dd2d72bc13dd2658025fb11a4b14389e1cadd [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" "82ea9799d34db670614c6e2f8e5dd2d72bc13dd2658025fb11a4b14389e1cadd", 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 19.59s [INFO] running `Command { std: "docker" "inspect" "82ea9799d34db670614c6e2f8e5dd2d72bc13dd2658025fb11a4b14389e1cadd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "82ea9799d34db670614c6e2f8e5dd2d72bc13dd2658025fb11a4b14389e1cadd", kill_on_drop: false }` [INFO] [stdout] 82ea9799d34db670614c6e2f8e5dd2d72bc13dd2658025fb11a4b14389e1cadd [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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ce59db7a1b1b012fb2793c4641c1bdecad7a128b" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 63268c592ae63f75143167b4a31de5be3e0e3b7943363f6475d611f1aa80e6a7 [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" "63268c592ae63f75143167b4a31de5be3e0e3b7943363f6475d611f1aa80e6a7", 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: 8 warnings emitted [INFO] [stderr] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.16s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/hello_rocket-367bee7da46abb18) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test actions::test_game ... ok [INFO] [stdout] test actions::test_get_hunter ... ok [INFO] [stdout] test actions::test_hunter_action ... ok [INFO] [stdout] test actions::test_player_status_change ... ok [INFO] [stdout] test actions::test_witch_action ... 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] [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 util::test_assign_card ... ok [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" "63268c592ae63f75143167b4a31de5be3e0e3b7943363f6475d611f1aa80e6a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63268c592ae63f75143167b4a31de5be3e0e3b7943363f6475d611f1aa80e6a7", kill_on_drop: false }` [INFO] [stdout] 63268c592ae63f75143167b4a31de5be3e0e3b7943363f6475d611f1aa80e6a7