[INFO] cloning repository https://github.com/AarambhDevHub/wsforge
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AarambhDevHub/wsforge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAarambhDevHub%2Fwsforge", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAarambhDevHub%2Fwsforge'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b034c466ed3a8e4874ea60d97a074993a65ea279
[INFO] testing AarambhDevHub/wsforge against try#db823df02fd0c2cf67b43025ac3fef3f2d743245 for pr-150681
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAarambhDevHub%2Fwsforge" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/AarambhDevHub/wsforge
[INFO] finished tweaking git repo https://github.com/AarambhDevHub/wsforge
[INFO] tweaked toml for git repo https://github.com/AarambhDevHub/wsforge written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/AarambhDevHub/wsforge on toolchain db823df02fd0c2cf67b43025ac3fef3f2d743245
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/AarambhDevHub/wsforge already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] ed9fb364beca5f7d4e6d6df481f5871c73f28531b488fbba4c5c38ef0e672bee
[INFO] running `Command { std: "docker" "start" "-a" "ed9fb364beca5f7d4e6d6df481f5871c73f28531b488fbba4c5c38ef0e672bee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "ed9fb364beca5f7d4e6d6df481f5871c73f28531b488fbba4c5c38ef0e672bee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ed9fb364beca5f7d4e6d6df481f5871c73f28531b488fbba4c5c38ef0e672bee", kill_on_drop: false }`
[INFO] [stdout] ed9fb364beca5f7d4e6d6df481f5871c73f28531b488fbba4c5c38ef0e672bee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 935f5bbc65b086e920d6663fa7eac5117ce075dc20f8af8e006e194534a26e66
[INFO] running `Command { std: "docker" "start" "-a" "935f5bbc65b086e920d6663fa7eac5117ce075dc20f8af8e006e194534a26e66", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling unicode-ident v1.0.19
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]    Compiling cfg-if v1.0.3
[INFO] [stderr]    Compiling zerocopy v0.8.27
[INFO] [stderr]    Compiling log v0.4.28
[INFO] [stderr]    Compiling tracing-core v0.1.34
[INFO] [stderr]    Compiling generic-array v0.14.9
[INFO] [stderr]    Compiling num-conv v0.1.0
[INFO] [stderr]    Compiling unicase v2.8.1
[INFO] [stderr]    Compiling powerfmt v0.2.0
[INFO] [stderr]    Compiling time-core v0.1.6
[INFO] [stderr]    Compiling signal-hook-registry v1.4.6
[INFO] [stderr]    Compiling socket2 v0.6.1
[INFO] [stderr]    Compiling mio v1.0.4
[INFO] [stderr]    Compiling cookie v0.18.1
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling futures-core v0.3.31
[INFO] [stderr]    Compiling deranged v0.5.4
[INFO] [stderr]    Compiling futures-sink v0.3.31
[INFO] [stderr]    Compiling utf-8 v0.7.6
[INFO] [stderr]    Compiling time-macros v0.2.24
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling mime_guess v2.0.5
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling sharded-slab v0.1.7
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling thread_local v1.1.9
[INFO] [stderr]    Compiling nu-ansi-term v0.50.3
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling tracing-subscriber v0.3.20
[INFO] [stderr]    Compiling sha1 v0.10.6
[INFO] [stderr]    Compiling syn v2.0.106
[INFO] [stderr]    Compiling dashmap v6.1.0
[INFO] [stderr]    Compiling time v0.3.44
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tracing-attributes v0.1.30
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling wsforge-macros v0.1.1 (/opt/rustwide/workdir/wsforge-macros)
[INFO] [stderr]    Compiling futures-util v0.3.31
[INFO] [stderr]    Compiling tokio v1.48.0
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tungstenite v0.24.0
[INFO] [stderr]    Compiling tokio-tungstenite v0.24.0
[INFO] [stderr]    Compiling wsforge-core v0.1.1 (/opt/rustwide/workdir/wsforge-core)
[INFO] [stderr]    Compiling wsforge v0.1.1 (/opt/rustwide/workdir/wsforge)
[INFO] [stderr]    Compiling echo-example v0.1.0 (/opt/rustwide/workdir/examples/echo)
[INFO] [stderr]    Compiling realtime-game-example v0.1.0 (/opt/rustwide/workdir/examples/realtime-game)
[INFO] [stderr]    Compiling chat-example v0.1.1 (/opt/rustwide/workdir/examples/chat)
[INFO] [stderr]    Compiling chat-web-example v0.1.0 (/opt/rustwide/workdir/examples/chat-web)
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 35.64s
[INFO] running `Command { std: "docker" "inspect" "935f5bbc65b086e920d6663fa7eac5117ce075dc20f8af8e006e194534a26e66", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "935f5bbc65b086e920d6663fa7eac5117ce075dc20f8af8e006e194534a26e66", kill_on_drop: false }`
[INFO] [stdout] 935f5bbc65b086e920d6663fa7eac5117ce075dc20f8af8e006e194534a26e66
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 85879da600f460f1b1f963216dbb1f755154256ca4498c6ab494187aaa732720
[INFO] running `Command { std: "docker" "start" "-a" "85879da600f460f1b1f963216dbb1f755154256ca4498c6ab494187aaa732720", kill_on_drop: false }`
[INFO] [stderr]    Compiling wsforge-macros v0.1.1 (/opt/rustwide/workdir/wsforge-macros)
[INFO] [stderr]    Compiling wsforge-core v0.1.1 (/opt/rustwide/workdir/wsforge-core)
[INFO] [stderr]    Compiling wsforge v0.1.1 (/opt/rustwide/workdir/wsforge)
[INFO] [stderr]    Compiling chat-example v0.1.1 (/opt/rustwide/workdir/examples/chat)
[INFO] [stderr]    Compiling chat-web-example v0.1.0 (/opt/rustwide/workdir/examples/chat-web)
[INFO] [stderr]    Compiling echo-example v0.1.0 (/opt/rustwide/workdir/examples/echo)
[INFO] [stderr]    Compiling realtime-game-example v0.1.0 (/opt/rustwide/workdir/examples/realtime-game)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.82s
[INFO] running `Command { std: "docker" "inspect" "85879da600f460f1b1f963216dbb1f755154256ca4498c6ab494187aaa732720", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "85879da600f460f1b1f963216dbb1f755154256ca4498c6ab494187aaa732720", kill_on_drop: false }`
[INFO] [stdout] 85879da600f460f1b1f963216dbb1f755154256ca4498c6ab494187aaa732720
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+db823df02fd0c2cf67b43025ac3fef3f2d743245" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] e6e02b3981fb0041d8917363ca12a6d8f25a78659fd726da34290f991903c155
[INFO] running `Command { std: "docker" "start" "-a" "e6e02b3981fb0041d8917363ca12a6d8f25a78659fd726da34290f991903c155", kill_on_drop: false }`
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.14s
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chat_example-87e87bb00bd07a13)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/chat_web_example-e1cf2869a5894f46)
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/echo_example-97a0e6f0117a8351)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/realtime_game_example-714c89cd027835ca)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wsforge-7f5db64ee2de7f63)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wsforge_core-3994f118a1ee13f4)
[INFO] [stdout] 
[INFO] [stdout] running 30 tests
[INFO] [stdout] test error::tests::test_error_display_formatting ... ok
[INFO] [stdout] test error::tests::test_error_from_io ... ok
[INFO] [stdout] test error::tests::test_result_type_alias ... ok
[INFO] [stdout] test error::tests::test_error_from_json ... ok
[INFO] [stdout] test error::tests::test_handler_error ... ok
[INFO] [stdout] test error::tests::test_route_not_found ... ok
[INFO] [stdout] test message::tests::test_as_bytes ... ok
[INFO] [stdout] test message::tests::test_binary_message ... ok
[INFO] [stdout] test message::tests::test_close_message ... ok
[INFO] [stdout] test error::tests::test_custom_error ... ok
[INFO] [stdout] test handler::tests::test_json_response ... ok
[INFO] [stdout] test handler::tests::test_string_into_response ... ok
[INFO] [stdout] test handler::tests::test_unit_into_response ... ok
[INFO] [stdout] test message::tests::test_ping_message ... ok
[INFO] [stdout] test message::tests::test_pong_message ... ok
[INFO] [stdout] test message::tests::test_text_message ... ok
[INFO] [stdout] test state::tests::test_clone ... ok
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wsforge_macros-4c216581c6ccb8cf)
[INFO] [stdout] test state::tests::test_contains ... ok
[INFO] [stdout] test message::tests::test_tungstenite_conversion ... ok
[INFO] [stdout] test state::tests::test_remove ... ok
[INFO] [stdout] test state::tests::test_len_and_empty ... ok
[INFO] [stdout] test state::tests::test_insert_and_get ... ok
[INFO] [stdout] test state::tests::test_multiple_types ... ok
[INFO] [stdout] test error::tests::test_extractor_error ... ok
[INFO] [stdout] test state::tests::test_replace_value ... ok
[INFO] [stdout] test state::tests::test_clear ... ok
[INFO] [stdout] test state::tests::test_get_nonexistent ... ok
[INFO] [stdout] test error::tests::test_connection_not_found ... ok
[INFO] [stdout] test message::tests::test_json_parsing ... ok
[INFO] [stdout] test handler::tests::test_handler_creation ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 30 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests wsforge
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 12 tests
[INFO] [stdout] test wsforge/src/lib.rs - (line 336) ... FAILED
[INFO] [stdout] test wsforge/src/lib.rs - (line 32) ... FAILED
[INFO] [stdout] test wsforge/src/lib.rs - (line 66) ... FAILED
[INFO] [stdout] test wsforge/src/lib.rs - (line 279) ... FAILED
[INFO] [stdout] test wsforge/src/lib.rs - (line 206) ... FAILED
[INFO] [stdout] test wsforge/src/lib.rs - (line 44) ... FAILED
[INFO] [stdout] test wsforge/src/lib.rs - prelude (line 421) ... FAILED
[INFO] [stdout] test wsforge/src/lib.rs - (line 111) ... FAILED
[INFO] [stdout] test wsforge/src/lib.rs - (line 317) ... ok
[INFO] [stdout] test wsforge/src/lib.rs - (line 142) ... ok
[INFO] [stdout] test wsforge/src/lib.rs - (line 179) ... ok
[INFO] [stdout] test wsforge/src/lib.rs - (line 241) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- wsforge/src/lib.rs - (line 336) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `tokio`
[INFO] [stdout]    --> wsforge/src/lib.rs:339:5
[INFO] [stdout]     |
[INFO] [stdout] 339 | use tokio::signal;
[INFO] [stdout]     |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> wsforge/src/lib.rs:341:3
[INFO] [stdout]     |
[INFO] [stdout] 341 | #[tokio::main]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> wsforge/src/lib.rs:345:5
[INFO] [stdout]     |
[INFO] [stdout] 345 |     tokio::select! {
[INFO] [stdout]     |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> wsforge/src/lib.rs:342:1
[INFO] [stdout]     |
[INFO] [stdout] 342 | async fn main() -> Result<()> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- wsforge/src/lib.rs - (line 32) stdout ----
[INFO] [stdout] error: expected item, found `[`
[INFO] [stdout]   --> wsforge/src/lib.rs:33:1
[INFO] [stdout]    |
[INFO] [stdout] 33 | [dependencies]
[INFO] [stdout]    | ^ expected item
[INFO] [stdout]    |
[INFO] [stdout]    = note: for a full list of items that can appear in modules, see <https://doc.rust-lang.org/reference/items.html>
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- wsforge/src/lib.rs - (line 66) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]   --> wsforge/src/lib.rs:70:5
[INFO] [stdout]    |
[INFO] [stdout] 70 | use serde::{Deserialize, Serialize};
[INFO] [stdout]    |     ^^^^^ use of unresolved module or unlinked crate `serde`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> wsforge/src/lib.rs:92:3
[INFO] [stdout]    |
[INFO] [stdout] 92 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]   --> wsforge/src/lib.rs:86:20
[INFO] [stdout]    |
[INFO] [stdout] 86 |     let response = serde_json::to_string(&msg)?;
[INFO] [stdout]    |                    ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]    |
[INFO] [stdout]    = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn(Json<ChatMessage>, ..., ...) -> ... {chat_handler}: IntoHandler<_>` is not satisfied
[INFO] [stdout]    --> wsforge/src/lib.rs:95:34
[INFO] [stdout]     |
[INFO] [stdout]  95 |         .default_handler(handler(chat_handler))
[INFO] [stdout]     |                          ------- ^^^^^^^^^^^^ the trait `IntoHandler<_>` is not implemented for fn item `fn(Json<ChatMessage>, Connection, State<...>) -> ... {chat_handler}`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `wsforge::handler`
[INFO] [stdout]    --> wsforge-core/src/handler.rs:643:8
[INFO] [stdout]     |
[INFO] [stdout] 641 | pub fn handler<F, T>(f: F) -> Arc<dyn Handler>
[INFO] [stdout]     |        ------- required by a bound in this function
[INFO] [stdout] 642 | where
[INFO] [stdout] 643 |     F: IntoHandler<T>,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^ required by this bound in `handler`
[INFO] [stdout]     = note: the full name for the type has been written to '/tmp/rustdoctestKSviBg/rust_out.long-type-1623621865758204287.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> wsforge/src/lib.rs:93:1
[INFO] [stdout]    |
[INFO] [stdout] 93 | async fn main() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- wsforge/src/lib.rs - (line 279) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> wsforge/src/lib.rs:284:5
[INFO] [stdout]     |
[INFO] [stdout] 284 | use tokio::sync::RwLock;
[INFO] [stdout]     |     ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `tokio`, use `cargo add tokio` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]    --> wsforge/src/lib.rs:285:5
[INFO] [stdout]     |
[INFO] [stdout] 285 | use serde::{Deserialize, Serialize};
[INFO] [stdout]     |     ^^^^^ use of unresolved module or unlinked crate `serde`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]    --> wsforge/src/lib.rs:305:9
[INFO] [stdout]     |
[INFO] [stdout] 305 |     let rooms = room_mgr.rooms.read().await;
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] 306 |     if let Some(members) = rooms.get(&msg.room) {
[INFO] [stdout]     |                            ----- type must be known at this point
[INFO] [stdout]     |
[INFO] [stdout] help: consider giving `rooms` an explicit type
[INFO] [stdout]     |
[INFO] [stdout] 305 |     let rooms: /* Type */ = room_mgr.rooms.read().await;
[INFO] [stdout]     |              ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]    --> wsforge/src/lib.rs:307:20
[INFO] [stdout]     |
[INFO] [stdout] 307 |         let json = serde_json::to_string(&msg)?;
[INFO] [stdout]     |                    ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0432, E0433.
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- wsforge/src/lib.rs - (line 206) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> wsforge/src/lib.rs:226:3
[INFO] [stdout]     |
[INFO] [stdout] 226 | #[tokio::main]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> wsforge/src/lib.rs:231:26
[INFO] [stdout]     |
[INFO] [stdout] 231 |         .default_handler(handler(handler));
[INFO] [stdout]     |                          ^^^^^^^--------- argument #2 of type `wsforge::State<Arc<Config>>` is missing
[INFO] [stdout]     |
[INFO] [stdout] note: expected `State<Arc<Database>>`, found fn item
[INFO] [stdout]    --> wsforge/src/lib.rs:231:34
[INFO] [stdout]     |
[INFO] [stdout] 231 |         .default_handler(handler(handler));
[INFO] [stdout]     |                                  ^^^^^^^
[INFO] [stdout]     = note: expected struct `wsforge::State<Arc<Database>>`
[INFO] [stdout]               found fn item `fn(wsforge::State<Arc<Database>>, wsforge::State<Arc<Config>>) -> impl Future<Output = std::result::Result<String, wsforge::Error>> {handler}`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> wsforge/src/lib.rs:219:10
[INFO] [stdout]     |
[INFO] [stdout] 219 | async fn handler(
[INFO] [stdout]     |          ^^^^^^^
[INFO] [stdout] 220 |     State(db): State<Arc<Database>>,
[INFO] [stdout]     |     -------------------------------
[INFO] [stdout] 221 |     State(config): State<Arc<Config>>,
[INFO] [stdout]     |     ---------------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]     |
[INFO] [stdout] 231 -         .default_handler(handler(handler));
[INFO] [stdout] 231 +         .default_handler(handler(/* wsforge::State<Arc<Database>> */, /* wsforge::State<Arc<Config>> */));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> wsforge/src/lib.rs:231:26
[INFO] [stdout]     |
[INFO] [stdout] 231 |         .default_handler(handler(handler));
[INFO] [stdout]     |          --------------- ^^^^^^^^^^^^^^^^ expected `Arc<dyn Handler>`, found future
[INFO] [stdout]     |          |
[INFO] [stdout]     |          arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> wsforge-core/src/router.rs:676:12
[INFO] [stdout]     |
[INFO] [stdout] 676 |     pub fn default_handler(mut self, handler: Arc<dyn Handler>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> wsforge/src/lib.rs:227:1
[INFO] [stdout]     |
[INFO] [stdout] 227 | async fn main() -> Result<()> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- wsforge/src/lib.rs - (line 44) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]   --> wsforge/src/lib.rs:52:3
[INFO] [stdout]    |
[INFO] [stdout] 52 | #[tokio::main]
[INFO] [stdout]    |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]   --> wsforge/src/lib.rs:53:1
[INFO] [stdout]    |
[INFO] [stdout] 53 | async fn main() -> Result<()> {
[INFO] [stdout]    | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- wsforge/src/lib.rs - prelude (line 421) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> wsforge/src/lib.rs:429:3
[INFO] [stdout]     |
[INFO] [stdout] 429 | #[tokio::main]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> wsforge/src/lib.rs:432:34
[INFO] [stdout]     |
[INFO] [stdout] 432 |         .default_handler(handler(handler));
[INFO] [stdout]     |                          ------- ^^^^^^^ expected `Message`, found fn item
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          arguments to this function are incorrect
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected struct `wsforge::Message`
[INFO] [stdout]               found fn item `fn(wsforge::Message) -> impl Future<Output = std::result::Result<String, wsforge::Error>> {handler}`
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> wsforge/src/lib.rs:425:10
[INFO] [stdout]     |
[INFO] [stdout] 425 | async fn handler(msg: Message) -> Result<String> {
[INFO] [stdout]     |          ^^^^^^^ ------------
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> wsforge/src/lib.rs:432:26
[INFO] [stdout]     |
[INFO] [stdout] 432 |         .default_handler(handler(handler));
[INFO] [stdout]     |          --------------- ^^^^^^^^^^^^^^^^ expected `Arc<dyn Handler>`, found future
[INFO] [stdout]     |          |
[INFO] [stdout]     |          arguments to this method are incorrect
[INFO] [stdout]     |
[INFO] [stdout] note: method defined here
[INFO] [stdout]    --> wsforge-core/src/router.rs:676:12
[INFO] [stdout]     |
[INFO] [stdout] 676 |     pub fn default_handler(mut self, handler: Arc<dyn Handler>) -> Self {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> wsforge/src/lib.rs:430:1
[INFO] [stdout]     |
[INFO] [stdout] 430 | async fn main() -> Result<()> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 4 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- wsforge/src/lib.rs - (line 111) stdout ----
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> wsforge/src/lib.rs:124:3
[INFO] [stdout]     |
[INFO] [stdout] 124 | #[tokio::main]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> wsforge/src/lib.rs:125:1
[INFO] [stdout]     |
[INFO] [stdout] 125 | async fn main() -> Result<()> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] ---- wsforge/src/lib.rs - (line 241) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `serde`
[INFO] [stdout]    --> wsforge/src/lib.rs:245:5
[INFO] [stdout]     |
[INFO] [stdout] 245 | use serde::{Deserialize, Serialize};
[INFO] [stdout]     |     ^^^^^ use of unresolved module or unlinked crate `serde`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde`, use `cargo add serde` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio`
[INFO] [stdout]    --> wsforge/src/lib.rs:265:3
[INFO] [stdout]     |
[INFO] [stdout] 265 | #[tokio::main]
[INFO] [stdout]     |   ^^^^^ use of unresolved module or unlinked crate `tokio`
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]    --> wsforge/src/lib.rs:260:16
[INFO] [stdout]     |
[INFO] [stdout] 260 |     let json = serde_json::to_string(&game_move)?;
[INFO] [stdout]     |                ^^^^^^^^^^ use of unresolved module or unlinked crate `serde_json`
[INFO] [stdout]     |
[INFO] [stdout]     = help: if you wanted to use a crate named `serde_json`, use `cargo add serde_json` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the trait bound `fn(Json<GameMove>, ..., ...) -> ... {game_handler}: IntoHandler<_>` is not satisfied
[INFO] [stdout]    --> wsforge/src/lib.rs:268:34
[INFO] [stdout]     |
[INFO] [stdout] 268 |         .default_handler(handler(game_handler))
[INFO] [stdout]     |                          ------- ^^^^^^^^^^^^ the trait `IntoHandler<_>` is not implemented for fn item `fn(Json<GameMove>, Connection, State<Arc<...>>) -> ... {game_handler}`
[INFO] [stdout]     |                          |
[INFO] [stdout]     |                          required by a bound introduced by this call
[INFO] [stdout]     |
[INFO] [stdout] note: required by a bound in `wsforge::handler`
[INFO] [stdout]    --> wsforge-core/src/handler.rs:643:8
[INFO] [stdout]     |
[INFO] [stdout] 641 | pub fn handler<F, T>(f: F) -> Arc<dyn Handler>
[INFO] [stdout]     |        ------- required by a bound in this function
[INFO] [stdout] 642 | where
[INFO] [stdout] 643 |     F: IntoHandler<T>,
[INFO] [stdout]     |        ^^^^^^^^^^^^^^ required by this bound in `handler`
[INFO] [stdout]     = note: the full name for the type has been written to '/tmp/rustdoctestDlUmyj/rust_out.long-type-9413827295898515725.txt'
[INFO] [stdout]     = note: consider using `--verbose` to print the full type name to the console
[INFO] [stdout] 
[INFO] [stdout] error[E0752]: `main` function is not allowed to be `async`
[INFO] [stdout]    --> wsforge/src/lib.rs:266:1
[INFO] [stdout]     |
[INFO] [stdout] 266 | async fn main() -> Result<()> {
[INFO] [stdout]     | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ `main` function is not allowed to be `async`
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 5 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0432, E0433, E0752.
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     wsforge/src/lib.rs - (line 111)
[INFO] [stdout]     wsforge/src/lib.rs - (line 206)
[INFO] [stdout]     wsforge/src/lib.rs - (line 241)
[INFO] [stdout]     wsforge/src/lib.rs - (line 279)
[INFO] [stdout]     wsforge/src/lib.rs - (line 32)
[INFO] [stdout]     wsforge/src/lib.rs - (line 336)
[INFO] [stdout]     wsforge/src/lib.rs - (line 44)
[INFO] [stdout]     wsforge/src/lib.rs - (line 66)
[INFO] [stdout]     wsforge/src/lib.rs - prelude (line 421)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 3 passed; 9 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.64s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.92s; merged doctests compilation took 0.28s
[INFO] [stderr] error: doctest failed, to rerun pass `-p wsforge --doc`
[INFO] running `Command { std: "docker" "inspect" "e6e02b3981fb0041d8917363ca12a6d8f25a78659fd726da34290f991903c155", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e6e02b3981fb0041d8917363ca12a6d8f25a78659fd726da34290f991903c155", kill_on_drop: false }`
[INFO] [stdout] e6e02b3981fb0041d8917363ca12a6d8f25a78659fd726da34290f991903c155
