[INFO] cloning repository https://github.com/mikhalev-im/scrum-poker-server [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mikhalev-im/scrum-poker-server" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikhalev-im%2Fscrum-poker-server", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikhalev-im%2Fscrum-poker-server'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 90f3edc6bc9ebbc0ac1b2f8fe3c76590764b04bf [INFO] testing mikhalev-im/scrum-poker-server against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmikhalev-im%2Fscrum-poker-server" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mikhalev-im/scrum-poker-server on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mikhalev-im/scrum-poker-server [INFO] finished tweaking git repo https://github.com/mikhalev-im/scrum-poker-server [INFO] tweaked toml for git repo https://github.com/mikhalev-im/scrum-poker-server written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/mikhalev-im/scrum-poker-server already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-macros v1.5.1 [INFO] [stderr] Downloaded serde_json v1.0.70 [INFO] [stderr] Downloaded tokio v1.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64fab57282e2626d690c1d9d5bc58e1df60c3ebf29d7d24994c7fa9182a3b459 [INFO] running `Command { std: "docker" "start" "-a" "64fab57282e2626d690c1d9d5bc58e1df60c3ebf29d7d24994c7fa9182a3b459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64fab57282e2626d690c1d9d5bc58e1df60c3ebf29d7d24994c7fa9182a3b459", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64fab57282e2626d690c1d9d5bc58e1df60c3ebf29d7d24994c7fa9182a3b459", kill_on_drop: false }` [INFO] [stdout] 64fab57282e2626d690c1d9d5bc58e1df60c3ebf29d7d24994c7fa9182a3b459 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66fe124b7caa9c331b56e003b4ce26e5997f3591ad7ac3628e944567ac0d7f4a [INFO] running `Command { std: "docker" "start" "-a" "66fe124b7caa9c331b56e003b4ce26e5997f3591ad7ac3628e944567ac0d7f4a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling libc v0.2.106 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling unicode-bidi v0.3.7 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.70 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.13.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling signal-hook-registry v1.4.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling tokio-macros v1.5.1 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling poker v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `SinkExt`, `SplitStream`, `future` [INFO] [stdout] --> src/main.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_util::{SinkExt, StreamExt, TryStreamExt, future, stream::{SplitSink, SplitStream}}; [INFO] [stdout] | ^^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Message` [INFO] [stdout] --> src/main.rs:9:38 [INFO] [stdout] | [INFO] [stdout] 9 | use tokio_tungstenite::tungstenite::{Message}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:98:10 [INFO] [stdout] | [INFO] [stdout] 98 | let (mut sink, stream) = ws_stream.split(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `user_id` [INFO] [stdout] --> src/users.rs:4:23 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn set_name(user_id: &SocketAddr, name: Option<&str>, state: AppState) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_user_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/users.rs:4:45 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn set_name(user_id: &SocketAddr, name: Option<&str>, state: AppState) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/users.rs:4:65 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn set_name(user_id: &SocketAddr, name: Option<&str>, state: AppState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0446]: private type `State` in public interface [INFO] [stdout] --> src/users.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub async fn set_name(user_id: &SocketAddr, name: Option<&str>, state: AppState) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ can't leak private type [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | struct State { [INFO] [stdout] | ------------ `State` declared as private [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/main.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | id: SocketAddr, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `name` [INFO] [stdout] --> src/main.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `room` [INFO] [stdout] --> src/main.rs:57:5 [INFO] [stdout] | [INFO] [stdout] 57 | room: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `score` [INFO] [stdout] --> src/main.rs:58:5 [INFO] [stdout] | [INFO] [stdout] 58 | score: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sink` [INFO] [stdout] --> src/main.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | sink: SplitSink, tokio_tungstenite::tungstenite::Message>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/main.rs:75:5 [INFO] [stdout] | [INFO] [stdout] 75 | id: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `password` [INFO] [stdout] --> src/main.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | password: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `users` [INFO] [stdout] --> src/main.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 77 | users: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `admins` [INFO] [stdout] --> src/main.rs:78:5 [INFO] [stdout] | [INFO] [stdout] 78 | admins: HashSet [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `rooms` [INFO] [stdout] --> src/main.rs:83:5 [INFO] [stdout] | [INFO] [stdout] 83 | rooms: HashMap [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0446`. [INFO] [stdout] [INFO] [stderr] error: could not compile `poker` due to 2 previous errors; 16 warnings emitted [INFO] running `Command { std: "docker" "inspect" "66fe124b7caa9c331b56e003b4ce26e5997f3591ad7ac3628e944567ac0d7f4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66fe124b7caa9c331b56e003b4ce26e5997f3591ad7ac3628e944567ac0d7f4a", kill_on_drop: false }` [INFO] [stdout] 66fe124b7caa9c331b56e003b4ce26e5997f3591ad7ac3628e944567ac0d7f4a