[INFO] fetching crate jsonrpsee-proc-macros 0.25.1... [INFO] testing jsonrpsee-proc-macros-0.25.1 against master#b03b3a7ec92682be2917540b679478d41c95a30c for pr-137122-1 [INFO] extracting crate jsonrpsee-proc-macros 0.25.1 into /workspace/builds/worker-6-tc1/source [INFO] started tweaking crates.io crate jsonrpsee-proc-macros 0.25.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate jsonrpsee-proc-macros 0.25.1 [INFO] tweaked toml for crates.io crate jsonrpsee-proc-macros 0.25.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonrpsee-proc-macros 0.25.1 on toolchain b03b3a7ec92682be2917540b679478d41c95a30c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jsonrpsee-proc-macros 0.25.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 105b7ece8543b473974bcc38a5c7f29f463a5d696420326836619524894461cb [INFO] running `Command { std: "docker" "start" "-a" "105b7ece8543b473974bcc38a5c7f29f463a5d696420326836619524894461cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "105b7ece8543b473974bcc38a5c7f29f463a5d696420326836619524894461cb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "105b7ece8543b473974bcc38a5c7f29f463a5d696420326836619524894461cb", kill_on_drop: false }` [INFO] [stdout] 105b7ece8543b473974bcc38a5c7f29f463a5d696420326836619524894461cb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7d88268aed1812064f7b38c171dc6ae6b903272a2244c198707efe60be80da46 [INFO] running `Command { std: "docker" "start" "-a" "7d88268aed1812064f7b38c171dc6ae6b903272a2244c198707efe60be80da46", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.25.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/attributes.rs:139:48 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result; N]> { [INFO] [stdout] | ^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result>; N]> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.52s [INFO] running `Command { std: "docker" "inspect" "7d88268aed1812064f7b38c171dc6ae6b903272a2244c198707efe60be80da46", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7d88268aed1812064f7b38c171dc6ae6b903272a2244c198707efe60be80da46", kill_on_drop: false }` [INFO] [stdout] 7d88268aed1812064f7b38c171dc6ae6b903272a2244c198707efe60be80da46 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4f14d351934d97a922e6e43d36da4ea5355645d2a926f5b71516f5ff8052ace [INFO] running `Command { std: "docker" "start" "-a" "b4f14d351934d97a922e6e43d36da4ea5355645d2a926f5b71516f5ff8052ace", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling serde_spanned v0.6.8 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling toml v0.8.20 [INFO] [stderr] Compiling trybuild v1.0.104 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.25.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/attributes.rs:139:48 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result; N]> { [INFO] [stdout] | ^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result>; N]> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/attributes.rs:139:48 [INFO] [stdout] | [INFO] [stdout] 139 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result; N]> { [INFO] [stdout] | ^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 139 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result>; N]> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 26.06s [INFO] running `Command { std: "docker" "inspect" "b4f14d351934d97a922e6e43d36da4ea5355645d2a926f5b71516f5ff8052ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4f14d351934d97a922e6e43d36da4ea5355645d2a926f5b71516f5ff8052ace", kill_on_drop: false }` [INFO] [stdout] b4f14d351934d97a922e6e43d36da4ea5355645d2a926f5b71516f5ff8052ace [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+b03b3a7ec92682be2917540b679478d41c95a30c" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 49dcd019e922182925ef6b78fa831af239cef0920681ee196babfe925241e3fd [INFO] running `Command { std: "docker" "start" "-a" "49dcd019e922182925ef6b78fa831af239cef0920681ee196babfe925241e3fd", kill_on_drop: false }` [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/attributes.rs:139:48 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result; N]> { [INFO] [stderr] | ^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 139 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result>; N]> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `jsonrpsee-proc-macros` (lib) generated 1 warning [INFO] [stderr] warning: `jsonrpsee-proc-macros` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jsonrpsee_proc_macros-c561e405bbc9c56d) [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::it_works ... ok [INFO] [stdout] test visitor::tests::several_type_params ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/ui.rs (/opt/rustwide/target/debug/deps/ui-f9e1588f2166244e) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling winnow v0.7.6 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling smallvec v1.15.0 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling indexmap v2.9.0 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling toml_edit v0.22.24 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.25.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/attributes.rs:139:48 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result; N]> { [INFO] [stderr] | ^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 139 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result>; N]> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] warning: `jsonrpsee-proc-macros` (lib) generated 1 warning [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.11 [INFO] [stderr] Compiling jsonrpsee-proc-macros-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/jsonrpsee-proc-macros) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 33.26s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/alias_doesnt_use_namespace.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{core::RpcResult, proc_macros::rpc}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:7:4 [INFO] [stderr] | [INFO] [stderr] 7 | #[method(name = "getTemp", aliases = ["getTemp"])] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[subscription(name = "subscribeGetFood", item = String, aliases = ["getFood"], unsubscribe_aliases = ["unsubscribegetFood"])] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [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:243:1 [INFO] [stderr] | [INFO] [stderr] 243 | #[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[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonrpsee::ws_client::*; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::client::ClientT; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::core::params::ArrayParams; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use jsonrpsee::core::{RpcResult, SubscriptionResult, async_trait, to_json_raw_value}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonrpsee::types::ErrorObject; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:141:6 [INFO] [stderr] | [INFO] [stderr] 141 | use jsonrpsee::core::middleware::{Batch, Notification, RpcServiceBuilder, RpcServiceT}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:142:6 [INFO] [stderr] | [INFO] [stderr] 142 | use jsonrpsee::server::stop_channel; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonrpsee::{Extensions, PendingSubscriptionSink, rpc_params}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | #[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:18:4 [INFO] [stderr] | [INFO] [stderr] 18 | #[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:21:4 [INFO] [stderr] | [INFO] [stderr] 21 | #[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:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | #[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:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | #[method(name = "rename_params", param_kind= map)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `argument` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | #[argument(rename = "type")] r#type: u16, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `argument` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | #[argument(rename = "halfType")] ignored_name: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:34:4 [INFO] [stderr] | [INFO] [stderr] 34 | #[method(name = "async_conn_id", with_extensions)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:37:4 [INFO] [stderr] | [INFO] [stderr] 37 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:40:4 [INFO] [stderr] | [INFO] [stderr] 40 | #[method(name = "sync_conn_id", with_extensions)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:43:4 [INFO] [stderr] | [INFO] [stderr] 43 | #[subscription(name = "subscribe", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:46:4 [INFO] [stderr] | [INFO] [stderr] 46 | #[subscription(name = "subscribe_conn_id", item = u32, with_extensions)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:49:4 [INFO] [stderr] | [INFO] [stderr] 49 | #[subscription(name = "echo", unsubscribe = "unsubscribeEcho", aliases = ["ECHO"], item = u32, unsubscribe_aliases = ["NotInterested", "... [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:54:4 [INFO] [stderr] | [INFO] [stderr] 54 | #[subscription(name = "subscribe_method" => "subscribe_override", item = u32)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:163:17 [INFO] [stderr] | [INFO] [stderr] 163 | mut request: jsonrpsee::types::Request<'a>, [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:188:21 [INFO] [stderr] | [INFO] [stderr] 188 | let svc_builder = jsonrpsee::server::Server::builder().to_service_builder(); [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:61:6 [INFO] [stderr] | [INFO] [stderr] 61 | impl RpcServer for RpcServerImpl { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `server` in `hyper_util` [INFO] [stderr] --> tests/ui/correct/basic.rs:228:31 [INFO] [stderr] | [INFO] [stderr] 228 | let builder = hyper_util::server::conn::auto::Builder::new(TokioExecutor::new()); [INFO] [stderr] | ^^^^^^ could not find `server` in `hyper_util` [INFO] [stderr] | [INFO] [stderr] note: found an item that was configured out [INFO] [stderr] --> $CARGO/hyper-util-0.1.11/src/lib.rs [INFO] [stderr] | [INFO] [stderr] | pub mod server; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] note: the item is gated behind the `server` feature [INFO] [stderr] --> $CARGO/hyper-util-0.1.11/src/lib.rs [INFO] [stderr] | [INFO] [stderr] | #[cfg(feature = "server")] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] help: consider importing one of these structs [INFO] [stderr] | [INFO] [stderr] 3 + use std::thread::Builder; [INFO] [stderr] | [INFO] [stderr] 3 + use tokio::runtime::Builder; [INFO] [stderr] | [INFO] [stderr] help: if you import `Builder`, refer to it directly [INFO] [stderr] | [INFO] [stderr] 228 - let builder = hyper_util::server::conn::auto::Builder::new(TokioExecutor::new()); [INFO] [stderr] 228 + let builder = Builder::new(TokioExecutor::new()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:84:32 [INFO] [stderr] | [INFO] [stderr] 84 | async fn conn_id(&self, ext: &jsonrpsee::Extensions) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:88:31 [INFO] [stderr] | [INFO] [stderr] 88 | fn sync_conn_id(&self, ext: &jsonrpsee::Extensions) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/correct/basic.rs:247:15 [INFO] [stderr] | [INFO] [stderr] 247 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/custom_ret_types.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/custom_ret_types.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | #[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[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonrpsee::ws_client::*; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::{async_trait, ClientError, Serialize}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use jsonrpsee::server::{IntoResponse, ResponsePayload, ServerBuilder}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::core::async_trait`, `jsonrpsee::core::ClientError`, `jsonrpsee::core::Serialize`, `jsonrpsee::proc_macros::rpc`, `jsonrpsee::server::IntoResponse`, `jsonrpsee::server::ResponsePayload`, `jsonrpsee::server::ServerBuilder` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::{async_trait, ClientError, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 6 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | use jsonrpsee::server::{IntoResponse, ResponsePayload, ServerBuilder}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:39:4 [INFO] [stderr] | [INFO] [stderr] 39 | #[method(name = "async_method1")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:42:4 [INFO] [stderr] | [INFO] [stderr] 42 | #[method(name = "async_method2")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:45:4 [INFO] [stderr] | [INFO] [stderr] 45 | #[method(name = "sync_method1")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:48:4 [INFO] [stderr] | [INFO] [stderr] 48 | #[method(name = "sync_method2")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:51:4 [INFO] [stderr] | [INFO] [stderr] 51 | #[method(name = "blocking_method1", blocking)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:54:4 [INFO] [stderr] | [INFO] [stderr] 54 | #[method(name = "blocking_method2", blocking)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:92:4 [INFO] [stderr] | [INFO] [stderr] 92 | #[method(name = "async_method1")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:95:4 [INFO] [stderr] | [INFO] [stderr] 95 | #[method(name = "async_method2")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:98:4 [INFO] [stderr] | [INFO] [stderr] 98 | #[method(name = "sync_method1")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:101:4 [INFO] [stderr] | [INFO] [stderr] 101 | #[method(name = "sync_method2")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:104:4 [INFO] [stderr] | [INFO] [stderr] 104 | #[method(name = "blocking_method1")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:107:4 [INFO] [stderr] | [INFO] [stderr] 107 | #[method(name = "blocking_method2")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:32:22 [INFO] [stderr] | [INFO] [stderr] 32 | let error_object = jsonrpsee::types::ErrorObjectOwned::owned(code, "custom_error", data); [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:61:6 [INFO] [stderr] | [INFO] [stderr] 61 | 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/custom_ret_types.rs:93:35 [INFO] [stderr] | [INFO] [stderr] 93 | async fn async_method1(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] --> $RUST/core/src/result.rs [INFO] [stderr] | [INFO] [stderr] = note: similarly named enum `Result` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:99:34 [INFO] [stderr] | [INFO] [stderr] 99 | async fn sync_method1(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] --> $RUST/core/src/result.rs [INFO] [stderr] | [INFO] [stderr] = note: similarly named enum `Result` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:105:38 [INFO] [stderr] | [INFO] [stderr] 105 | async fn blocking_method1(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] --> $RUST/core/src/result.rs [INFO] [stderr] | [INFO] [stderr] = note: similarly named enum `Result` defined here [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:125:15 [INFO] [stderr] | [INFO] [stderr] 125 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/only_client.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/only_client.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:7:4 [INFO] [stderr] | [INFO] [stderr] 7 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | #[subscription(name = "subscribe", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:8:76 [INFO] [stderr] | [INFO] [stderr] 8 | async fn async_method(&self, param_a: u8, param_b: String) -> Result; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 3 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use std::io::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use core::error::Error; [INFO] [stderr] | [INFO] [stderr] and 10 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:11:39 [INFO] [stderr] | [INFO] [stderr] 11 | fn sync_method(&self) -> Result; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 3 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use std::io::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use core::error::Error; [INFO] [stderr] | [INFO] [stderr] and 10 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:14:36 [INFO] [stderr] | [INFO] [stderr] 14 | async fn sub(&self) -> Result<(), Error>; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 3 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use std::io::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use core::error::Error; [INFO] [stderr] | [INFO] [stderr] and 10 other candidates [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:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/only_server.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::core::{RpcResult, SubscriptionResult, async_trait, to_json_raw_value}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/only_server.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/only_server.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::server::{PendingSubscriptionSink, ServerBuilder}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | #[subscription(name = "subscribe", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:22:6 [INFO] [stderr] | [INFO] [stderr] 22 | impl RpcServer for RpcServerImpl { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/param_kind.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/correct/param_kind.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | #[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[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::ws_client::*; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::core::{async_trait, RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::server::ServerBuilder; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::core::async_trait`, `jsonrpsee::core::RpcResult`, `jsonrpsee::proc_macros::rpc`, `jsonrpsee::server::ServerBuilder` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::core::{async_trait, RpcResult}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 4 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 5 | use jsonrpsee::server::ServerBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[method(name = "method_with_array_param", param_kind = array)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | #[method(name="method_with_map_param", param_kind= map)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | #[method(name = "method_with_default_param")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | impl RpcServer for RpcServerImpl { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:57:15 [INFO] [stderr] | [INFO] [stderr] 57 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/parse_angle_brackets.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [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] [INFO] [stderr] test tests/ui/correct/rpc_bounds.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/rpc_bounds.rs:140:1 [INFO] [stderr] | [INFO] [stderr] 140 | #[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[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonrpsee::ws_client::*; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::{async_trait, RpcResult, SubscriptionResult}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use jsonrpsee::server::ServerBuilder; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::core::async_trait`, `jsonrpsee::core::RpcResult`, `jsonrpsee::core::SubscriptionResult`, `jsonrpsee::proc_macros::rpc`, `jsonrpsee::server::ServerBuilder` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::{async_trait, RpcResult, SubscriptionResult}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | use jsonrpsee::server::ServerBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:31:4 [INFO] [stderr] | [INFO] [stderr] 31 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:38:4 [INFO] [stderr] | [INFO] [stderr] 38 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:45:4 [INFO] [stderr] | [INFO] [stderr] 45 | #[method(name = "getHeader")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:53:4 [INFO] [stderr] | [INFO] [stderr] 53 | #[subscription(name = "sub", unsubscribe = "unsub", item = Vec)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:64:4 [INFO] [stderr] | [INFO] [stderr] 64 | #[method(name = "getHeader")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:75:4 [INFO] [stderr] | [INFO] [stderr] 75 | #[method(name = "getHeader")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:82:4 [INFO] [stderr] | [INFO] [stderr] 82 | #[method(name = "getHeader")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:86:4 [INFO] [stderr] | [INFO] [stderr] 86 | #[method(name = "getBlock")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:92:4 [INFO] [stderr] | [INFO] [stderr] 92 | #[method(name = "getBlockHash")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:96:4 [INFO] [stderr] | [INFO] [stderr] 96 | #[method(name = "getFinalizedHead")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:100:4 [INFO] [stderr] | [INFO] [stderr] 100 | #[subscription(name = "subscribeAllHeads", item = Header)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `MyRpcSServer` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:107:6 [INFO] [stderr] | [INFO] [stderr] 107 | impl MyRpcSServer for ServerOnlyImpl { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `MyRpcSCServer` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:116:6 [INFO] [stderr] | [INFO] [stderr] 116 | impl MyRpcSCServer for ServerClientServerImpl { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:144:15 [INFO] [stderr] | [INFO] [stderr] 144 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:145:22 [INFO] [stderr] | [INFO] [stderr] 145 | let client_second = WsClientBuilder::default().build(&server_w_client_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MyRpcCClient` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:148:13 [INFO] [stderr] | [INFO] [stderr] 148 | assert_eq!(MyRpcCClient::::method(&client).await.unwrap(), [0u8; 32]); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `MyRpcCClient` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MyRpcCClient` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:150:13 [INFO] [stderr] | [INFO] [stderr] 150 | assert_eq!(MyRpcCClient::::method(&client_second).await.unwrap(), [0u8; 32]); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `MyRpcCClient` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MyRpcCClient` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:153:13 [INFO] [stderr] | [INFO] [stderr] 153 | assert_eq!(MyRpcCClient::::method(&client).await.unwrap(), [0u8; 32]); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `MyRpcCClient` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MyRpcSCClient` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | assert_eq!(MyRpcSCClient::::method(&client_second).await.unwrap(), [0u8; 32]); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `MyRpcSCClient` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/rpc_deny_missing_docs.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | #[subscription(name = "sub", unsubscribe = "unsub", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/server_with_raw_methods.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/server_with_raw_methods.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::{core::RpcResult, proc_macros::rpc, types::ErrorObjectOwned}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/server_with_raw_methods.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/server_with_raw_methods.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui_pass ... FAILED [INFO] [stderr] Checking libc v0.2.171 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking smallvec v1.15.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking winnow v0.7.6 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking proc-macro2 v1.0.94 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/attributes.rs:139:48 [INFO] [stderr] | [INFO] [stderr] 139 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result; N]> { [INFO] [stderr] | ^^^^ this lifetime flows to the output --------------- the lifetime gets resolved as `'_` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 139 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result>; N]> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `jsonrpsee-proc-macros` (lib) generated 1 warning [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tracing-core v0.1.33 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking socket2 v0.5.9 [INFO] [stderr] Checking mio v1.0.3 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking syn v2.0.100 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking tokio v1.44.2 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking toml_edit v0.22.24 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.11 [INFO] [stderr] Checking proc-macro-crate v3.3.0 [INFO] [stderr] Checking jsonrpsee-proc-macros-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/jsonrpsee-proc-macros) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.60s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/method/method_ignored_arguments.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Method argument names must be valid Rust identifiers; got `_` instead [INFO] [stderr] --> $DIR/method_ignored_arguments.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | async fn a(&self, _: Vec); [INFO] [stderr] | ^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_ignored_arguments.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_ignored_arguments.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | #[method(name = "a")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/method/method_no_name.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Missing argument `name` [INFO] [stderr] --> $DIR/method_no_name.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method()] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [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_non_result_return_type.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Expecting something like 'Result' here, but got no generic args (eg no ''). [INFO] [stderr] --> tests/ui/incorrect/method/method_non_result_return_type.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | async fn a(&self) -> u16; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0271]: expected `impl Future> + Send` to be a future that resolves to `()`, but it resolves to `Result<_, ClientError>` [INFO] [stderr] --> tests/ui/incorrect/method/method_non_result_return_type.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[rpc(client)] [INFO] [stderr] | ^^^^^^^^^^^^^^ expected `()`, found `Result<_, ClientError>` [INFO] [stderr] | [INFO] [stderr] = note: expected unit type `()` [INFO] [stderr] found enum `Result<_, ClientError>` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_non_result_return_type.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_non_result_return_type.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | #[method(name = "a")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/method/method_unexpected_field.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown argument `magic`, expected one of: `aliases`, `blocking`, `name`, `param_kind`, `with_extensions` [INFO] [stderr] --> tests/ui/incorrect/method/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[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [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 `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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:9:34 [INFO] [stderr] | [INFO] [stderr] 9 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:17:34 [INFO] [stderr] | [INFO] [stderr] 17 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [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_bounds_without_impl.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Attribute 'client' must be specified with 'client_bounds' [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub trait ClientBoundsForbidden { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: Attribute 'server' must be specified with 'server_bounds' [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait ServerBoundsForbidden { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:10:41 [INFO] [stderr] | [INFO] [stderr] 10 | fn method(&self) -> Result; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use std::io::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use core::error::Error; [INFO] [stderr] | [INFO] [stderr] and 10 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:16:41 [INFO] [stderr] | [INFO] [stderr] 16 | fn method(&self) -> Result; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use std::io::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use core::error::Error; [INFO] [stderr] | [INFO] [stderr] and 10 other candidates [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[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [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] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_deprecated_method.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: use of deprecated method `DeprecatedClient::async_method`: please use `new_method` instead [INFO] [stderr] --> $DIR/rpc_deprecated_method.rs:63:20 [INFO] [stderr] | [INFO] [stderr] 63 | assert_eq!(client.async_method().await.unwrap(), 16); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> $DIR/rpc_deprecated_method.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonrpsee::ws_client::*; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonrpsee::core::{async_trait, RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonrpsee::server::ServerBuilder; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::core::async_trait`, `jsonrpsee::core::RpcResult`, `jsonrpsee::proc_macros::rpc`, `jsonrpsee::server::ServerBuilder` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonrpsee::core::{async_trait, RpcResult}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 9 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | use jsonrpsee::server::ServerBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | #[method(name = "foo_unused")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:26:4 [INFO] [stderr] | [INFO] [stderr] 26 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `DeprecatedServer` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | impl DeprecatedServer for DeprecatedServerImpl { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:60:15 [INFO] [stderr] | [INFO] [stderr] 60 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] 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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [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_bounds.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `::Hash: DeserializeOwned` is not satisfied [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `::Hash` [INFO] [stderr] | [INFO] [stderr] = note: required for `::Hash` to implement `DeserializeOwned` [INFO] [stderr] note: required by a bound in `request` [INFO] [stderr] --> $WORKSPACE/core/src/client/mod.rs [INFO] [stderr] | [INFO] [stderr] | fn request(&self, method: &str, params: Params) -> impl Future> + Send [INFO] [stderr] | ------- required by a bound in this associated function [INFO] [stderr] | where [INFO] [stderr] | R: DeserializeOwned, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `ClientT::request` [INFO] [stderr] = note: this error originates in the attribute macro `rpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `::Hash: Serialize` is not satisfied [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `::Hash` [INFO] [stderr] | [INFO] [stderr] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `::Hash` type [INFO] [stderr] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stderr] = note: required for `Result<::Hash, ErrorObject<'_>>` to implement `IntoResponse` [INFO] [stderr] = note: this error originates in the attribute macro `rpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `::Hash: Clone` is not satisfied [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `::Hash` [INFO] [stderr] | [INFO] [stderr] = note: required for `Result<::Hash, ErrorObject<'_>>` to implement `IntoResponse` [INFO] [stderr] = note: this error originates in the attribute macro `rpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{core::RpcResult, proc_macros::rpc}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | #[method(name = "bar")] [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/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[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{proc_macros::rpc, core::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [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] 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[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_not_qualified.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Methods must have either 'method' or 'subscription' attribute [INFO] [stderr] --> $DIR/rpc_not_qualified.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_not_qualified.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [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:11 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_conflicting_alias.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_conflicting_alias.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | #[subscription(name = "subscribeAlias", item = String, aliases = ["hello_is_goodbye"], unsubscribe_aliases = ["hello_is_goodbye"])] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_dup_name_override.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "override" is already defined [INFO] [stderr] --> $DIR/sub_dup_name_override.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | async fn two(&self); [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_dup_name_override.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_dup_name_override.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "subscribeOne" => "override", item = u8)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_dup_name_override.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | #[subscription(name = "subscribeTwo" => "override", item = u8)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] 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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_empty_attr.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription()] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_name_override.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "one" is already defined [INFO] [stderr] --> $DIR/sub_name_override.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | async fn one(&self); [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_name_override.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_name_override.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "one" => "one", unsubscribe = "unsubscribeOne", item = u8)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] 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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [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 unresolved module or unlinked crate `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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_no_name.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_unsupported_field.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown argument `magic`, expected one of: `aliases`, `item`, `name`, `param_kind`, `unsubscribe`, `unsubscribe_aliases`, `with_extensions` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_unsupported_field.rs:6:65 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "sub", unsubscribe = "unsub", item = u8, magic = true)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_unsupported_field.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "sub", unsubscribe = "unsub", item = u8, magic = true)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui_fail ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ui_pass stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'ui_pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.104/src/run.rs:102:13: [INFO] [stdout] 10 of 10 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x560b40520bb2 - std::backtrace_rs::backtrace::libunwind::trace::hf6dd235ae0786829 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x560b40520bb2 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a5b54e78104e8b2 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x560b40520bb2 - std::sys::backtrace::_print_fmt::hca7a5c1644e21919 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x560b40520bb2 - ::fmt::h38110959524b373c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x560b4054a213 - core::fmt::rt::Argument::fmt::h391eb3fdbf3d4042 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x560b4054a213 - core::fmt::write::h5b87140645224122 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x560b4051cf53 - std::io::default_write_fmt::h3039811ce7aea84b [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x560b4051cf53 - std::io::Write::write_fmt::h2eef262cf4840ab4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x560b40520a02 - std::sys::backtrace::BacktraceLock::print::hcd755c38f62e4492 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x560b4052314c - std::panicking::default_hook::{{closure}}::h351f33591b26e6e7 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x560b40522fa2 - std::panicking::default_hook::he5bba7bf0a373c6e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x560b404e7444 - as core::ops::function::Fn>::call::he967d9fa26b9957c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x560b404e7444 - test::test_main_with_exit_callback::{{closure}}::h80e1694b81a05381 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x560b40523c2b - as core::ops::function::Fn>::call::h4e924fcf5bc64d70 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x560b40523c2b - std::panicking::rust_panic_with_hook::hdf456b43e6535023 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x560b405238fa - std::panicking::begin_panic_handler::{{closure}}::he1c1ab0b84006a97 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x560b405210a9 - std::sys::backtrace::__rust_end_short_backtrace::h2a71da996e10b8a0 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x560b4052358d - __rustc[92197b79f0fe8095]::rust_begin_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x560b40548610 - core::panicking::panic_fmt::h723bf1d52f6dad29 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x560b4020c405 - trybuild::run::::run::h0c1dc3db162a3880 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.104/src/run.rs:102:13 [INFO] [stdout] 20: 0x560b40211c28 - ::drop::hb74a577928d45ede [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.104/src/lib.rs:341:38 [INFO] [stdout] 21: 0x560b401fdbb7 - core::ptr::drop_in_place::h36dcbf2bcddedf3c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 22: 0x560b401fe3f3 - ui::ui_pass::hf526ae149e2ef9aa [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:12:1 [INFO] [stdout] 23: 0x560b401fe387 - ui::ui_pass::{{closure}}::hc0ab72cf69061a9a [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:9:13 [INFO] [stdout] 24: 0x560b401fdb56 - core::ops::function::FnOnce::call_once::h980a251c9529c33a [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x560b404ecbeb - core::ops::function::FnOnce::call_once::h0669c8b9c48a7d8a [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x560b404ecbeb - test::__rust_begin_short_backtrace::h7b085d6d90a7575c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x560b404ebdbe - test::run_test_in_process::{{closure}}::ha304053f1e1d1fbe [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x560b404ebdbe - as core::ops::function::FnOnce<()>>::call_once::h8e30650eb6723f86 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x560b404ebdbe - std::panicking::catch_unwind::do_call::hfe563e330be3fd9d [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x560b404ebdbe - std::panicking::catch_unwind::hed40f568f7f44546 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x560b404ebdbe - std::panic::catch_unwind::h3bb9c46c11d39dfb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x560b404ebdbe - test::run_test_in_process::hd65f1a6e6622ae42 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x560b404ebdbe - test::run_test::{{closure}}::h9e896de936f245ea [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x560b404af9b4 - test::run_test::{{closure}}::hbb18881f56552c10 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x560b404af9b4 - std::sys::backtrace::__rust_begin_short_backtrace::hca2387d32733b689 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 36: 0x560b404b32aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9601175bf02a7fb8 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x560b404b32aa - as core::ops::function::FnOnce<()>>::call_once::had8286ad0e1f2528 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x560b404b32aa - std::panicking::catch_unwind::do_call::he4164e9e75841fd6 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x560b404b32aa - std::panicking::catch_unwind::h48ccc52a84ae7300 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x560b404b32aa - std::panic::catch_unwind::h3d97eb787aa35ee4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x560b404b32aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h1019329d11de31fb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x560b404b32aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h050615be551c6447 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x560b405270e7 - as core::ops::function::FnOnce>::call_once::h23e83c3768c28e74 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x560b405270e7 - as core::ops::function::FnOnce>::call_once::he67b41932d2c126e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 45: 0x560b405270e7 - std::sys::pal::unix::thread::Thread::new::thread_start::hc05bf0eaa2386caa [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 46: 0x737993085aa4 - [INFO] [stdout] 47: 0x737993112a34 - clone [INFO] [stdout] 48: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- ui_fail stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'ui_fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.104/src/run.rs:102:13: [INFO] [stdout] 20 of 20 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x560b40520bb2 - std::backtrace_rs::backtrace::libunwind::trace::hf6dd235ae0786829 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x560b40520bb2 - std::backtrace_rs::backtrace::trace_unsynchronized::h3a5b54e78104e8b2 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x560b40520bb2 - std::sys::backtrace::_print_fmt::hca7a5c1644e21919 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x560b40520bb2 - ::fmt::h38110959524b373c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x560b4054a213 - core::fmt::rt::Argument::fmt::h391eb3fdbf3d4042 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x560b4054a213 - core::fmt::write::h5b87140645224122 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/fmt/mod.rs:1465:25 [INFO] [stdout] 6: 0x560b4051cf53 - std::io::default_write_fmt::h3039811ce7aea84b [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x560b4051cf53 - std::io::Write::write_fmt::h2eef262cf4840ab4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x560b40520a02 - std::sys::backtrace::BacktraceLock::print::hcd755c38f62e4492 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x560b4052314c - std::panicking::default_hook::{{closure}}::h351f33591b26e6e7 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x560b40522fa2 - std::panicking::default_hook::he5bba7bf0a373c6e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x560b404e7444 - as core::ops::function::Fn>::call::he967d9fa26b9957c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 12: 0x560b404e7444 - test::test_main_with_exit_callback::{{closure}}::h80e1694b81a05381 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x560b40523c2b - as core::ops::function::Fn>::call::h4e924fcf5bc64d70 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1980:9 [INFO] [stdout] 14: 0x560b40523c2b - std::panicking::rust_panic_with_hook::hdf456b43e6535023 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x560b405238fa - std::panicking::begin_panic_handler::{{closure}}::he1c1ab0b84006a97 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x560b405210a9 - std::sys::backtrace::__rust_end_short_backtrace::h2a71da996e10b8a0 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:168:18 [INFO] [stdout] 17: 0x560b4052358d - __rustc[92197b79f0fe8095]::rust_begin_unwind [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x560b40548610 - core::panicking::panic_fmt::h723bf1d52f6dad29 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x560b4020c405 - trybuild::run::::run::h0c1dc3db162a3880 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.104/src/run.rs:102:13 [INFO] [stdout] 20: 0x560b40211c28 - ::drop::hb74a577928d45ede [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.104/src/lib.rs:341:38 [INFO] [stdout] 21: 0x560b401fdbb7 - core::ptr::drop_in_place::h36dcbf2bcddedf3c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ptr/mod.rs:799:1 [INFO] [stdout] 22: 0x560b401fe493 - ui::ui_fail::h07cff968a7222971 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:18:1 [INFO] [stdout] 23: 0x560b401fe427 - ui::ui_fail::{{closure}}::hc3ed827d3d55157d [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:15:13 [INFO] [stdout] 24: 0x560b401fdb16 - core::ops::function::FnOnce::call_once::h55b5ce50691b4650 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x560b404ecbeb - core::ops::function::FnOnce::call_once::h0669c8b9c48a7d8a [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 26: 0x560b404ecbeb - test::__rust_begin_short_backtrace::h7b085d6d90a7575c [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x560b404ebdbe - test::run_test_in_process::{{closure}}::ha304053f1e1d1fbe [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x560b404ebdbe - as core::ops::function::FnOnce<()>>::call_once::h8e30650eb6723f86 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x560b404ebdbe - std::panicking::catch_unwind::do_call::hfe563e330be3fd9d [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x560b404ebdbe - std::panicking::catch_unwind::hed40f568f7f44546 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x560b404ebdbe - std::panic::catch_unwind::h3bb9c46c11d39dfb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x560b404ebdbe - test::run_test_in_process::hd65f1a6e6622ae42 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x560b404ebdbe - test::run_test::{{closure}}::h9e896de936f245ea [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x560b404af9b4 - test::run_test::{{closure}}::hbb18881f56552c10 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x560b404af9b4 - std::sys::backtrace::__rust_begin_short_backtrace::hca2387d32733b689 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/backtrace.rs:152:18 [INFO] [stdout] 36: 0x560b404b32aa - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h9601175bf02a7fb8 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x560b404b32aa - as core::ops::function::FnOnce<()>>::call_once::had8286ad0e1f2528 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x560b404b32aa - std::panicking::catch_unwind::do_call::he4164e9e75841fd6 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x560b404b32aa - std::panicking::catch_unwind::h48ccc52a84ae7300 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x560b404b32aa - std::panic::catch_unwind::h3d97eb787aa35ee4 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x560b404b32aa - std::thread::Builder::spawn_unchecked_::{{closure}}::h1019329d11de31fb [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x560b404b32aa - core::ops::function::FnOnce::call_once{{vtable.shim}}::h050615be551c6447 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 43: 0x560b405270e7 - as core::ops::function::FnOnce>::call_once::h23e83c3768c28e74 [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 44: 0x560b405270e7 - as core::ops::function::FnOnce>::call_once::he67b41932d2c126e [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/alloc/src/boxed.rs:1966:9 [INFO] [stdout] 45: 0x560b405270e7 - std::sys::pal::unix::thread::Thread::new::thread_start::hc05bf0eaa2386caa [INFO] [stdout] at /rustc/b03b3a7ec92682be2917540b679478d41c95a30c/library/std/src/sys/pal/unix/thread.rs:97:17 [INFO] [stdout] 46: 0x737993085aa4 - [INFO] [stdout] 47: 0x737993112a34 - clone [INFO] [stdout] 48: 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 47.99s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test ui` [INFO] running `Command { std: "docker" "inspect" "49dcd019e922182925ef6b78fa831af239cef0920681ee196babfe925241e3fd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49dcd019e922182925ef6b78fa831af239cef0920681ee196babfe925241e3fd", kill_on_drop: false }` [INFO] [stdout] 49dcd019e922182925ef6b78fa831af239cef0920681ee196babfe925241e3fd