[INFO] fetching crate jsonrpsee-proc-macros 0.5.1... [INFO] testing jsonrpsee-proc-macros-0.5.1 against try#8262275854dc0e5381c9d42d56257d94932c5a87 for pr-90799 [INFO] extracting crate jsonrpsee-proc-macros 0.5.1 into /workspace/builds/worker-86/source [INFO] validating manifest of crates.io crate jsonrpsee-proc-macros 0.5.1 on toolchain 8262275854dc0e5381c9d42d56257d94932c5a87 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-proc-macros 0.5.1 [INFO] finished tweaking crates.io crate jsonrpsee-proc-macros 0.5.1 [INFO] tweaked toml for crates.io crate jsonrpsee-proc-macros 0.5.1 written to /workspace/builds/worker-86/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "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-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/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:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 46f0107d058cb955e3babeb7c4c764650f5cfabc920c224d90a48619d2ede1f7 [INFO] running `Command { std: "docker" "start" "-a" "46f0107d058cb955e3babeb7c4c764650f5cfabc920c224d90a48619d2ede1f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "46f0107d058cb955e3babeb7c4c764650f5cfabc920c224d90a48619d2ede1f7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46f0107d058cb955e3babeb7c4c764650f5cfabc920c224d90a48619d2ede1f7", kill_on_drop: false }` [INFO] [stdout] 46f0107d058cb955e3babeb7c4c764650f5cfabc920c224d90a48619d2ede1f7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b22a7733d8413e0d3992b6bbc81dbf7a4ece872bfd55bbacd0c85078f081abc5 [INFO] running `Command { std: "docker" "start" "-a" "b22a7733d8413e0d3992b6bbc81dbf7a4ece872bfd55bbacd0c85078f081abc5", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 17.91s [INFO] running `Command { std: "docker" "inspect" "b22a7733d8413e0d3992b6bbc81dbf7a4ece872bfd55bbacd0c85078f081abc5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b22a7733d8413e0d3992b6bbc81dbf7a4ece872bfd55bbacd0c85078f081abc5", kill_on_drop: false }` [INFO] [stdout] b22a7733d8413e0d3992b6bbc81dbf7a4ece872bfd55bbacd0c85078f081abc5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bfafda7cdf78cad8d154b29c20ce9dfa5be825c5e25fa8d20bd4f7986442687d [INFO] running `Command { std: "docker" "start" "-a" "bfafda7cdf78cad8d154b29c20ce9dfa5be825c5e25fa8d20bd4f7986442687d", kill_on_drop: false }` [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling ryu v1.0.6 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling serde_json v1.0.72 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling trybuild v1.0.52 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 16.71s [INFO] running `Command { std: "docker" "inspect" "bfafda7cdf78cad8d154b29c20ce9dfa5be825c5e25fa8d20bd4f7986442687d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfafda7cdf78cad8d154b29c20ce9dfa5be825c5e25fa8d20bd4f7986442687d", kill_on_drop: false }` [INFO] [stdout] bfafda7cdf78cad8d154b29c20ce9dfa5be825c5e25fa8d20bd4f7986442687d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-86/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e8397a04204aaf8b9f284182a6f9e27a3c2e67044d0943b4415b160bfc957681" "/opt/rustwide/cargo-home/bin/cargo" "+8262275854dc0e5381c9d42d56257d94932c5a87" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] a4d6a71de7c6924a693f07aab20a5f3e8b7acf17a3c50556171036a01422b43d [INFO] running `Command { std: "docker" "start" "-a" "a4d6a71de7c6924a693f07aab20a5f3e8b7acf17a3c50556171036a01422b43d", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.03s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/jsonrpsee_proc_macros-b7fb7649a71f234d) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test visitor::tests::it_works ... ok [INFO] [stdout] test helpers::tests::is_option_works ... ok [INFO] [stdout] test visitor::tests::several_type_params ... ok [INFO] [stdout] test visitor::tests::nested_type ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/ui.rs (/opt/rustwide/target/debug/deps/ui-9479cc56e945034e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.18 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-channel v0.3.18 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.5.1 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jsonrpsee-proc-macros-tests v0.0.0 (/opt/rustwide/target/tests/jsonrpsee-proc-macros) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 13.15s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/alias_doesnt_use_namespace.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{proc_macros::rpc, types::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:3:3 [INFO] [stderr] | [INFO] [stderr] 3 | #[rpc(client, server, namespace = "myapi")] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "getTemp", aliases = ["getTemp"])] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | #[subscription(name = "getFood", item = String, aliases = ["getFood"], unsubscribe_aliases = ["unsubscribegetFood"])] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:7:64 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | fn sub(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/basic.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/correct/basic.rs:91:1 [INFO] [stderr] | [INFO] [stderr] 91 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:15:2 [INFO] [stderr] | [INFO] [stderr] 15 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:18:2 [INFO] [stderr] | [INFO] [stderr] 18 | async fn optional_params(&self, a: std::option::Option, b: String) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:21:2 [INFO] [stderr] | [INFO] [stderr] 21 | async fn optional_param(&self, a: Option) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:24:2 [INFO] [stderr] | [INFO] [stderr] 24 | async fn array_params(&self, items: Vec) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:45:2 [INFO] [stderr] | [INFO] [stderr] 45 | async fn async_method(&self, _param_a: u8, _param_b: String) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 46 | | Ok(42u16) [INFO] [stderr] 47 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:49:2 [INFO] [stderr] | [INFO] [stderr] 49 | async fn optional_params(&self, a: core::option::Option, _b: String) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 50 | | let res = if a.is_some() { true } else { false }; [INFO] [stderr] 51 | | Ok(res) [INFO] [stderr] 52 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:54:2 [INFO] [stderr] | [INFO] [stderr] 54 | async fn optional_param(&self, a: Option) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 55 | | let res = if a.is_some() { true } else { false }; [INFO] [stderr] 56 | | Ok(res) [INFO] [stderr] 57 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:59:2 [INFO] [stderr] | [INFO] [stderr] 59 | async fn array_params(&self, items: Vec) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 60 | | Ok(items.len() as u64) [INFO] [stderr] 61 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::proc_macros::rpc`, `jsonrpsee`, `jsonrpsee::types::async_trait`, `jsonrpsee::types::traits::Client`, `jsonrpsee::types::RpcResult`, `jsonrpsee::ws_server::SubscriptionSink`, `jsonrpsee::ws_server::WsServerBuilder` [INFO] [stderr] --> tests/ui/correct/basic.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] 4 | proc_macros::rpc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 5 | rpc_params, [INFO] [stderr] 6 | types::{async_trait, traits::Client, RpcResult}, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 7 | ws_client::*, [INFO] [stderr] 8 | ws_server::{SubscriptionSink, WsServerBuilder}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | #[rpc(client, server, namespace = "foo")] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | #[method(name = "foo", aliases = ["fooAlias", "Other"])] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | #[method(name = "optional_params")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | #[method(name = "optional_param")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | #[method(name = "array_params")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:26:4 [INFO] [stderr] | [INFO] [stderr] 26 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:29:4 [INFO] [stderr] | [INFO] [stderr] 29 | #[subscription(name = "sub", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | #[subscription(name = "echo", aliases = ["ECHO"], item = u32, unsubscribe_aliases = ["NotInterested", "listenNoMore"])] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:37:4 [INFO] [stderr] | [INFO] [stderr] 37 | #[subscription(name = "subscribe_method" => "subscribe_override", item = u32)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `async_trait` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:43:3 [INFO] [stderr] | [INFO] [stderr] 43 | #[async_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `rpc_params` [INFO] [stderr] --> tests/ui/correct/basic.rs:103:55 [INFO] [stderr] | [INFO] [stderr] 103 | assert_eq!(client.request::("foo_array_params", rpc_params![Vec::::new()]).await.unwrap(), 0); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `rpc_params` [INFO] [stderr] --> tests/ui/correct/basic.rs:105:58 [INFO] [stderr] | [INFO] [stderr] 105 | assert_eq!(client.request::("foo_optional_param", rpc_params![]).await.unwrap(), false); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `rpc_params` [INFO] [stderr] --> tests/ui/correct/basic.rs:107:58 [INFO] [stderr] | [INFO] [stderr] 107 | assert_eq!(client.request::("foo_optional_param", rpc_params![1]).await.unwrap(), true); [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: import resolution is stuck, try simplifying macro imports [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsServerBuilder` [INFO] [stderr] --> tests/ui/correct/basic.rs:83:15 [INFO] [stderr] | [INFO] [stderr] 83 | let server = WsServerBuilder::default().build("127.0.0.1:0").await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsServerBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/correct/basic.rs:95:15 [INFO] [stderr] | [INFO] [stderr] 95 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:15:64 [INFO] [stderr] | [INFO] [stderr] 15 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:18:76 [INFO] [stderr] | [INFO] [stderr] 18 | async fn optional_params(&self, a: std::option::Option, b: String) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:21:51 [INFO] [stderr] | [INFO] [stderr] 21 | async fn optional_param(&self, a: Option) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:24:51 [INFO] [stderr] | [INFO] [stderr] 24 | async fn array_params(&self, items: Vec) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:27:27 [INFO] [stderr] | [INFO] [stderr] 27 | fn sync_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:30:19 [INFO] [stderr] | [INFO] [stderr] 30 | fn sub(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:33:41 [INFO] [stderr] | [INFO] [stderr] 33 | fn sub_with_params(&self, val: u32) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:38:46 [INFO] [stderr] | [INFO] [stderr] 38 | fn sub_with_override_notif_method(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:44:6 [INFO] [stderr] | [INFO] [stderr] 44 | impl RpcServer for RpcServerImpl { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:45:66 [INFO] [stderr] | [INFO] [stderr] 45 | async fn async_method(&self, _param_a: u8, _param_b: String) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:49:78 [INFO] [stderr] | [INFO] [stderr] 49 | async fn optional_params(&self, a: core::option::Option, _b: String) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:54:51 [INFO] [stderr] | [INFO] [stderr] 54 | async fn optional_param(&self, a: Option) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:59:51 [INFO] [stderr] | [INFO] [stderr] 59 | async fn array_params(&self, items: Vec) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:63:27 [INFO] [stderr] | [INFO] [stderr] 63 | fn sync_method(&self) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SubscriptionSink` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:67:26 [INFO] [stderr] | [INFO] [stderr] 67 | fn sub(&self, mut sink: SubscriptionSink) -> RpcResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:67:47 [INFO] [stderr] | [INFO] [stderr] 67 | fn sub(&self, mut sink: SubscriptionSink) -> RpcResult<()> { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SubscriptionSink` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:72:38 [INFO] [stderr] | [INFO] [stderr] 72 | fn sub_with_params(&self, mut sink: SubscriptionSink, val: u32) -> RpcResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:72:69 [INFO] [stderr] | [INFO] [stderr] 72 | fn sub_with_params(&self, mut sink: SubscriptionSink, val: u32) -> RpcResult<()> { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SubscriptionSink` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:77:53 [INFO] [stderr] | [INFO] [stderr] 77 | fn sub_with_override_notif_method(&self, mut sink: SubscriptionSink) -> RpcResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:77:74 [INFO] [stderr] | [INFO] [stderr] 77 | fn sub_with_override_notif_method(&self, mut sink: SubscriptionSink) -> RpcResult<()> { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/only_client.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/only_client.rs:8:2 [INFO] [stderr] | [INFO] [stderr] 8 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/only_client.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::{proc_macros::rpc, types::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:5:3 [INFO] [stderr] | [INFO] [stderr] 5 | #[rpc(client)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:7:4 [INFO] [stderr] | [INFO] [stderr] 7 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | #[subscription(name = "sub", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:8:64 [INFO] [stderr] | [INFO] [stderr] 8 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | fn sync_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/only_server.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/correct/only_server.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/only_server.rs:11:2 [INFO] [stderr] | [INFO] [stderr] 11 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/only_server.rs:24:2 [INFO] [stderr] | [INFO] [stderr] 24 | async fn async_method(&self, _param_a: u8, _param_b: String) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 25 | | Ok(42u16) [INFO] [stderr] 26 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/only_server.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | #[rpc(server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | #[subscription(name = "sub", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `async_trait` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:22:3 [INFO] [stderr] | [INFO] [stderr] 22 | #[async_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsServerBuilder` [INFO] [stderr] --> tests/ui/correct/only_server.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | let server = WsServerBuilder::default().build("127.0.0.1:0").await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsServerBuilder` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:11:64 [INFO] [stderr] | [INFO] [stderr] 11 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | fn sync_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | fn sub(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | impl RpcServer for RpcServerImpl { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:24:66 [INFO] [stderr] | [INFO] [stderr] 24 | async fn async_method(&self, _param_a: u8, _param_b: String) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:28:27 [INFO] [stderr] | [INFO] [stderr] 28 | fn sync_method(&self) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SubscriptionSink` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:32:26 [INFO] [stderr] | [INFO] [stderr] 32 | fn sub(&self, mut sink: SubscriptionSink) -> RpcResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:32:47 [INFO] [stderr] | [INFO] [stderr] 32 | fn sub(&self, mut sink: SubscriptionSink) -> RpcResult<()> { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/param_kind.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/correct/param_kind.rs:54:1 [INFO] [stderr] | [INFO] [stderr] 54 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:13:2 [INFO] [stderr] | [INFO] [stderr] 13 | async fn method_with_array_param(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:16:2 [INFO] [stderr] | [INFO] [stderr] 16 | async fn method_with_map_param(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:19:2 [INFO] [stderr] | [INFO] [stderr] 19 | async fn method_with_default_param(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:26:2 [INFO] [stderr] | [INFO] [stderr] 26 | async fn method_with_array_param(&self, param_a: u8, param_b: String) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 27 | | assert_eq!(param_a, 0); [INFO] [stderr] 28 | | assert_eq!(¶m_b, "a"); [INFO] [stderr] 29 | | Ok(42u16) [INFO] [stderr] 30 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:32:2 [INFO] [stderr] | [INFO] [stderr] 32 | async fn method_with_map_param(&self, param_a: u8, param_b: String) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 33 | | assert_eq!(param_a, 0); [INFO] [stderr] 34 | | assert_eq!(¶m_b, "a"); [INFO] [stderr] 35 | | Ok(42u16) [INFO] [stderr] 36 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:38:2 [INFO] [stderr] | [INFO] [stderr] 38 | async fn method_with_default_param(&self, param_a: u8, param_b: String) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 39 | | assert_eq!(param_a, 0); [INFO] [stderr] 40 | | assert_eq!(¶m_b, "a"); [INFO] [stderr] 41 | | Ok(42u16) [INFO] [stderr] 42 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::proc_macros::rpc`, `jsonrpsee::types::async_trait`, `jsonrpsee::types::RpcResult`, `jsonrpsee::ws_server::WsServerBuilder` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:2:2 [INFO] [stderr] | [INFO] [stderr] 2 | proc_macros::rpc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 3 | types::{async_trait, RpcResult}, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 4 | ws_client::*, [INFO] [stderr] 5 | ws_server::WsServerBuilder, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:10:3 [INFO] [stderr] | [INFO] [stderr] 10 | #[rpc(client, server, namespace = "foo")] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | #[method(name = "method_with_array_param", param_kind = array)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | #[method(name="method_with_map_param", param_kind= map)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:18:4 [INFO] [stderr] | [INFO] [stderr] 18 | #[method(name="method_with_default_param")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `async_trait` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:24:3 [INFO] [stderr] | [INFO] [stderr] 24 | #[async_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsServerBuilder` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:46:15 [INFO] [stderr] | [INFO] [stderr] 46 | let server = WsServerBuilder::default().build("127.0.0.1:0").await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsServerBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:58:15 [INFO] [stderr] | [INFO] [stderr] 58 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:13:75 [INFO] [stderr] | [INFO] [stderr] 13 | async fn method_with_array_param(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:16:73 [INFO] [stderr] | [INFO] [stderr] 16 | async fn method_with_map_param(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:19:77 [INFO] [stderr] | [INFO] [stderr] 19 | async fn method_with_default_param(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:25:6 [INFO] [stderr] | [INFO] [stderr] 25 | impl RpcServer for RpcServerImpl { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:26:75 [INFO] [stderr] | [INFO] [stderr] 26 | async fn method_with_array_param(&self, param_a: u8, param_b: String) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:32:73 [INFO] [stderr] | [INFO] [stderr] 32 | async fn method_with_map_param(&self, param_a: u8, param_b: String) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:38:77 [INFO] [stderr] | [INFO] [stderr] 38 | async fn method_with_default_param(&self, param_a: u8, param_b: String) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/parse_angle_brackets.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/parse_angle_brackets.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{proc_macros::rpc, types::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/correct/parse_angle_brackets.rs:4:4 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/parse_angle_brackets.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/parse_angle_brackets.rs:14:35 [INFO] [stderr] | [INFO] [stderr] 14 | fn dummy_subscription(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/rpc_deny_missing_docs.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:12:2 [INFO] [stderr] | [INFO] [stderr] 12 | async fn async_method(&self) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | #[subscription(name = "sub", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:12:34 [INFO] [stderr] | [INFO] [stderr] 12 | async fn async_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | fn sub(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui_pass ... FAILED [INFO] [stderr] Checking unicode-xid v0.2.2 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking futures-core v0.3.18 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tokio v1.14.0 [INFO] [stderr] Checking proc-macro2 v1.0.32 [INFO] [stderr] Checking futures-channel v0.3.18 [INFO] [stderr] Checking quote v1.0.10 [INFO] [stderr] Checking syn v1.0.82 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking proc-macro-crate v1.1.0 [INFO] [stderr] Checking jsonrpsee-proc-macros-tests v0.0.0 (/opt/rustwide/target/tests/jsonrpsee-proc-macros) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4.07s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/method/method_no_name.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Missing argument `name` [INFO] [stderr] --> $DIR/method_no_name.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method()] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method()] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/method/method_unexpected_field.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown argument `magic`, expected one of: `aliases`, `blocking`, `name`, `param_kind`, `resources` [INFO] [stderr] --> $DIR/method_unexpected_field.rs:6:25 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "foo", magic = false)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "foo", magic = false)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_assoc_items.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Only methods allowed in RPC traits [INFO] [stderr] --> $DIR/rpc_assoc_items.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | const WOO: usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: Only methods allowed in RPC traits [INFO] [stderr] --> $DIR/rpc_assoc_items.rs:14:2 [INFO] [stderr] | [INFO] [stderr] 14 | type Woo; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:9:2 [INFO] [stderr] | [INFO] [stderr] 9 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:17:2 [INFO] [stderr] | [INFO] [stderr] 17 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:9:34 [INFO] [stderr] | [INFO] [stderr] 9 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:17:34 [INFO] [stderr] | [INFO] [stderr] 17 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_conflicting_alias.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "foo_dup" is already defined [INFO] [stderr] --> $DIR/rpc_conflicting_alias.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:3:3 [INFO] [stderr] | [INFO] [stderr] 3 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | #[method(name = "foo", aliases = ["foo_dup", "foo_dup"])] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_deprecated_method.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: use of deprecated associated function `DeprecatedClient::async_method`: please use `new_method` instead [INFO] [stderr] --> $DIR/rpc_deprecated_method.rs:64:20 [INFO] [stderr] | [INFO] [stderr] 64 | assert_eq!(client.async_method().await.unwrap(), 16); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> $DIR/rpc_deprecated_method.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:19:2 [INFO] [stderr] | [INFO] [stderr] 19 | async fn async_method(&self) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:24:2 [INFO] [stderr] | [INFO] [stderr] 24 | async fn async_method_unused(&self) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:35:2 [INFO] [stderr] | [INFO] [stderr] 35 | async fn async_method(&self) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 36 | | Ok(16u8) [INFO] [stderr] 37 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:39:2 [INFO] [stderr] | [INFO] [stderr] 39 | async fn async_method_unused(&self) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 40 | | Ok(32u8) [INFO] [stderr] 41 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::proc_macros::rpc`, `jsonrpsee::types::async_trait`, `jsonrpsee::types::RpcResult`, `jsonrpsee::ws_server::WsServerBuilder` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | proc_macros::rpc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 8 | types::{async_trait, RpcResult}, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 9 | ws_client::*, [INFO] [stderr] 10 | ws_server::WsServerBuilder, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:14:3 [INFO] [stderr] | [INFO] [stderr] 14 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:18:4 [INFO] [stderr] | [INFO] [stderr] 18 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | #[method(name = "foo_unused")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `async_trait` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:33:3 [INFO] [stderr] | [INFO] [stderr] 33 | #[async_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsServerBuilder` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:49:15 [INFO] [stderr] | [INFO] [stderr] 49 | let server = WsServerBuilder::default().build("127.0.0.1:0").await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsServerBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:61:15 [INFO] [stderr] | [INFO] [stderr] 61 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:19:34 [INFO] [stderr] | [INFO] [stderr] 19 | async fn async_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:24:41 [INFO] [stderr] | [INFO] [stderr] 24 | async fn async_method_unused(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:28:27 [INFO] [stderr] | [INFO] [stderr] 28 | fn sync_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `DeprecatedServer` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:34:6 [INFO] [stderr] | [INFO] [stderr] 34 | impl DeprecatedServer for DeprecatedServerImpl { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:35:34 [INFO] [stderr] | [INFO] [stderr] 35 | async fn async_method(&self) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:39:41 [INFO] [stderr] | [INFO] [stderr] 39 | async fn async_method_unused(&self) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:43:27 [INFO] [stderr] | [INFO] [stderr] 43 | fn sync_method(&self) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_empty.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: RPC cannot be empty [INFO] [stderr] --> $DIR/rpc_empty.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait Empty {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_name_conflict.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "foo" is already defined [INFO] [stderr] --> $DIR/rpc_name_conflict.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | async fn bar(&self) -> RpcResult; [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | async fn foo(&self) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:10:2 [INFO] [stderr] | [INFO] [stderr] 10 | async fn bar(&self) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{proc_macros::rpc, types::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:7:25 [INFO] [stderr] | [INFO] [stderr] 7 | async fn foo(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | async fn bar(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_no_impls.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Either 'server' or 'client' attribute must be applied [INFO] [stderr] --> $DIR/rpc_no_impls.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait NoImpls { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc()] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_not_qualified.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Methods must have either 'method' or 'subscription' attribute [INFO] [stderr] --> $DIR/rpc_not_qualified.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_not_qualified.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_not_qualified.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_not_qualified.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_not_qualified.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_async.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Subscription methods must not be `async` [INFO] [stderr] --> $DIR/sub_async.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | / #[subscription(name = "sub", item = u8)] [INFO] [stderr] 7 | | async fn sub(&self); [INFO] [stderr] | |________________________^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_async.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | async fn sub(&self); [INFO] [stderr] | -----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_async.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_async.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_async.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "sub", item = u8)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_conflicting_alias.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "hello_is_goodbye" is already defined [INFO] [stderr] --> $DIR/sub_conflicting_alias.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | fn async_method(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_conflicting_alias.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{proc_macros::rpc, types::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_conflicting_alias.rs:3:3 [INFO] [stderr] | [INFO] [stderr] 3 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_conflicting_alias.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | #[subscription(name = "alias", item = String, aliases = ["hello_is_goodbye"], unsubscribe_aliases = ["hello_is_goodbye"])] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_conflicting_alias.rs:6:28 [INFO] [stderr] | [INFO] [stderr] 6 | fn async_method(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_dup_name_override.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "override" is already defined [INFO] [stderr] --> $DIR/sub_dup_name_override.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | fn two(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_dup_name_override.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{proc_macros::rpc, types::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_dup_name_override.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_dup_name_override.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "one" => "override", item = u8)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_dup_name_override.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | #[subscription(name = "two" => "override", item = u8)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_dup_name_override.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | fn one(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_dup_name_override.rs:9:19 [INFO] [stderr] | [INFO] [stderr] 9 | fn two(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_empty_attr.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Missing argument `name` [INFO] [stderr] --> $DIR/sub_empty_attr.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription()] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_empty_attr.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_empty_attr.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_empty_attr.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription()] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_name_override.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "one" is already defined [INFO] [stderr] --> $DIR/sub_name_override.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | fn one(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_name_override.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{proc_macros::rpc, types::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_name_override.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_name_override.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "one" => "one", item = u8)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_name_override.rs:7:19 [INFO] [stderr] | [INFO] [stderr] 7 | fn one(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_no_item.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Missing argument `item` [INFO] [stderr] --> $DIR/sub_no_item.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "sub")] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_no_item.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_no_item.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_no_item.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "sub")] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_no_name.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Missing argument `name` [INFO] [stderr] --> $DIR/sub_no_name.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_no_name.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_no_name.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_no_name.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stdout] test ui_fail ... FAILED [INFO] [stderr] test tests/ui/incorrect/sub/sub_unsupported_field.rs ... mismatch [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] failures: [INFO] [stderr] EXPECTED: [INFO] [stdout] [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] ---- ui_pass stdout ---- [INFO] [stderr] error: Unknown argument `magic`, expected one of: `aliases`, `item`, `name`, `param_kind`, `unsubscribe_aliases` [INFO] [stdout] thread 'ui_pass' panicked at '7 of 7 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/run.rs:74:13 [INFO] [stderr] --> $DIR/sub_unsupported_field.rs:6:42 [INFO] [stdout] stack backtrace: [INFO] [stderr] | [INFO] [stdout] 0: 0x55e38a78e4fc - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stderr] 6 | #[subscription(name = "sub", item = u8, magic = true)] [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stderr] | ^^^^^ [INFO] [stdout] 1: 0x55e38a78e4fc - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stderr] [INFO] [stdout] 2: 0x55e38a78e4fc - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 3: 0x55e38a78e4fc - ::fmt::hf439e5ed84c74abd [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stderr] --> tests/ui/incorrect/sub/sub_unsupported_field.rs:1:5 [INFO] [stdout] 4: 0x55e38a7b3a7c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stderr] | [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/fmt/mod.rs:1149:17 [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stdout] 5: 0x55e38a7896e5 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/io/mod.rs:1697:15 [INFO] [stderr] [INFO] [stdout] 6: 0x55e38a78ff50 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stderr] --> tests/ui/incorrect/sub/sub_unsupported_field.rs:4:3 [INFO] [stdout] 7: 0x55e38a78ff50 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stderr] | [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stdout] 8: 0x55e38a78ff50 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stderr] | ^^^ [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:211:50 [INFO] [stderr] | [INFO] [stdout] 9: 0x55e38a78fb36 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:225:9 [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stdout] 10: 0x55e38a790604 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stderr] [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:606:17 [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stdout] 11: 0x55e38a7900e0 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stderr] --> tests/ui/incorrect/sub/sub_unsupported_field.rs:6:4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:502:13 [INFO] [stderr] | [INFO] [stdout] 12: 0x55e38a78e9b4 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stderr] 6 | #[subscription(name = "sub", item = u8, magic = true)] [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] 13: 0x55e38a790049 - rust_begin_unwind [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:498:5 [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stdout] 14: 0x55e38a526ac1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:106:14 [INFO] [stderr] [INFO] [stdout] 15: 0x55e38a53c3d9 - trybuild::run::::run::h46a1420f681d03c6 [INFO] [stderr] [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/run.rs:74:13 [INFO] [stderr] [INFO] [stdout] 16: 0x55e38a540dd4 - ::drop::h296b8bfbf9df9445 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/lib.rs:306:13 [INFO] [stdout] 17: 0x55e38a527fd7 - core::ptr::drop_in_place::h4817d360d0f4a955 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 18: 0x55e38a528a01 - ui::ui_pass::hd6ea37730352a701 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:12:1 [INFO] [stdout] 19: 0x55e38a5289ba - ui::ui_pass::{{closure}}::he45d078e9303daa8 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:9:1 [INFO] [stdout] 20: 0x55e38a527f6e - core::ops::function::FnOnce::call_once::ha6387d796c31921c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e38a76a1c3 - core::ops::function::FnOnce::call_once::h24a32b9da1a40fdb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e38a76a1c3 - test::__rust_begin_short_backtrace::h3c3a0492fb4a12eb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:585:5 [INFO] [stdout] 23: 0x55e38a768dd7 - as core::ops::function::FnOnce>::call_once::h9a8e38435f73d5e0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 24: 0x55e38a768dd7 - as core::ops::function::FnOnce<()>>::call_once::hb23d7496a0e6d1b4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e38a768dd7 - std::panicking::try::do_call::ha2bb9825b32d2cc2 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x55e38a768dd7 - std::panicking::try::hdc38a574bbebc53e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 27: 0x55e38a768dd7 - std::panic::catch_unwind::hc45ed246595c621c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x55e38a768dd7 - test::run_test_in_process::h4249138faaea8d54 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:608:18 [INFO] [stdout] 29: 0x55e38a768dd7 - test::run_test::run_test_inner::{{closure}}::h3c1b37669f6e9fd7 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:500:39 [INFO] [stdout] 30: 0x55e38a73607e - test::run_test::run_test_inner::{{closure}}::h388760469edd5c24 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:527:37 [INFO] [stdout] 31: 0x55e38a73607e - std::sys_common::backtrace::__rust_begin_short_backtrace::hbbaecdcfad18643e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 32: 0x55e38a73add8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h09cd3ca65896da91 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 33: 0x55e38a73add8 - as core::ops::function::FnOnce<()>>::call_once::hc52dbb4f9088d18b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e38a73add8 - std::panicking::try::do_call::h4485cfee22b11c08 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 35: 0x55e38a73add8 - std::panicking::try::hb62aa8549e20c08b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 36: 0x55e38a73add8 - std::panic::catch_unwind::ha322c7a5bc666762 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 37: 0x55e38a73add8 - std::thread::Builder::spawn_unchecked::{{closure}}::h1076fc1398603b77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 38: 0x55e38a73add8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h911e510344167353 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e38a796593 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x55e38a796593 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x55e38a796593 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: 0x7f021371d609 - start_thread [INFO] [stdout] 43: 0x7f02134ef293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- ui_fail stdout ---- [INFO] [stdout] thread 'ui_fail' panicked at '17 of 17 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/run.rs:74:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x55e38a78e4fc - std::backtrace_rs::backtrace::libunwind::trace::h793e05efd273d0f4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x55e38a78e4fc - std::backtrace_rs::backtrace::trace_unsynchronized::h640b7b86ff610c77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x55e38a78e4fc - std::sys_common::backtrace::_print_fmt::h362fa2a4f354f877 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x55e38a78e4fc - ::fmt::hf439e5ed84c74abd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x55e38a7b3a7c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x55e38a7896e5 - std::io::Write::write_fmt::h54337adeb3504c03 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x55e38a78ff50 - std::sys_common::backtrace::_print::hb29ddd998d02631c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x55e38a78ff50 - std::sys_common::backtrace::print::h81965e3d7c90fbb6 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x55e38a78ff50 - std::panicking::default_hook::{{closure}}::h84db205ab6674b38 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x55e38a78fb36 - std::panicking::default_hook::h1bf8bb4159936bca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x55e38a790604 - std::panicking::rust_panic_with_hook::hf8e86850fbbd03b1 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x55e38a7900e0 - std::panicking::begin_panic_handler::{{closure}}::h590a0d6060ff866e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x55e38a78e9b4 - std::sys_common::backtrace::__rust_end_short_backtrace::h260b8bd1c848a03c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x55e38a790049 - rust_begin_unwind [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x55e38a526ac1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panicking.rs:106:14 [INFO] [stdout] 15: 0x55e38a53c3d9 - trybuild::run::::run::h46a1420f681d03c6 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/run.rs:74:13 [INFO] [stdout] 16: 0x55e38a540dd4 - ::drop::h296b8bfbf9df9445 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/lib.rs:306:13 [INFO] [stdout] 17: 0x55e38a527fd7 - core::ptr::drop_in_place::h4817d360d0f4a955 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 18: 0x55e38a528a81 - ui::ui_fail::hc83610a0a82ad842 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:18:1 [INFO] [stdout] 19: 0x55e38a528a3a - ui::ui_fail::{{closure}}::hf06d4a396ed0ffd5 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:15:1 [INFO] [stdout] 20: 0x55e38a527ede - core::ops::function::FnOnce::call_once::h27690c909d895e40 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x55e38a76a1c3 - core::ops::function::FnOnce::call_once::h24a32b9da1a40fdb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x55e38a76a1c3 - test::__rust_begin_short_backtrace::h3c3a0492fb4a12eb [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:585:5 [INFO] [stdout] 23: 0x55e38a768dd7 - as core::ops::function::FnOnce>::call_once::h9a8e38435f73d5e0 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 24: 0x55e38a768dd7 - as core::ops::function::FnOnce<()>>::call_once::hb23d7496a0e6d1b4 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x55e38a768dd7 - std::panicking::try::do_call::ha2bb9825b32d2cc2 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x55e38a768dd7 - std::panicking::try::hdc38a574bbebc53e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 27: 0x55e38a768dd7 - std::panic::catch_unwind::hc45ed246595c621c [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x55e38a768dd7 - test::run_test_in_process::h4249138faaea8d54 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:608:18 [INFO] [stdout] 29: 0x55e38a768dd7 - test::run_test::run_test_inner::{{closure}}::h3c1b37669f6e9fd7 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:500:39 [INFO] [stdout] 30: 0x55e38a73607e - test::run_test::run_test_inner::{{closure}}::h388760469edd5c24 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/test/src/lib.rs:527:37 [INFO] [stdout] 31: 0x55e38a73607e - std::sys_common::backtrace::__rust_begin_short_backtrace::hbbaecdcfad18643e [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 32: 0x55e38a73add8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::h09cd3ca65896da91 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 33: 0x55e38a73add8 - as core::ops::function::FnOnce<()>>::call_once::hc52dbb4f9088d18b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x55e38a73add8 - std::panicking::try::do_call::h4485cfee22b11c08 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:406:40 [INFO] [stdout] 35: 0x55e38a73add8 - std::panicking::try::hb62aa8549e20c08b [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panicking.rs:370:19 [INFO] [stdout] 36: 0x55e38a73add8 - std::panic::catch_unwind::ha322c7a5bc666762 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/panic.rs:133:14 [INFO] [stdout] 37: 0x55e38a73add8 - std::thread::Builder::spawn_unchecked::{{closure}}::h1076fc1398603b77 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 38: 0x55e38a73add8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h911e510344167353 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x55e38a796593 - as core::ops::function::FnOnce>::call_once::h771719d52c343434 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x55e38a796593 - as core::ops::function::FnOnce>::call_once::hf441746dfa4b0f57 [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x55e38a796593 - std::sys::unix::thread::Thread::new::thread_start::hfd168f9d312b29ca [INFO] [stdout] at /rustc/8262275854dc0e5381c9d42d56257d94932c5a87/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: 0x7f021371d609 - start_thread [INFO] [stdout] 43: 0x7f02134ef293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ui_fail [INFO] [stdout] ui_pass [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 22.57s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test ui' [INFO] running `Command { std: "docker" "inspect" "a4d6a71de7c6924a693f07aab20a5f3e8b7acf17a3c50556171036a01422b43d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4d6a71de7c6924a693f07aab20a5f3e8b7acf17a3c50556171036a01422b43d", kill_on_drop: false }` [INFO] [stdout] a4d6a71de7c6924a693f07aab20a5f3e8b7acf17a3c50556171036a01422b43d