[INFO] fetching crate jsonrpsee-proc-macros 0.4.1... [INFO] testing jsonrpsee-proc-macros-0.4.1 against master#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] extracting crate jsonrpsee-proc-macros 0.4.1 into /workspace/builds/worker-0/source [INFO] validating manifest of crates.io crate jsonrpsee-proc-macros 0.4.1 on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-proc-macros 0.4.1 [INFO] finished tweaking crates.io crate jsonrpsee-proc-macros 0.4.1 [INFO] tweaked toml for crates.io crate jsonrpsee-proc-macros 0.4.1 written to /workspace/builds/worker-0/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f616aed33c4042d18fea3bc6261dd729bfe730d92b6223a8efbf24f3f3f86b5 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0f616aed33c4042d18fea3bc6261dd729bfe730d92b6223a8efbf24f3f3f86b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f616aed33c4042d18fea3bc6261dd729bfe730d92b6223a8efbf24f3f3f86b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f616aed33c4042d18fea3bc6261dd729bfe730d92b6223a8efbf24f3f3f86b5", kill_on_drop: false }` [INFO] [stdout] 0f616aed33c4042d18fea3bc6261dd729bfe730d92b6223a8efbf24f3f3f86b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] e3de653c019108a6b2a3826c9fbf83f6fd539bcb725b5d83f93748137bdae6d2 [INFO] running `Command { std: "docker" "start" "-a" "e3de653c019108a6b2a3826c9fbf83f6fd539bcb725b5d83f93748137bdae6d2", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.84s [INFO] running `Command { std: "docker" "inspect" "e3de653c019108a6b2a3826c9fbf83f6fd539bcb725b5d83f93748137bdae6d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e3de653c019108a6b2a3826c9fbf83f6fd539bcb725b5d83f93748137bdae6d2", kill_on_drop: false }` [INFO] [stdout] e3de653c019108a6b2a3826c9fbf83f6fd539bcb725b5d83f93748137bdae6d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 98a1ebb920cf4da47bd296ff3b181753660e9ccd88f2ee5c04035b62a43e2783 [INFO] running `Command { std: "docker" "start" "-a" "98a1ebb920cf4da47bd296ff3b181753660e9ccd88f2ee5c04035b62a43e2783", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling trybuild v1.0.52 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 51.28s [INFO] running `Command { std: "docker" "inspect" "98a1ebb920cf4da47bd296ff3b181753660e9ccd88f2ee5c04035b62a43e2783", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98a1ebb920cf4da47bd296ff3b181753660e9ccd88f2ee5c04035b62a43e2783", kill_on_drop: false }` [INFO] [stdout] 98a1ebb920cf4da47bd296ff3b181753660e9ccd88f2ee5c04035b62a43e2783 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c58f3f829cf7d48ecf6d02b6b36fa7766c9c0afd6dca45c77c456e0c7b801509 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "c58f3f829cf7d48ecf6d02b6b36fa7766c9c0afd6dca45c77c456e0c7b801509", kill_on_drop: false }` [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.06s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/jsonrpsee_proc_macros-0fcfabe8baf832a2) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test helpers::tests::is_option_works ... ok [INFO] [stdout] test visitor::tests::nested_type ... ok [INFO] [stdout] test visitor::tests::several_type_params ... ok [INFO] [stdout] test visitor::tests::it_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/ui.rs (/opt/rustwide/target/debug/deps/ui-9fc6db8278b0c8da) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Checking quote v1.0.10 [INFO] [stderr] Checking toml v0.5.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Checking proc-macro-crate v1.1.0 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.4.1 (/opt/rustwide/workdir) [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 53.50s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/method/method_no_name.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Missing argument `name` [INFO] [stderr] --> $DIR/method_no_name.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method()] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method()] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/method/method_unexpected_field.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown argument `magic`, expected one of: `aliases`, `name`, `resources` [INFO] [stderr] --> $DIR/method_unexpected_field.rs:6:25 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "foo", magic = false)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "foo", magic = false)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_assoc_items.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Only methods allowed in RPC traits [INFO] [stderr] --> $DIR/rpc_assoc_items.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | const WOO: usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: Only methods allowed in RPC traits [INFO] [stderr] --> $DIR/rpc_assoc_items.rs:14:2 [INFO] [stderr] | [INFO] [stderr] 14 | type Woo; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:9:2 [INFO] [stderr] | [INFO] [stderr] 9 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:17:2 [INFO] [stderr] | [INFO] [stderr] 17 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:9:34 [INFO] [stderr] | [INFO] [stderr] 9 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:17:34 [INFO] [stderr] | [INFO] [stderr] 17 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_conflicting_alias.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "foo_dup" is already defined [INFO] [stderr] --> $DIR/rpc_conflicting_alias.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:3:3 [INFO] [stderr] | [INFO] [stderr] 3 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | #[method(name = "foo", aliases = "foo_dup, foo_dup")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_empty.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: RPC cannot be empty [INFO] [stderr] --> $DIR/rpc_empty.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait Empty {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_name_conflict.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "foo" is already defined [INFO] [stderr] --> $DIR/rpc_name_conflict.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | async fn bar(&self) -> RpcResult; [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | async fn foo(&self) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:10:2 [INFO] [stderr] | [INFO] [stderr] 10 | async fn bar(&self) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{proc_macros::rpc, types::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:7:25 [INFO] [stderr] | [INFO] [stderr] 7 | async fn foo(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:10:25 [INFO] [stderr] | [INFO] [stderr] 10 | async fn bar(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_no_impls.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Either 'server' or 'client' attribute must be applied [INFO] [stderr] --> $DIR/rpc_no_impls.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait NoImpls { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc()] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_not_qualified.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Methods must have either 'method' or 'subscription' attribute [INFO] [stderr] --> $DIR/rpc_not_qualified.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_not_qualified.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_not_qualified.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_not_qualified.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_not_qualified.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_async.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Subscription methods must not be `async` [INFO] [stderr] --> $DIR/sub_async.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | / #[subscription(name = "sub", item = u8)] [INFO] [stderr] 7 | | async fn sub(&self); [INFO] [stderr] | |________________________^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_async.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | async fn sub(&self); [INFO] [stderr] | -----^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_async.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_async.rs:4:3 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_async.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "sub", item = u8)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_conflicting_alias.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "hello_is_goodbye" is already defined [INFO] [stderr] --> $DIR/sub_conflicting_alias.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | fn async_method(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_conflicting_alias.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{proc_macros::rpc, types::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_conflicting_alias.rs:3:3 [INFO] [stderr] | [INFO] [stderr] 3 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_conflicting_alias.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | #[subscription(name = "alias", item = String, aliases = "hello_is_goodbye", unsubscribe_aliases = "hello_is_goodbye")] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_conflicting_alias.rs:6:28 [INFO] [stderr] | [INFO] [stderr] 6 | fn async_method(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_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_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`, `unsubscribe_aliases` [INFO] [stderr] --> $DIR/sub_unsupported_field.rs:6:42 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "sub", 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", 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] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stdout] test ui_pass has been running for over 60 seconds [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling proc-macro-crate v1.1.0 [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 27.18s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/alias_doesnt_use_namespace.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{proc_macros::rpc, types::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:3:3 [INFO] [stderr] | [INFO] [stderr] 3 | #[rpc(client, server, namespace = "myapi")] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "getTemp", aliases = "getTemp")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | #[subscription(name = "getFood", item = String, aliases = "getFood", unsubscribe_aliases = "unsubscribegetFood")] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:7:64 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:10:19 [INFO] [stderr] | [INFO] [stderr] 10 | fn sub(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/basic.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/correct/basic.rs:82:1 [INFO] [stderr] | [INFO] [stderr] 82 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:15:2 [INFO] [stderr] | [INFO] [stderr] 15 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:18:2 [INFO] [stderr] | [INFO] [stderr] 18 | async fn optional_params(&self, a: std::option::Option, b: String) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:21:2 [INFO] [stderr] | [INFO] [stderr] 21 | async fn optional_param(&self, a: Option) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:24:2 [INFO] [stderr] | [INFO] [stderr] 24 | async fn array_params(&self, items: Vec) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:40:2 [INFO] [stderr] | [INFO] [stderr] 40 | 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] 41 | | Ok(42u16) [INFO] [stderr] 42 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:44:2 [INFO] [stderr] | [INFO] [stderr] 44 | 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] 45 | | let res = if a.is_some() { true } else { false }; [INFO] [stderr] 46 | | Ok(res) [INFO] [stderr] 47 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:49:2 [INFO] [stderr] | [INFO] [stderr] 49 | async fn optional_param(&self, a: Option) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 50 | | let res = if a.is_some() { true } else { false }; [INFO] [stderr] 51 | | Ok(res) [INFO] [stderr] 52 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/basic.rs:54:2 [INFO] [stderr] | [INFO] [stderr] 54 | async fn array_params(&self, items: Vec) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 55 | | Ok(items.len() as u64) [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[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::proc_macros::rpc`, `jsonrpsee`, `jsonrpsee::types::async_trait`, `jsonrpsee::types::traits::Client`, `jsonrpsee::types::RpcResult`, `jsonrpsee::ws_server::SubscriptionSink`, `jsonrpsee::ws_server::WsServerBuilder` [INFO] [stderr] --> tests/ui/correct/basic.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] 4 | proc_macros::rpc, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 5 | rpc_params, [INFO] [stderr] 6 | types::{async_trait, traits::Client, RpcResult}, [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 7 | ws_client::*, [INFO] [stderr] 8 | ws_server::{SubscriptionSink, WsServerBuilder}, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:12:3 [INFO] [stderr] | [INFO] [stderr] 12 | #[rpc(client, server, namespace = "foo")] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:14:4 [INFO] [stderr] | [INFO] [stderr] 14 | #[method(name = "foo", aliases = "fooAlias, Other")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | #[method(name = "optional_params")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:20:4 [INFO] [stderr] | [INFO] [stderr] 20 | #[method(name = "optional_param")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:23:4 [INFO] [stderr] | [INFO] [stderr] 23 | #[method(name = "array_params")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:26:4 [INFO] [stderr] | [INFO] [stderr] 26 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:29:4 [INFO] [stderr] | [INFO] [stderr] 29 | #[subscription(name = "sub", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:32:4 [INFO] [stderr] | [INFO] [stderr] 32 | #[subscription(name = "echo", aliases = "ECHO", item = u32, unsubscribe_aliases = "NotInterested, listenNoMore")] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `async_trait` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:38:3 [INFO] [stderr] | [INFO] [stderr] 38 | #[async_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot determine resolution for the macro `rpc_params` [INFO] [stderr] --> tests/ui/correct/basic.rs:94:55 [INFO] [stderr] | [INFO] [stderr] 94 | 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:96:58 [INFO] [stderr] | [INFO] [stderr] 96 | 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:98:58 [INFO] [stderr] | [INFO] [stderr] 98 | 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:74:15 [INFO] [stderr] | [INFO] [stderr] 74 | 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:86:15 [INFO] [stderr] | [INFO] [stderr] 86 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:15:64 [INFO] [stderr] | [INFO] [stderr] 15 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:18:76 [INFO] [stderr] | [INFO] [stderr] 18 | async fn optional_params(&self, a: std::option::Option, b: String) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:21:51 [INFO] [stderr] | [INFO] [stderr] 21 | async fn optional_param(&self, a: Option) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:24:51 [INFO] [stderr] | [INFO] [stderr] 24 | async fn array_params(&self, items: Vec) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:27:27 [INFO] [stderr] | [INFO] [stderr] 27 | fn sync_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:30:19 [INFO] [stderr] | [INFO] [stderr] 30 | fn sub(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:33:41 [INFO] [stderr] | [INFO] [stderr] 33 | fn sub_with_params(&self, val: u32) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:39:6 [INFO] [stderr] | [INFO] [stderr] 39 | 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:40:66 [INFO] [stderr] | [INFO] [stderr] 40 | 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:44:78 [INFO] [stderr] | [INFO] [stderr] 44 | 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:49:51 [INFO] [stderr] | [INFO] [stderr] 49 | 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:54:51 [INFO] [stderr] | [INFO] [stderr] 54 | 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:58:27 [INFO] [stderr] | [INFO] [stderr] 58 | 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:62:26 [INFO] [stderr] | [INFO] [stderr] 62 | 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:62:47 [INFO] [stderr] | [INFO] [stderr] 62 | 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:67:38 [INFO] [stderr] | [INFO] [stderr] 67 | 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:67:69 [INFO] [stderr] | [INFO] [stderr] 67 | 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] [INFO] [stderr] test tests/ui/correct/only_client.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/only_client.rs:8:2 [INFO] [stderr] | [INFO] [stderr] 8 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/only_client.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::{proc_macros::rpc, types::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:5:3 [INFO] [stderr] | [INFO] [stderr] 5 | #[rpc(client)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:7:4 [INFO] [stderr] | [INFO] [stderr] 7 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | #[subscription(name = "sub", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:8:64 [INFO] [stderr] | [INFO] [stderr] 8 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:11:27 [INFO] [stderr] | [INFO] [stderr] 11 | fn sync_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/only_server.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/correct/only_server.rs:47:1 [INFO] [stderr] | [INFO] [stderr] 47 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/only_server.rs:11:2 [INFO] [stderr] | [INFO] [stderr] 11 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/only_server.rs:24:2 [INFO] [stderr] | [INFO] [stderr] 24 | async fn async_method(&self, _param_a: u8, _param_b: String) -> RpcResult { [INFO] [stderr] | ^---- [INFO] [stderr] | | [INFO] [stderr] | _____`async` because of this [INFO] [stderr] | | [INFO] [stderr] 25 | | Ok(42u16) [INFO] [stderr] 26 | | } [INFO] [stderr] | |_____^ [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/only_server.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{ [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | #[rpc(server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | #[subscription(name = "sub", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `async_trait` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:22:3 [INFO] [stderr] | [INFO] [stderr] 22 | #[async_trait] [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsServerBuilder` [INFO] [stderr] --> tests/ui/correct/only_server.rs:39:15 [INFO] [stderr] | [INFO] [stderr] 39 | let server = WsServerBuilder::default().build("127.0.0.1:0").await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsServerBuilder` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:11:64 [INFO] [stderr] | [INFO] [stderr] 11 | async fn async_method(&self, param_a: u8, param_b: String) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:14:27 [INFO] [stderr] | [INFO] [stderr] 14 | fn sync_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:17:19 [INFO] [stderr] | [INFO] [stderr] 17 | fn sub(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | impl RpcServer for RpcServerImpl { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:24:66 [INFO] [stderr] | [INFO] [stderr] 24 | async fn async_method(&self, _param_a: u8, _param_b: String) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:28:27 [INFO] [stderr] | [INFO] [stderr] 28 | fn sync_method(&self) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `SubscriptionSink` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:32:26 [INFO] [stderr] | [INFO] [stderr] 32 | fn sub(&self, mut sink: SubscriptionSink) -> RpcResult<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:32:47 [INFO] [stderr] | [INFO] [stderr] 32 | fn sub(&self, mut sink: SubscriptionSink) -> RpcResult<()> { [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/parse_angle_brackets.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/parse_angle_brackets.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{proc_macros::rpc, types::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/correct/parse_angle_brackets.rs:4:4 [INFO] [stderr] | [INFO] [stderr] 4 | #[rpc(server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/parse_angle_brackets.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/parse_angle_brackets.rs:14:35 [INFO] [stderr] | [INFO] [stderr] 14 | fn dummy_subscription(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/rpc_deny_missing_docs.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0706]: functions in traits cannot be declared `async` [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:12:2 [INFO] [stderr] | [INFO] [stderr] 12 | async fn async_method(&self) -> RpcResult; [INFO] [stderr] | -----^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | `async` because of this [INFO] [stderr] | [INFO] [stderr] = note: `async` trait functions are not currently supported [INFO] [stderr] = note: consider using the `async-trait` crate: https://crates.io/crates/async-trait [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::types::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of undeclared crate or module `jsonrpsee` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `rpc` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:8:3 [INFO] [stderr] | [INFO] [stderr] 8 | #[rpc(client, server)] [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: consider importing this attribute macro: [INFO] [stderr] jsonrpsee_proc_macros::rpc [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | #[subscription(name = "sub", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:12:34 [INFO] [stderr] | [INFO] [stderr] 12 | async fn async_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:16:19 [INFO] [stderr] | [INFO] [stderr] 16 | fn sub(&self) -> RpcResult<()>; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui_pass ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ui_fail stdout ---- [INFO] [stdout] thread 'ui_fail' panicked at '14 of 14 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/run.rs:74:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5637c18a4f6c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5637c18a4f6c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5637c18a4f6c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5637c18a4f6c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5637c18ca54c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x5637c18a00e5 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x5637c18a69c0 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5637c18a69c0 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5637c18a69c0 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x5637c18a65a6 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x5637c18a7074 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x5637c18a6b50 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x5637c18a5424 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x5637c18a6ab9 - rust_begin_unwind [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x5637c1641ac1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x5637c1651da9 - trybuild::run::::run::h862b6491014d2793 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/run.rs:74:13 [INFO] [stdout] 16: 0x5637c16567a4 - ::drop::h1d33616cc9e2154f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/lib.rs:306:13 [INFO] [stdout] 17: 0x5637c1642fd7 - core::ptr::drop_in_place::hcec804f062a26d02 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 18: 0x5637c1643a81 - ui::ui_fail::h5fdb89ef519e7775 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:18:1 [INFO] [stdout] 19: 0x5637c1643a3a - ui::ui_fail::{{closure}}::h39d9a6f1d86daa20 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:15:1 [INFO] [stdout] 20: 0x5637c1642ede - core::ops::function::FnOnce::call_once::h4e76e6c2f89b2d9c [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5637c1880ae3 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5637c1880ae3 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:585:5 [INFO] [stdout] 23: 0x5637c187f677 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 24: 0x5637c187f677 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x5637c187f677 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x5637c187f677 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:370:19 [INFO] [stdout] 27: 0x5637c187f677 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x5637c187f677 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:608:18 [INFO] [stdout] 29: 0x5637c187f677 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:500:39 [INFO] [stdout] 30: 0x5637c184c9be - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:527:37 [INFO] [stdout] 31: 0x5637c184c9be - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 32: 0x5637c18517e8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 33: 0x5637c18517e8 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x5637c18517e8 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:406:40 [INFO] [stdout] 35: 0x5637c18517e8 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:370:19 [INFO] [stdout] 36: 0x5637c18517e8 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panic.rs:133:14 [INFO] [stdout] 37: 0x5637c18517e8 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 38: 0x5637c18517e8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5637c18ad003 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x5637c18ad003 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x5637c18ad003 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: 0x7f0cacd36609 - start_thread [INFO] [stdout] 43: 0x7f0cacb08293 - clone [INFO] [stdout] 44: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- ui_pass stdout ---- [INFO] [stdout] thread 'ui_pass' panicked at '6 of 6 tests failed', /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/run.rs:74:13 [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x5637c18a4f6c - std::backtrace_rs::backtrace::libunwind::trace::h7630ba4cba718aa0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5 [INFO] [stdout] 1: 0x5637c18a4f6c - std::backtrace_rs::backtrace::trace_unsynchronized::he7498e79c157f5ac [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5 [INFO] [stdout] 2: 0x5637c18a4f6c - std::sys_common::backtrace::_print_fmt::hdaebadaee17bca49 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:67:5 [INFO] [stdout] 3: 0x5637c18a4f6c - ::fmt::h82b0e3aaf8a96140 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:46:22 [INFO] [stdout] 4: 0x5637c18ca54c - core::fmt::write::h72801a82c94e6ff1 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/fmt/mod.rs:1149:17 [INFO] [stdout] 5: 0x5637c18a00e5 - std::io::Write::write_fmt::h21d7683cabdb4c35 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/io/mod.rs:1697:15 [INFO] [stdout] 6: 0x5637c18a69c0 - std::sys_common::backtrace::_print::h1c9a1d19c48821c1 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:49:5 [INFO] [stdout] 7: 0x5637c18a69c0 - std::sys_common::backtrace::print::h7ce8802039fa9d0e [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:36:9 [INFO] [stdout] 8: 0x5637c18a69c0 - std::panicking::default_hook::{{closure}}::hb2a74a8c1499c326 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:211:50 [INFO] [stdout] 9: 0x5637c18a65a6 - std::panicking::default_hook::hf4f180b00076f2b2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:225:9 [INFO] [stdout] 10: 0x5637c18a7074 - std::panicking::rust_panic_with_hook::he85ce8435493b711 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:606:17 [INFO] [stdout] 11: 0x5637c18a6b50 - std::panicking::begin_panic_handler::{{closure}}::h31e15f69e6235bd2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:502:13 [INFO] [stdout] 12: 0x5637c18a5424 - std::sys_common::backtrace::__rust_end_short_backtrace::hfce2fadb61aaa3ae [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:139:18 [INFO] [stdout] 13: 0x5637c18a6ab9 - rust_begin_unwind [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:498:5 [INFO] [stdout] 14: 0x5637c1641ac1 - core::panicking::panic_fmt::h7b8580d81fcbbacd [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panicking.rs:107:14 [INFO] [stdout] 15: 0x5637c1651da9 - trybuild::run::::run::h862b6491014d2793 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/run.rs:74:13 [INFO] [stdout] 16: 0x5637c16567a4 - ::drop::h1d33616cc9e2154f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/trybuild-1.0.52/src/lib.rs:306:13 [INFO] [stdout] 17: 0x5637c1642fd7 - core::ptr::drop_in_place::hcec804f062a26d02 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ptr/mod.rs:188:1 [INFO] [stdout] 18: 0x5637c1643a01 - ui::ui_pass::hcdea23344a53ae80 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:12:1 [INFO] [stdout] 19: 0x5637c16439ba - ui::ui_pass::{{closure}}::h596998f2809baa8c [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:9:1 [INFO] [stdout] 20: 0x5637c1642f1e - core::ops::function::FnOnce::call_once::h5f558bb8e648c6b6 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 21: 0x5637c1880ae3 - core::ops::function::FnOnce::call_once::h449577f1c5b077cb [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 22: 0x5637c1880ae3 - test::__rust_begin_short_backtrace::h8c2a0a5090591869 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:585:5 [INFO] [stdout] 23: 0x5637c187f677 - as core::ops::function::FnOnce>::call_once::hea00a22128a38543 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 24: 0x5637c187f677 - as core::ops::function::FnOnce<()>>::call_once::he10b35c3c50d78a0 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 25: 0x5637c187f677 - std::panicking::try::do_call::hc868e78bbc5af2ab [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:406:40 [INFO] [stdout] 26: 0x5637c187f677 - std::panicking::try::he468aede74df1b04 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:370:19 [INFO] [stdout] 27: 0x5637c187f677 - std::panic::catch_unwind::hce3c9152e1cf772d [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panic.rs:133:14 [INFO] [stdout] 28: 0x5637c187f677 - test::run_test_in_process::h9c4ab8162080cf8c [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:608:18 [INFO] [stdout] 29: 0x5637c187f677 - test::run_test::run_test_inner::{{closure}}::he9483433cef16afe [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:500:39 [INFO] [stdout] 30: 0x5637c184c9be - test::run_test::run_test_inner::{{closure}}::h479f1f872a5501ea [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/test/src/lib.rs:527:37 [INFO] [stdout] 31: 0x5637c184c9be - std::sys_common::backtrace::__rust_begin_short_backtrace::h0f1e9b1f279687bc [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys_common/backtrace.rs:123:18 [INFO] [stdout] 32: 0x5637c18517e8 - std::thread::Builder::spawn_unchecked::{{closure}}::{{closure}}::he5560613c5f5cb83 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/thread/mod.rs:484:17 [INFO] [stdout] 33: 0x5637c18517e8 - as core::ops::function::FnOnce<()>>::call_once::h8190a68cb05ab92f [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/panic/unwind_safe.rs:271:9 [INFO] [stdout] 34: 0x5637c18517e8 - std::panicking::try::do_call::h6ae22f5ac22596e4 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:406:40 [INFO] [stdout] 35: 0x5637c18517e8 - std::panicking::try::h2381c25487d6a7c2 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panicking.rs:370:19 [INFO] [stdout] 36: 0x5637c18517e8 - std::panic::catch_unwind::hfe902f4d5c9d7b6d [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/panic.rs:133:14 [INFO] [stdout] 37: 0x5637c18517e8 - std::thread::Builder::spawn_unchecked::{{closure}}::h547fad40771a584e [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/thread/mod.rs:483:30 [INFO] [stdout] 38: 0x5637c18517e8 - core::ops::function::FnOnce::call_once{{vtable.shim}}::he8602a9971738410 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/core/src/ops/function.rs:227:5 [INFO] [stdout] 39: 0x5637c18ad003 - as core::ops::function::FnOnce>::call_once::he162a5c338a10a39 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 40: 0x5637c18ad003 - as core::ops::function::FnOnce>::call_once::hb27497b21740dd97 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/alloc/src/boxed.rs:1694:9 [INFO] [stdout] 41: 0x5637c18ad003 - std::sys::unix::thread::Thread::new::thread_start::he467e990e49c5136 [INFO] [stdout] at /rustc/a77da2d454e6caa227a85b16410b95f93495e7e0/library/std/src/sys/unix/thread.rs:106:17 [INFO] [stdout] 42: 0x7f0cacd36609 - start_thread [INFO] [stdout] 43: 0x7f0cacb08293 - 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 88.18s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass '--test ui' [INFO] running `Command { std: "docker" "inspect" "c58f3f829cf7d48ecf6d02b6b36fa7766c9c0afd6dca45c77c456e0c7b801509", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c58f3f829cf7d48ecf6d02b6b36fa7766c9c0afd6dca45c77c456e0c7b801509", kill_on_drop: false }` [INFO] [stdout] c58f3f829cf7d48ecf6d02b6b36fa7766c9c0afd6dca45c77c456e0c7b801509