[INFO] fetching crate jsonrpsee-proc-macros 0.10.1... [INFO] testing jsonrpsee-proc-macros-0.10.1 against beta-2022-04-10 for beta-1.61-1 [INFO] extracting crate jsonrpsee-proc-macros 0.10.1 into /workspace/builds/worker-20/source [INFO] validating manifest of crates.io crate jsonrpsee-proc-macros 0.10.1 on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-proc-macros 0.10.1 [INFO] finished tweaking crates.io crate jsonrpsee-proc-macros 0.10.1 [INFO] tweaked toml for crates.io crate jsonrpsee-proc-macros 0.10.1 written to /workspace/builds/worker-20/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e02cc960fbb70b109da315d99bbff41831af050502db009d36b2fbc8995997e [INFO] running `Command { std: "docker" "start" "-a" "5e02cc960fbb70b109da315d99bbff41831af050502db009d36b2fbc8995997e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e02cc960fbb70b109da315d99bbff41831af050502db009d36b2fbc8995997e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e02cc960fbb70b109da315d99bbff41831af050502db009d36b2fbc8995997e", kill_on_drop: false }` [INFO] [stdout] 5e02cc960fbb70b109da315d99bbff41831af050502db009d36b2fbc8995997e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7f8e1c580b3a19484e2b660fc2f5e76b17c01c8950372f8f6d6836bac8e2ef3f [INFO] running `Command { std: "docker" "start" "-a" "7f8e1c580b3a19484e2b660fc2f5e76b17c01c8950372f8f6d6836bac8e2ef3f", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.91 [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.3 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.10.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 12.61s [INFO] running `Command { std: "docker" "inspect" "7f8e1c580b3a19484e2b660fc2f5e76b17c01c8950372f8f6d6836bac8e2ef3f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7f8e1c580b3a19484e2b660fc2f5e76b17c01c8950372f8f6d6836bac8e2ef3f", kill_on_drop: false }` [INFO] [stdout] 7f8e1c580b3a19484e2b660fc2f5e76b17c01c8950372f8f6d6836bac8e2ef3f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 48273d94c9a5ddb63e8b4df872b38a754807c4d8229a354c276533293c228d56 [INFO] running `Command { std: "docker" "start" "-a" "48273d94c9a5ddb63e8b4df872b38a754807c4d8229a354c276533293c228d56", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling trybuild v1.0.59 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.10.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 10.75s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/jsonrpsee_proc_macros-48052b062bf054dc) [INFO] [stderr] Executable tests/ui.rs (/opt/rustwide/target/debug/deps/ui-f2cb44e56d89c9db) [INFO] running `Command { std: "docker" "inspect" "48273d94c9a5ddb63e8b4df872b38a754807c4d8229a354c276533293c228d56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "48273d94c9a5ddb63e8b4df872b38a754807c4d8229a354c276533293c228d56", kill_on_drop: false }` [INFO] [stdout] 48273d94c9a5ddb63e8b4df872b38a754807c4d8229a354c276533293c228d56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-20/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 69cfa07f6adf400a4461a81dd2b219350cf429ccf0dc7077da2a8253cd6fa8ca [INFO] running `Command { std: "docker" "start" "-a" "69cfa07f6adf400a4461a81dd2b219350cf429ccf0dc7077da2a8253cd6fa8ca", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jsonrpsee_proc_macros-48052b062bf054dc) [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-f2cb44e56d89c9db) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling pin-project-lite v0.2.8 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.7.0 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.3 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.10.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 12.34s [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: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/alias_doesnt_use_namespace.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{core::RpcResult, 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/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:7:4 [INFO] [stderr] | [INFO] [stderr] 7 | #[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:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[subscription(name = "subscribeGetFood", 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: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/alias_doesnt_use_namespace.rs:11:19 [INFO] [stderr] | [INFO] [stderr] 11 | 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:90:1 [INFO] [stderr] | [INFO] [stderr] 90 | #[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:14:2 [INFO] [stderr] | [INFO] [stderr] 14 | 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:17:2 [INFO] [stderr] | [INFO] [stderr] 17 | 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:20:2 [INFO] [stderr] | [INFO] [stderr] 20 | 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:23:2 [INFO] [stderr] | [INFO] [stderr] 23 | 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:44:2 [INFO] [stderr] | [INFO] [stderr] 44 | 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] 45 | | Ok(42u16) [INFO] [stderr] 46 | | } [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:48:2 [INFO] [stderr] | [INFO] [stderr] 48 | 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] 49 | | let res = if a.is_some() { true } else { false }; [INFO] [stderr] 50 | | Ok(res) [INFO] [stderr] 51 | | } [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:53:2 [INFO] [stderr] | [INFO] [stderr] 53 | async fn optional_param(&self, a: Option) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 54 | | let res = if a.is_some() { true } else { false }; [INFO] [stderr] 55 | | Ok(res) [INFO] [stderr] 56 | | } [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:58:2 [INFO] [stderr] | [INFO] [stderr] 58 | async fn array_params(&self, items: Vec) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 59 | | Ok(items.len() as u64) [INFO] [stderr] 60 | | } [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:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonrpsee::ws_client::*; [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/basic.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::{async_trait, client::ClientT, 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/correct/basic.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | 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/basic.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonrpsee::ws_server::{SubscriptionSink, WsServerBuilder}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::core::async_trait`, `jsonrpsee::core::client::ClientT`, `jsonrpsee::core::RpcResult`, `jsonrpsee::proc_macros::rpc`, `jsonrpsee`, `jsonrpsee::ws_server::SubscriptionSink`, `jsonrpsee::ws_server::WsServerBuilder` [INFO] [stderr] --> tests/ui/correct/basic.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::{async_trait, client::ClientT, RpcResult}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 6 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | use jsonrpsee::rpc_params; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] 8 | use jsonrpsee::ws_client::*; [INFO] [stderr] 9 | use jsonrpsee::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:11:3 [INFO] [stderr] | [INFO] [stderr] 11 | #[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:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | #[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:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | #[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:19:4 [INFO] [stderr] | [INFO] [stderr] 19 | #[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:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | #[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:25:4 [INFO] [stderr] | [INFO] [stderr] 25 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:28:4 [INFO] [stderr] | [INFO] [stderr] 28 | #[subscription(name = "subscribe", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:31:4 [INFO] [stderr] | [INFO] [stderr] 31 | #[subscription(name = "echo", unsubscribe = "unsubscribeEcho", aliases = ["ECHO"], item = u32, unsubscribe_aliases = ["NotInterested"... [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:36:4 [INFO] [stderr] | [INFO] [stderr] 36 | #[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:42:3 [INFO] [stderr] | [INFO] [stderr] 42 | #[async_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `rpc_params` [INFO] [stderr] --> tests/ui/correct/basic.rs:102:55 [INFO] [stderr] | [INFO] [stderr] 102 | 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:104:58 [INFO] [stderr] | [INFO] [stderr] 104 | 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:106:58 [INFO] [stderr] | [INFO] [stderr] 106 | 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:82:15 [INFO] [stderr] | [INFO] [stderr] 82 | 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:94:15 [INFO] [stderr] | [INFO] [stderr] 94 | 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:14:64 [INFO] [stderr] | [INFO] [stderr] 14 | 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:17:76 [INFO] [stderr] | [INFO] [stderr] 17 | 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:20:51 [INFO] [stderr] | [INFO] [stderr] 20 | 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:23:51 [INFO] [stderr] | [INFO] [stderr] 23 | 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:26:27 [INFO] [stderr] | [INFO] [stderr] 26 | 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:29:19 [INFO] [stderr] | [INFO] [stderr] 29 | 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:32:41 [INFO] [stderr] | [INFO] [stderr] 32 | 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:37:46 [INFO] [stderr] | [INFO] [stderr] 37 | 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:43:6 [INFO] [stderr] | [INFO] [stderr] 43 | 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:44:66 [INFO] [stderr] | [INFO] [stderr] 44 | 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:48:78 [INFO] [stderr] | [INFO] [stderr] 48 | 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:53:51 [INFO] [stderr] | [INFO] [stderr] 53 | 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:58:51 [INFO] [stderr] | [INFO] [stderr] 58 | 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:62:27 [INFO] [stderr] | [INFO] [stderr] 62 | 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:66:26 [INFO] [stderr] | [INFO] [stderr] 66 | 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:66:47 [INFO] [stderr] | [INFO] [stderr] 66 | 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:71:38 [INFO] [stderr] | [INFO] [stderr] 71 | 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:71:69 [INFO] [stderr] | [INFO] [stderr] 71 | 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:76:53 [INFO] [stderr] | [INFO] [stderr] 76 | 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:76:74 [INFO] [stderr] | [INFO] [stderr] 76 | 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::{core::RpcResult, 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/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 = "subscribe", 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:46:1 [INFO] [stderr] | [INFO] [stderr] 46 | #[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:10:2 [INFO] [stderr] | [INFO] [stderr] 10 | 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:23:2 [INFO] [stderr] | [INFO] [stderr] 23 | 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] 24 | | Ok(42u16) [INFO] [stderr] 25 | | } [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:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::core::{async_trait, 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/correct/only_server.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | 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/only_server.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::ws_server::{SubscriptionSink, WsServerBuilder}; [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:7:3 [INFO] [stderr] | [INFO] [stderr] 7 | #[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:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | #[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:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | #[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:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | #[subscription(name = "subscribe", 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:21:3 [INFO] [stderr] | [INFO] [stderr] 21 | #[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:38:15 [INFO] [stderr] | [INFO] [stderr] 38 | 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:10:64 [INFO] [stderr] | [INFO] [stderr] 10 | 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:13:27 [INFO] [stderr] | [INFO] [stderr] 13 | 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: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] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:22:6 [INFO] [stderr] | [INFO] [stderr] 22 | 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:23:66 [INFO] [stderr] | [INFO] [stderr] 23 | 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: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 `SubscriptionSink` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:31:26 [INFO] [stderr] | [INFO] [stderr] 31 | 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:31:47 [INFO] [stderr] | [INFO] [stderr] 31 | 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:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | #[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:11:2 [INFO] [stderr] | [INFO] [stderr] 11 | 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:14:2 [INFO] [stderr] | [INFO] [stderr] 14 | 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:17:2 [INFO] [stderr] | [INFO] [stderr] 17 | 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:24:2 [INFO] [stderr] | [INFO] [stderr] 24 | 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] 25 | | assert_eq!(param_a, 0); [INFO] [stderr] 26 | | assert_eq!(¶m_b, "a"); [INFO] [stderr] 27 | | Ok(42u16) [INFO] [stderr] 28 | | } [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:30:2 [INFO] [stderr] | [INFO] [stderr] 30 | 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] 31 | | assert_eq!(param_a, 0); [INFO] [stderr] 32 | | assert_eq!(¶m_b, "a"); [INFO] [stderr] 33 | | Ok(42u16) [INFO] [stderr] 34 | | } [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:36:2 [INFO] [stderr] | [INFO] [stderr] 36 | 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] 37 | | assert_eq!(param_a, 0); [INFO] [stderr] 38 | | assert_eq!(¶m_b, "a"); [INFO] [stderr] 39 | | Ok(42u16) [INFO] [stderr] 40 | | } [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:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::ws_client::*; [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/param_kind.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | 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/param_kind.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use jsonrpsee::core::{async_trait, 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/correct/param_kind.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::ws_server::WsServerBuilder; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::proc_macros::rpc`, `jsonrpsee::core::async_trait`, `jsonrpsee::core::RpcResult`, `jsonrpsee::ws_server::WsServerBuilder` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 4 | use jsonrpsee::core::{async_trait, RpcResult}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 5 | use jsonrpsee::ws_client::*; [INFO] [stderr] 6 | use jsonrpsee::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:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | #[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:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[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:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | #[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:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | #[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: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/param_kind.rs:44:15 [INFO] [stderr] | [INFO] [stderr] 44 | 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:56:15 [INFO] [stderr] | [INFO] [stderr] 56 | 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:11:75 [INFO] [stderr] | [INFO] [stderr] 11 | 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:14:73 [INFO] [stderr] | [INFO] [stderr] 14 | 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:17:77 [INFO] [stderr] | [INFO] [stderr] 17 | 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: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/param_kind.rs:24:75 [INFO] [stderr] | [INFO] [stderr] 24 | 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:30:73 [INFO] [stderr] | [INFO] [stderr] 30 | 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:36:77 [INFO] [stderr] | [INFO] [stderr] 36 | 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::{core::RpcResult, 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/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:15:35 [INFO] [stderr] | [INFO] [stderr] 15 | 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::core::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/correct/rpc_deny_missing_docs.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | 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/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", unsubscribe = "unsub", 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.8 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking futures-core v0.3.21 [INFO] [stderr] Checking serde v1.0.136 [INFO] [stderr] Checking futures-task v0.3.21 [INFO] [stderr] Checking thiserror v1.0.30 [INFO] [stderr] Checking tokio v1.17.0 [INFO] [stderr] Checking proc-macro2 v1.0.37 [INFO] [stderr] Checking futures-channel v0.3.21 [INFO] [stderr] Checking futures-util v0.3.21 [INFO] [stderr] Checking syn v1.0.91 [INFO] [stderr] Checking quote v1.0.18 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Checking proc-macro-crate v1.1.3 [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 3.48s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/method/method_ignored_arguments.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Method argument names must be valid Rust identifiers; got `_` instead [INFO] [stderr] --> $DIR/method_ignored_arguments.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | async fn a(&self, _: Vec); [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_ignored_arguments.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | async fn a(&self, _: Vec); [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_ignored_arguments.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_ignored_arguments.rs:3:3 [INFO] [stderr] | [INFO] [stderr] 3 | #[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/incorrect/method/method_ignored_arguments.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | #[method(name = "a")] [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/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::core::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::core::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::core::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::core::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::core::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::core::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::core::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::core::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::core::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:63:20 [INFO] [stderr] | [INFO] [stderr] 63 | 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:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | #[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:18:2 [INFO] [stderr] | [INFO] [stderr] 18 | 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:23:2 [INFO] [stderr] | [INFO] [stderr] 23 | 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:34:2 [INFO] [stderr] | [INFO] [stderr] 34 | async fn async_method(&self) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 35 | | Ok(16u8) [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/incorrect/rpc/rpc_deprecated_method.rs:38:2 [INFO] [stderr] | [INFO] [stderr] 38 | async fn async_method_unused(&self) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 39 | | Ok(32u8) [INFO] [stderr] 40 | | } [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:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonrpsee::ws_client::*; [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_deprecated_method.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | 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_deprecated_method.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonrpsee::core::{async_trait, 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_deprecated_method.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonrpsee::ws_server::WsServerBuilder; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::proc_macros::rpc`, `jsonrpsee::core::async_trait`, `jsonrpsee::core::RpcResult`, `jsonrpsee::ws_server::WsServerBuilder` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | use jsonrpsee::core::{async_trait, RpcResult}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 10 | use jsonrpsee::ws_client::*; [INFO] [stderr] 11 | use jsonrpsee::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:13:3 [INFO] [stderr] | [INFO] [stderr] 13 | #[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:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | #[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:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | #[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:26:4 [INFO] [stderr] | [INFO] [stderr] 26 | #[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:32:3 [INFO] [stderr] | [INFO] [stderr] 32 | #[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:48:15 [INFO] [stderr] | [INFO] [stderr] 48 | 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:60:15 [INFO] [stderr] | [INFO] [stderr] 60 | 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:18:34 [INFO] [stderr] | [INFO] [stderr] 18 | 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:23:41 [INFO] [stderr] | [INFO] [stderr] 23 | 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: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[E0405]: cannot find trait `DeprecatedServer` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | 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:34:34 [INFO] [stderr] | [INFO] [stderr] 34 | 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:38:41 [INFO] [stderr] | [INFO] [stderr] 38 | 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:42:27 [INFO] [stderr] | [INFO] [stderr] 42 | 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, core::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::core::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::core::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::core::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::core::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::core::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::{core::RpcResult, 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_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 = "subscribeAlias", 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::{core::RpcResult, 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_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 = "subscribeOne" => "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 = "subscribeTwo" => "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::{core::RpcResult, 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_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", unsubscribe = "unsubscribeOne", 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] [stderr] test tests/ui/incorrect/sub/sub_unsupported_field.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown argument `magic`, expected one of: `aliases`, `item`, `name`, `param_kind`, `unsubscribe`, `unsubscribe_aliases` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_unsupported_field.rs:6:65 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "sub", unsubscribe = "unsub", item = u8, magic = true)] [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_unsupported_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/sub/sub_unsupported_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 `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_unsupported_field.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "sub", unsubscribe = "unsub", item = u8, magic = true)] [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] [INFO] [stderr] [INFO] [stdout] test ui_fail ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ui_pass stdout ---- [INFO] [stdout] thread 'ui_pass' panicked at '7 of 7 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.59/src/run.rs:78:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5645fa450b0d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5645fa450b0d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5645fa450b0d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5645fa450b0d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5645fa47559c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5645fa44c6c1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5645fa452855 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5645fa452855 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5645fa452855 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5645fa452544 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5645fa452da2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5645fa452c87 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5645fa450fc4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5645fa4529b9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5645fa1d8573 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5645fa261ac5 - trybuild::run::::run::h3eec974487d97242 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.59/src/run.rs:78:13 [INFO] [stdout] 16: 0x5645fa2663e4 - ::drop::h43326d51ab81a394 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.59/src/lib.rs:308:13 [INFO] [stdout] 17: 0x5645fa1d98a7 - core::ptr::drop_in_place::h117e1cd4db916626 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ptr/mod.rs:448:1 [INFO] [stdout] 18: 0x5645fa1d962d - ui::ui_pass::h526d61d6f2dbb461 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:12:1 [INFO] [stdout] 19: 0x5645fa1d95ca - ui::ui_pass::{{closure}}::h6e56b36485c49e68 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:9:1 [INFO] [stdout] 20: 0x5645fa1d983e - core::ops::function::FnOnce::call_once::h84a83b4f6486ea44 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5645fa42a8c3 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5645fa42a8c3 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 23: 0x5645fa429679 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 24: 0x5645fa429679 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x5645fa429679 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x5645fa429679 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x5645fa429679 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x5645fa429679 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 29: 0x5645fa429679 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 30: 0x5645fa3f582e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 31: 0x5645fa3f582e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x5645fa3fad98 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x5645fa3fad98 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x5645fa3fad98 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x5645fa3fad98 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x5645fa3fad98 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x5645fa3fad98 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x5645fa3fad98 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5645fa458463 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x5645fa458463 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 41: 0x5645fa458463 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f6ff6dc7609 - start_thread [INFO] [stdout] 43: 0x7f6ff6b97163 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- ui_fail stdout ---- [INFO] [stdout] thread 'ui_fail' panicked at '18 of 18 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.59/src/run.rs:78:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5645fa450b0d - std::backtrace_rs::backtrace::libunwind::trace::ha359b7f0090e2792 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5645fa450b0d - std::backtrace_rs::backtrace::trace_unsynchronized::h0584631f25c1d70e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5645fa450b0d - std::sys_common::backtrace::_print_fmt::hdadffd97d279ff14 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:66:5 [INFO] [stdout] 3: 0x5645fa450b0d - ::fmt::h26f189e611080a74 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:45:22 [INFO] [stdout] 4: 0x5645fa47559c - core::fmt::write::hfb5d11dfe037e8b7 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/fmt/mod.rs:1194:17 [INFO] [stdout] 5: 0x5645fa44c6c1 - std::io::Write::write_fmt::h6a24ec64406df9e2 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/io/mod.rs:1655:15 [INFO] [stdout] 6: 0x5645fa452855 - std::sys_common::backtrace::_print::h7a0e44402913ba60 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:48:5 [INFO] [stdout] 7: 0x5645fa452855 - std::sys_common::backtrace::print::h9767dc455a84e728 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:35:9 [INFO] [stdout] 8: 0x5645fa452855 - std::panicking::default_hook::{{closure}}::h60afd6c8b12988ad [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:295:22 [INFO] [stdout] 9: 0x5645fa452544 - std::panicking::default_hook::ha7b9bac6813f9d21 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:311:9 [INFO] [stdout] 10: 0x5645fa452da2 - std::panicking::rust_panic_with_hook::h7b117a162a6f8664 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:698:17 [INFO] [stdout] 11: 0x5645fa452c87 - std::panicking::begin_panic_handler::{{closure}}::h346750923c608600 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:588:13 [INFO] [stdout] 12: 0x5645fa450fc4 - std::sys_common::backtrace::__rust_end_short_backtrace::h768c56c6a0c055c0 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:138:18 [INFO] [stdout] 13: 0x5645fa4529b9 - rust_begin_unwind [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:584:5 [INFO] [stdout] 14: 0x5645fa1d8573 - core::panicking::panic_fmt::h5c41cb2fa118fdbc [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panicking.rs:143:14 [INFO] [stdout] 15: 0x5645fa261ac5 - trybuild::run::::run::h3eec974487d97242 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.59/src/run.rs:78:13 [INFO] [stdout] 16: 0x5645fa2663e4 - ::drop::h43326d51ab81a394 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.59/src/lib.rs:308:13 [INFO] [stdout] 17: 0x5645fa1d98a7 - core::ptr::drop_in_place::h117e1cd4db916626 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ptr/mod.rs:448:1 [INFO] [stdout] 18: 0x5645fa1d96bd - ui::ui_fail::hca739b56dbddb1c5 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:18:1 [INFO] [stdout] 19: 0x5645fa1d965a - ui::ui_fail::{{closure}}::h7f51d2f6a4f25cf8 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:15:1 [INFO] [stdout] 20: 0x5645fa1d97fe - core::ops::function::FnOnce::call_once::h65b09803db5154ab [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5645fa42a8c3 - core::ops::function::FnOnce::call_once::h018fc248431ce8de [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5645fa42a8c3 - test::__rust_begin_short_backtrace::h293b982b6069d6e3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:574:5 [INFO] [stdout] 23: 0x5645fa429679 - as core::ops::function::FnOnce>::call_once::h4fc1be1a762c7a46 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 24: 0x5645fa429679 - as core::ops::function::FnOnce<()>>::call_once::hd44623ec51b9e897 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x5645fa429679 - std::panicking::try::do_call::ha8cfa4b025f5b832 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 26: 0x5645fa429679 - std::panicking::try::h664f75e41c112145 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 27: 0x5645fa429679 - std::panic::catch_unwind::h4932ec05cd60558e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 28: 0x5645fa429679 - test::run_test_in_process::ha14a47756671755c [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:597:18 [INFO] [stdout] 29: 0x5645fa429679 - test::run_test::run_test_inner::{{closure}}::h0ec9e37c8f67b62d [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:491:39 [INFO] [stdout] 30: 0x5645fa3f582e - test::run_test::run_test_inner::{{closure}}::hd9d2e7f26d4f59e6 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/test/src/lib.rs:518:37 [INFO] [stdout] 31: 0x5645fa3f582e - std::sys_common::backtrace::__rust_begin_short_backtrace::h41c0a39fac5123f8 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys_common/backtrace.rs:122:18 [INFO] [stdout] 32: 0x5645fa3fad98 - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h69a02ca0bebb6eeb [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:498:17 [INFO] [stdout] 33: 0x5645fa3fad98 - as core::ops::function::FnOnce<()>>::call_once::hdd05632920ce689b [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x5645fa3fad98 - std::panicking::try::do_call::hb4947142729b90fd [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:492:40 [INFO] [stdout] 35: 0x5645fa3fad98 - std::panicking::try::h15a7e9b8394e6878 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panicking.rs:456:19 [INFO] [stdout] 36: 0x5645fa3fad98 - std::panic::catch_unwind::hbd3f4a3f9df49b85 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/panic.rs:137:14 [INFO] [stdout] 37: 0x5645fa3fad98 - std::thread::Builder::spawn_unchecked_::{{closure}}::h880b5d5f1b9799f4 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/thread/mod.rs:497:30 [INFO] [stdout] 38: 0x5645fa3fad98 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h304d5eaf401f5061 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5645fa458463 - as core::ops::function::FnOnce>::call_once::hdba7f2afed0c35b3 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 40: 0x5645fa458463 - as core::ops::function::FnOnce>::call_once::h38b0832765bf7961 [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/alloc/src/boxed.rs:1861:9 [INFO] [stdout] 41: 0x5645fa458463 - std::sys::unix::thread::Thread::new::thread_start::h70236dc17753425e [INFO] [stdout] at /rustc/7c13df853721b60a03e7c0bb084d2eb1e27a9caa/library/std/src/sys/unix/thread.rs:108:17 [INFO] [stdout] 42: 0x7f6ff6dc7609 - start_thread [INFO] [stdout] 43: 0x7f6ff6b97163 - 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 23.61s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test ui' [INFO] running `Command { std: "docker" "inspect" "69cfa07f6adf400a4461a81dd2b219350cf429ccf0dc7077da2a8253cd6fa8ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69cfa07f6adf400a4461a81dd2b219350cf429ccf0dc7077da2a8253cd6fa8ca", kill_on_drop: false }` [INFO] [stdout] 69cfa07f6adf400a4461a81dd2b219350cf429ccf0dc7077da2a8253cd6fa8ca