[INFO] fetching crate jsonrpseex-proc-macros 0.25.2... [INFO] testing jsonrpseex-proc-macros-0.25.2 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate jsonrpseex-proc-macros 0.25.2 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate jsonrpseex-proc-macros 0.25.2 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate jsonrpseex-proc-macros 0.25.2 [INFO] tweaked toml for crates.io crate jsonrpseex-proc-macros 0.25.2 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonrpseex-proc-macros 0.25.2 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jsonrpseex-proc-macros 0.25.2 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1113343b62cf90e4285606583ca915d0bcf473413442c20c53a2e1c9f57bfd72 [INFO] running `Command { std: "docker" "start" "-a" "1113343b62cf90e4285606583ca915d0bcf473413442c20c53a2e1c9f57bfd72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1113343b62cf90e4285606583ca915d0bcf473413442c20c53a2e1c9f57bfd72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1113343b62cf90e4285606583ca915d0bcf473413442c20c53a2e1c9f57bfd72", kill_on_drop: false }` [INFO] [stdout] 1113343b62cf90e4285606583ca915d0bcf473413442c20c53a2e1c9f57bfd72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a1fac07ea06f8eefb126b6653e7605a1946a4f0fe78c86d57fcaad6e4f69d7f3 [INFO] running `Command { std: "docker" "start" "-a" "a1fac07ea06f8eefb126b6653e7605a1946a4f0fe78c86d57fcaad6e4f69d7f3", kill_on_drop: false }` [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling jsonrpseex-proc-macros v0.25.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/attributes.rs:140:48 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result; N]> { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 140 | 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 8.60s [INFO] running `Command { std: "docker" "inspect" "a1fac07ea06f8eefb126b6653e7605a1946a4f0fe78c86d57fcaad6e4f69d7f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a1fac07ea06f8eefb126b6653e7605a1946a4f0fe78c86d57fcaad6e4f69d7f3", kill_on_drop: false }` [INFO] [stdout] a1fac07ea06f8eefb126b6653e7605a1946a4f0fe78c86d57fcaad6e4f69d7f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f9d1c363dff90b9f29fb1731f4a3ef3027179bfe54ef67e2a302e5e2079cb722 [INFO] running `Command { std: "docker" "start" "-a" "f9d1c363dff90b9f29fb1731f4a3ef3027179bfe54ef67e2a302e5e2079cb722", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling target-triple v0.1.4 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling trybuild v1.0.105 [INFO] [stderr] Compiling jsonrpseex-proc-macros v0.25.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/attributes.rs:140:48 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result; N]> { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 140 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result>; N]> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/attributes.rs:140:48 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result; N]> { [INFO] [stdout] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 140 | 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.61s [INFO] running `Command { std: "docker" "inspect" "f9d1c363dff90b9f29fb1731f4a3ef3027179bfe54ef67e2a302e5e2079cb722", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9d1c363dff90b9f29fb1731f4a3ef3027179bfe54ef67e2a302e5e2079cb722", kill_on_drop: false }` [INFO] [stdout] f9d1c363dff90b9f29fb1731f4a3ef3027179bfe54ef67e2a302e5e2079cb722 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 06a8e6ec830aa5147916a736e1c01717b4162af1e486b7a9193e2ac9a5d3c6eb [INFO] running `Command { std: "docker" "start" "-a" "06a8e6ec830aa5147916a736e1c01717b4162af1e486b7a9193e2ac9a5d3c6eb", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/attributes.rs:140:48 [INFO] [stderr] | [INFO] [stderr] 140 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result; N]> { [INFO] [stderr] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 140 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result>; N]> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `jsonrpseex-proc-macros` (lib) generated 1 warning (run `cargo fix --lib -p jsonrpseex-proc-macros` to apply 1 suggestion) [INFO] [stderr] warning: `jsonrpseex-proc-macros` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jsonrpsee_proc_macros-7e5b5ba335c6627f) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test visitor::tests::it_works ... ok [INFO] [stdout] test visitor::tests::nested_type ... ok [INFO] [stdout] test helpers::tests::is_option_works ... ok [INFO] [stderr] Running tests/ui.rs (/opt/rustwide/target/debug/deps/ui-66660cc2371ae173) [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] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling tracing-core v0.1.34 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling http v1.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [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 jsonrpseex-proc-macros v0.25.2 (/opt/rustwide/workdir) [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/attributes.rs:140:48 [INFO] [stderr] | [INFO] [stderr] 140 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result; N]> { [INFO] [stderr] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 140 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result>; N]> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] warning: `jsonrpseex-proc-macros` (lib) generated 1 warning (run `cargo fix --lib -p jsonrpseex-proc-macros` to apply 1 suggestion) [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling hyper-util v0.1.14 [INFO] [stderr] Compiling jsonrpseex-proc-macros-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/jsonrpseex-proc-macros) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 28.71s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/alias_doesnt_use_namespace.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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 = ["NotIntere... [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] [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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] [INFO] [stderr] test tests/ui/correct/only_client.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: cannot find module or crate `jsonrpsee` in this scope [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[E0425]: 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[E0425]: 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[E0425]: 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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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] [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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] [INFO] [stderr] test tests/ui/correct/parse_angle_brackets.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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] [INFO] [stderr] test tests/ui/correct/rpc_deny_missing_docs.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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 itoa v1.0.15 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking hashbrown v0.15.4 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking libc v0.2.174 [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking winnow v0.7.11 [INFO] [stderr] Checking serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking proc-macro2 v1.0.95 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> /opt/rustwide/workdir/src/attributes.rs:140:48 [INFO] [stderr] | [INFO] [stderr] 140 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result; N]> { [INFO] [stderr] | ^^^^ the lifetime is elided here ^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 140 | pub fn retain(self, allowed: [&str; N]) -> syn::Result<[Result>; N]> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `jsonrpseex-proc-macros` (lib) generated 1 warning (run `cargo fix --lib -p jsonrpseex-proc-macros` to apply 1 suggestion) [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking syn v2.0.104 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking http v1.3.1 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking serde_json v1.0.140 [INFO] [stderr] Checking proc-macro-crate v3.3.0 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking hyper-util v0.1.14 [INFO] [stderr] Checking jsonrpseex-proc-macros-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/jsonrpseex-proc-macros) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.28s [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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] [stdout] test ui_fail ... FAILED [INFO] [stderr] 9 | #[method(name = "bar")] [INFO] [stdout] [INFO] [stderr] | ^^^^^^ [INFO] [stdout] failures: [INFO] [stderr] [INFO] [stdout] [INFO] [stderr] error[E0425]: cannot find type `Error` in this scope [INFO] [stdout] ---- ui_pass stdout ---- [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:10:41 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] thread 'ui_pass' (22) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/run.rs:102:13: [INFO] [stderr] 10 | fn method(&self) -> Result; [INFO] [stdout] 10 of 10 tests failed [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stdout] stack backtrace: [INFO] [stderr] | [INFO] [stdout] 0: 0x5aa18755f3fa - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stderr] help: consider importing one of these items [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] | [INFO] [stdout] 1: 0x5aa18755f3fa - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stderr] 1 + use std::error::Error; [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] | [INFO] [stdout] 2: 0x5aa18755f3fa - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stderr] 1 + use std::fmt::Error; [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stderr] | [INFO] [stdout] 3: 0x5aa18755f3fa - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stderr] 1 + use std::io::Error; [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stderr] | [INFO] [stdout] 4: 0x5aa187575b3a - ::fmt [INFO] [stderr] 1 + use core::error::Error; [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stderr] | [INFO] [stdout] 5: 0x5aa187575b3a - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stderr] = and 10 other candidates [INFO] [stdout] 6: 0x5aa1875642c2 - std[e72de78501789eb0]::io::default_write_fmt::> [INFO] [stderr] [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stderr] error[E0425]: cannot find type `Error` in this scope [INFO] [stdout] 7: 0x5aa1875642c2 - as std[e72de78501789eb0]::io::Write>::write_fmt [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:16:41 [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stderr] | [INFO] [stdout] 8: 0x5aa18753ae9f - ::print [INFO] [stderr] 16 | fn method(&self) -> Result; [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stdout] 9: 0x5aa18753ae9f - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stderr] help: consider importing one of these items [INFO] [stdout] 10: 0x5aa187556339 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:316:9 [INFO] [stderr] 1 + use std::error::Error; [INFO] [stdout] 11: 0x5aa1874f048c - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stderr] 1 + use std::fmt::Error; [INFO] [stdout] 12: 0x5aa1874f048c - test[4f12b380f1fb68c5]::test_main_with_exit_callback::::{closure#0} [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:145:21 [INFO] [stderr] 1 + use std::io::Error; [INFO] [stdout] 13: 0x5aa1875564f2 - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stderr] 1 + use core::error::Error; [INFO] [stdout] 14: 0x5aa1875564f2 - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:833:13 [INFO] [stderr] = and 10 other candidates [INFO] [stdout] 15: 0x5aa18753af58 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stdout] 16: 0x5aa187532609 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stderr] [INFO] [stdout] 17: 0x5aa18753bc6d - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_conflicting_alias.rs ... mismatch [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stderr] [INFO] [stdout] 18: 0x5aa1875762cc - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stderr] EXPECTED: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 19: 0x5aa18737acf4 - ::run [INFO] [stderr] error: "foo_dup" is already defined [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/run.rs:102:13 [INFO] [stderr] --> $DIR/rpc_conflicting_alias.rs:6:11 [INFO] [stdout] 20: 0x5aa18737f728 - ::drop [INFO] [stderr] | [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/lib.rs:341:38 [INFO] [stderr] 6 | async fn async_method(&self) -> RpcResult; [INFO] [stdout] 21: 0x5aa187231947 - core[6aaeda2c7ad07a48]::ptr::drop_in_place:: [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ptr/mod.rs:809:1 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 22: 0x5aa187231c33 - ui[f69f178f16a23ecf]::ui_pass [INFO] [stderr] [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:12:1 [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stdout] 23: 0x5aa187231b17 - ui[f69f178f16a23ecf]::ui_pass::{closure#0} [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:9:13 [INFO] [stderr] error[E0433]: cannot find module or crate `jsonrpsee` in this scope [INFO] [stdout] 24: 0x5aa187232106 - >::call_once [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:1:5 [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stderr] | [INFO] [stdout] 25: 0x5aa1874e456b - core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stdout] 26: 0x5aa1874e456b - test[4f12b380f1fb68c5]::__rust_begin_short_backtrace::, fn() -> core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:663:18 [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stdout] 27: 0x5aa1874f0f5b - test[4f12b380f1fb68c5]::run_test_in_process::{closure#0} [INFO] [stderr] [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:74 [INFO] [stderr] error[E0433]: cannot find module or crate `jsonrpsee` in this scope [INFO] [stdout] 28: 0x5aa1874f0f5b - as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:2:5 [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stderr] | [INFO] [stdout] 29: 0x5aa1874f0f5b - std[e72de78501789eb0]::panicking::catch_unwind::do_call::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stderr] 2 | use jsonrpsee::core::RpcResult; [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stdout] 30: 0x5aa1874f0f5b - std[e72de78501789eb0]::panicking::catch_unwind::, core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stdout] 31: 0x5aa1874f0f5b - std[e72de78501789eb0]::panic::catch_unwind::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stderr] [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stdout] 32: 0x5aa1874f0f5b - test[4f12b380f1fb68c5]::run_test_in_process [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:5:4 [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:27 [INFO] [stderr] | [INFO] [stdout] 33: 0x5aa1874f0f5b - test[4f12b380f1fb68c5]::run_test::{closure#0} [INFO] [stderr] 5 | #[method(name = "foo", aliases = ["foo_dup", "foo_dup"])] [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:607:43 [INFO] [stderr] | ^^^^^^ [INFO] [stdout] 34: 0x5aa1874ec674 - test[4f12b380f1fb68c5]::run_test::{closure#1} [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:637:41 [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stdout] 35: 0x5aa1874ec674 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:166:18 [INFO] [stderr] [INFO] [stdout] 36: 0x5aa1874f3b62 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_deprecated_method.rs ... mismatch [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stderr] [INFO] [stdout] 37: 0x5aa1874f3b62 - ::{closure#1}::{closure#0}> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] EXPECTED: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 38: 0x5aa1874f3b62 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stderr] error: use of deprecated method `DeprecatedClient::async_method`: please use `new_method` instead [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:63:20 [INFO] [stdout] 39: 0x5aa1874f3b62 - std[e72de78501789eb0]::panicking::catch_unwind::<(), core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stderr] 63 | assert_eq!(client.async_method().await.unwrap(), 16); [INFO] [stdout] 40: 0x5aa1874f3b62 - std[e72de78501789eb0]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stderr] | [INFO] [stdout] 41: 0x5aa1874f3b62 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stderr] note: the lint level is defined here [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:4:9 [INFO] [stdout] 42: 0x5aa1874f3b62 - ::{closure#1} as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stderr] 4 | #![deny(warnings)] [INFO] [stdout] 43: 0x5aa18755e73f - + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] | ^^^^^^^^ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2240:9 [INFO] [stderr] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stdout] 44: 0x5aa18755e73f - ::new::thread_start [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stderr] [INFO] [stdout] 45: 0x70ac51827aa4 - [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stdout] 46: 0x70ac518b4a64 - clone [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 47: 0x0 - [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stdout] [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:56:1 [INFO] [stdout] ---- ui_fail stdout ---- [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 56 | #[tokio::main] [INFO] [stdout] thread 'ui_fail' (21) panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/run.rs:102:13: [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] 20 of 20 tests failed [INFO] [stderr] | [INFO] [stdout] stack backtrace: [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] 0: 0x5aa18755f3fa - std[e72de78501789eb0]::backtrace_rs::backtrace::libunwind::trace [INFO] [stderr] [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stderr] error[E0433]: cannot find module or crate `jsonrpsee` in this scope [INFO] [stdout] 1: 0x5aa18755f3fa - std[e72de78501789eb0]::backtrace_rs::backtrace::trace_unsynchronized:: [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:11:5 [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stderr] | [INFO] [stdout] 2: 0x5aa18755f3fa - std[e72de78501789eb0]::sys::backtrace::_print_fmt [INFO] [stderr] 11 | use jsonrpsee::ws_client::*; [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:74:9 [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stdout] 3: 0x5aa18755f3fa - <::print::DisplayBacktrace as core[6aaeda2c7ad07a48]::fmt::Display>::fmt [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:44:26 [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stdout] 4: 0x5aa187575b3a - ::fmt [INFO] [stderr] [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/fmt/rt.rs:152:76 [INFO] [stderr] error[E0433]: cannot find module or crate `jsonrpsee` in this scope [INFO] [stdout] 5: 0x5aa187575b3a - core[6aaeda2c7ad07a48]::fmt::write [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:8:5 [INFO] [stdout] 6: 0x5aa1875642c2 - std[e72de78501789eb0]::io::default_write_fmt::> [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:639:11 [INFO] [stderr] 8 | use jsonrpsee::core::{async_trait, RpcResult}; [INFO] [stdout] 7: 0x5aa1875642c2 - as std[e72de78501789eb0]::io::Write>::write_fmt [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/io/mod.rs:1994:13 [INFO] [stderr] | [INFO] [stdout] 8: 0x5aa18753ae9f - ::print [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:47:9 [INFO] [stderr] [INFO] [stdout] 9: 0x5aa18753ae9f - std[e72de78501789eb0]::panicking::default_hook::{closure#0} [INFO] [stderr] error[E0433]: cannot find module or crate `jsonrpsee` in this scope [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:292:27 [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:9:5 [INFO] [stdout] 10: 0x5aa187556339 - std[e72de78501789eb0]::panicking::default_hook [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:316:9 [INFO] [stderr] 9 | use jsonrpsee::proc_macros::rpc; [INFO] [stdout] 11: 0x5aa1874f048c - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stderr] | [INFO] [stdout] 12: 0x5aa1874f048c - test[4f12b380f1fb68c5]::test_main_with_exit_callback::::{closure#0} [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:145:21 [INFO] [stderr] [INFO] [stdout] 13: 0x5aa1875564f2 - core[6aaeda2c7ad07a48]::ops::function::Fn<(&'a std[e72de78501789eb0]::panic::PanicHookInfo<'b>,), Output = ()> + core[6aaeda2c7ad07a48]::marker::Sync + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::Fn<(&std[e72de78501789eb0]::panic::PanicHookInfo,)>>::call [INFO] [stderr] error[E0433]: cannot find module or crate `jsonrpsee` in this scope [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2254:9 [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:10:5 [INFO] [stdout] 14: 0x5aa1875564f2 - std[e72de78501789eb0]::panicking::panic_with_hook [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:833:13 [INFO] [stderr] 10 | use jsonrpsee::server::ServerBuilder; [INFO] [stdout] 15: 0x5aa18753af58 - std[e72de78501789eb0]::panicking::panic_handler::{closure#0} [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:698:13 [INFO] [stderr] | [INFO] [stdout] 16: 0x5aa187532609 - std[e72de78501789eb0]::sys::backtrace::__rust_end_short_backtrace:: [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:182:18 [INFO] [stderr] [INFO] [stdout] 17: 0x5aa18753bc6d - __rustc[78a4cf188af856fc]::rust_begin_unwind [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::core::async_trait`, `jsonrpsee::core::RpcResult`, `jsonrpsee::proc_macros::rpc`, `jsonrpsee::server::ServerBuilder` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:689:5 [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:8:23 [INFO] [stdout] 18: 0x5aa1875762cc - core[6aaeda2c7ad07a48]::panicking::panic_fmt [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panicking.rs:80:14 [INFO] [stderr] 8 | use jsonrpsee::core::{async_trait, RpcResult}; [INFO] [stdout] 19: 0x5aa18737acf4 - ::run [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/run.rs:102:13 [INFO] [stderr] 9 | use jsonrpsee::proc_macros::rpc; [INFO] [stdout] 20: 0x5aa18737f728 - ::drop [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.105/src/lib.rs:341:38 [INFO] [stderr] 10 | use jsonrpsee::server::ServerBuilder; [INFO] [stdout] 21: 0x5aa187231947 - core[6aaeda2c7ad07a48]::ptr::drop_in_place:: [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ptr/mod.rs:809:1 [INFO] [stderr] [INFO] [stdout] 22: 0x5aa187231bc3 - ui[f69f178f16a23ecf]::ui_fail [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:18:1 [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:17:4 [INFO] [stdout] 23: 0x5aa187231ae7 - ui[f69f178f16a23ecf]::ui_fail::{closure#0} [INFO] [stderr] | [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:15:13 [INFO] [stderr] 17 | #[method(name = "foo")] [INFO] [stdout] 24: 0x5aa1872320c6 - >::call_once [INFO] [stderr] | ^^^^^^ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stderr] [INFO] [stdout] 25: 0x5aa1874e456b - core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:22:4 [INFO] [stdout] 26: 0x5aa1874e456b - test[4f12b380f1fb68c5]::__rust_begin_short_backtrace::, fn() -> core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:663:18 [INFO] [stderr] 22 | #[method(name = "foo_unused")] [INFO] [stdout] 27: 0x5aa1874f0f5b - test[4f12b380f1fb68c5]::run_test_in_process::{closure#0} [INFO] [stderr] | ^^^^^^ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:74 [INFO] [stderr] [INFO] [stdout] 28: 0x5aa1874f0f5b - as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:26:4 [INFO] [stdout] 29: 0x5aa1874f0f5b - std[e72de78501789eb0]::panicking::catch_unwind::do_call::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stderr] 26 | #[method(name = "bar")] [INFO] [stdout] 30: 0x5aa1874f0f5b - std[e72de78501789eb0]::panicking::catch_unwind::, core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe> [INFO] [stderr] | ^^^^^^ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 31: 0x5aa1874f0f5b - std[e72de78501789eb0]::panic::catch_unwind::, core[6aaeda2c7ad07a48]::result::Result<(), alloc[28d2dab30c1dc666]::string::String>> [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stdout] 32: 0x5aa1874f0f5b - test[4f12b380f1fb68c5]::run_test_in_process [INFO] [stderr] [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:686:27 [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_empty.rs ... mismatch [INFO] [stdout] 33: 0x5aa1874f0f5b - test[4f12b380f1fb68c5]::run_test::{closure#0} [INFO] [stderr] [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:607:43 [INFO] [stderr] EXPECTED: [INFO] [stdout] 34: 0x5aa1874ec674 - test[4f12b380f1fb68c5]::run_test::{closure#1} [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/test/src/lib.rs:637:41 [INFO] [stderr] error: RPC cannot be empty [INFO] [stdout] 35: 0x5aa1874ec674 - std[e72de78501789eb0]::sys::backtrace::__rust_begin_short_backtrace:: [INFO] [stderr] --> $DIR/rpc_empty.rs:5:1 [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/backtrace.rs:166:18 [INFO] [stderr] | [INFO] [stdout] 36: 0x5aa1874f3b62 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1}::{closure#0} [INFO] [stderr] 5 | pub trait Empty {} [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:91:13 [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37: 0x5aa1874f3b62 - ::{closure#1}::{closure#0}> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/panic/unwind_safe.rs:275:9 [INFO] [stderr] [INFO] [stdout] 38: 0x5aa1874f3b62 - std[e72de78501789eb0]::panicking::catch_unwind::do_call::::{closure#1}::{closure#0}>, ()> [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:581:40 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 39: 0x5aa1874f3b62 - std[e72de78501789eb0]::panicking::catch_unwind::<(), core[6aaeda2c7ad07a48]::panic::unwind_safe::AssertUnwindSafe::{closure#1}::{closure#0}>> [INFO] [stderr] error[E0433]: cannot find module or crate `jsonrpsee` in this scope [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panicking.rs:544:19 [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty.rs:1:5 [INFO] [stdout] 40: 0x5aa1874f3b62 - std[e72de78501789eb0]::panic::catch_unwind::::{closure#1}::{closure#0}>, ()> [INFO] [stderr] | [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/panic.rs:359:14 [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stdout] 41: 0x5aa1874f3b62 - std[e72de78501789eb0]::thread::lifecycle::spawn_unchecked::::{closure#1} [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/thread/lifecycle.rs:89:26 [INFO] [stderr] | [INFO] [stdout] 42: 0x5aa1874f3b62 - ::{closure#1} as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0} [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/core/src/ops/function.rs:250:5 [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] 43: 0x5aa18755e73f - + core[6aaeda2c7ad07a48]::marker::Send> as core[6aaeda2c7ad07a48]::ops::function::FnOnce<()>>::call_once [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/alloc/src/boxed.rs:2240:9 [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stdout] 44: 0x5aa18755e73f - ::new::thread_start [INFO] [stderr] [INFO] [stdout] at /rustc/dec9417b8611e34e787a3e4c37686b5131f9e5c5/library/std/src/sys/thread/unix.rs:118:17 [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_empty_bounds.rs ... mismatch [INFO] [stdout] 45: 0x70ac51827aa4 - [INFO] [stderr] [INFO] [stdout] 46: 0x70ac518b4a64 - clone [INFO] [stderr] EXPECTED: [INFO] [stdout] 47: 0x0 - [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stdout] [INFO] [stderr] error[E0277]: the trait bound `::Hash: DeserializeOwned` is not satisfied [INFO] [stdout] [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:9:1 [INFO] [stdout] failures: [INFO] [stderr] | [INFO] [stdout] ui_fail [INFO] [stderr] 9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())] [INFO] [stdout] ui_pass [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `::Hash` [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 44.56s [INFO] [stderr] = note: required for `::Hash` to implement `DeserializeOwned` [INFO] [stdout] [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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]: cannot find module or crate `jsonrpsee` in this scope [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] [stderr] error: test failed, to rerun pass `--test ui` [INFO] running `Command { std: "docker" "inspect" "06a8e6ec830aa5147916a736e1c01717b4162af1e486b7a9193e2ac9a5d3c6eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06a8e6ec830aa5147916a736e1c01717b4162af1e486b7a9193e2ac9a5d3c6eb", kill_on_drop: false }` [INFO] [stdout] 06a8e6ec830aa5147916a736e1c01717b4162af1e486b7a9193e2ac9a5d3c6eb