[INFO] fetching crate wsforge-macros 0.1.1... [INFO] testing wsforge-macros-0.1.1 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [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 c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fcc4be2307a9ff6e9e66dd00a8df2e620b99965adda1b3dccc940b91871098a7 [INFO] running `Command { std: "docker" "start" "-a" "fcc4be2307a9ff6e9e66dd00a8df2e620b99965adda1b3dccc940b91871098a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fcc4be2307a9ff6e9e66dd00a8df2e620b99965adda1b3dccc940b91871098a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fcc4be2307a9ff6e9e66dd00a8df2e620b99965adda1b3dccc940b91871098a7", kill_on_drop: false }` [INFO] [stdout] fcc4be2307a9ff6e9e66dd00a8df2e620b99965adda1b3dccc940b91871098a7 [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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 73f2d94ce1e961be5f8cba4bc90db519481316db528338d2aa62e95eff43f8da [INFO] running `Command { std: "docker" "start" "-a" "73f2d94ce1e961be5f8cba4bc90db519481316db528338d2aa62e95eff43f8da", kill_on_drop: false }` [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.79s [INFO] running `Command { std: "docker" "inspect" "73f2d94ce1e961be5f8cba4bc90db519481316db528338d2aa62e95eff43f8da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "73f2d94ce1e961be5f8cba4bc90db519481316db528338d2aa62e95eff43f8da", kill_on_drop: false }` [INFO] [stdout] 73f2d94ce1e961be5f8cba4bc90db519481316db528338d2aa62e95eff43f8da [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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3395a674b4b48588c629d97e59140a3663c8ba4916435729edf32470035ee3e4 [INFO] running `Command { std: "docker" "start" "-a" "3395a674b4b48588c629d97e59140a3663c8ba4916435729edf32470035ee3e4", 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.61s [INFO] running `Command { std: "docker" "inspect" "3395a674b4b48588c629d97e59140a3663c8ba4916435729edf32470035ee3e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3395a674b4b48588c629d97e59140a3663c8ba4916435729edf32470035ee3e4", kill_on_drop: false }` [INFO] [stdout] 3395a674b4b48588c629d97e59140a3663c8ba4916435729edf32470035ee3e4 [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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c0d21faba9718bf5150c85069422198982098993a6369667cc18d5a45d43678d [INFO] running `Command { std: "docker" "start" "-a" "c0d21faba9718bf5150c85069422198982098993a6369667cc18d5a45d43678d", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/wsforge_macros-ce13cba386814d0c) [INFO] [stderr] Doc-tests wsforge_macros [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 19 tests [INFO] [stdout] test src/lib.rs - (line 162) ... FAILED [INFO] [stdout] test src/lib.rs - (line 68) ... 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 49) ... FAILED [INFO] [stdout] test src/lib.rs - (line 35) ... FAILED [INFO] [stdout] test src/lib.rs - derive_websocket_handler (line 405) ... FAILED [INFO] [stdout] test src/lib.rs - derive_websocket_handler (line 427) ... FAILED [INFO] [stdout] test src/lib.rs - derive_websocket_message (line 344) ... FAILED [INFO] [stdout] test src/lib.rs - routes (line 514) ... FAILED [INFO] [stdout] test src/lib.rs - derive_websocket_message (line 325) ... FAILED [INFO] [stdout] test src/lib.rs - routes (line 537) ... FAILED [INFO] [stdout] test src/lib.rs - derive_websocket_handler (line 455) ... 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 - (line 123) ... FAILED [INFO] [stdout] test src/lib.rs - websocket_handler (line 202) ... FAILED [INFO] [stdout] test src/lib.rs - websocket_handler (line 232) ... FAILED [INFO] [stdout] test src/lib.rs - websocket_handler (line 214) ... 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] 163 | 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 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] 71 | 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] 71 - use wsforge_core::prelude::*; [INFO] [stdout] 71 + 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] 73 | #[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] 79 | 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] 80 | 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] 81 | 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] 82 | 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] 83 | ) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 76 | 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] 73 | #[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] 84 | 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 - 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] 392 | async fn handle( [INFO] [stdout] | ------ while parsing this `fn` [INFO] [stdout] ... [INFO] [stdout] 398 | ) -> wsforge::Result> [INFO] [stdout] | - expected one of `!`, `+`, `::`, `where`, or `{` [INFO] [stdout] 399 | } _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] 392 | / async fn handle( [INFO] [stdout] 393 | | &self, [INFO] [stdout] 394 | | message: wsforge::Message, [INFO] [stdout] 395 | | conn: wsforge::Connection, [INFO] [stdout] 396 | | state: wsforge::AppState, [INFO] [stdout] 397 | | extensions: wsforge::Extensions, [INFO] [stdout] 398 | | ) -> 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] 393 | &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] 394 | 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] 395 | 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] 396 | 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] 397 | 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] 398 | ) -> 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] 398 | ) -> 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] 96 | 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 49) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 52 | 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] 54 | #[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] 54 | #[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 - (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] 38 | 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] 38 - use wsforge_core::prelude::*; [INFO] [stdout] 38 + 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] 41 | 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] 41 | 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] 41 | 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] 41 | 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] 41 | 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 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] 408 | 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] 408 - use wsforge_core::prelude::*; [INFO] [stdout] 408 + 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] 410 | #[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] 416 | 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] 417 | _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] 418 | _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] 419 | _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] 420 | ) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 413 | 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] 410 | #[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_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] 430 | 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] 430 - use wsforge_core::prelude::*; [INFO] [stdout] 430 + 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] 432 | 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] 432 | 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] 434 | #[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] 442 | _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] 443 | _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] 444 | _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] 445 | _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] 446 | ) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 439 | 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] 434 | #[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] 449 | 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 - 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] 347 | 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] 347 - use wsforge_core::prelude::*; [INFO] [stdout] 347 + 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] 348 | 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] 350 | #[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] 355 | 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] 350 | #[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 - 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] 518 | 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 - derive_websocket_message (line 325) stdout ---- [INFO] [stdout] error[E0432]: unresolved import `serde` [INFO] [stdout] --> src/lib.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | 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] 336 | #[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] 336 | #[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 - 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] 540 | 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] 540 - use wsforge_core::prelude::*; [INFO] [stdout] 540 + 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] 547 | 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] 542 | 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] 542 | 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] 542 | 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] 546 | 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] 546 | 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 - 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] 458 | 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] 458 - use wsforge_core::prelude::*; [INFO] [stdout] 458 + 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] 460 | #[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] 472 | 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] 473 | _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] 474 | _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] 475 | _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] 476 | ) -> Result> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 465 | 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] 478 | 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] 454 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 454 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] 454 + use std::io::Error; [INFO] [stdout] | [INFO] [stdout] 454 + 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] 460 | #[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 - 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] 526 | let router = routes! { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: consider importing this macro [INFO] [stdout] | [INFO] [stdout] 525 + 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] 302 | 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] 304 | #[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] 304 | #[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 - (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] 126 | 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] 126 - use wsforge_core::prelude::*; [INFO] [stdout] 126 + 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] 127 | 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] 129 | #[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] 134 | #[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] 140 | 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] 140 | 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] 135 | struct Response { [INFO] [stdout] | --------------- similarly named struct `Response` defined here [INFO] [stdout] ... [INFO] [stdout] 140 | 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] 140 | 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] 140 | 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] 141 | 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] 129 | #[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] 134 | #[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 - 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] 205 | 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] 205 - use wsforge_core::prelude::*; [INFO] [stdout] 205 + 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] 208 | 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] 208 | 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] 208 | 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 - 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] 235 | 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] 235 - use wsforge_core::prelude::*; [INFO] [stdout] 235 + 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] 236 | 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] 239 | struct Response { [INFO] [stdout] | --------------- similarly named struct `Response` defined here [INFO] [stdout] ... [INFO] [stdout] 244 | 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] 244 | 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] 244 | 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] 245 | 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] ---- 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] 217 | 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] 217 - use wsforge_core::prelude::*; [INFO] [stdout] 217 + 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] 224 | 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] 222 | 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] 223 | 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] 224 | 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] 224 | 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] 221 | 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] 225 | ) -> 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] 225 | ) -> 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] [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.33s [INFO] [stdout] [INFO] [stdout] all doctests ran in 1.76s; merged doctests compilation took 0.43s [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c0d21faba9718bf5150c85069422198982098993a6369667cc18d5a45d43678d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0d21faba9718bf5150c85069422198982098993a6369667cc18d5a45d43678d", kill_on_drop: false }` [INFO] [stdout] c0d21faba9718bf5150c85069422198982098993a6369667cc18d5a45d43678d