[INFO] fetching crate jsonrpsee-proc-macros 0.26.0... [INFO] testing jsonrpsee-proc-macros-0.26.0 against 1.90.0 for beta-1.91-3 [INFO] extracting crate jsonrpsee-proc-macros 0.26.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate jsonrpsee-proc-macros 0.26.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate jsonrpsee-proc-macros 0.26.0 [INFO] tweaked toml for crates.io crate jsonrpsee-proc-macros 0.26.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate jsonrpsee-proc-macros 0.26.0 on toolchain 1.90.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.90.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate jsonrpsee-proc-macros 0.26.0 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" "+1.90.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_spanned v0.6.7 [INFO] [stderr] Downloaded serde v1.0.209 [INFO] [stderr] Downloaded trybuild v1.0.99 [INFO] [stderr] Downloaded pin-project-internal v1.1.5 [INFO] [stderr] Downloaded bytes v1.7.1 [INFO] [stderr] Downloaded addr2line v0.22.0 [INFO] [stderr] Downloaded cc v1.1.15 [INFO] [stderr] Downloaded toml_edit v0.22.20 [INFO] [stderr] Downloaded backtrace v0.3.73 [INFO] [stderr] Downloaded pin-project v1.1.5 [INFO] [stderr] Downloaded winnow v0.6.18 [INFO] [stderr] Downloaded hyper-util v0.1.7 [INFO] [stderr] Downloaded serde_derive v1.0.209 [INFO] [stderr] Downloaded toml v0.8.19 [INFO] [stderr] Downloaded gimli v0.29.0 [INFO] [stderr] Downloaded tokio v1.45.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bc4ff942d69387f02f331438fc46d212c9f20f027aa0f3cf5b56bfff1a33dc69 [INFO] running `Command { std: "docker" "start" "-a" "bc4ff942d69387f02f331438fc46d212c9f20f027aa0f3cf5b56bfff1a33dc69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bc4ff942d69387f02f331438fc46d212c9f20f027aa0f3cf5b56bfff1a33dc69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bc4ff942d69387f02f331438fc46d212c9f20f027aa0f3cf5b56bfff1a33dc69", kill_on_drop: false }` [INFO] [stdout] bc4ff942d69387f02f331438fc46d212c9f20f027aa0f3cf5b56bfff1a33dc69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c10631946e87ae2f670a632f2ac4d458528254800c61c5cd8558d68b35eccd56 [INFO] running `Command { std: "docker" "start" "-a" "c10631946e87ae2f670a632f2ac4d458528254800c61c5cd8558d68b35eccd56", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.26.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.93s [INFO] running `Command { std: "docker" "inspect" "c10631946e87ae2f670a632f2ac4d458528254800c61c5cd8558d68b35eccd56", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c10631946e87ae2f670a632f2ac4d458528254800c61c5cd8558d68b35eccd56", kill_on_drop: false }` [INFO] [stdout] c10631946e87ae2f670a632f2ac4d458528254800c61c5cd8558d68b35eccd56 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d2577678f2306834263137a7d578980af0fef77664d125936d030c21c20500d0 [INFO] running `Command { std: "docker" "start" "-a" "d2577678f2306834263137a7d578980af0fef77664d125936d030c21c20500d0", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling trybuild v1.0.99 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling serde_spanned v0.6.7 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling toml v0.8.19 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.26.0 (/opt/rustwide/workdir) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 28.51s [INFO] running `Command { std: "docker" "inspect" "d2577678f2306834263137a7d578980af0fef77664d125936d030c21c20500d0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d2577678f2306834263137a7d578980af0fef77664d125936d030c21c20500d0", kill_on_drop: false }` [INFO] [stdout] d2577678f2306834263137a7d578980af0fef77664d125936d030c21c20500d0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+1.90.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 6bdc73e678ba831949d2e92c6e918d615d93abf609984e5c02f20ccbb9e275a1 [INFO] running `Command { std: "docker" "start" "-a" "6bdc73e678ba831949d2e92c6e918d615d93abf609984e5c02f20ccbb9e275a1", kill_on_drop: false }` [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/jsonrpsee_proc_macros-43c00c3dffb0e666) [INFO] [stdout] [INFO] [stdout] running 4 tests [INFO] [stdout] test helpers::tests::is_option_works ... ok [INFO] [stdout] test visitor::tests::it_works ... ok [INFO] [stdout] test visitor::tests::nested_type ... ok [INFO] [stdout] test visitor::tests::several_type_params ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/ui.rs (/opt/rustwide/target/debug/deps/ui-c419e033b8000584) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking futures-core v0.3.30 [INFO] [stderr] Checking bytes v1.7.1 [INFO] [stderr] Checking try-lock v0.2.5 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Checking futures-task v0.3.30 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking want v0.3.1 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking futures-channel v0.3.30 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking http v1.1.0 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking proc-macro-crate v3.2.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling jsonrpsee-proc-macros v0.26.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking tokio v1.45.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking hyper v1.6.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking jsonrpsee-proc-macros-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/jsonrpsee-proc-macros) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.54s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/method/method_ignored_arguments.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Method argument names must be valid Rust identifiers; got `_` instead [INFO] [stderr] --> $DIR/method_ignored_arguments.rs:6:20 [INFO] [stderr] | [INFO] [stderr] 6 | async fn a(&self, _: Vec); [INFO] [stderr] | ^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_ignored_arguments.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_ignored_arguments.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | #[method(name = "a")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/method/method_no_name.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Missing argument `name` [INFO] [stderr] --> $DIR/method_no_name.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method()] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method()] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_no_name.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/method/method_non_result_return_type.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Expecting something like 'Result' here, but got no generic args (eg no ''). [INFO] [stderr] --> tests/ui/incorrect/method/method_non_result_return_type.rs:6:23 [INFO] [stderr] | [INFO] [stderr] 6 | async fn a(&self) -> u16; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] error[E0271]: expected `impl Future> + Send` to be a future that resolves to `()`, but it resolves to `Result<_, ClientError>` [INFO] [stderr] --> tests/ui/incorrect/method/method_non_result_return_type.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | #[rpc(client)] [INFO] [stderr] | ^^^^^^^^^^^^^^ expected `()`, found `Result<_, ClientError>` [INFO] [stderr] | [INFO] [stderr] = note: expected unit type `()` [INFO] [stderr] found enum `Result<_, ClientError>` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_non_result_return_type.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_non_result_return_type.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | #[method(name = "a")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/method/method_unexpected_field.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown argument `magic`, expected one of: `aliases`, `blocking`, `name`, `param_kind`, `with_extensions` [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:6:25 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "foo", magic = false)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "foo", magic = false)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/method/method_unexpected_field.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_assoc_items.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Only methods allowed in RPC traits [INFO] [stderr] --> $DIR/rpc_assoc_items.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | const WOO: usize; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: Only methods allowed in RPC traits [INFO] [stderr] --> $DIR/rpc_assoc_items.rs:14:2 [INFO] [stderr] | [INFO] [stderr] 14 | type Woo; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:9:34 [INFO] [stderr] | [INFO] [stderr] 9 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_assoc_items.rs:17:34 [INFO] [stderr] | [INFO] [stderr] 17 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Attribute 'client' must be specified with 'client_bounds' [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub trait ClientBoundsForbidden { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: Attribute 'server' must be specified with 'server_bounds' [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | pub trait ServerBoundsForbidden { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:10:41 [INFO] [stderr] | [INFO] [stderr] 10 | fn method(&self) -> Result; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use std::io::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use core::error::Error; [INFO] [stderr] | [INFO] [stderr] = and 10 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_bounds_without_impl.rs:16:41 [INFO] [stderr] | [INFO] [stderr] 16 | fn method(&self) -> Result; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 1 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use std::io::Error; [INFO] [stderr] | [INFO] [stderr] 1 + use core::error::Error; [INFO] [stderr] | [INFO] [stderr] = and 10 other candidates [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_conflicting_alias.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "foo_dup" is already defined [INFO] [stderr] --> $DIR/rpc_conflicting_alias.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:2:5 [INFO] [stderr] | [INFO] [stderr] 2 | use jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_conflicting_alias.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | #[method(name = "foo", aliases = ["foo_dup", "foo_dup"])] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_deprecated_method.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: use of deprecated method `DeprecatedClient::async_method`: please use `new_method` instead [INFO] [stderr] --> $DIR/rpc_deprecated_method.rs:63:20 [INFO] [stderr] | [INFO] [stderr] 63 | assert_eq!(client.async_method().await.unwrap(), 16); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> $DIR/rpc_deprecated_method.rs:4:9 [INFO] [stderr] | [INFO] [stderr] 4 | #![deny(warnings)] [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] = note: `#[deny(deprecated)]` implied by `#[deny(warnings)]` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:56:1 [INFO] [stderr] | [INFO] [stderr] 56 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonrpsee::ws_client::*; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonrpsee::core::{async_trait, RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonrpsee::server::ServerBuilder; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::core::async_trait`, `jsonrpsee::core::RpcResult`, `jsonrpsee::proc_macros::rpc`, `jsonrpsee::server::ServerBuilder` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:8:23 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonrpsee::core::{async_trait, RpcResult}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 9 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | use jsonrpsee::server::ServerBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:17:4 [INFO] [stderr] | [INFO] [stderr] 17 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:22:4 [INFO] [stderr] | [INFO] [stderr] 22 | #[method(name = "foo_unused")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:26:4 [INFO] [stderr] | [INFO] [stderr] 26 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `DeprecatedServer` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:33:6 [INFO] [stderr] | [INFO] [stderr] 33 | impl DeprecatedServer for DeprecatedServerImpl { [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_deprecated_method.rs:60:15 [INFO] [stderr] | [INFO] [stderr] 60 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_empty.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: RPC cannot be empty [INFO] [stderr] --> $DIR/rpc_empty.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait Empty {} [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_empty_bounds.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0277]: the trait bound `::Hash: DeserializeOwned` is not satisfied [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `for<'de> Deserialize<'de>` is not implemented for `::Hash` [INFO] [stderr] | [INFO] [stderr] = note: required for `::Hash` to implement `DeserializeOwned` [INFO] [stderr] note: required by a bound in `request` [INFO] [stderr] --> $WORKSPACE/core/src/client/mod.rs [INFO] [stderr] | [INFO] [stderr] | fn request(&self, method: &str, params: Params) -> impl Future> + Send [INFO] [stderr] | ------- required by a bound in this associated function [INFO] [stderr] | where [INFO] [stderr] | R: DeserializeOwned, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ required by this bound in `ClientT::request` [INFO] [stderr] = note: this error originates in the attribute macro `rpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `::Hash: Serialize` is not satisfied [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Serialize` is not implemented for `::Hash` [INFO] [stderr] | [INFO] [stderr] = note: for local types consider adding `#[derive(serde::Serialize)]` to your `::Hash` type [INFO] [stderr] = note: for types from other crates check whether the crate offers a `serde` feature flag [INFO] [stderr] = note: required for `Result<::Hash, ErrorObject<'_>>` to implement `IntoResponse` [INFO] [stderr] = note: this error originates in the attribute macro `rpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0277]: the trait bound `::Hash: Clone` is not satisfied [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:9:1 [INFO] [stderr] | [INFO] [stderr] 9 | #[rpc(server, client, namespace = "foo", client_bounds(), server_bounds())] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `Clone` is not implemented for `::Hash` [INFO] [stderr] | [INFO] [stderr] = note: required for `Result<::Hash, ErrorObject<'_>>` to implement `IntoResponse` [INFO] [stderr] = note: this error originates in the attribute macro `rpc` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{core::RpcResult, proc_macros::rpc}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_empty_bounds.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_name_conflict.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "foo" is already defined [INFO] [stderr] --> $DIR/rpc_name_conflict.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | async fn bar(&self) -> RpcResult; [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{proc_macros::rpc, core::RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_name_conflict.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_no_impls.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Either 'server' or 'client' attribute must be applied [INFO] [stderr] --> $DIR/rpc_no_impls.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub trait NoImpls { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_no_impls.rs:7:34 [INFO] [stderr] | [INFO] [stderr] 7 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/rpc/rpc_not_qualified.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Methods must have either 'method' or 'subscription' attribute [INFO] [stderr] --> $DIR/rpc_not_qualified.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_not_qualified.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/rpc/rpc_not_qualified.rs:6:34 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self) -> jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_conflicting_alias.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "hello_is_goodbye" is already defined [INFO] [stderr] --> $DIR/sub_conflicting_alias.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | async fn async_method(&self); [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_conflicting_alias.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_conflicting_alias.rs:5:4 [INFO] [stderr] | [INFO] [stderr] 5 | #[subscription(name = "subscribeAlias", item = String, aliases = ["hello_is_goodbye"], unsubscribe_aliases = ["hello_is_goodbye"])] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_dup_name_override.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "override" is already defined [INFO] [stderr] --> $DIR/sub_dup_name_override.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | async fn two(&self); [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_dup_name_override.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_dup_name_override.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "subscribeOne" => "override", item = u8)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_dup_name_override.rs:8:4 [INFO] [stderr] | [INFO] [stderr] 8 | #[subscription(name = "subscribeTwo" => "override", item = u8)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_empty_attr.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Missing argument `name` [INFO] [stderr] --> $DIR/sub_empty_attr.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription()] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_empty_attr.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_empty_attr.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription()] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_name_override.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: "one" is already defined [INFO] [stderr] --> $DIR/sub_name_override.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | async fn one(&self); [INFO] [stderr] | ^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_name_override.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_name_override.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "one" => "one", unsubscribe = "unsubscribeOne", item = u8)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_no_item.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Missing argument `item` [INFO] [stderr] --> $DIR/sub_no_item.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "sub")] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_no_item.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_no_item.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "sub")] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_no_name.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Missing argument `name` [INFO] [stderr] --> $DIR/sub_no_name.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_no_name.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_no_name.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] test tests/ui/incorrect/sub/sub_unsupported_field.rs ... mismatch [INFO] [stderr] [INFO] [stderr] EXPECTED: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: Unknown argument `magic`, expected one of: `aliases`, `item`, `name`, `param_kind`, `unsubscribe`, `unsubscribe_aliases`, `with_extensions` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_unsupported_field.rs:6:65 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "sub", unsubscribe = "unsub", item = u8, magic = true)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] ACTUAL OUTPUT: [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/incorrect/sub/sub_unsupported_field.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/incorrect/sub/sub_unsupported_field.rs:6:4 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription(name = "sub", unsubscribe = "unsub", item = u8, magic = true)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] note: If the actual output is the correct output you can bless it by rerunning [INFO] [stderr] your test with the environment variable TRYBUILD=overwrite [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui_fail ... FAILED [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling tower-layer v0.3.3 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling tower-service v0.3.3 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling pin-project v1.1.5 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling winnow v0.6.18 [INFO] [stderr] Compiling serde v1.0.209 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling futures-util v0.3.30 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling tower v0.5.2 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling http v1.1.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Compiling mio v1.0.2 [INFO] [stderr] Compiling socket2 v0.5.7 [INFO] [stderr] Compiling syn v2.0.87 [INFO] [stderr] Compiling tokio v1.45.0 [INFO] [stderr] Compiling http-body v1.0.1 [INFO] [stderr] Compiling toml_edit v0.22.20 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Compiling hyper v1.6.0 [INFO] [stderr] Compiling tower v0.4.13 [INFO] [stderr] Compiling proc-macro-crate v3.2.0 [INFO] [stderr] Compiling hyper-util v0.1.7 [INFO] [stderr] Compiling jsonrpsee-proc-macros-tests v0.0.0 (/opt/rustwide/target/tests/trybuild/jsonrpsee-proc-macros) [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.53s [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/alias_doesnt_use_namespace.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::{core::RpcResult, proc_macros::rpc}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:7:4 [INFO] [stderr] | [INFO] [stderr] 7 | #[method(name = "getTemp", aliases = ["getTemp"])] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/alias_doesnt_use_namespace.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[subscription(name = "subscribeGetFood", item = String, aliases = ["getFood"], unsubscribe_aliases = ["unsubscribegetFood"])] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/basic.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/correct/basic.rs:243:1 [INFO] [stderr] | [INFO] [stderr] 243 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:10:5 [INFO] [stderr] | [INFO] [stderr] 10 | use jsonrpsee::ws_client::*; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::client::ClientT; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::core::params::ArrayParams; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use jsonrpsee::core::{RpcResult, SubscriptionResult, async_trait, to_json_raw_value}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:9:5 [INFO] [stderr] | [INFO] [stderr] 9 | use jsonrpsee::types::ErrorObject; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:141:6 [INFO] [stderr] | [INFO] [stderr] 141 | use jsonrpsee::core::middleware::{Batch, Notification, RpcServiceBuilder, RpcServiceT}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:142:6 [INFO] [stderr] | [INFO] [stderr] 142 | use jsonrpsee::server::stop_channel; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved import `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:11:5 [INFO] [stderr] | [INFO] [stderr] 11 | use jsonrpsee::{Extensions, PendingSubscriptionSink, rpc_params}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | #[method(name = "foo", aliases = ["fooAlias", "Other"])] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:18:4 [INFO] [stderr] | [INFO] [stderr] 18 | #[method(name = "optional_params")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:21:4 [INFO] [stderr] | [INFO] [stderr] 21 | #[method(name = "optional_param")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | #[method(name = "array_params")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:27:4 [INFO] [stderr] | [INFO] [stderr] 27 | #[method(name = "rename_params", param_kind= map)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `argument` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:30:5 [INFO] [stderr] | [INFO] [stderr] 30 | #[argument(rename = "type")] r#type: u16, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `argument` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:31:5 [INFO] [stderr] | [INFO] [stderr] 31 | #[argument(rename = "halfType")] ignored_name: bool, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:34:4 [INFO] [stderr] | [INFO] [stderr] 34 | #[method(name = "async_conn_id", with_extensions)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:37:4 [INFO] [stderr] | [INFO] [stderr] 37 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:40:4 [INFO] [stderr] | [INFO] [stderr] 40 | #[method(name = "sync_conn_id", with_extensions)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:43:4 [INFO] [stderr] | [INFO] [stderr] 43 | #[subscription(name = "subscribe", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:46:4 [INFO] [stderr] | [INFO] [stderr] 46 | #[subscription(name = "subscribe_conn_id", item = u32, with_extensions)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:49:4 [INFO] [stderr] | [INFO] [stderr] 49 | #[subscription(name = "echo", unsubscribe = "unsubscribeEcho", aliases = ["ECHO"], item = u32, unsubscribe_aliases = ["NotInterested", "... [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:54:4 [INFO] [stderr] | [INFO] [stderr] 54 | #[subscription(name = "subscribe_method" => "subscribe_override", item = u32)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:163:17 [INFO] [stderr] | [INFO] [stderr] 163 | mut request: jsonrpsee::types::Request<'a>, [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:188:21 [INFO] [stderr] | [INFO] [stderr] 188 | let svc_builder = jsonrpsee::server::Server::builder().to_service_builder(); [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/basic.rs:61:6 [INFO] [stderr] | [INFO] [stderr] 61 | impl RpcServer for RpcServerImpl { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `server` in `hyper_util` [INFO] [stderr] --> tests/ui/correct/basic.rs:228:31 [INFO] [stderr] | [INFO] [stderr] 228 | let builder = hyper_util::server::conn::auto::Builder::new(TokioExecutor::new()); [INFO] [stderr] | ^^^^^^ could not find `server` in `hyper_util` [INFO] [stderr] | [INFO] [stderr] note: found an item that was configured out [INFO] [stderr] --> $CARGO/hyper-util-0.1.7/src/lib.rs [INFO] [stderr] | [INFO] [stderr] 13 | #[cfg(feature = "server")] [INFO] [stderr] | ------------------ the item is gated behind the `server` feature [INFO] [stderr] 14 | pub mod server; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] help: consider importing one of these structs [INFO] [stderr] | [INFO] [stderr] 3 + use std::thread::Builder; [INFO] [stderr] | [INFO] [stderr] 3 + use tokio::runtime::Builder; [INFO] [stderr] | [INFO] [stderr] help: if you import `Builder`, refer to it directly [INFO] [stderr] | [INFO] [stderr] 228 - let builder = hyper_util::server::conn::auto::Builder::new(TokioExecutor::new()); [INFO] [stderr] 228 + let builder = Builder::new(TokioExecutor::new()); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:84:32 [INFO] [stderr] | [INFO] [stderr] 84 | async fn conn_id(&self, ext: &jsonrpsee::Extensions) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/basic.rs:88:31 [INFO] [stderr] | [INFO] [stderr] 88 | fn sync_conn_id(&self, ext: &jsonrpsee::Extensions) -> RpcResult { [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/correct/basic.rs:247:15 [INFO] [stderr] | [INFO] [stderr] 247 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/custom_ret_types.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:121:1 [INFO] [stderr] | [INFO] [stderr] 121 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonrpsee::ws_client::*; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::{async_trait, ClientError, Serialize}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use jsonrpsee::server::{IntoResponse, ResponsePayload, ServerBuilder}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::core::async_trait`, `jsonrpsee::core::ClientError`, `jsonrpsee::core::Serialize`, `jsonrpsee::proc_macros::rpc`, `jsonrpsee::server::IntoResponse`, `jsonrpsee::server::ResponsePayload`, `jsonrpsee::server::ServerBuilder` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::{async_trait, ClientError, Serialize}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 6 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | use jsonrpsee::server::{IntoResponse, ResponsePayload, ServerBuilder}; [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:39:4 [INFO] [stderr] | [INFO] [stderr] 39 | #[method(name = "async_method1")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:42:4 [INFO] [stderr] | [INFO] [stderr] 42 | #[method(name = "async_method2")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:45:4 [INFO] [stderr] | [INFO] [stderr] 45 | #[method(name = "sync_method1")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:48:4 [INFO] [stderr] | [INFO] [stderr] 48 | #[method(name = "sync_method2")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:51:4 [INFO] [stderr] | [INFO] [stderr] 51 | #[method(name = "blocking_method1", blocking)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:54:4 [INFO] [stderr] | [INFO] [stderr] 54 | #[method(name = "blocking_method2", blocking)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:92:4 [INFO] [stderr] | [INFO] [stderr] 92 | #[method(name = "async_method1")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:95:4 [INFO] [stderr] | [INFO] [stderr] 95 | #[method(name = "async_method2")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:98:4 [INFO] [stderr] | [INFO] [stderr] 98 | #[method(name = "sync_method1")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:101:4 [INFO] [stderr] | [INFO] [stderr] 101 | #[method(name = "sync_method2")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:104:4 [INFO] [stderr] | [INFO] [stderr] 104 | #[method(name = "blocking_method1")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:107:4 [INFO] [stderr] | [INFO] [stderr] 107 | #[method(name = "blocking_method2")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:32:22 [INFO] [stderr] | [INFO] [stderr] 32 | let error_object = jsonrpsee::types::ErrorObjectOwned::owned(code, "custom_error", data); [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:61:6 [INFO] [stderr] | [INFO] [stderr] 61 | impl RpcServer for RpcServerImpl { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:93:35 [INFO] [stderr] | [INFO] [stderr] 93 | async fn async_method1(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] --> $RUST/core/src/result.rs [INFO] [stderr] | [INFO] [stderr] = note: similarly named enum `Result` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:99:34 [INFO] [stderr] | [INFO] [stderr] 99 | async fn sync_method1(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] --> $RUST/core/src/result.rs [INFO] [stderr] | [INFO] [stderr] = note: similarly named enum `Result` defined here [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `RpcResult` in this scope [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:105:38 [INFO] [stderr] | [INFO] [stderr] 105 | async fn blocking_method1(&self) -> RpcResult; [INFO] [stderr] | ^^^^^^^^^ help: an enum with a similar name exists: `Result` [INFO] [stderr] --> $RUST/core/src/result.rs [INFO] [stderr] | [INFO] [stderr] = note: similarly named enum `Result` defined here [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/correct/custom_ret_types.rs:125:15 [INFO] [stderr] | [INFO] [stderr] 125 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/only_client.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/only_client.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:7:4 [INFO] [stderr] | [INFO] [stderr] 7 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | #[subscription(name = "subscribe", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:8:76 [INFO] [stderr] | [INFO] [stderr] 8 | async fn async_method(&self, param_a: u8, param_b: String) -> Result; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 3 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use std::io::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use core::error::Error; [INFO] [stderr] | [INFO] [stderr] = and 10 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:11:39 [INFO] [stderr] | [INFO] [stderr] 11 | fn sync_method(&self) -> Result; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 3 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use std::io::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use core::error::Error; [INFO] [stderr] | [INFO] [stderr] = and 10 other candidates [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `Error` in this scope [INFO] [stderr] --> tests/ui/correct/only_client.rs:14:36 [INFO] [stderr] | [INFO] [stderr] 14 | async fn sub(&self) -> Result<(), Error>; [INFO] [stderr] | ^^^^^ not found in this scope [INFO] [stderr] | [INFO] [stderr] help: consider importing one of these items [INFO] [stderr] | [INFO] [stderr] 3 + use std::error::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use std::fmt::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use std::io::Error; [INFO] [stderr] | [INFO] [stderr] 3 + use core::error::Error; [INFO] [stderr] | [INFO] [stderr] = and 10 other candidates [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/only_server.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/correct/only_server.rs:52:1 [INFO] [stderr] | [INFO] [stderr] 52 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/only_server.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::core::{RpcResult, SubscriptionResult, async_trait, to_json_raw_value}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/only_server.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/only_server.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::server::{PendingSubscriptionSink, ServerBuilder}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:9:4 [INFO] [stderr] | [INFO] [stderr] 9 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:12:4 [INFO] [stderr] | [INFO] [stderr] 12 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | #[subscription(name = "subscribe", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/only_server.rs:22:6 [INFO] [stderr] | [INFO] [stderr] 22 | impl RpcServer for RpcServerImpl { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/param_kind.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/correct/param_kind.rs:53:1 [INFO] [stderr] | [INFO] [stderr] 53 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::ws_client::*; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::core::{async_trait, RpcResult}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:4:5 [INFO] [stderr] | [INFO] [stderr] 4 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::server::ServerBuilder; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::core::async_trait`, `jsonrpsee::core::RpcResult`, `jsonrpsee::proc_macros::rpc`, `jsonrpsee::server::ServerBuilder` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:3:23 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::core::{async_trait, RpcResult}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stderr] 4 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 5 | use jsonrpsee::server::ServerBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[method(name = "method_with_array_param", param_kind = array)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:13:4 [INFO] [stderr] | [INFO] [stderr] 13 | #[method(name="method_with_map_param", param_kind= map)] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:16:4 [INFO] [stderr] | [INFO] [stderr] 16 | #[method(name = "method_with_default_param")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `RpcServer` in this scope [INFO] [stderr] --> tests/ui/correct/param_kind.rs:23:6 [INFO] [stderr] | [INFO] [stderr] 23 | impl RpcServer for RpcServerImpl { [INFO] [stderr] | ^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/correct/param_kind.rs:57:15 [INFO] [stderr] | [INFO] [stderr] 57 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/parse_angle_brackets.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/parse_angle_brackets.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/parse_angle_brackets.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | #[subscription( [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/rpc_bounds.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error: The default runtime flavor is `multi_thread`, but the `rt-multi-thread` feature is disabled. [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:140:1 [INFO] [stderr] | [INFO] [stderr] 140 | #[tokio::main] [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this error originates in the attribute macro `tokio::main` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use jsonrpsee::ws_client::*; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::{async_trait, RpcResult, SubscriptionResult}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:7:5 [INFO] [stderr] | [INFO] [stderr] 7 | use jsonrpsee::server::ServerBuilder; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0432]: unresolved imports `jsonrpsee::core::async_trait`, `jsonrpsee::core::RpcResult`, `jsonrpsee::core::SubscriptionResult`, `jsonrpsee::proc_macros::rpc`, `jsonrpsee::server::ServerBuilder` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:5:23 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::{async_trait, RpcResult, SubscriptionResult}; [INFO] [stderr] | ^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 6 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 7 | use jsonrpsee::server::ServerBuilder; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:24:4 [INFO] [stderr] | [INFO] [stderr] 24 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:31:4 [INFO] [stderr] | [INFO] [stderr] 31 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:38:4 [INFO] [stderr] | [INFO] [stderr] 38 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:45:4 [INFO] [stderr] | [INFO] [stderr] 45 | #[method(name = "getHeader")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:53:4 [INFO] [stderr] | [INFO] [stderr] 53 | #[subscription(name = "sub", unsubscribe = "unsub", item = Vec)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:64:4 [INFO] [stderr] | [INFO] [stderr] 64 | #[method(name = "getHeader")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:75:4 [INFO] [stderr] | [INFO] [stderr] 75 | #[method(name = "getHeader")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:82:4 [INFO] [stderr] | [INFO] [stderr] 82 | #[method(name = "getHeader")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:86:4 [INFO] [stderr] | [INFO] [stderr] 86 | #[method(name = "getBlock")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:92:4 [INFO] [stderr] | [INFO] [stderr] 92 | #[method(name = "getBlockHash")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:96:4 [INFO] [stderr] | [INFO] [stderr] 96 | #[method(name = "getFinalizedHead")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:100:4 [INFO] [stderr] | [INFO] [stderr] 100 | #[subscription(name = "subscribeAllHeads", item = Header)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `MyRpcSServer` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:107:6 [INFO] [stderr] | [INFO] [stderr] 107 | impl MyRpcSServer for ServerOnlyImpl { [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0405]: cannot find trait `MyRpcSCServer` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:116:6 [INFO] [stderr] | [INFO] [stderr] 116 | impl MyRpcSCServer for ServerClientServerImpl { [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:144:15 [INFO] [stderr] | [INFO] [stderr] 144 | let client = WsClientBuilder::default().build(&server_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `WsClientBuilder` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:145:22 [INFO] [stderr] | [INFO] [stderr] 145 | let client_second = WsClientBuilder::default().build(&server_w_client_url).await.unwrap(); [INFO] [stderr] | ^^^^^^^^^^^^^^^ use of undeclared type `WsClientBuilder` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MyRpcCClient` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:148:13 [INFO] [stderr] | [INFO] [stderr] 148 | assert_eq!(MyRpcCClient::::method(&client).await.unwrap(), [0u8; 32]); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `MyRpcCClient` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MyRpcCClient` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:150:13 [INFO] [stderr] | [INFO] [stderr] 150 | assert_eq!(MyRpcCClient::::method(&client_second).await.unwrap(), [0u8; 32]); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `MyRpcCClient` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MyRpcCClient` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:153:13 [INFO] [stderr] | [INFO] [stderr] 153 | assert_eq!(MyRpcCClient::::method(&client).await.unwrap(), [0u8; 32]); [INFO] [stderr] | ^^^^^^^^^^^^ use of undeclared type `MyRpcCClient` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of undeclared type `MyRpcSCClient` [INFO] [stderr] --> tests/ui/correct/rpc_bounds.rs:155:13 [INFO] [stderr] | [INFO] [stderr] 155 | assert_eq!(MyRpcSCClient::::method(&client_second).await.unwrap(), [0u8; 32]); [INFO] [stderr] | ^^^^^^^^^^^^^ use of undeclared type `MyRpcSCClient` [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/rpc_deny_missing_docs.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:5:5 [INFO] [stderr] | [INFO] [stderr] 5 | use jsonrpsee::core::RpcResult; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:6:5 [INFO] [stderr] | [INFO] [stderr] 6 | use jsonrpsee::proc_macros::rpc; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:11:4 [INFO] [stderr] | [INFO] [stderr] 11 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `subscription` in this scope [INFO] [stderr] --> tests/ui/correct/rpc_deny_missing_docs.rs:15:4 [INFO] [stderr] | [INFO] [stderr] 15 | #[subscription(name = "sub", unsubscribe = "unsub", item = String)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] test tests/ui/correct/server_with_raw_methods.rs ... error [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] --> tests/ui/correct/server_with_raw_methods.rs:3:5 [INFO] [stderr] | [INFO] [stderr] 3 | use jsonrpsee::{core::RpcResult, proc_macros::rpc, types::ErrorObjectOwned}; [INFO] [stderr] | ^^^^^^^^^ use of unresolved module or unlinked crate `jsonrpsee` [INFO] [stderr] | [INFO] [stderr] = help: if you wanted to use a crate named `jsonrpsee`, use `cargo add jsonrpsee` to add it to your `Cargo.toml` [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/server_with_raw_methods.rs:7:4 [INFO] [stderr] | [INFO] [stderr] 7 | #[method(name = "foo")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] error: cannot find attribute `method` in this scope [INFO] [stderr] --> tests/ui/correct/server_with_raw_methods.rs:10:4 [INFO] [stderr] | [INFO] [stderr] 10 | #[method(name = "bar")] [INFO] [stderr] | ^^^^^^ [INFO] [stderr] ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] [INFO] [stdout] test ui_pass ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- ui_fail stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'ui_fail' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.99/src/run.rs:101:13: [INFO] [stdout] 20 of 20 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x63a2a4fb5212 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x63a2a4fb5212 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x63a2a4fb5212 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x63a2a4fb5212 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x63a2a4fde743 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x63a2a4fde743 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x63a2a4fb15d3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x63a2a4fb15d3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x63a2a4fb5062 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x63a2a4fb7649 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x63a2a4fb747e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x63a2a4f7c0f4 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x63a2a4f7c0f4 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x63a2a4fb811e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x63a2a4fb811e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x63a2a4fb7dea - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x63a2a4fb5719 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x63a2a4fb7a7d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x63a2a4fdcae0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x63a2a4c9d1ad - trybuild::run::::run::h30ac3455e239187f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.99/src/run.rs:101:13 [INFO] [stdout] 20: 0x63a2a4ca26f8 - ::drop::h911a13b419167b74 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.99/src/lib.rs:319:38 [INFO] [stdout] 21: 0x63a2a4c8d717 - core::ptr::drop_in_place::hfd6e5851cb9b8be4 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x63a2a4c8dfe3 - ui::ui_fail::h8a161419ec2f55d0 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:18:1 [INFO] [stdout] 23: 0x63a2a4c8df77 - ui::ui_fail::{{closure}}::h4a5cf88681361983 [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:15:13 [INFO] [stdout] 24: 0x63a2a4c8d636 - core::ops::function::FnOnce::call_once::h189e9d49e007fa39 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x63a2a4f8195b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x63a2a4f8195b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x63a2a4f80a95 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x63a2a4f80a95 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x63a2a4f80a95 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x63a2a4f80a95 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x63a2a4f80a95 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x63a2a4f80a95 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x63a2a4f80a95 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x63a2a4f44694 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x63a2a4f44694 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x63a2a4f4806a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x63a2a4f4806a - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x63a2a4f4806a - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x63a2a4f4806a - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x63a2a4f4806a - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x63a2a4f4806a - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x63a2a4f4806a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x63a2a4fbb5ff - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x63a2a4fbb5ff - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7c3777f5eaa4 - [INFO] [stdout] 46: 0x7c3777feba34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] ---- ui_pass stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'ui_pass' panicked at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.99/src/run.rs:101:13: [INFO] [stdout] 10 of 10 tests failed [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x63a2a4fb5212 - std::backtrace_rs::backtrace::libunwind::trace::h2d45396358f41939 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x63a2a4fb5212 - std::backtrace_rs::backtrace::trace_unsynchronized::hffcefc0b67f1d6e2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x63a2a4fb5212 - std::sys::backtrace::_print_fmt::hd72f71d23b436b92 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x63a2a4fb5212 - ::fmt::hdcfcb6d4c8489523 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x63a2a4fde743 - core::fmt::rt::Argument::fmt::h2c56b3114963061a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x63a2a4fde743 - core::fmt::write::h8a494366950f23bb [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x63a2a4fb15d3 - std::io::default_write_fmt::h7b8824096454f323 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x63a2a4fb15d3 - std::io::Write::write_fmt::h4e71294925c334d0 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x63a2a4fb5062 - std::sys::backtrace::BacktraceLock::print::hb2a626a81e06b2dc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x63a2a4fb7649 - std::panicking::default_hook::{{closure}}::h4f78485264f12d10 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:300:27 [INFO] [stdout] 10: 0x63a2a4fb747e - std::panicking::default_hook::h2c66fc99e962531d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:324:9 [INFO] [stdout] 11: 0x63a2a4f7c0f4 - as core::ops::function::Fn>::call::hb6bd65493727d71a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x63a2a4f7c0f4 - test::test_main_with_exit_callback::{{closure}}::h60217ec76a0ece4a [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x63a2a4fb811e - as core::ops::function::Fn>::call::h318e4efb8c1a5689 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x63a2a4fb811e - std::panicking::rust_panic_with_hook::h33ac55f64bbd807d [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:841:13 [INFO] [stdout] 15: 0x63a2a4fb7dea - std::panicking::begin_panic_handler::{{closure}}::h30e7cb89678a57fe [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:706:13 [INFO] [stdout] 16: 0x63a2a4fb5719 - std::sys::backtrace::__rust_end_short_backtrace::hed60f27456c16ced [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x63a2a4fb7a7d - __rustc[de2ca18b4c54d5b8]::rust_begin_unwind [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:697:5 [INFO] [stdout] 18: 0x63a2a4fdcae0 - core::panicking::panic_fmt::h62f63d096dd276af [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x63a2a4c9d1ad - trybuild::run::::run::h30ac3455e239187f [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.99/src/run.rs:101:13 [INFO] [stdout] 20: 0x63a2a4ca26f8 - ::drop::h911a13b419167b74 [INFO] [stdout] at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/trybuild-1.0.99/src/lib.rs:319:38 [INFO] [stdout] 21: 0x63a2a4c8d717 - core::ptr::drop_in_place::hfd6e5851cb9b8be4 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ptr/mod.rs:804:1 [INFO] [stdout] 22: 0x63a2a4c8df43 - ui::ui_pass::h2b5682168cd8815e [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:12:1 [INFO] [stdout] 23: 0x63a2a4c8ded7 - ui::ui_pass::{{closure}}::haaf3bdab7c8e5a5b [INFO] [stdout] at /opt/rustwide/workdir/tests/ui.rs:9:13 [INFO] [stdout] 24: 0x63a2a4c8d6b6 - core::ops::function::FnOnce::call_once::h40d354513b8f9cd4 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x63a2a4f8195b - core::ops::function::FnOnce::call_once::h1f9474f1347fff52 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 26: 0x63a2a4f8195b - test::__rust_begin_short_backtrace::ha52ab26e77157f03 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:648:18 [INFO] [stdout] 27: 0x63a2a4f80a95 - test::run_test_in_process::{{closure}}::h229c1a11a50b261f [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:74 [INFO] [stdout] 28: 0x63a2a4f80a95 - as core::ops::function::FnOnce<()>>::call_once::h78821afbf97b39a9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 29: 0x63a2a4f80a95 - std::panicking::catch_unwind::do_call::h53abf3ed5bd32ba3 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 30: 0x63a2a4f80a95 - std::panicking::catch_unwind::h6deb5fe1e91873c9 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 31: 0x63a2a4f80a95 - std::panic::catch_unwind::hea0829b6b565654b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 32: 0x63a2a4f80a95 - test::run_test_in_process::hdc44dfecea3db21b [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:671:27 [INFO] [stdout] 33: 0x63a2a4f80a95 - test::run_test::{{closure}}::h0364ba59bf23f652 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:592:43 [INFO] [stdout] 34: 0x63a2a4f44694 - test::run_test::{{closure}}::h32730b304eec05da [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/test/src/lib.rs:622:41 [INFO] [stdout] 35: 0x63a2a4f44694 - std::sys::backtrace::__rust_begin_short_backtrace::h177cb952fc54ad2c [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 36: 0x63a2a4f4806a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h119d903520007597 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 37: 0x63a2a4f4806a - as core::ops::function::FnOnce<()>>::call_once::hab88401d606702a6 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 38: 0x63a2a4f4806a - std::panicking::catch_unwind::do_call::h163fe12cca9901c2 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:589:40 [INFO] [stdout] 39: 0x63a2a4f4806a - std::panicking::catch_unwind::he81557d0e17cc1bc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panicking.rs:552:19 [INFO] [stdout] 40: 0x63a2a4f4806a - std::panic::catch_unwind::hc2b8e79c20593955 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/panic.rs:359:14 [INFO] [stdout] 41: 0x63a2a4f4806a - std::thread::Builder::spawn_unchecked_::{{closure}}::hfa6b4978e07815cc [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 42: 0x63a2a4f4806a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hddcd7484a13fd793 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 43: 0x63a2a4fbb5ff - as core::ops::function::FnOnce>::call_once::h5924238c754de3b8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 44: 0x63a2a4fbb5ff - std::sys::pal::unix::thread::Thread::new::thread_start::hb6e99e73da4d28f8 [INFO] [stdout] at /rustc/1159e78c4747b02ef996e55082b704c09b970588/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 45: 0x7c3777f5eaa4 - [INFO] [stdout] 46: 0x7c3777feba34 - clone [INFO] [stdout] 47: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] ui_fail [INFO] [stdout] ui_pass [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 2 failed; 0 ignored; 0 measured; 0 filtered out; finished in 31.64s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test ui` [INFO] running `Command { std: "docker" "inspect" "6bdc73e678ba831949d2e92c6e918d615d93abf609984e5c02f20ccbb9e275a1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6bdc73e678ba831949d2e92c6e918d615d93abf609984e5c02f20ccbb9e275a1", kill_on_drop: false }` [INFO] [stdout] 6bdc73e678ba831949d2e92c6e918d615d93abf609984e5c02f20ccbb9e275a1