[INFO] fetching crate jsonrpsee-ws-client 0.2.0-alpha.4... [INFO] checking jsonrpsee-ws-client-0.2.0-alpha.4 against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] extracting crate jsonrpsee-ws-client 0.2.0-alpha.4 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate jsonrpsee-ws-client 0.2.0-alpha.4 on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-ws-client 0.2.0-alpha.4 [INFO] finished tweaking crates.io crate jsonrpsee-ws-client 0.2.0-alpha.4 [INFO] tweaked toml for crates.io crate jsonrpsee-ws-client 0.2.0-alpha.4 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b633b6e5f97e246659cfe8e3edd7444d94dcd0f3578bd14167a75c33109d8f62 [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" "b633b6e5f97e246659cfe8e3edd7444d94dcd0f3578bd14167a75c33109d8f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b633b6e5f97e246659cfe8e3edd7444d94dcd0f3578bd14167a75c33109d8f62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b633b6e5f97e246659cfe8e3edd7444d94dcd0f3578bd14167a75c33109d8f62", kill_on_drop: false }` [INFO] [stdout] b633b6e5f97e246659cfe8e3edd7444d94dcd0f3578bd14167a75c33109d8f62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d72a7e295d6893101e700d9e85252de6e71ff7071acdd083872e064659ba8e5a [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" "d72a7e295d6893101e700d9e85252de6e71ff7071acdd083872e064659ba8e5a", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Checking futures-core v0.3.14 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking pin-project-lite v0.2.6 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Checking futures-io v0.3.14 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Checking cache-padded v1.1.1 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Checking waker-fn v1.1.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking parking v2.0.0 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking event-listener v2.5.1 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fastrand v1.4.0 [INFO] [stderr] Checking futures-sink v0.3.14 [INFO] [stderr] Checking futures-task v0.3.14 [INFO] [stderr] Checking vec-arena v1.1.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Checking async-task v4.0.3 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking atomic-waker v1.0.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking beef v0.5.0 [INFO] [stderr] Checking base64 v0.12.3 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking bytes v0.5.6 [INFO] [stderr] Checking fnv v1.0.7 [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 crossbeam-utils v0.8.3 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking concurrent-queue v1.2.2 [INFO] [stderr] Checking async-mutex v1.4.0 [INFO] [stderr] Checking async-lock v2.4.0 [INFO] [stderr] Checking futures-channel v0.3.14 [INFO] [stderr] Checking lock_api v0.4.3 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking signal-hook-registry v1.3.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking futures-lite v1.11.3 [INFO] [stderr] Checking ring v0.16.20 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Checking async-channel v1.6.1 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking blocking v1.0.2 [INFO] [stderr] Checking async-executor v1.4.0 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking webpki-roots v0.21.1 [INFO] [stderr] Checking sha-1 v0.9.4 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling async-attributes v1.1.2 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking polling v2.0.3 [INFO] [stderr] Checking rustls v0.19.1 [INFO] [stderr] Checking kv-log-macro v1.0.7 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking env_logger v0.8.3 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking async-io v1.4.0 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking async-global-executor v2.0.2 [INFO] [stderr] Checking async-std v1.9.0 [INFO] [stderr] Checking async-tls v0.11.0 [INFO] [stderr] Checking futures-executor v0.3.14 [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.4 (/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:157:15 [INFO] [stdout] | [INFO] [stdout] 157 | 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:170:15 [INFO] [stdout] | [INFO] [stdout] 170 | let server = WebSocketTestServer::with_hardcoded_response("127.0.0.1:0".parse().unwrap(), response).await; [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:159:3 [INFO] [stdout] | [INFO] [stdout] 159 | 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:159:57 [INFO] [stdout] | [INFO] [stdout] 159 | 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:162:12 [INFO] [stdout] | [INFO] [stdout] 162 | 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:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | let uri = to_ws_uri_string(server.local_addr()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [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 50 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpsee-ws-client` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "d72a7e295d6893101e700d9e85252de6e71ff7071acdd083872e064659ba8e5a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d72a7e295d6893101e700d9e85252de6e71ff7071acdd083872e064659ba8e5a", kill_on_drop: false }` [INFO] [stdout] d72a7e295d6893101e700d9e85252de6e71ff7071acdd083872e064659ba8e5a