[INFO] cloning repository https://github.com/Hackspace-Leipzig-TheGame/Backend-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Hackspace-Leipzig-TheGame/Backend-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHackspace-Leipzig-TheGame%2FBackend-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHackspace-Leipzig-TheGame%2FBackend-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 516dd886dccaa7c3a89df1780a74e600610de72e [INFO] testing Hackspace-Leipzig-TheGame/Backend-Rust against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHackspace-Leipzig-TheGame%2FBackend-Rust" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Hackspace-Leipzig-TheGame/Backend-Rust [INFO] finished tweaking git repo https://github.com/Hackspace-Leipzig-TheGame/Backend-Rust [INFO] tweaked toml for git repo https://github.com/Hackspace-Leipzig-TheGame/Backend-Rust written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Hackspace-Leipzig-TheGame/Backend-Rust on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Hackspace-Leipzig-TheGame/Backend-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded pretty_env_logger v0.4.0 [INFO] [stderr] Downloaded twoway v0.1.8 [INFO] [stderr] Downloaded buf_redux v0.8.4 [INFO] [stderr] Downloaded headers v0.3.7 [INFO] [stderr] Downloaded tracing-core v0.1.27 [INFO] [stderr] Downloaded warp v0.3.2 [INFO] [stderr] Downloaded multipart v0.18.0 [INFO] [stderr] Downloaded tungstenite v0.14.0 [INFO] [stderr] Downloaded hyper v0.14.19 [INFO] [stderr] Downloaded tokio-tungstenite v0.15.0 [INFO] [stderr] Downloaded h2 v0.3.13 [INFO] [stderr] Downloaded syn v1.0.96 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f018a459c5d4bc9eaf6c6a42ea79fdaaf3c446d4270a463ff768f351fe4e2cad [INFO] running `Command { std: "docker" "start" "-a" "f018a459c5d4bc9eaf6c6a42ea79fdaaf3c446d4270a463ff768f351fe4e2cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f018a459c5d4bc9eaf6c6a42ea79fdaaf3c446d4270a463ff768f351fe4e2cad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f018a459c5d4bc9eaf6c6a42ea79fdaaf3c446d4270a463ff768f351fe4e2cad", kill_on_drop: false }` [INFO] [stdout] f018a459c5d4bc9eaf6c6a42ea79fdaaf3c446d4270a463ff768f351fe4e2cad [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] fa0cc81431394fc6919ba1bead355e55b695cf253d1ebe5efe8634ebbe6e4616 [INFO] running `Command { std: "docker" "start" "-a" "fa0cc81431394fc6919ba1bead355e55b695cf253d1ebe5efe8634ebbe6e4616", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-sink v0.3.21 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling mio v0.8.3 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling http v0.2.8 [INFO] [stderr] Compiling httparse v1.7.1 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling matches v0.1.9 [INFO] [stderr] Compiling tinyvec v1.6.0 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling tracing-core v0.1.27 [INFO] [stderr] Compiling unicode-bidi v0.3.8 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling mime_guess v2.0.4 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling tracing v0.1.35 [INFO] [stderr] Compiling utf-8 v0.7.6 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling safemem v0.3.3 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling humantime v1.3.0 [INFO] [stderr] Compiling block-buffer v0.10.2 [INFO] [stderr] Compiling crypto-common v0.1.3 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling unicode-normalization v0.1.19 [INFO] [stderr] Compiling digest v0.10.3 [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 sha-1 v0.9.8 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling sha-1 v0.10.0 [INFO] [stderr] Compiling headers-core v0.2.0 [INFO] [stderr] Compiling http-body v0.4.5 [INFO] [stderr] Compiling regex v1.5.6 [INFO] [stderr] Compiling headers v0.3.7 [INFO] [stderr] Compiling url v2.2.2 [INFO] [stderr] Compiling multipart v0.18.0 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling pretty_env_logger v0.4.0 [INFO] [stderr] Compiling tokio-macros v1.8.0 [INFO] [stderr] Compiling futures-macro v0.3.21 [INFO] [stderr] Compiling serde_derive v1.0.137 [INFO] [stderr] Compiling thiserror-impl v1.0.31 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Compiling tokio v1.19.2 [INFO] [stderr] Compiling pin-project v1.0.10 [INFO] [stderr] Compiling thiserror v1.0.31 [INFO] [stderr] Compiling tungstenite v0.14.0 [INFO] [stderr] Compiling serde v1.0.137 [INFO] [stderr] Compiling futures-executor v0.3.21 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling tokio-util v0.7.3 [INFO] [stderr] Compiling tokio-util v0.6.10 [INFO] [stderr] Compiling tokio-stream v0.1.9 [INFO] [stderr] Compiling tokio-tungstenite v0.15.0 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling serde_json v1.0.82 [INFO] [stderr] Compiling uuid v1.1.2 [INFO] [stderr] Compiling hyper v0.14.19 [INFO] [stderr] Compiling warp v0.3.2 [INFO] [stderr] Compiling the-game-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Reply` [INFO] [stdout] --> src/main.rs:6:84 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::{header, http::Response, hyper::body::Bytes, reply::with_header, Filter, Reply}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventKind` and `Event` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use event::{Event, EventKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | .map(|state: State| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | .map(|state: State, session_id: Uuid| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | |state: State, session_id: Uuid, client_id: Uuid, msg: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/main.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | |state: State, session_id: Uuid, client_id: Uuid, msg: String| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/main.rs:107:46 [INFO] [stdout] | [INFO] [stdout] 107 | |state: State, session_id: Uuid, client_id: Uuid, msg: String| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|state: State, session_id: Uuid| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/main.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|state: State, session_id: Uuid| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `games` is never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct StateRaw { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 25 | games: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateRaw` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Gathering` and `Running` are never constructed [INFO] [stdout] --> src/thegame.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Game { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Gathering(GameGathering), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | Running(GameRunning), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `begin` are never used [INFO] [stdout] --> src/thegame.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn begin(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/thegame.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl GameGathering { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/thegame.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct GameRunning { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 38 | id: GameID, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameRunning` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 48.93s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "fa0cc81431394fc6919ba1bead355e55b695cf253d1ebe5efe8634ebbe6e4616", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa0cc81431394fc6919ba1bead355e55b695cf253d1ebe5efe8634ebbe6e4616", kill_on_drop: false }` [INFO] [stdout] fa0cc81431394fc6919ba1bead355e55b695cf253d1ebe5efe8634ebbe6e4616 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] d567505040f5dde4a9a81d09c5a1d1459eb0bfa2c3e4939d4b6b80c0a9d30ddc [INFO] running `Command { std: "docker" "start" "-a" "d567505040f5dde4a9a81d09c5a1d1459eb0bfa2c3e4939d4b6b80c0a9d30ddc", kill_on_drop: false }` [INFO] [stderr] Compiling the-game-backend v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Reply` [INFO] [stdout] --> src/main.rs:6:84 [INFO] [stdout] | [INFO] [stdout] 6 | use warp::{header, http::Response, hyper::body::Bytes, reply::with_header, Filter, Reply}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EventKind` and `Event` [INFO] [stdout] --> src/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use event::{Event, EventKind}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:71:15 [INFO] [stdout] | [INFO] [stdout] 71 | .map(|state: State| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:85:15 [INFO] [stdout] | [INFO] [stdout] 85 | .map(|state: State, session_id: Uuid| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:107:14 [INFO] [stdout] | [INFO] [stdout] 107 | |state: State, session_id: Uuid, client_id: Uuid, msg: String| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/main.rs:107:28 [INFO] [stdout] | [INFO] [stdout] 107 | |state: State, session_id: Uuid, client_id: Uuid, msg: String| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `client_id` [INFO] [stdout] --> src/main.rs:107:46 [INFO] [stdout] | [INFO] [stdout] 107 | |state: State, session_id: Uuid, client_id: Uuid, msg: String| { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/main.rs:118:15 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|state: State, session_id: Uuid| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `session_id` [INFO] [stdout] --> src/main.rs:118:29 [INFO] [stdout] | [INFO] [stdout] 118 | .map(|state: State, session_id: Uuid| { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `games` is never read [INFO] [stdout] --> src/main.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 24 | struct StateRaw { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] 25 | games: HashMap, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StateRaw` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Gathering` and `Running` are never constructed [INFO] [stdout] --> src/thegame.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Game { [INFO] [stdout] | ---- variants in this enum [INFO] [stdout] 5 | Gathering(GameGathering), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 6 | Running(GameRunning), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `begin` are never used [INFO] [stdout] --> src/thegame.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Game { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 14 | pub fn begin(self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/thegame.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl GameGathering { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `id` is never read [INFO] [stdout] --> src/thegame.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct GameRunning { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 38 | id: GameID, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `GameRunning` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.41s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "d567505040f5dde4a9a81d09c5a1d1459eb0bfa2c3e4939d4b6b80c0a9d30ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d567505040f5dde4a9a81d09c5a1d1459eb0bfa2c3e4939d4b6b80c0a9d30ddc", kill_on_drop: false }` [INFO] [stdout] d567505040f5dde4a9a81d09c5a1d1459eb0bfa2c3e4939d4b6b80c0a9d30ddc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 624d361da872c8f3db8b32f1cba03fceb79c877c3ffb2f6c972b98b60f2d6bfe [INFO] running `Command { std: "docker" "start" "-a" "624d361da872c8f3db8b32f1cba03fceb79c877c3ffb2f6c972b98b60f2d6bfe", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Reply` [INFO] [stderr] --> src/main.rs:6:84 [INFO] [stderr] | [INFO] [stderr] 6 | use warp::{header, http::Response, hyper::body::Bytes, reply::with_header, Filter, Reply}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused imports: `EventKind` and `Event` [INFO] [stderr] --> src/main.rs:13:13 [INFO] [stderr] | [INFO] [stderr] 13 | use event::{Event, EventKind}; [INFO] [stderr] | ^^^^^ ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/main.rs:71:15 [INFO] [stderr] | [INFO] [stderr] 71 | .map(|state: State| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/main.rs:85:15 [INFO] [stderr] | [INFO] [stderr] 85 | .map(|state: State, session_id: Uuid| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/main.rs:107:14 [INFO] [stderr] | [INFO] [stderr] 107 | |state: State, session_id: Uuid, client_id: Uuid, msg: String| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `session_id` [INFO] [stderr] --> src/main.rs:107:28 [INFO] [stderr] | [INFO] [stderr] 107 | |state: State, session_id: Uuid, client_id: Uuid, msg: String| { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `client_id` [INFO] [stderr] --> src/main.rs:107:46 [INFO] [stderr] | [INFO] [stderr] 107 | |state: State, session_id: Uuid, client_id: Uuid, msg: String| { [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_client_id` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `state` [INFO] [stderr] --> src/main.rs:118:15 [INFO] [stderr] | [INFO] [stderr] 118 | .map(|state: State, session_id: Uuid| { [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `session_id` [INFO] [stderr] --> src/main.rs:118:29 [INFO] [stderr] | [INFO] [stderr] 118 | .map(|state: State, session_id: Uuid| { [INFO] [stderr] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_session_id` [INFO] [stderr] [INFO] [stderr] warning: field `games` is never read [INFO] [stderr] --> src/main.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 24 | struct StateRaw { [INFO] [stderr] | -------- field in this struct [INFO] [stderr] 25 | games: HashMap, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `StateRaw` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variants `Gathering` and `Running` are never constructed [INFO] [stderr] --> src/thegame.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub enum Game { [INFO] [stderr] | ---- variants in this enum [INFO] [stderr] 5 | Gathering(GameGathering), [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 6 | Running(GameRunning), [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Game` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `begin` are never used [INFO] [stderr] --> src/thegame.rs:10:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl Game { [INFO] [stderr] | --------- associated items in this implementation [INFO] [stderr] 10 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] ... [INFO] [stderr] 14 | pub fn begin(self) -> Self { [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/thegame.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 28 | impl GameGathering { [INFO] [stderr] | ------------------ associated function in this implementation [INFO] [stderr] 29 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `id` is never read [INFO] [stderr] --> src/thegame.rs:38:5 [INFO] [stderr] | [INFO] [stderr] 37 | pub struct GameRunning { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] 38 | id: GameID, [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = note: `GameRunning` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: `the-game-backend` (bin "the-game-backend" test) generated 14 warnings (run `cargo fix --bin "the-game-backend" --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: buf_redux v0.8.4, multipart v0.18.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/the_game_backend-4c67e550470e7c1b) [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" "624d361da872c8f3db8b32f1cba03fceb79c877c3ffb2f6c972b98b60f2d6bfe", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "624d361da872c8f3db8b32f1cba03fceb79c877c3ffb2f6c972b98b60f2d6bfe", kill_on_drop: false }` [INFO] [stdout] 624d361da872c8f3db8b32f1cba03fceb79c877c3ffb2f6c972b98b60f2d6bfe