[INFO] cloning repository https://github.com/nthieu173/disastle-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/nthieu173/disastle-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthieu173%2Fdisastle-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthieu173%2Fdisastle-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fa84080b01115da62a3721cd9c5e2480b64f7dae [INFO] checking nthieu173/disastle-rust against beta for pr-78714 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthieu173%2Fdisastle-rust" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nthieu173/disastle-rust on toolchain beta [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/nthieu173/disastle-rust [INFO] finished tweaking git repo https://github.com/nthieu173/disastle-rust [INFO] tweaked toml for git repo https://github.com/nthieu173/disastle-rust written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/nthieu173/disastle-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1f1d30843fc01c66377490787b569cca3d5308e12d40a0688a01bdc5573c9f9c [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" "1f1d30843fc01c66377490787b569cca3d5308e12d40a0688a01bdc5573c9f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1f1d30843fc01c66377490787b569cca3d5308e12d40a0688a01bdc5573c9f9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f1d30843fc01c66377490787b569cca3d5308e12d40a0688a01bdc5573c9f9c", kill_on_drop: false }` [INFO] [stdout] 1f1d30843fc01c66377490787b569cca3d5308e12d40a0688a01bdc5573c9f9c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "rustops/crates-build-env@sha256:6eabd152ff4036248d66efda456a36cb33d24b7291b33f25f75140726c88da35" "/opt/rustwide/cargo-home/bin/cargo" "+beta" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 01d6073e0d8cd0dbd8ec660572187a552ff5a148d0ea380650d849c07719cd3f [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" "01d6073e0d8cd0dbd8ec660572187a552ff5a148d0ea380650d849c07719cd3f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking fixedbitset v0.2.0 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling lambda_runtime_errors_derive v0.1.1 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Checking backtrace v0.3.46 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Checking failure v0.1.7 [INFO] [stderr] Checking serde v1.0.106 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking serde_json v1.0.52 [INFO] [stderr] Checking chrono v0.4.11 [INFO] [stderr] Checking petgraph v0.5.0 [INFO] [stderr] Checking tokio-io v0.1.13 [INFO] [stderr] Checking http v0.1.21 [INFO] [stderr] Checking string v0.2.1 [INFO] [stderr] Checking tokio-buf v0.1.1 [INFO] [stderr] Checking tokio-reactor v0.1.12 [INFO] [stderr] Checking tokio-codec v0.1.2 [INFO] [stderr] Checking tokio-fs v0.1.7 [INFO] [stderr] Checking lambda_runtime_errors v0.1.1 [INFO] [stderr] Checking aws_lambda_events v0.2.7 [INFO] [stderr] Checking tokio-uds v0.2.6 [INFO] [stderr] Checking tokio-tcp v0.1.4 [INFO] [stderr] Checking tokio-udp v0.1.6 [INFO] [stderr] Checking tokio v0.1.22 [INFO] [stderr] Checking h2 v0.1.26 [INFO] [stderr] Checking http-body v0.1.0 [INFO] [stderr] Checking hyper v0.12.35 [INFO] [stderr] Checking lambda_runtime_client v0.2.2 [INFO] [stderr] Checking lambda_runtime_core v0.1.2 [INFO] [stderr] Checking lambda_runtime v0.2.1 [INFO] [stderr] Checking disastle-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Castle` [INFO] [stdout] --> src/server/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | castle::{room::Room, Castle}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Castle` [INFO] [stdout] --> src/server/mod.rs:5:26 [INFO] [stdout] | [INFO] [stdout] 5 | castle::{room::Room, Castle}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `GameEnd: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | End(GameEnd), [INFO] [stdout] | ^^^^^^^ the trait `Deserialize<'_>` is not implemented for `GameEnd` [INFO] [stdout] | [INFO] [stdout] = note: required by `newtype_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PlayerState: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | players: HashMap, [INFO] [stdout] | ^^^^^^^ the trait `Deserialize<'_>` is not implemented for `PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `HashMap` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Disaster: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | disasters: Vec>, [INFO] [stdout] | ^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `dyn Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Disaster: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | locked_disasters: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `dyn Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ThreadRng: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | rng: ThreadRng, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `ThreadRng` [INFO] [stdout] | [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PlayerState: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | players: HashMap, [INFO] [stdout] | ^^^^^^^ the trait `Deserialize<'_>` is not implemented for `PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `HashMap` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Disaster: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | disasters: Vec>, [INFO] [stdout] | ^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `dyn Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Disaster: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | locked_disasters: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `dyn Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ThreadRng: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | rng: ThreadRng, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `ThreadRng` [INFO] [stdout] | [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `GameEnd: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | End(GameEnd), [INFO] [stdout] | ^^^^^^^ the trait `Deserialize<'_>` is not implemented for `GameEnd` [INFO] [stdout] | [INFO] [stdout] = note: required by `newtype_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TurnIterator: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | turn: TurnIterator, [INFO] [stdout] | ^^^^ the trait `Deserialize<'_>` is not implemented for `TurnIterator` [INFO] [stdout] | [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PlayerState: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub players: HashMap, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `HashMap` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PlayerState: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | players: HashMap, [INFO] [stdout] | ^^^^^^^ the trait `Deserialize<'_>` is not implemented for `PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `HashMap` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Card: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | deck: Vec, [INFO] [stdout] | ^^^^ the trait `Deserialize<'_>` is not implemented for `Card` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Disaster: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub previous_disasters: Vec>, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `dyn Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ThreadRng: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | rng: ThreadRng, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `ThreadRng` [INFO] [stdout] | [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Disaster: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | disasters: Vec>, [INFO] [stdout] | ^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `dyn Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Disaster: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | locked_disasters: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `dyn Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TurnIterator: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | turn: TurnIterator, [INFO] [stdout] | ^^^^ the trait `Deserialize<'_>` is not implemented for `TurnIterator` [INFO] [stdout] | [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ThreadRng: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | rng: ThreadRng, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `ThreadRng` [INFO] [stdout] | [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PlayerState: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub players: HashMap, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `HashMap` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PlayerState: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | players: HashMap, [INFO] [stdout] | ^^^^^^^ the trait `Deserialize<'_>` is not implemented for `PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `HashMap` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Card: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | deck: Vec, [INFO] [stdout] | ^^^^ the trait `Deserialize<'_>` is not implemented for `Card` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Disaster: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | disasters: Vec>, [INFO] [stdout] | ^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `dyn Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Disaster: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | locked_disasters: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `Deserialize<'_>` is not implemented for `dyn Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Disaster: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub previous_disasters: Vec>, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `dyn Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ThreadRng: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | rng: ThreadRng, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `ThreadRng` [INFO] [stdout] | [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TurnIterator: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | turn: TurnIterator, [INFO] [stdout] | ^^^^ the trait `Deserialize<'_>` is not implemented for `TurnIterator` [INFO] [stdout] | [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ThreadRng: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | rng: ThreadRng, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `ThreadRng` [INFO] [stdout] | [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PlayerState: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub players: HashMap, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `HashMap` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Card: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | deck: Vec, [INFO] [stdout] | ^^^^ the trait `Deserialize<'_>` is not implemented for `Card` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Disaster: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub previous_disasters: Vec>, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `dyn Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>` [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ThreadRng: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | rng: ThreadRng, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `ThreadRng` [INFO] [stdout] | [INFO] [stdout] = note: required by `next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `TurnIterator: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | turn: TurnIterator, [INFO] [stdout] | ^^^^ the trait `Deserialize<'_>` is not implemented for `TurnIterator` [INFO] [stdout] | [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `PlayerState: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub players: HashMap, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `HashMap` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Card: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | deck: Vec, [INFO] [stdout] | ^^^^ the trait `Deserialize<'_>` is not implemented for `Card` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn Disaster: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | pub previous_disasters: Vec>, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `dyn Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Box` [INFO] [stdout] = note: required because of the requirements on the impl of `Deserialize<'_>` for `Vec>` [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ThreadRng: Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | rng: ThreadRng, [INFO] [stdout] | ^^^ the trait `Deserialize<'_>` is not implemented for `ThreadRng` [INFO] [stdout] | [INFO] [stdout] = note: required by `next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | return Some(lobby); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&GameLobby`, found struct `GameLobby` [INFO] [stdout] | help: consider borrowing here: `&lobby` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if let GameState::Lobby(lobby) = game { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ---- this expression has type `&mut std::string::String` [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | if let GameState::Play(play) = game { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ---- this expression has type `&std::string::String` [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | if let GameState::Play(play) = game { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ---- this expression has type `&mut std::string::String` [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 66 | match game { [INFO] [stdout] | ---- this expression has type `&std::string::String` [INFO] [stdout] 67 | GameState::Lobby(lobby) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 66 | match game { [INFO] [stdout] | ---- this expression has type `&std::string::String` [INFO] [stdout] ... [INFO] [stdout] 93 | GameState::Play(play) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 66 | match game { [INFO] [stdout] | ---- this expression has type `&std::string::String` [INFO] [stdout] ... [INFO] [stdout] 119 | GameState::End(end) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | return Some(lobby); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected `&GameLobby`, found struct `GameLobby` [INFO] [stdout] | help: consider borrowing here: `&lobby` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:37:20 [INFO] [stdout] | [INFO] [stdout] 37 | if let GameState::Lobby(lobby) = game { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ---- this expression has type `&mut std::string::String` [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | if let GameState::Play(play) = game { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ---- this expression has type `&std::string::String` [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:53:20 [INFO] [stdout] | [INFO] [stdout] 53 | if let GameState::Play(play) = game { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ---- this expression has type `&mut std::string::String` [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:67:25 [INFO] [stdout] | [INFO] [stdout] 66 | match game { [INFO] [stdout] | ---- this expression has type `&std::string::String` [INFO] [stdout] 67 | GameState::Lobby(lobby) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:93:25 [INFO] [stdout] | [INFO] [stdout] 66 | match game { [INFO] [stdout] | ---- this expression has type `&std::string::String` [INFO] [stdout] ... [INFO] [stdout] 93 | GameState::Play(play) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:119:25 [INFO] [stdout] | [INFO] [stdout] 66 | match game { [INFO] [stdout] | ---- this expression has type `&std::string::String` [INFO] [stdout] ... [INFO] [stdout] 119 | GameState::End(end) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:135:41 [INFO] [stdout] | [INFO] [stdout] 135 | self.storage.insert(id, GameState::Lobby(lobby)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | if let GameState::Lobby(lobby) = game { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ---- this expression has type `&mut std::string::String` [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:135:41 [INFO] [stdout] | [INFO] [stdout] 135 | self.storage.insert(id, GameState::Lobby(lobby)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:157:28 [INFO] [stdout] | [INFO] [stdout] 157 | if let GameState::Lobby(lobby) = game { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ ---- this expression has type `&mut std::string::String` [INFO] [stdout] | | [INFO] [stdout] | expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:159:37 [INFO] [stdout] | [INFO] [stdout] 159 | ... *game = GameState::Play(lobby.start_game()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server/mod.rs:159:37 [INFO] [stdout] | [INFO] [stdout] 159 | ... *game = GameState::Play(lobby.start_game()?); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `std::string::String`, found enum `GameState` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 29 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `disastle-rust` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 29 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "01d6073e0d8cd0dbd8ec660572187a552ff5a148d0ea380650d849c07719cd3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "01d6073e0d8cd0dbd8ec660572187a552ff5a148d0ea380650d849c07719cd3f", kill_on_drop: false }` [INFO] [stdout] 01d6073e0d8cd0dbd8ec660572187a552ff5a148d0ea380650d849c07719cd3f