[INFO] fetching crate jsonrpsee-ws-client 0.4.1... [INFO] testing jsonrpsee-ws-client-0.4.1 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate jsonrpsee-ws-client 0.4.1 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate jsonrpsee-ws-client 0.4.1 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-ws-client 0.4.1 [INFO] finished tweaking crates.io crate jsonrpsee-ws-client 0.4.1 [INFO] tweaked toml for crates.io crate jsonrpsee-ws-client 0.4.1 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 09f6e1f91685264ecd46f70868b4bd01ff87bb8cad7d5733535138d6afd501d3 [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" "09f6e1f91685264ecd46f70868b4bd01ff87bb8cad7d5733535138d6afd501d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "09f6e1f91685264ecd46f70868b4bd01ff87bb8cad7d5733535138d6afd501d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "09f6e1f91685264ecd46f70868b4bd01ff87bb8cad7d5733535138d6afd501d3", kill_on_drop: false }` [INFO] [stdout] 09f6e1f91685264ecd46f70868b4bd01ff87bb8cad7d5733535138d6afd501d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86fa8affe0adaa8e81c4b46b7bb5d8b0b03b30c49fc46cc8f24dce2bd3565c84 [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" "86fa8affe0adaa8e81c4b46b7bb5d8b0b03b30c49fc46cc8f24dce2bd3565c84", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling spin v0.5.2 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling untrusted v0.7.1 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling itoa v0.4.8 [INFO] [stderr] Compiling httparse v1.5.1 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling anyhow v1.0.47 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling cpufeatures v0.2.1 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling openssl-probe v0.1.4 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling webpki v0.21.4 [INFO] [stderr] Compiling sct v0.6.1 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling soketto v0.7.1 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling pin-project-internal v1.0.8 [INFO] [stderr] Compiling pin-project v1.0.8 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling jsonrpsee-types v0.4.1 [INFO] [stderr] Compiling jsonrpsee-ws-client v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 44s [INFO] running `Command { std: "docker" "inspect" "86fa8affe0adaa8e81c4b46b7bb5d8b0b03b30c49fc46cc8f24dce2bd3565c84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86fa8affe0adaa8e81c4b46b7bb5d8b0b03b30c49fc46cc8f24dce2bd3565c84", kill_on_drop: false }` [INFO] [stdout] 86fa8affe0adaa8e81c4b46b7bb5d8b0b03b30c49fc46cc8f24dce2bd3565c84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 570ce94287229ee6acc41979e387b876fa254f736dcfec5f0322f4e996cf2338 [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" "570ce94287229ee6acc41979e387b876fa254f736dcfec5f0322f4e996cf2338", kill_on_drop: false }` [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling rustls v0.19.1 [INFO] [stderr] Compiling soketto v0.7.1 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling rustls-native-certs v0.5.0 [INFO] [stderr] Compiling tokio-rustls v0.22.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling jsonrpsee-types v0.4.1 [INFO] [stderr] Compiling jsonrpsee-ws-client v0.4.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:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | 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:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | use jsonrpsee_test_utils::mocks::{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::mocks::Id`, `jsonrpsee_test_utils::mocks::WebSocketTestServer`, `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:35:35 [INFO] [stdout] | [INFO] [stdout] 35 | use jsonrpsee_test_utils::mocks::{Id, WebSocketTestServer}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | use jsonrpsee_test_utils::TimeoutFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee_utils` [INFO] [stdout] --> src/tests.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | use jsonrpsee_utils::rpc_params; [INFO] [stdout] | ^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_utils` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 37 | use jsonrpsee_types::rpc_params; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `rpc_params` [INFO] [stdout] --> src/tests.rs:193:64 [INFO] [stdout] | [INFO] [stdout] 193 | let batch_request = vec![("say_hello", None), ("say_goodbye", rpc_params![0_u64, 1, 2]), ("get_swag", None)]; [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 macro `rpc_params` [INFO] [stdout] --> src/tests.rs:202:64 [INFO] [stdout] | [INFO] [stdout] 202 | let batch_request = vec![("say_hello", None), ("say_goodbye", rpc_params![0_u64, 1, 2]), ("get_swag", None)]; [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:53:15 [INFO] [stdout] | [INFO] [stdout] 53 | 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:108:15 [INFO] [stdout] | [INFO] [stdout] 108 | 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:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | 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:152:15 [INFO] [stdout] | [INFO] [stdout] 152 | 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:211:15 [INFO] [stdout] | [INFO] [stdout] 211 | 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:231:15 [INFO] [stdout] | [INFO] [stdout] 231 | 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:241:15 [INFO] [stdout] | [INFO] [stdout] 241 | 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:264:15 [INFO] [stdout] | [INFO] [stdout] 264 | 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 crate or module `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:273:21 [INFO] [stdout] | [INFO] [stdout] 273 | let redirect_url = jsonrpsee_test_utils::mocks::ws_server_with_redirect(server_url); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:42:41 [INFO] [stdout] | [INFO] [stdout] 42 | 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:42:69 [INFO] [stdout] | [INFO] [stdout] 42 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 28 | use jsonrpsee_types::v2::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:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | 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:64:38 [INFO] [stdout] | [INFO] [stdout] 64 | 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:64:66 [INFO] [stdout] | [INFO] [stdout] 64 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 28 | use jsonrpsee_types::v2::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:75:29 [INFO] [stdout] | [INFO] [stdout] 75 | 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:75:46 [INFO] [stdout] | [INFO] [stdout] 75 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 28 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:81:38 [INFO] [stdout] | [INFO] [stdout] 81 | 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:81:50 [INFO] [stdout] | [INFO] [stdout] 81 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 28 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:88:29 [INFO] [stdout] | [INFO] [stdout] 88 | 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:88:45 [INFO] [stdout] | [INFO] [stdout] 88 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 28 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_params` in this scope [INFO] [stdout] --> src/tests.rs:95:29 [INFO] [stdout] | [INFO] [stdout] 95 | 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:95:44 [INFO] [stdout] | [INFO] [stdout] 95 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 28 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `internal_error` in this scope [INFO] [stdout] --> src/tests.rs:102:29 [INFO] [stdout] | [INFO] [stdout] 102 | 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:102:44 [INFO] [stdout] | [INFO] [stdout] 102 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 28 | use jsonrpsee_types::v2::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:110:3 [INFO] [stdout] | [INFO] [stdout] 110 | 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:110:35 [INFO] [stdout] | [INFO] [stdout] 110 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 28 | use jsonrpsee_types::v2::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:111:3 [INFO] [stdout] | [INFO] [stdout] 111 | 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:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | 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:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | 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:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | 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:154:3 [INFO] [stdout] | [INFO] [stdout] 154 | 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:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | 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:213:3 [INFO] [stdout] | [INFO] [stdout] 213 | 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:213:48 [INFO] [stdout] | [INFO] [stdout] 213 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 28 | use jsonrpsee_types::v2::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:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | 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:235:12 [INFO] [stdout] | [INFO] [stdout] 235 | 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:266:3 [INFO] [stdout] | [INFO] [stdout] 266 | ok_response(expected.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:266:32 [INFO] [stdout] | [INFO] [stdout] 266 | ok_response(expected.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::Id; [INFO] [stdout] | [INFO] [stdout] 28 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [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:236:54 [INFO] [stdout] | [INFO] [stdout] 236 | 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:246:54 [INFO] [stdout] | [INFO] [stdout] 246 | 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:58:54 [INFO] [stdout] | [INFO] [stdout] 58 | 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:65:4 [INFO] [stdout] | [INFO] [stdout] 65 | .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:75:59 [INFO] [stdout] | [INFO] [stdout] 75 | 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:81:63 [INFO] [stdout] | [INFO] [stdout] 81 | 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:88:62 [INFO] [stdout] | [INFO] [stdout] 88 | 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:95:61 [INFO] [stdout] | [INFO] [stdout] 95 | 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:102:61 [INFO] [stdout] | [INFO] [stdout] 102 | 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:117:54 [INFO] [stdout] | [INFO] [stdout] 117 | 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:125:37 [INFO] [stdout] | [INFO] [stdout] 125 | 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:141:54 [INFO] [stdout] | [INFO] [stdout] 141 | 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:145:36 [INFO] [stdout] | [INFO] [stdout] 145 | 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:164:4 [INFO] [stdout] | [INFO] [stdout] 164 | .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:176:21 [INFO] [stdout] | [INFO] [stdout] 176 | 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:180:20 [INFO] [stdout] | [INFO] [stdout] 180 | 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:187:26 [INFO] [stdout] | [INFO] [stdout] 187 | 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:196:67 [INFO] [stdout] | [INFO] [stdout] 196 | 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:67 [INFO] [stdout] | [INFO] [stdout] 205 | 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:219:54 [INFO] [stdout] | [INFO] [stdout] 219 | 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:277:63 [INFO] [stdout] | [INFO] [stdout] 277 | let client = WsClientBuilder::default().build(&redirect_url).with_default_timeout().await; [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 66 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 67 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "570ce94287229ee6acc41979e387b876fa254f736dcfec5f0322f4e996cf2338", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "570ce94287229ee6acc41979e387b876fa254f736dcfec5f0322f4e996cf2338", kill_on_drop: false }` [INFO] [stdout] 570ce94287229ee6acc41979e387b876fa254f736dcfec5f0322f4e996cf2338