[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] testing nthieu173/disastle-rust against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnthieu173%2Fdisastle-rust" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/nthieu173/disastle-rust on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "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-7/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" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cc2640091f23a95da47e01f56ce405c2872f6d08d04502176454a9ffcdefb8a9 [INFO] running `Command { std: "docker" "start" "-a" "cc2640091f23a95da47e01f56ce405c2872f6d08d04502176454a9ffcdefb8a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc2640091f23a95da47e01f56ce405c2872f6d08d04502176454a9ffcdefb8a9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc2640091f23a95da47e01f56ce405c2872f6d08d04502176454a9ffcdefb8a9", kill_on_drop: false }` [INFO] [stdout] cc2640091f23a95da47e01f56ce405c2872f6d08d04502176454a9ffcdefb8a9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "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] 3744851aff8a145440722e9fdd6bbcdd713b467a60ded8188f7d7c2f0edfc12a [INFO] running `Command { std: "docker" "start" "-a" "3744851aff8a145440722e9fdd6bbcdd713b467a60ded8188f7d7c2f0edfc12a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.10 [INFO] [stderr] Compiling syn v1.0.18 [INFO] [stderr] Compiling serde v1.0.106 [INFO] [stderr] Compiling cc v1.0.52 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling failure_derive v0.1.7 [INFO] [stderr] Compiling memoffset v0.5.4 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling lambda_runtime_core v0.1.2 [INFO] [stderr] Compiling base64 v0.9.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling quote v1.0.3 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.33 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling backtrace-sys v0.1.36 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling mio v0.6.21 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling backtrace v0.3.46 [INFO] [stderr] Compiling mio-uds v0.6.7 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling lambda_runtime_errors_derive v0.1.1 [INFO] [stderr] Compiling serde_derive v1.0.106 [INFO] [stderr] Compiling failure v0.1.7 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling serde_json v1.0.52 [INFO] [stderr] Compiling chrono v0.4.11 [INFO] [stderr] Compiling petgraph v0.5.0 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling tokio-codec v0.1.2 [INFO] [stderr] Compiling tokio-fs v0.1.7 [INFO] [stderr] Compiling lambda_runtime_errors v0.1.1 [INFO] [stderr] Compiling aws_lambda_events v0.2.7 [INFO] [stderr] Compiling tokio-uds v0.2.6 [INFO] [stderr] Compiling tokio-udp v0.1.6 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling lambda_runtime_client v0.2.2 [INFO] [stderr] Compiling lambda_runtime v0.2.1 [INFO] [stderr] Compiling 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] error[E0277]: the trait bound `game::GameEnd: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 37 | End(GameEnd), [INFO] [stdout] | ^^^^^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `game::GameEnd` [INFO] [stdout] | [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::VariantAccess::newtype_variant` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `game::player::PlayerState: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | players: HashMap, [INFO] [stdout] | ^^^^^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `game::player::PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::collections::HashMap` [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn disaster::Disaster: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | disasters: Vec>, [INFO] [stdout] | ^^^^^^^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `dyn disaster::Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::boxed::Box` [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::vec::Vec>` [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn disaster::Disaster: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | locked_disasters: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `dyn disaster::Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::boxed::Box` [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::vec::Vec>` [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::thread::ThreadRng: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | rng: ThreadRng, [INFO] [stdout] | ^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `rand::rngs::thread::ThreadRng` [INFO] [stdout] | [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `game::player::PlayerState: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | players: HashMap, [INFO] [stdout] | ^^^^^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `game::player::PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::collections::HashMap` [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn disaster::Disaster: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | disasters: Vec>, [INFO] [stdout] | ^^^^^^^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `dyn disaster::Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::boxed::Box` [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::vec::Vec>` [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn disaster::Disaster: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 48 | locked_disasters: Vec>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `dyn disaster::Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::boxed::Box` [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::vec::Vec>` [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::thread::ThreadRng: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | rng: ThreadRng, [INFO] [stdout] | ^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `rand::rngs::thread::ThreadRng` [INFO] [stdout] | [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `game::TurnIterator: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | turn: TurnIterator, [INFO] [stdout] | ^^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `game::TurnIterator` [INFO] [stdout] | [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `game::player::PlayerState: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub players: HashMap, [INFO] [stdout] | ^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `game::player::PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::collections::HashMap` [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `game::Card: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | deck: Vec, [INFO] [stdout] | ^^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `game::Card` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::vec::Vec` [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn disaster::Disaster: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::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 `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `dyn disaster::Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::boxed::Box` [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::vec::Vec>` [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::thread::ThreadRng: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | rng: ThreadRng, [INFO] [stdout] | ^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `rand::rngs::thread::ThreadRng` [INFO] [stdout] | [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::SeqAccess::next_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `game::TurnIterator: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | turn: TurnIterator, [INFO] [stdout] | ^^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `game::TurnIterator` [INFO] [stdout] | [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `game::player::PlayerState: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:55:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub players: HashMap, [INFO] [stdout] | ^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `game::player::PlayerState` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::collections::HashMap` [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `game::Card: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 56 | deck: Vec, [INFO] [stdout] | ^^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `game::Card` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::vec::Vec` [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `dyn disaster::Disaster: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::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 `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `dyn disaster::Disaster` [INFO] [stdout] | [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::boxed::Box` [INFO] [stdout] = note: required because of the requirements on the impl of `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` for `std::vec::Vec>` [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::MapAccess::next_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `rand::rngs::thread::ThreadRng: _IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not satisfied [INFO] [stdout] --> src/game/mod.rs:62:5 [INFO] [stdout] | [INFO] [stdout] 62 | rng: ThreadRng, [INFO] [stdout] | ^^^ the trait `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::Deserialize<'_>` is not implemented for `rand::rngs::thread::ThreadRng` [INFO] [stdout] | [INFO] [stdout] = note: required by `_IMPL_DESERIALIZE_FOR_JoinGameEvent::_serde::de::MapAccess::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 `&game::GameLobby`, found struct `game::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 `game::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 `game::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 `game::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 `game::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 `game::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 `game::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 `game::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 `game::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 `game::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] running `Command { std: "docker" "inspect" "3744851aff8a145440722e9fdd6bbcdd713b467a60ded8188f7d7c2f0edfc12a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3744851aff8a145440722e9fdd6bbcdd713b467a60ded8188f7d7c2f0edfc12a", kill_on_drop: false }` [INFO] [stdout] 3744851aff8a145440722e9fdd6bbcdd713b467a60ded8188f7d7c2f0edfc12a