[INFO] fetching crate jsonrpsee-ws-client 0.2.0-alpha.3... [INFO] checking jsonrpsee-ws-client-0.2.0-alpha.3 against master#3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 for pr-65819 [INFO] extracting crate jsonrpsee-ws-client 0.2.0-alpha.3 into /workspace/builds/worker-5/source [INFO] validating manifest of crates.io crate jsonrpsee-ws-client 0.2.0-alpha.3 on toolchain 3aedcf06b73fc36feeebca3d579e1d2a6c40acc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-ws-client 0.2.0-alpha.3 [INFO] finished tweaking crates.io crate jsonrpsee-ws-client 0.2.0-alpha.3 [INFO] tweaked toml for crates.io crate jsonrpsee-ws-client 0.2.0-alpha.3 written to /workspace/builds/worker-5/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "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" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] df363cdc3ab2df5fae49302e05aa45db76a511dfd6f57ddf83643f4845d66fa2 [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" "df363cdc3ab2df5fae49302e05aa45db76a511dfd6f57ddf83643f4845d66fa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df363cdc3ab2df5fae49302e05aa45db76a511dfd6f57ddf83643f4845d66fa2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df363cdc3ab2df5fae49302e05aa45db76a511dfd6f57ddf83643f4845d66fa2", kill_on_drop: false }` [INFO] [stdout] df363cdc3ab2df5fae49302e05aa45db76a511dfd6f57ddf83643f4845d66fa2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+3aedcf06b73fc36feeebca3d579e1d2a6c40acc5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 49c99c71033463abae637c50139d2acc1db6e05d25d6c87326127fd76651db68 [INFO] running `Command { std: "docker" "start" "-a" "49c99c71033463abae637c50139d2acc1db6e05d25d6c87326127fd76651db68", kill_on_drop: false }` [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking cpuid-bool v0.1.2 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking beef v0.5.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking async-io v1.4.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking async-tls v0.11.0 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking soketto v0.4.2 [INFO] [stderr] Checking jsonrpsee-types v0.2.0-alpha.4 [INFO] [stderr] Checking jsonrpsee-ws-client v0.2.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | 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:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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` [INFO] [stdout] --> src/tests.rs:5:35 [INFO] [stdout] | [INFO] [stdout] 5 | use jsonrpsee_test_utils::types::{Id, WebSocketTestServer}; [INFO] [stdout] | ^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestServer` [INFO] [stdout] --> src/tests.rs:24:15 [INFO] [stdout] | [INFO] [stdout] 24 | 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:39:15 [INFO] [stdout] | [INFO] [stdout] 39 | let server = WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), String::new()).await; [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:48:3 [INFO] [stdout] | [INFO] [stdout] 48 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), method_not_found(Id::Num(0_u64))) [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:59:3 [INFO] [stdout] | [INFO] [stdout] 59 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), parse_error(Id::Num(0_u64))).await; [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:69:3 [INFO] [stdout] | [INFO] [stdout] 69 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), invalid_request(Id::Num(0_u64))) [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:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), invalid_params(Id::Num(0_u64))) [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:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), internal_error(Id::Num(0_u64))) [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:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | 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:119:15 [INFO] [stdout] | [INFO] [stdout] 119 | 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:132:15 [INFO] [stdout] | [INFO] [stdout] 132 | let server = WebSocketTestServer::with_hardcoded_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:26:3 [INFO] [stdout] | [INFO] [stdout] 26 | ok_response("hello".into(), Id::Num(0_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:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | ok_response("hello".into(), Id::Num(0_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::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::jsonrpc::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:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | 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:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | 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 `method_not_found` in this scope [INFO] [stdout] --> src/tests.rs:48:80 [INFO] [stdout] | [INFO] [stdout] 48 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), method_not_found(Id::Num(0_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:48:97 [INFO] [stdout] | [INFO] [stdout] 48 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), method_not_found(Id::Num(0_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::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::jsonrpc::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:50:12 [INFO] [stdout] | [INFO] [stdout] 50 | 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 value `METHOD_NOT_FOUND` in this scope [INFO] [stdout] --> src/tests.rs:53:70 [INFO] [stdout] | [INFO] [stdout] 53 | assert_error_response(response, jsonrpc::ErrorCode::MethodNotFound, METHOD_NOT_FOUND.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:59:80 [INFO] [stdout] | [INFO] [stdout] 59 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), parse_error(Id::Num(0_u64))).await; [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:92 [INFO] [stdout] | [INFO] [stdout] 59 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), parse_error(Id::Num(0_u64))).await; [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::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::jsonrpc::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:60:12 [INFO] [stdout] | [INFO] [stdout] 60 | 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 value `PARSE_ERROR` in this scope [INFO] [stdout] --> src/tests.rs:63:66 [INFO] [stdout] | [INFO] [stdout] 63 | assert_error_response(response, jsonrpc::ErrorCode::ParseError, PARSE_ERROR.into()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:69:80 [INFO] [stdout] | [INFO] [stdout] 69 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), invalid_request(Id::Num(0_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:69:96 [INFO] [stdout] | [INFO] [stdout] 69 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), invalid_request(Id::Num(0_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::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::jsonrpc::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:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | 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 value `INVALID_REQUEST` in this scope [INFO] [stdout] --> src/tests.rs:74:70 [INFO] [stdout] | [INFO] [stdout] 74 | assert_error_response(response, jsonrpc::ErrorCode::InvalidRequest, INVALID_REQUEST.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_params` in this scope [INFO] [stdout] --> src/tests.rs:80:80 [INFO] [stdout] | [INFO] [stdout] 80 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), invalid_params(Id::Num(0_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:80:95 [INFO] [stdout] | [INFO] [stdout] 80 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), invalid_params(Id::Num(0_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::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::jsonrpc::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:82:12 [INFO] [stdout] | [INFO] [stdout] 82 | 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 value `INVALID_PARAMS` in this scope [INFO] [stdout] --> src/tests.rs:85:69 [INFO] [stdout] | [INFO] [stdout] 85 | assert_error_response(response, jsonrpc::ErrorCode::InvalidParams, INVALID_PARAMS.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `internal_error` in this scope [INFO] [stdout] --> src/tests.rs:91:80 [INFO] [stdout] | [INFO] [stdout] 91 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), internal_error(Id::Num(0_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:91:95 [INFO] [stdout] | [INFO] [stdout] 91 | WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), internal_error(Id::Num(0_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::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::jsonrpc::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:93:12 [INFO] [stdout] | [INFO] [stdout] 93 | 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 value `INTERNAL_ERROR` in this scope [INFO] [stdout] --> src/tests.rs:96:69 [INFO] [stdout] | [INFO] [stdout] 96 | assert_error_response(response, jsonrpc::ErrorCode::InternalError, INTERNAL_ERROR.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `server_subscription_id_response` in this scope [INFO] [stdout] --> src/tests.rs:103:3 [INFO] [stdout] | [INFO] [stdout] 103 | 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:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | 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::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::jsonrpc::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:104:3 [INFO] [stdout] | [INFO] [stdout] 104 | server_subscription_response(jsonrpc::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:107:12 [INFO] [stdout] | [INFO] [stdout] 107 | 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:121:3 [INFO] [stdout] | [INFO] [stdout] 121 | ok_response(jsonrpc::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:121:57 [INFO] [stdout] | [INFO] [stdout] 121 | ok_response(jsonrpc::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::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::jsonrpc::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:124:12 [INFO] [stdout] | [INFO] [stdout] 124 | 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:134:3 [INFO] [stdout] | [INFO] [stdout] 134 | ok_response(jsonrpc::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:134:57 [INFO] [stdout] | [INFO] [stdout] 134 | ok_response(jsonrpc::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::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::jsonrpc::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:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | let uri = to_ws_uri_string(server.local_addr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `batch_request` [INFO] [stdout] --> src/client.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | impl Client for WsClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `batch_request` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn batch_request(&'life0 self, _: Vec<(M, P)>) -> Pin, jsonrpsee_types::error::Error>> + std::marker::Send + 'async_trait)>> where T: DeserializeOwned, T: Default, T: Clone, M: Into, M: std::marker::Send, P: Into, P: std::marker::Send { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [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] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `batch_request` [INFO] [stdout] --> src/client.rs:190:1 [INFO] [stdout] | [INFO] [stdout] 190 | impl Client for WsClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `batch_request` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn batch_request(&'life0 self, _: Vec<(M, P)>) -> Pin, jsonrpsee_types::error::Error>> + std::marker::Send + 'async_trait)>> where T: DeserializeOwned, T: Default, T: Clone, M: Into, M: std::marker::Send, P: Into, P: std::marker::Send { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:103:43 [INFO] [stdout] | [INFO] [stdout] 103 | server_subscription_id_response(Id::Num(0)), [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:101:15 [INFO] [stdout] | [INFO] [stdout] 101 | let server = WebSocketTestServer::with_hardcoded_subscription( [INFO] [stdout] | __________________^ [INFO] [stdout] 102 | | "127.0.0.1:0".parse().unwrap(), [INFO] [stdout] 103 | | server_subscription_id_response(Id::Num(0)), [INFO] [stdout] 104 | | server_subscription_response(jsonrpc::JsonValue::String("hello my friend".to_owned())), [INFO] [stdout] 105 | | ) [INFO] [stdout] 106 | | .await; [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 49 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0425, E0432, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "49c99c71033463abae637c50139d2acc1db6e05d25d6c87326127fd76651db68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49c99c71033463abae637c50139d2acc1db6e05d25d6c87326127fd76651db68", kill_on_drop: false }` [INFO] [stdout] 49c99c71033463abae637c50139d2acc1db6e05d25d6c87326127fd76651db68