[INFO] cloning repository https://github.com/zrneely/onitama [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zrneely/onitama" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzrneely%2Fonitama", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzrneely%2Fonitama'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b5933f8740612be54cfd0751fc5fca09b1ebc112 [INFO] checking zrneely/onitama against master#6526e5c772f2da07db745c94ca6bb0a591a39ba4 for pr-80920 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzrneely%2Fonitama" "/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/zrneely/onitama on toolchain 6526e5c772f2da07db745c94ca6bb0a591a39ba4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zrneely/onitama [INFO] removed path dependency wamp_async from git repo https://github.com/zrneely/onitama [INFO] finished tweaking git repo https://github.com/zrneely/onitama [INFO] tweaked toml for git repo https://github.com/zrneely/onitama written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/zrneely/onitama already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (wamp_async) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-7/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (wamp_async) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [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" "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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "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] 3b73363854e370f9d6a3f724bdf369d30841539f24a44804edea258a02fe5314 [INFO] running `Command { std: "docker" "start" "-a" "3b73363854e370f9d6a3f724bdf369d30841539f24a44804edea258a02fe5314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b73363854e370f9d6a3f724bdf369d30841539f24a44804edea258a02fe5314", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b73363854e370f9d6a3f724bdf369d30841539f24a44804edea258a02fe5314", kill_on_drop: false }` [INFO] [stdout] 3b73363854e370f9d6a3f724bdf369d30841539f24a44804edea258a02fe5314 [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" "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:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+6526e5c772f2da07db745c94ca6bb0a591a39ba4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f28dba391d170f7f491d131eed7285c7fc186a8bc61e7878daea85a3426a9027 [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" "f28dba391d170f7f491d131eed7285c7fc186a8bc61e7878daea85a3426a9027", kill_on_drop: false }` [INFO] [stderr] warning: dependency (wamp_async) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling syn v1.0.58 [INFO] [stderr] Compiling log v0.4.13 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking foreign-types-shared v0.1.1 [INFO] [stderr] Checking futures-sink v0.3.12 [INFO] [stderr] Checking once_cell v1.5.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling httparse v1.3.4 [INFO] [stderr] Checking futures-io v0.3.12 [INFO] [stderr] Checking byteorder v1.4.2 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking utf-8 v0.7.5 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking regex-syntax v0.6.22 [INFO] [stderr] Checking quick-error v1.2.3 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking pin-project-lite v0.1.11 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling tokio v1.0.2 [INFO] [stderr] Checking thread_local v1.1.0 [INFO] [stderr] Checking input_buffer v0.4.0 [INFO] [stderr] Checking http v0.2.3 [INFO] [stderr] Checking foreign-types v0.3.2 [INFO] [stderr] Checking futures-channel v0.3.12 [INFO] [stderr] Checking form_urlencoded v1.0.0 [INFO] [stderr] Checking futures-task v0.3.12 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking humantime v1.3.0 [INFO] [stderr] Checking getrandom v0.2.1 [INFO] [stderr] Checking net2 v0.2.37 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking time v0.1.43 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking idna v0.2.0 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_core v0.6.1 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking mio v0.7.7 [INFO] [stderr] Checking mio v0.6.23 [INFO] [stderr] Checking rand_chacha v0.3.0 [INFO] [stderr] Checking rand v0.8.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Checking rand v0.3.23 [INFO] [stderr] Checking url v2.2.0 [INFO] [stderr] Checking rmp v0.8.9 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Checking tokio v0.2.24 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.2 [INFO] [stderr] Checking regex v1.4.3 [INFO] [stderr] Checking env_logger v0.7.1 [INFO] [stderr] Checking tungstenite v0.12.0 [INFO] [stderr] Compiling serde_derive v1.0.119 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling tokio-macros v1.0.0 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling strum_macros v0.20.1 [INFO] [stderr] Compiling async-trait v0.1.42 [INFO] [stderr] Checking futures-util v0.3.12 [INFO] [stderr] Checking strum v0.20.0 [INFO] [stderr] Checking pin-project v1.0.4 [INFO] [stderr] Checking tokio-native-tls v0.3.0 [INFO] [stderr] Checking serde v1.0.119 [INFO] [stderr] Checking futures-executor v0.3.12 [INFO] [stderr] Checking tokio-tungstenite v0.13.0 [INFO] [stderr] Checking futures v0.3.12 [INFO] [stderr] Checking rmp-serde v0.14.4 [INFO] [stderr] Checking serde_json v1.0.61 [INFO] [stderr] Checking uuid v0.8.2 [INFO] [stderr] Checking chrono v0.4.19 [INFO] [stderr] Checking wamp_async v0.3.0 [INFO] [stderr] Checking onitama v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/main.rs:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `main` in `tokio` [INFO] [stdout] --> src/main.rs:199:10 [INFO] [stdout] | [INFO] [stdout] 199 | #[tokio::main] [INFO] [stdout] | ^^^^ could not find `main` in `tokio` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | args: None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:144:23 [INFO] [stdout] | [INFO] [stdout] 144 | args: None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | kwargs: Some(kwargs), [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `ClientConfig` in the current scope [INFO] [stdout] --> src/main.rs:216:39 [INFO] [stdout] | [INFO] [stdout] 216 | wamp_async::ClientConfig::new().set_serializers(vec![wamp_async::SerializerType::Json]), [INFO] [stdout] | ^^^ function or associated item not found in `ClientConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `event_loop` found for tuple `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` in the current scope [INFO] [stdout] --> src/main.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | .event_loop() [INFO] [stdout] | ^^^^^^^^^^ method not found in `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `join_realm` found for tuple `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` in the current scope [INFO] [stdout] --> src/main.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | .join_realm(WAMP_REALM) [INFO] [stdout] | ^^^^^^^^^^ method not found in `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `register` found for tuple `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` in the current scope [INFO] [stdout] --> src/util.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | Box::pin($client.register($name, $fn)) [INFO] [stdout] | ^^^^^^^^ method not found in `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | / rpc_register!(client, { [INFO] [stdout] 275 | | "ontm.new_game" => server::make_game, [INFO] [stdout] 276 | | "ontm.move" => server::make_move, [INFO] [stdout] 277 | | "ontm.join" => server::join_game, [INFO] [stdout] ... | [INFO] [stdout] 280 | | "ontm.resign" => server::resign_game, [INFO] [stdout] 281 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:145:25 [INFO] [stdout] | [INFO] [stdout] 145 | kwargs: Some(kwargs), [INFO] [stdout] | ^^^^^^^^^^^^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `publish` found for tuple `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` in the current scope [INFO] [stdout] --> src/main.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | .publish(msg.topic, msg.args, msg.kwargs, false) [INFO] [stdout] | ^^^^^^^ method not found in `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `ClientConfig` in the current scope [INFO] [stdout] --> src/main.rs:216:39 [INFO] [stdout] | [INFO] [stdout] 216 | wamp_async::ClientConfig::new().set_serializers(vec![wamp_async::SerializerType::Json]), [INFO] [stdout] | ^^^ function or associated item not found in `ClientConfig` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `event_loop` found for tuple `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` in the current scope [INFO] [stdout] --> src/main.rs:223:10 [INFO] [stdout] | [INFO] [stdout] 223 | .event_loop() [INFO] [stdout] | ^^^^^^^^^^ method not found in `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for struct `serde_json::Map` in the current scope [INFO] [stdout] --> src/util.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let args = $arglist.ok_or_else(|| [INFO] [stdout] | ^^^^^^^^^^ method not found in `serde_json::Map` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / wamp_kwargs!(kwargs, { [INFO] [stdout] 20 | | player_name: String, // The name of the player [INFO] [stdout] 21 | | }); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `join_realm` found for tuple `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` in the current scope [INFO] [stdout] --> src/main.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | .join_realm(WAMP_REALM) [INFO] [stdout] | ^^^^^^^^^^ method not found in `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `register` found for tuple `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` in the current scope [INFO] [stdout] --> src/util.rs:57:42 [INFO] [stdout] | [INFO] [stdout] 57 | Box::pin($client.register($name, $fn)) [INFO] [stdout] | ^^^^^^^^ method not found in `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:274:5 [INFO] [stdout] | [INFO] [stdout] 274 | / rpc_register!(client, { [INFO] [stdout] 275 | | "ontm.new_game" => server::make_game, [INFO] [stdout] 276 | | "ontm.move" => server::make_move, [INFO] [stdout] 277 | | "ontm.join" => server::join_game, [INFO] [stdout] ... | [INFO] [stdout] 280 | | "ontm.resign" => server::resign_game, [INFO] [stdout] 281 | | }) [INFO] [stdout] | |______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `publish` found for tuple `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` in the current scope [INFO] [stdout] --> src/main.rs:291:14 [INFO] [stdout] | [INFO] [stdout] 291 | .publish(msg.topic, msg.args, msg.kwargs, false) [INFO] [stdout] | ^^^^^^^ method not found in `(Client<'_>, (Pin> + std::marker::Send>>, std::option::Option> + std::marker::Send>>>>))` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `main` has invalid return type `impl futures::Future` [INFO] [stdout] --> src/main.rs:200:17 [INFO] [stdout] | [INFO] [stdout] 200 | async fn main() { [INFO] [stdout] | ^ `main` can only return types that implement `Termination` [INFO] [stdout] | [INFO] [stdout] = help: consider using `()`, or a `Result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for struct `serde_json::Map` in the current scope [INFO] [stdout] --> src/util.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let args = $arglist.ok_or_else(|| [INFO] [stdout] | ^^^^^^^^^^ method not found in `serde_json::Map` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | / wamp_kwargs!(kwargs, { [INFO] [stdout] 20 | | player_name: String, // The name of the player [INFO] [stdout] 21 | | }); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | args: None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:40:19 [INFO] [stdout] | [INFO] [stdout] 40 | args: None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | kwargs: Some(STATE.get_open_games()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:41:21 [INFO] [stdout] | [INFO] [stdout] 41 | kwargs: Some(STATE.get_open_games()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / Some(wamp_dict! { [INFO] [stdout] 48 | | "assigned_color" => who, // The player's color [INFO] [stdout] 49 | | "game_id" => game_id, // A unique game ID [INFO] [stdout] 50 | | "token" => auth_token, // The player's auth token [INFO] [stdout] 51 | | }), [INFO] [stdout] | |__________^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for struct `serde_json::Map` in the current scope [INFO] [stdout] --> src/util.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let args = $arglist.ok_or_else(|| [INFO] [stdout] | ^^^^^^^^^^ method not found in `serde_json::Map` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / wamp_kwargs!(kwargs, { [INFO] [stdout] 62 | | game_id: GameId, // The ID of the game being changed [INFO] [stdout] 63 | | who: Player, // The player making the move [INFO] [stdout] 64 | | auth: AuthToken, // The auth token for the player making the move [INFO] [stdout] 65 | | }); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | args: None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | / Some(wamp_dict! { [INFO] [stdout] 48 | | "assigned_color" => who, // The player's color [INFO] [stdout] 49 | | "game_id" => game_id, // A unique game ID [INFO] [stdout] 50 | | "token" => auth_token, // The player's auth token [INFO] [stdout] 51 | | }), [INFO] [stdout] | |__________^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for struct `serde_json::Map` in the current scope [INFO] [stdout] --> src/util.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let args = $arglist.ok_or_else(|| [INFO] [stdout] | ^^^^^^^^^^ method not found in `serde_json::Map` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | / wamp_kwargs!(kwargs, { [INFO] [stdout] 62 | | game_id: GameId, // The ID of the game being changed [INFO] [stdout] 63 | | who: Player, // The player making the move [INFO] [stdout] 64 | | auth: AuthToken, // The auth token for the player making the move [INFO] [stdout] 65 | | }); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | kwargs: Some(wamp_dict! { [INFO] [stdout] | _____________________^ [INFO] [stdout] 81 | | "message" => ChatMessage { [INFO] [stdout] 82 | | player: None, [INFO] [stdout] 83 | | time: Utc::now(), [INFO] [stdout] 84 | | text: format!("{} resigns", who), [INFO] [stdout] 85 | | }, [INFO] [stdout] 86 | | }), [INFO] [stdout] | |______________^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:79:19 [INFO] [stdout] | [INFO] [stdout] 79 | args: None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:80:21 [INFO] [stdout] | [INFO] [stdout] 80 | kwargs: Some(wamp_dict! { [INFO] [stdout] | _____________________^ [INFO] [stdout] 81 | | "message" => ChatMessage { [INFO] [stdout] 82 | | player: None, [INFO] [stdout] 83 | | time: Utc::now(), [INFO] [stdout] 84 | | text: format!("{} resigns", who), [INFO] [stdout] 85 | | }, [INFO] [stdout] 86 | | }), [INFO] [stdout] | |______________^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | Ok((None, None)) [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:90:9 [INFO] [stdout] | [INFO] [stdout] 90 | Ok((None, None)) [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | Ok((None, None)) [INFO] [stdout] | ^^^^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for struct `serde_json::Map` in the current scope [INFO] [stdout] --> src/util.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let args = $arglist.ok_or_else(|| [INFO] [stdout] | ^^^^^^^^^^ method not found in `serde_json::Map` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / wamp_kwargs!(kwargs, { [INFO] [stdout] 101 | | game_id: GameId, // The ID of the game being changed [INFO] [stdout] 102 | | who: Player, // The player making the move [INFO] [stdout] 103 | | auth: AuthToken, // The auth token for the player making the move [INFO] [stdout] ... | [INFO] [stdout] 107 | | col: u8, // Which column the source piece is on [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:90:15 [INFO] [stdout] | [INFO] [stdout] 90 | Ok((None, None)) [INFO] [stdout] | ^^^^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for struct `serde_json::Map` in the current scope [INFO] [stdout] --> src/util.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let args = $arglist.ok_or_else(|| [INFO] [stdout] | ^^^^^^^^^^ method not found in `serde_json::Map` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | / wamp_kwargs!(kwargs, { [INFO] [stdout] 101 | | game_id: GameId, // The ID of the game being changed [INFO] [stdout] 102 | | who: Player, // The player making the move [INFO] [stdout] 103 | | auth: AuthToken, // The auth token for the player making the move [INFO] [stdout] ... | [INFO] [stdout] 107 | | col: u8, // Which column the source piece is on [INFO] [stdout] 108 | | }); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | args: None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | args: None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | kwargs: Some(wamp_dict! { [INFO] [stdout] | _________________________^ [INFO] [stdout] 124 | | "message" => ChatMessage { [INFO] [stdout] 125 | | player: None, [INFO] [stdout] 126 | | time: Utc::now(), [INFO] [stdout] 127 | | text: move_summary, [INFO] [stdout] 128 | | }, [INFO] [stdout] 129 | | }), [INFO] [stdout] | |__________________^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:123:25 [INFO] [stdout] | [INFO] [stdout] 123 | kwargs: Some(wamp_dict! { [INFO] [stdout] | _________________________^ [INFO] [stdout] 124 | | "message" => ChatMessage { [INFO] [stdout] 125 | | player: None, [INFO] [stdout] 126 | | time: Utc::now(), [INFO] [stdout] 127 | | text: move_summary, [INFO] [stdout] 128 | | }, [INFO] [stdout] 129 | | }), [INFO] [stdout] | |__________________^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | Ok((None, None)) [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:132:13 [INFO] [stdout] | [INFO] [stdout] 132 | Ok((None, None)) [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | Ok((None, None)) [INFO] [stdout] | ^^^^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for struct `serde_json::Map` in the current scope [INFO] [stdout] --> src/util.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let args = $arglist.ok_or_else(|| [INFO] [stdout] | ^^^^^^^^^^ method not found in `serde_json::Map` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / wamp_kwargs!(kwargs, { [INFO] [stdout] 146 | | player_name: String, // The name of the player [INFO] [stdout] 147 | | game_id: GameId, // The ID of the game to join [INFO] [stdout] 148 | | }); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | Ok((None, None)) [INFO] [stdout] | ^^^^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | args: None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for struct `serde_json::Map` in the current scope [INFO] [stdout] --> src/util.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let args = $arglist.ok_or_else(|| [INFO] [stdout] | ^^^^^^^^^^ method not found in `serde_json::Map` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:145:5 [INFO] [stdout] | [INFO] [stdout] 145 | / wamp_kwargs!(kwargs, { [INFO] [stdout] 146 | | player_name: String, // The name of the player [INFO] [stdout] 147 | | game_id: GameId, // The ID of the game to join [INFO] [stdout] 148 | | }); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | kwargs: Some(STATE.get_open_games()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 181 | args: None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | args: None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:182:21 [INFO] [stdout] | [INFO] [stdout] 182 | kwargs: Some(STATE.get_open_games()?), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | kwargs: Some(wamp_dict! { [INFO] [stdout] | _____________________^ [INFO] [stdout] 194 | | "type" => "playerJoined", [INFO] [stdout] 195 | | "white" => white, [INFO] [stdout] 196 | | "black" => black, [INFO] [stdout] 197 | | }), [INFO] [stdout] | |______________^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | args: None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | / Some(wamp_dict! { [INFO] [stdout] 204 | | "assigned_color" => who, [INFO] [stdout] 205 | | "token" => auth_token, [INFO] [stdout] 206 | | }), [INFO] [stdout] | |__________^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:193:21 [INFO] [stdout] | [INFO] [stdout] 193 | kwargs: Some(wamp_dict! { [INFO] [stdout] | _____________________^ [INFO] [stdout] 194 | | "type" => "playerJoined", [INFO] [stdout] 195 | | "white" => white, [INFO] [stdout] 196 | | "black" => black, [INFO] [stdout] 197 | | }), [INFO] [stdout] | |______________^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | Ok((None, Some(STATE.get_open_games()?))) [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:202:9 [INFO] [stdout] | [INFO] [stdout] 202 | None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | Ok((None, Some(STATE.get_open_games()?))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for struct `serde_json::Map` in the current scope [INFO] [stdout] --> src/util.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let args = $arglist.ok_or_else(|| [INFO] [stdout] | ^^^^^^^^^^ method not found in `serde_json::Map` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / wamp_kwargs!(kwargs, { [INFO] [stdout] 227 | | game_id: GameId, [INFO] [stdout] 228 | | }); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:203:9 [INFO] [stdout] | [INFO] [stdout] 203 | / Some(wamp_dict! { [INFO] [stdout] 204 | | "assigned_color" => who, [INFO] [stdout] 205 | | "token" => auth_token, [INFO] [stdout] 206 | | }), [INFO] [stdout] | |__________^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | Ok((None, Some(STATE.get_open_games()?))) [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | / Some(wamp_dict! { [INFO] [stdout] 244 | | "white" => running_game.names[Player::White], [INFO] [stdout] 245 | | "black" => running_game.names[Player::Black], [INFO] [stdout] 246 | | "state" => running_game.state, [INFO] [stdout] 247 | | }), [INFO] [stdout] | |__________^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `onitama` [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[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | Ok((None, Some(STATE.get_open_games()?))) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `ok_or_else` found for struct `serde_json::Map` in the current scope [INFO] [stdout] --> src/util.rs:30:29 [INFO] [stdout] | [INFO] [stdout] 30 | let args = $arglist.ok_or_else(|| [INFO] [stdout] | ^^^^^^^^^^ method not found in `serde_json::Map` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:226:5 [INFO] [stdout] | [INFO] [stdout] 226 | / wamp_kwargs!(kwargs, { [INFO] [stdout] 227 | | game_id: GameId, [INFO] [stdout] 228 | | }); [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this error originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | None, [INFO] [stdout] | ^^^^ expected struct `Vec`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found enum `std::option::Option<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/server.rs:243:9 [INFO] [stdout] | [INFO] [stdout] 243 | / Some(wamp_dict! { [INFO] [stdout] 244 | | "white" => running_game.names[Player::White], [INFO] [stdout] 245 | | "black" => running_game.names[Player::Black], [INFO] [stdout] 246 | | "state" => running_game.state, [INFO] [stdout] 247 | | }), [INFO] [stdout] | |__________^ expected struct `serde_json::Map`, found enum `std::option::Option` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `serde_json::Map` [INFO] [stdout] found enum `std::option::Option>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0752]: `main` function is not allowed to be `async` [INFO] [stdout] --> src/main.rs:200:1 [INFO] [stdout] | [INFO] [stdout] 200 | async fn main() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ `main` function is not allowed to be `async` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 37 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0433, E0599, E0752. [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" "f28dba391d170f7f491d131eed7285c7fc186a8bc61e7878daea85a3426a9027", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f28dba391d170f7f491d131eed7285c7fc186a8bc61e7878daea85a3426a9027", kill_on_drop: false }` [INFO] [stdout] f28dba391d170f7f491d131eed7285c7fc186a8bc61e7878daea85a3426a9027