[INFO] fetching crate jsonrpsee-ws-client 0.2.0... [INFO] checking jsonrpsee-ws-client-0.2.0 against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] extracting crate jsonrpsee-ws-client 0.2.0 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate jsonrpsee-ws-client 0.2.0 on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-ws-client 0.2.0 [INFO] finished tweaking crates.io crate jsonrpsee-ws-client 0.2.0 [INFO] tweaked toml for crates.io crate jsonrpsee-ws-client 0.2.0 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 63b7ece3cabdaf361c67ba6edda8983d239ea5601ceaa8177d2a2490077a5a41 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "63b7ece3cabdaf361c67ba6edda8983d239ea5601ceaa8177d2a2490077a5a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "63b7ece3cabdaf361c67ba6edda8983d239ea5601ceaa8177d2a2490077a5a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "63b7ece3cabdaf361c67ba6edda8983d239ea5601ceaa8177d2a2490077a5a41", kill_on_drop: false }` [INFO] [stdout] 63b7ece3cabdaf361c67ba6edda8983d239ea5601ceaa8177d2a2490077a5a41 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0dd27d0c83ca45631e1f0c041ee778b7d64be6077f601d99ffbf6e01f3e937ae [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "0dd27d0c83ca45631e1f0c041ee778b7d64be6077f601d99ffbf6e01f3e937ae", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking futures-sink v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Checking tinyvec_macros v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking openssl-probe v0.1.4 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tokio v1.8.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking unicode-bidi v0.3.5 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking tinyvec v1.3.0 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling syn v1.0.73 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking soketto v0.5.0 [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking beef v0.5.0 [INFO] [stderr] Checking jsonrpsee-types v0.2.0 [INFO] [stderr] Checking jsonrpsee-ws-client v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | use jsonrpsee_test_utils::helpers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use jsonrpsee_test_utils::types::{Id, WebSocketTestServer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `tokioV1::test`, `jsonrpsee_test_utils::types::Id`, `jsonrpsee_test_utils::types::WebSocketTestServer` [INFO] [stdout] --> src/tokio.rs:17:36 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) use tokioV1::{runtime, test}; [INFO] [stdout] | ^^^^ no `test` in the root [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:12:35 [INFO] [stdout] | [INFO] [stdout] 12 | use jsonrpsee_test_utils::types::{Id, WebSocketTestServer}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use jsonrpsee_test_utils::TimeoutFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:18:3 [INFO] [stdout] | [INFO] [stdout] 18 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:28:3 [INFO] [stdout] | [INFO] [stdout] 28 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:40:3 [INFO] [stdout] | [INFO] [stdout] 40 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:50:3 [INFO] [stdout] | [INFO] [stdout] 50 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:57:3 [INFO] [stdout] | [INFO] [stdout] 57 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:63:3 [INFO] [stdout] | [INFO] [stdout] 63 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:70:3 [INFO] [stdout] | [INFO] [stdout] 70 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:77:3 [INFO] [stdout] | [INFO] [stdout] 77 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:84:3 [INFO] [stdout] | [INFO] [stdout] 84 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:108:3 [INFO] [stdout] | [INFO] [stdout] 108 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:128:3 [INFO] [stdout] | [INFO] [stdout] 128 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:169:3 [INFO] [stdout] | [INFO] [stdout] 169 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:182:3 [INFO] [stdout] | [INFO] [stdout] 182 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the attribute macro `tokio::test` [INFO] [stdout] --> src/tests.rs:195:3 [INFO] [stdout] | [INFO] [stdout] 195 | #[tokio::test] [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestServer` [INFO] [stdout] --> src/tests.rs:31:15 [INFO] [stdout] | [INFO] [stdout] 31 | let server = WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), String::new()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestServer` [INFO] [stdout] --> src/tests.rs:86:15 [INFO] [stdout] | [INFO] [stdout] 86 | let server = WebSocketTestServer::with_hardcoded_subscription( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestServer` [INFO] [stdout] --> src/tests.rs:110:15 [INFO] [stdout] | [INFO] [stdout] 110 | let server = WebSocketTestServer::with_hardcoded_notification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestServer` [INFO] [stdout] --> src/tests.rs:130:15 [INFO] [stdout] | [INFO] [stdout] 130 | let server = WebSocketTestServer::with_hardcoded_notification( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestServer` [INFO] [stdout] --> src/tests.rs:197:15 [INFO] [stdout] | [INFO] [stdout] 197 | let server = WebSocketTestServer::with_hardcoded_response( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestServer` [INFO] [stdout] --> src/tests.rs:217:15 [INFO] [stdout] | [INFO] [stdout] 217 | let server = WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), response) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestServer` [INFO] [stdout] --> src/tests.rs:227:15 [INFO] [stdout] | [INFO] [stdout] 227 | let server = WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), response) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestServer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:20:41 [INFO] [stdout] | [INFO] [stdout] 20 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:20:69 [INFO] [stdout] | [INFO] [stdout] 20 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_ws_uri_string` in this scope [INFO] [stdout] --> src/tests.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | let uri = to_ws_uri_string(server.local_addr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:42:38 [INFO] [stdout] | [INFO] [stdout] 42 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:42:66 [INFO] [stdout] | [INFO] [stdout] 42 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))) [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `method_not_found` in this scope [INFO] [stdout] --> src/tests.rs:53:29 [INFO] [stdout] | [INFO] [stdout] 53 | run_request_with_response(method_not_found(Id::Num(0))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:53:46 [INFO] [stdout] | [INFO] [stdout] 53 | run_request_with_response(method_not_found(Id::Num(0))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:59:38 [INFO] [stdout] | [INFO] [stdout] 59 | let err = run_request_with_response(parse_error(Id::Num(0))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:59:50 [INFO] [stdout] | [INFO] [stdout] 59 | let err = run_request_with_response(parse_error(Id::Num(0))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:66:29 [INFO] [stdout] | [INFO] [stdout] 66 | run_request_with_response(invalid_request(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:66:45 [INFO] [stdout] | [INFO] [stdout] 66 | run_request_with_response(invalid_request(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_params` in this scope [INFO] [stdout] --> src/tests.rs:73:29 [INFO] [stdout] | [INFO] [stdout] 73 | run_request_with_response(invalid_params(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:73:44 [INFO] [stdout] | [INFO] [stdout] 73 | run_request_with_response(invalid_params(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `internal_error` in this scope [INFO] [stdout] --> src/tests.rs:80:29 [INFO] [stdout] | [INFO] [stdout] 80 | run_request_with_response(internal_error(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:80:44 [INFO] [stdout] | [INFO] [stdout] 80 | run_request_with_response(internal_error(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `server_subscription_id_response` in this scope [INFO] [stdout] --> src/tests.rs:88:3 [INFO] [stdout] | [INFO] [stdout] 88 | server_subscription_id_response(Id::Num(0)), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:88:35 [INFO] [stdout] | [INFO] [stdout] 88 | server_subscription_id_response(Id::Num(0)), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `server_subscription_response` in this scope [INFO] [stdout] --> src/tests.rs:89:3 [INFO] [stdout] | [INFO] [stdout] 89 | server_subscription_response(JsonValue::String("hello my friend".to_owned())), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_ws_uri_string` in this scope [INFO] [stdout] --> src/tests.rs:94:12 [INFO] [stdout] | [INFO] [stdout] 94 | let uri = to_ws_uri_string(server.local_addr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `server_notification` in this scope [INFO] [stdout] --> src/tests.rs:112:3 [INFO] [stdout] | [INFO] [stdout] 112 | server_notification("test", "server originated notification works".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_ws_uri_string` in this scope [INFO] [stdout] --> src/tests.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | let uri = to_ws_uri_string(server.local_addr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `server_notification` in this scope [INFO] [stdout] --> src/tests.rs:132:3 [INFO] [stdout] | [INFO] [stdout] 132 | server_notification("test", "server originated notification".into()), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_ws_uri_string` in this scope [INFO] [stdout] --> src/tests.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | let uri = to_ws_uri_string(server.local_addr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:199:3 [INFO] [stdout] | [INFO] [stdout] 199 | ok_response(JsonValue::String("foo".into()), Id::Num(99_u64)), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:199:48 [INFO] [stdout] | [INFO] [stdout] 199 | ok_response(JsonValue::String("foo".into()), Id::Num(99_u64)), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 | use crate::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_ws_uri_string` in this scope [INFO] [stdout] --> src/tests.rs:204:12 [INFO] [stdout] | [INFO] [stdout] 204 | let uri = to_ws_uri_string(server.local_addr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_ws_uri_string` in this scope [INFO] [stdout] --> src/tests.rs:221:12 [INFO] [stdout] | [INFO] [stdout] 221 | let uri = to_ws_uri_string(server.local_addr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `runtime` [INFO] [stdout] --> src/tokio.rs:17:27 [INFO] [stdout] | [INFO] [stdout] 17 | pub(crate) use tokioV1::{runtime, test}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:222:54 [INFO] [stdout] | [INFO] [stdout] 222 | let client = WsClientBuilder::default().build(&uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:232:54 [INFO] [stdout] | [INFO] [stdout] 232 | let client = WsClientBuilder::default().build(&uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:21:4 [INFO] [stdout] | [INFO] [stdout] 21 | .with_default_timeout() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:36:54 [INFO] [stdout] | [INFO] [stdout] 36 | let client = WsClientBuilder::default().build(&uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:43:4 [INFO] [stdout] | [INFO] [stdout] 43 | .with_default_timeout() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:53:59 [INFO] [stdout] | [INFO] [stdout] 53 | run_request_with_response(method_not_found(Id::Num(0))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:59:63 [INFO] [stdout] | [INFO] [stdout] 59 | let err = run_request_with_response(parse_error(Id::Num(0))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:66:62 [INFO] [stdout] | [INFO] [stdout] 66 | run_request_with_response(invalid_request(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:73:61 [INFO] [stdout] | [INFO] [stdout] 73 | run_request_with_response(invalid_params(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:80:61 [INFO] [stdout] | [INFO] [stdout] 80 | run_request_with_response(internal_error(Id::Num(0_u64))).with_default_timeout().await.unwrap().unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:95:54 [INFO] [stdout] | [INFO] [stdout] 95 | let client = WsClientBuilder::default().build(&uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:103:37 [INFO] [stdout] | [INFO] [stdout] 103 | let response: String = sub.next().with_default_timeout().await.unwrap().unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:119:54 [INFO] [stdout] | [INFO] [stdout] 119 | let client = WsClientBuilder::default().build(&uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:123:36 [INFO] [stdout] | [INFO] [stdout] 123 | let response: String = nh.next().with_default_timeout().await.unwrap().unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:142:4 [INFO] [stdout] | [INFO] [stdout] 142 | .with_default_timeout() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:154:21 [INFO] [stdout] | [INFO] [stdout] 154 | assert!(nh.next().with_default_timeout().await.unwrap().unwrap().is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | assert!(nh.next().with_default_timeout().await.unwrap().unwrap().is_none()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | assert!(other_nh.next().with_default_timeout().await.unwrap().unwrap().is_some()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:178:67 [INFO] [stdout] | [INFO] [stdout] 178 | run_batch_request_with_response(batch_request, server_response).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:191:67 [INFO] [stdout] | [INFO] [stdout] 191 | run_batch_request_with_response(batch_request, server_response).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures::Future` in the current scope [INFO] [stdout] --> src/tests.rs:205:54 [INFO] [stdout] | [INFO] [stdout] 205 | let client = WsClientBuilder::default().build(&uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Client` [INFO] [stdout] --> src/tests.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | traits::{Client, SubscriptionClient}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubscriptionClient` [INFO] [stdout] --> src/tests.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | traits::{Client, SubscriptionClient}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 73 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpsee-ws-client` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "0dd27d0c83ca45631e1f0c041ee778b7d64be6077f601d99ffbf6e01f3e937ae", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0dd27d0c83ca45631e1f0c041ee778b7d64be6077f601d99ffbf6e01f3e937ae", kill_on_drop: false }` [INFO] [stdout] 0dd27d0c83ca45631e1f0c041ee778b7d64be6077f601d99ffbf6e01f3e937ae