[INFO] fetching crate jsonrpsee-ws-client 0.3.1... [INFO] checking jsonrpsee-ws-client-0.3.1 against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] extracting crate jsonrpsee-ws-client 0.3.1 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate jsonrpsee-ws-client 0.3.1 on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-ws-client 0.3.1 [INFO] finished tweaking crates.io crate jsonrpsee-ws-client 0.3.1 [INFO] tweaked toml for crates.io crate jsonrpsee-ws-client 0.3.1 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "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" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tokio-rustls v0.15.0 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3cdbf776978914cc391f7fbac5ca8c3cf6d8de1455bb0c9e396c726b825f1ea8 [INFO] running `Command { std: "docker" "start" "-a" "3cdbf776978914cc391f7fbac5ca8c3cf6d8de1455bb0c9e396c726b825f1ea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3cdbf776978914cc391f7fbac5ca8c3cf6d8de1455bb0c9e396c726b825f1ea8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cdbf776978914cc391f7fbac5ca8c3cf6d8de1455bb0c9e396c726b825f1ea8", kill_on_drop: false }` [INFO] [stdout] 3cdbf776978914cc391f7fbac5ca8c3cf6d8de1455bb0c9e396c726b825f1ea8 [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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38f7024f471a8c46195eebeac6e5c10fc15da611acd3a651a853735c21b65fa9 [INFO] running `Command { std: "docker" "start" "-a" "38f7024f471a8c46195eebeac6e5c10fc15da611acd3a651a853735c21b65fa9", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Checking futures-io v0.3.17 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Checking slab v0.4.4 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.68 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v1.11.0 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Checking tracing-core v0.1.20 [INFO] [stderr] Checking tinyvec v1.4.0 [INFO] [stderr] Checking form_urlencoded v1.0.1 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.8 [INFO] [stderr] Checking tracing v0.1.28 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking unicode-normalization v0.1.19 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking http-body v0.4.3 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking url v2.2.2 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking futures v0.3.17 [INFO] [stderr] Checking soketto v0.6.0 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Checking pin-project v1.0.8 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking hyper v0.14.13 [INFO] [stderr] Checking tokio-util v0.6.8 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking serde v1.0.130 [INFO] [stderr] Checking beef v0.5.1 [INFO] [stderr] Checking jsonrpsee-types v0.3.1 [INFO] [stderr] Checking jsonrpsee-ws-client v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | 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:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | 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 `jsonrpsee_test_utils::types::Id`, `jsonrpsee_test_utils::types::WebSocketTestServer`, `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | use jsonrpsee_test_utils::types::{Id, WebSocketTestServer}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 39 | use jsonrpsee_test_utils::TimeoutFutureExt; [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 type `WebSocketTestServer` [INFO] [stdout] --> src/tests.rs:57:15 [INFO] [stdout] | [INFO] [stdout] 57 | 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:112:15 [INFO] [stdout] | [INFO] [stdout] 112 | 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:136:15 [INFO] [stdout] | [INFO] [stdout] 136 | 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:156:15 [INFO] [stdout] | [INFO] [stdout] 156 | 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:223:15 [INFO] [stdout] | [INFO] [stdout] 223 | 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:243:15 [INFO] [stdout] | [INFO] [stdout] 243 | 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:253:15 [INFO] [stdout] | [INFO] [stdout] 253 | 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:46:41 [INFO] [stdout] | [INFO] [stdout] 46 | 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:46:69 [INFO] [stdout] | [INFO] [stdout] 46 | 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] 28 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 28 | 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:61:12 [INFO] [stdout] | [INFO] [stdout] 61 | 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:68:38 [INFO] [stdout] | [INFO] [stdout] 68 | 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:68:66 [INFO] [stdout] | [INFO] [stdout] 68 | 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] 28 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 28 | 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:79:29 [INFO] [stdout] | [INFO] [stdout] 79 | 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:79:46 [INFO] [stdout] | [INFO] [stdout] 79 | 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] 28 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 28 | 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:85:38 [INFO] [stdout] | [INFO] [stdout] 85 | 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:85:50 [INFO] [stdout] | [INFO] [stdout] 85 | 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] 28 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 28 | 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:92:29 [INFO] [stdout] | [INFO] [stdout] 92 | 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:92:45 [INFO] [stdout] | [INFO] [stdout] 92 | 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] 28 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 28 | 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:99:29 [INFO] [stdout] | [INFO] [stdout] 99 | 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:99:44 [INFO] [stdout] | [INFO] [stdout] 99 | 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] 28 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 28 | 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:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | 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:106:44 [INFO] [stdout] | [INFO] [stdout] 106 | 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] 28 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 28 | 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:114:3 [INFO] [stdout] | [INFO] [stdout] 114 | 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:114:35 [INFO] [stdout] | [INFO] [stdout] 114 | 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] 28 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 28 | 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:115:3 [INFO] [stdout] | [INFO] [stdout] 115 | 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:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | 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:138:3 [INFO] [stdout] | [INFO] [stdout] 138 | 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:144:12 [INFO] [stdout] | [INFO] [stdout] 144 | 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:158:3 [INFO] [stdout] | [INFO] [stdout] 158 | 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:164:12 [INFO] [stdout] | [INFO] [stdout] 164 | 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:225:3 [INFO] [stdout] | [INFO] [stdout] 225 | 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:225:48 [INFO] [stdout] | [INFO] [stdout] 225 | 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] 28 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 28 | 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:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | 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:247:12 [INFO] [stdout] | [INFO] [stdout] 247 | let uri = to_ws_uri_string(server.local_addr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [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:248:54 [INFO] [stdout] | [INFO] [stdout] 248 | 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:258:54 [INFO] [stdout] | [INFO] [stdout] 258 | 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:47:4 [INFO] [stdout] | [INFO] [stdout] 47 | .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:62:54 [INFO] [stdout] | [INFO] [stdout] 62 | 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:69:4 [INFO] [stdout] | [INFO] [stdout] 69 | .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:79:59 [INFO] [stdout] | [INFO] [stdout] 79 | 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:85:63 [INFO] [stdout] | [INFO] [stdout] 85 | 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:92:62 [INFO] [stdout] | [INFO] [stdout] 92 | 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:99:61 [INFO] [stdout] | [INFO] [stdout] 99 | 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:106:61 [INFO] [stdout] | [INFO] [stdout] 106 | 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:121:54 [INFO] [stdout] | [INFO] [stdout] 121 | 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:129:37 [INFO] [stdout] | [INFO] [stdout] 129 | 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:145:54 [INFO] [stdout] | [INFO] [stdout] 145 | 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:149:36 [INFO] [stdout] | [INFO] [stdout] 149 | 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:168:4 [INFO] [stdout] | [INFO] [stdout] 168 | .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:180:21 [INFO] [stdout] | [INFO] [stdout] 180 | 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:184:20 [INFO] [stdout] | [INFO] [stdout] 184 | 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:191:26 [INFO] [stdout] | [INFO] [stdout] 191 | 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:204:67 [INFO] [stdout] | [INFO] [stdout] 204 | 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:217:67 [INFO] [stdout] | [INFO] [stdout] 217 | 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:231:54 [INFO] [stdout] | [INFO] [stdout] 231 | 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:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | traits::{Client, SubscriptionClient}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SubscriptionClient` [INFO] [stdout] --> src/tests.rs:29:19 [INFO] [stdout] | [INFO] [stdout] 29 | traits::{Client, SubscriptionClient}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 58 previous errors; 2 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` due to 59 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "38f7024f471a8c46195eebeac6e5c10fc15da611acd3a651a853735c21b65fa9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38f7024f471a8c46195eebeac6e5c10fc15da611acd3a651a853735c21b65fa9", kill_on_drop: false }` [INFO] [stdout] 38f7024f471a8c46195eebeac6e5c10fc15da611acd3a651a853735c21b65fa9