[INFO] fetching crate wsforge-macros 0.1.1... [INFO] testing wsforge-macros-0.1.1 against 1.91.0 for beta-1.92-2 [INFO] extracting crate wsforge-macros 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate wsforge-macros 0.1.1 [INFO] finished tweaking crates.io crate wsforge-macros 0.1.1 [INFO] tweaked toml for crates.io crate wsforge-macros 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate wsforge-macros 0.1.1 on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wsforge-macros 0.1.1 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3fee745ef9c334d012d6ed3e86d310b5ae9dd3d444c5549e3b9c0a910ffea3b4 [INFO] running `Command { std: "docker" "start" "-a" "3fee745ef9c334d012d6ed3e86d310b5ae9dd3d444c5549e3b9c0a910ffea3b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3fee745ef9c334d012d6ed3e86d310b5ae9dd3d444c5549e3b9c0a910ffea3b4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3fee745ef9c334d012d6ed3e86d310b5ae9dd3d444c5549e3b9c0a910ffea3b4", kill_on_drop: false }` [INFO] [stdout] 3fee745ef9c334d012d6ed3e86d310b5ae9dd3d444c5549e3b9c0a910ffea3b4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f9dd2ab6ce8e3d53001e9661453650e28e9db8cc30729e063425afad59ea7e5 [INFO] running `Command { std: "docker" "start" "-a" "8f9dd2ab6ce8e3d53001e9661453650e28e9db8cc30729e063425afad59ea7e5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling quote v1.0.41 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling wsforge-macros v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.31s [INFO] running `Command { std: "docker" "inspect" "8f9dd2ab6ce8e3d53001e9661453650e28e9db8cc30729e063425afad59ea7e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f9dd2ab6ce8e3d53001e9661453650e28e9db8cc30729e063425afad59ea7e5", kill_on_drop: false }` [INFO] [stdout] 8f9dd2ab6ce8e3d53001e9661453650e28e9db8cc30729e063425afad59ea7e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 576337e5bae4332e7dbb059dc61ce4934259521b5bf84e0444ce64296a73d7c0 [INFO] running `Command { std: "docker" "start" "-a" "576337e5bae4332e7dbb059dc61ce4934259521b5bf84e0444ce64296a73d7c0", kill_on_drop: false }` [INFO] [stderr] Compiling wsforge-macros v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "576337e5bae4332e7dbb059dc61ce4934259521b5bf84e0444ce64296a73d7c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "576337e5bae4332e7dbb059dc61ce4934259521b5bf84e0444ce64296a73d7c0", kill_on_drop: false }` [INFO] [stdout] 576337e5bae4332e7dbb059dc61ce4934259521b5bf84e0444ce64296a73d7c0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b7ede3324e06784f104f223d787230e8e10ba4c92699bdf184efa020039eedb6 [INFO] running `Command { std: "docker" "start" "-a" "b7ede3324e06784f104f223d787230e8e10ba4c92699bdf184efa020039eedb6", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wsforge_macros-91b287a66e6a6833) [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] Doc-tests wsforge_macros [INFO] [stdout] [INFO] [stdout] running 19 tests [INFO] [stdout] test src/lib.rs - (line 162) ... FAILED [INFO] [stdout] test src/lib.rs - (line 35) ... FAILED [INFO] [stdout] test src/lib.rs - derive_websocket_handler (line 391) ... FAILED [INFO] [stdout] test src/lib.rs - (line 92) ... FAILED [INFO] [stdout] test src/lib.rs - (line 123) ... FAILED [INFO] [stdout] test src/lib.rs - (line 68) ... FAILED [INFO] [stdout] test src/lib.rs - (line 49) ... FAILED [INFO] [stdout] test src/lib.rs - derive_websocket_message (line 344) ... FAILED [INFO] [stdout] test src/lib.rs - derive_websocket_handler (line 455) ... FAILED [INFO] [stdout] test src/lib.rs - derive_websocket_handler (line 405) ... FAILED [INFO] [stdout] test src/lib.rs - derive_websocket_message (line 325) ... FAILED [INFO] [stdout] test src/lib.rs - websocket_handler (line 202) ... FAILED [INFO] [stdout] test src/lib.rs - derive_websocket_handler (line 427) ... FAILED [INFO] [stdout] test src/lib.rs - routes (line 537) ... FAILED [INFO] [stdout] test src/lib.rs - routes (line 514) ... FAILED [INFO] [stdout] test src/lib.rs - routes (line 525) ... FAILED [INFO] [stdout] test src/lib.rs - derive_websocket_message (line 299) ... FAILED [INFO] [stdout] test src/lib.rs - websocket_handler (line 214) ... FAILED [INFO] [stdout] test src/lib.rs - websocket_handler (line 232) ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 162) stdout ---- [INFO] [stdout] error: expected one of `!` or `::`, found `install` [INFO] [stdout] --> src/lib.rs:163:7 [INFO] [stdout] | [INFO] [stdout] 1 | cargo install cargo-expand [INFO] [stdout] | ^^^^^^^ expected one of `!` or `::` [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 35) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wsforge_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use wsforge_core::prelude::*; [INFO] [stdout] 6 + use wsforge_macros::prelude::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:41:20 [INFO] [stdout] | [INFO] [stdout] 9 | async fn echo(msg: Message) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:41:39 [INFO] [stdout] | [INFO] [stdout] 9 | async fn echo(msg: Message) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 9 | async fn echo(msg: Message) -> Result { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:41:32 [INFO] [stdout] | [INFO] [stdout] 9 | async fn echo(msg: Message) -> Result { [INFO] [stdout] | ^^^^^^ ------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 9 | async fn echo(msg: Message) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_websocket_handler (line 391) stdout ---- [INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `}` [INFO] [stdout] --> src/lib.rs:399:1 [INFO] [stdout] | [INFO] [stdout] 3 | async fn handle( [INFO] [stdout] | ------ while parsing this `fn` [INFO] [stdout] ... [INFO] [stdout] 9 | ) -> wsforge::Result> [INFO] [stdout] | - expected one of `!`, `+`, `::`, `where`, or `{` [INFO] [stdout] 10 | } _doctest_main_src_lib_rs_391_0() } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:392:1 [INFO] [stdout] | [INFO] [stdout] 3 | / async fn handle( [INFO] [stdout] 4 | | &self, [INFO] [stdout] 5 | | message: wsforge::Message, [INFO] [stdout] 6 | | conn: wsforge::Connection, [INFO] [stdout] 7 | | state: wsforge::AppState, [INFO] [stdout] 8 | | extensions: wsforge::Extensions, [INFO] [stdout] 9 | | ) -> wsforge::Result> [INFO] [stdout] | | ^- help: provide a definition for the function: `{ }` [INFO] [stdout] | |______________________________________________| [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 4 | &self, [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:394:14 [INFO] [stdout] | [INFO] [stdout] 5 | message: wsforge::Message, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:395:11 [INFO] [stdout] | [INFO] [stdout] 6 | conn: wsforge::Connection, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:396:12 [INFO] [stdout] | [INFO] [stdout] 7 | state: wsforge::AppState, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:397:17 [INFO] [stdout] | [INFO] [stdout] 8 | extensions: wsforge::Extensions, [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:398:6 [INFO] [stdout] | [INFO] [stdout] 9 | ) -> wsforge::Result> [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:398:29 [INFO] [stdout] | [INFO] [stdout] 9 | ) -> wsforge::Result> [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 92) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:96:14 [INFO] [stdout] | [INFO] [stdout] 7 | let router = routes!(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 123) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] --> src/lib.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wsforge_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use wsforge_core::prelude::*; [INFO] [stdout] 6 + use wsforge_macros::prelude::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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 `wsforge` [INFO] [stdout] --> src/lib.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(WebSocketMessage, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `WebSocketMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(WebSocketMessage, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `WebSocketMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Json` in this scope [INFO] [stdout] --> src/lib.rs:140:18 [INFO] [stdout] | [INFO] [stdout] 20 | async fn process(Json(req): Json) -> Result> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Json` in this scope [INFO] [stdout] --> src/lib.rs:140:29 [INFO] [stdout] | [INFO] [stdout] 20 | async fn process(Json(req): Json) -> Result> { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JsonResponse` in this scope [INFO] [stdout] --> src/lib.rs:140:54 [INFO] [stdout] | [INFO] [stdout] 15 | struct Response { [INFO] [stdout] | --------------- similarly named struct `Response` defined here [INFO] [stdout] ... [INFO] [stdout] 20 | async fn process(Json(req): Json) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `Response` [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:140:47 [INFO] [stdout] | [INFO] [stdout] 20 | async fn process(Json(req): Json) -> Result> { [INFO] [stdout] | ^^^^^^ ---------------------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 20 | async fn process(Json(req): Json) -> Result, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `JsonResponse` in this scope [INFO] [stdout] --> src/lib.rs:141:8 [INFO] [stdout] | [INFO] [stdout] 21 | Ok(JsonResponse(Response { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:129:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(WebSocketMessage, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `WebSocketMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:134:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(WebSocketMessage, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `WebSocketMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0433, E0531. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 68) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wsforge_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use wsforge_core::prelude::*; [INFO] [stdout] 6 + use wsforge_macros::prelude::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(WebSocketHandler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `WebSocketHandler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:79:18 [INFO] [stdout] | [INFO] [stdout] 14 | message: Message, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/lib.rs:80:15 [INFO] [stdout] | [INFO] [stdout] 15 | conn: Connection, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/lib.rs:81:16 [INFO] [stdout] | [INFO] [stdout] 16 | state: AppState, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Extensions` in this scope [INFO] [stdout] --> src/lib.rs:82:21 [INFO] [stdout] | [INFO] [stdout] 17 | extensions: Extensions, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:83:24 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | impl MyHandler { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:73:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(WebSocketHandler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `WebSocketHandler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/lib.rs:84:17 [INFO] [stdout] | [INFO] [stdout] 19 | Ok(Some(Message::text("Handled!"))) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 49) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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 `wsforge` [INFO] [stdout] --> src/lib.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(WebSocketMessage, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `WebSocketMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(WebSocketMessage, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `WebSocketMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_websocket_message (line 344) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] --> src/lib.rs:347:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wsforge_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use wsforge_core::prelude::*; [INFO] [stdout] 6 + use wsforge_macros::prelude::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:348:5 [INFO] [stdout] | [INFO] [stdout] 7 | 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 `wsforge` [INFO] [stdout] --> src/lib.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(WebSocketMessage, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `WebSocketMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:355:17 [INFO] [stdout] | [INFO] [stdout] 14 | fn example(msg: Message) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:350:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(WebSocketMessage, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `WebSocketMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_websocket_handler (line 455) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] --> src/lib.rs:458:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wsforge_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use wsforge_core::prelude::*; [INFO] [stdout] 6 + use wsforge_macros::prelude::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:460:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(WebSocketHandler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `WebSocketHandler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:472:18 [INFO] [stdout] | [INFO] [stdout] 20 | message: Message, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/lib.rs:473:16 [INFO] [stdout] | [INFO] [stdout] 21 | _conn: Connection, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/lib.rs:474:17 [INFO] [stdout] | [INFO] [stdout] 22 | _state: AppState, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Extensions` in this scope [INFO] [stdout] --> src/lib.rs:475:22 [INFO] [stdout] | [INFO] [stdout] 23 | _extensions: Extensions, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:476:24 [INFO] [stdout] | [INFO] [stdout] 24 | ) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 13 | impl ConfiguredHandler { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Error` [INFO] [stdout] --> src/lib.rs:478:24 [INFO] [stdout] | [INFO] [stdout] 26 | return Err(Error::custom("Message too long")); [INFO] [stdout] | ^^^^^ use of undeclared type `Error` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 2 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 2 + use core::error::Error; [INFO] [stdout] | [INFO] [stdout] = and 2 other candidates [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:460:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(WebSocketHandler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `WebSocketHandler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 9 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_websocket_handler (line 405) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] --> src/lib.rs:408:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wsforge_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use wsforge_core::prelude::*; [INFO] [stdout] 6 + use wsforge_macros::prelude::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:410:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(WebSocketHandler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `WebSocketHandler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:416:18 [INFO] [stdout] | [INFO] [stdout] 14 | message: Message, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/lib.rs:417:16 [INFO] [stdout] | [INFO] [stdout] 15 | _conn: Connection, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/lib.rs:418:17 [INFO] [stdout] | [INFO] [stdout] 16 | _state: AppState, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Extensions` in this scope [INFO] [stdout] --> src/lib.rs:419:22 [INFO] [stdout] | [INFO] [stdout] 17 | _extensions: Extensions, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:420:24 [INFO] [stdout] | [INFO] [stdout] 18 | ) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 11 | impl EchoHandler { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:410:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(WebSocketHandler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `WebSocketHandler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_websocket_message (line 325) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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 `wsforge` [INFO] [stdout] --> src/lib.rs:336:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(WebSocketMessage, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `WebSocketMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:336:10 [INFO] [stdout] | [INFO] [stdout] 14 | #[derive(WebSocketMessage, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `WebSocketMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - websocket_handler (line 202) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] --> src/lib.rs:205:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wsforge_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use wsforge_core::prelude::*; [INFO] [stdout] 6 + use wsforge_macros::prelude::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:208:26 [INFO] [stdout] | [INFO] [stdout] 9 | async fn my_handler(msg: Message) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:208:38 [INFO] [stdout] | [INFO] [stdout] 9 | async fn my_handler(msg: Message) -> Result { [INFO] [stdout] | ^^^^^^ ------ supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 9 | async fn my_handler(msg: Message) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_websocket_handler (line 427) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] --> src/lib.rs:430:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wsforge_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use wsforge_core::prelude::*; [INFO] [stdout] 6 + use wsforge_macros::prelude::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `tokio` [INFO] [stdout] --> src/lib.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 8 | 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 `tokio::sync::RwLock` [INFO] [stdout] --> src/lib.rs:432:5 [INFO] [stdout] | [INFO] [stdout] 8 | use tokio::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:434:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(WebSocketHandler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the derive macro `WebSocketHandler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:442:19 [INFO] [stdout] | [INFO] [stdout] 18 | _message: Message, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/lib.rs:443:16 [INFO] [stdout] | [INFO] [stdout] 19 | _conn: Connection, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `AppState` in this scope [INFO] [stdout] --> src/lib.rs:444:17 [INFO] [stdout] | [INFO] [stdout] 20 | _state: AppState, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Extensions` in this scope [INFO] [stdout] --> src/lib.rs:445:22 [INFO] [stdout] | [INFO] [stdout] 21 | _extensions: Extensions, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:446:24 [INFO] [stdout] | [INFO] [stdout] 22 | ) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | impl CounterHandler { [INFO] [stdout] | +++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:434:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(WebSocketHandler)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `WebSocketHandler` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Message` [INFO] [stdout] --> src/lib.rs:449:17 [INFO] [stdout] | [INFO] [stdout] 25 | Ok(Some(Message::text(format!("Count: {}", count)))) [INFO] [stdout] | ^^^^^^^ use of undeclared type `Message` [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - routes (line 537) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] --> src/lib.rs:540:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wsforge_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use wsforge_core::prelude::*; [INFO] [stdout] 6 + use wsforge_macros::prelude::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:547:14 [INFO] [stdout] | [INFO] [stdout] 13 | let router = routes!() [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:542:23 [INFO] [stdout] | [INFO] [stdout] 8 | async fn handler(msg: Message) -> Result { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:542:35 [INFO] [stdout] | [INFO] [stdout] 8 | async fn handler(msg: Message) -> Result { [INFO] [stdout] | ^^^^^^ ------ supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 8 | async fn handler(msg: Message) -> Result { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:546:23 [INFO] [stdout] | [INFO] [stdout] 12 | async fn example() -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 12 | async fn example() -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - routes (line 514) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] --> src/lib.rs:518:14 [INFO] [stdout] | [INFO] [stdout] 7 | let router = routes!(); [INFO] [stdout] | ^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the macro `routes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - routes (line 525) stdout ---- [INFO] [stdout] error: cannot find macro `routes` in this scope [INFO] [stdout] --> src/lib.rs:526:14 [INFO] [stdout] | [INFO] [stdout] 3 | let router = routes! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 2 + use wsforge_macros::routes; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - derive_websocket_message (line 299) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:302:5 [INFO] [stdout] | [INFO] [stdout] 6 | 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 `wsforge` [INFO] [stdout] --> src/lib.rs:304:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(WebSocketMessage, Serialize, Deserialize)] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `wsforge`, use `cargo add wsforge` to add it to your `Cargo.toml` [INFO] [stdout] = note: this error originates in the derive macro `WebSocketMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `serde_json` [INFO] [stdout] --> src/lib.rs:304:10 [INFO] [stdout] | [INFO] [stdout] 8 | #[derive(WebSocketMessage, Serialize, Deserialize)] [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] = note: this error originates in the derive macro `WebSocketMessage` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - websocket_handler (line 214) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] --> src/lib.rs:217:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wsforge_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use wsforge_core::prelude::*; [INFO] [stdout] 6 + use wsforge_macros::prelude::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `State` in this scope [INFO] [stdout] --> src/lib.rs:224:5 [INFO] [stdout] | [INFO] [stdout] 13 | State(manager): State>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Message` in this scope [INFO] [stdout] --> src/lib.rs:222:10 [INFO] [stdout] | [INFO] [stdout] 11 | msg: Message, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Connection` in this scope [INFO] [stdout] --> src/lib.rs:223:11 [INFO] [stdout] | [INFO] [stdout] 12 | conn: Connection, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `State` in this scope [INFO] [stdout] --> src/lib.rs:224:21 [INFO] [stdout] | [INFO] [stdout] 13 | State(manager): State>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConnectionManager` in this scope [INFO] [stdout] --> src/lib.rs:224:31 [INFO] [stdout] | [INFO] [stdout] 13 | State(manager): State>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 10 | async fn complex_handler( [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:225:6 [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result<()> { [INFO] [stdout] | ^^^^^^ -- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 14 | ) -> Result<(), E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 7 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0433, E0531. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - websocket_handler (line 232) stdout ---- [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] --> src/lib.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 6 | use wsforge_core::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^ use of unresolved module or unlinked crate `wsforge_core` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 6 - use wsforge_core::prelude::*; [INFO] [stdout] 6 + use wsforge_macros::prelude::*; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:236:5 [INFO] [stdout] | [INFO] [stdout] 7 | use serde::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[E0412]: cannot find type `JsonResponse` in this scope [INFO] [stdout] --> src/lib.rs:244:35 [INFO] [stdout] | [INFO] [stdout] 10 | struct Response { [INFO] [stdout] | --------------- similarly named struct `Response` defined here [INFO] [stdout] ... [INFO] [stdout] 15 | async fn json_handler() -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ help: a struct with a similar name exists: `Response` [INFO] [stdout] [INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied [INFO] [stdout] --> src/lib.rs:244:28 [INFO] [stdout] | [INFO] [stdout] 15 | async fn json_handler() -> Result> { [INFO] [stdout] | ^^^^^^ ---------------------- supplied 1 generic argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 generic arguments [INFO] [stdout] | [INFO] [stdout] help: add missing generic argument [INFO] [stdout] | [INFO] [stdout] 15 | async fn json_handler() -> Result, E> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `JsonResponse` in this scope [INFO] [stdout] --> src/lib.rs:245:8 [INFO] [stdout] | [INFO] [stdout] 16 | Ok(JsonResponse(Response { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0107, E0412, E0425, E0432, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0107`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 123) [INFO] [stdout] src/lib.rs - (line 162) [INFO] [stdout] src/lib.rs - (line 35) [INFO] [stdout] src/lib.rs - (line 49) [INFO] [stdout] src/lib.rs - (line 68) [INFO] [stdout] src/lib.rs - (line 92) [INFO] [stdout] src/lib.rs - derive_websocket_handler (line 391) [INFO] [stdout] src/lib.rs - derive_websocket_handler (line 405) [INFO] [stdout] src/lib.rs - derive_websocket_handler (line 427) [INFO] [stdout] src/lib.rs - derive_websocket_handler (line 455) [INFO] [stdout] src/lib.rs - derive_websocket_message (line 299) [INFO] [stdout] src/lib.rs - derive_websocket_message (line 325) [INFO] [stdout] src/lib.rs - derive_websocket_message (line 344) [INFO] [stdout] src/lib.rs - routes (line 514) [INFO] [stdout] src/lib.rs - routes (line 525) [INFO] [stdout] src/lib.rs - routes (line 537) [INFO] [stdout] src/lib.rs - websocket_handler (line 202) [INFO] [stdout] src/lib.rs - websocket_handler (line 214) [INFO] [stdout] src/lib.rs - websocket_handler (line 232) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 19 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.63s [INFO] [stdout] [INFO] [stdout] all doctests ran in 2.24s; merged doctests compilation took 0.61s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b7ede3324e06784f104f223d787230e8e10ba4c92699bdf184efa020039eedb6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7ede3324e06784f104f223d787230e8e10ba4c92699bdf184efa020039eedb6", kill_on_drop: false }` [INFO] [stdout] b7ede3324e06784f104f223d787230e8e10ba4c92699bdf184efa020039eedb6