[INFO] fetching crate jsonrpsee-ws-server 0.2.0... [INFO] checking jsonrpsee-ws-server-0.2.0 against try#ddfd70ee3c3748e597b32f416b0d15a4f6e37685 for pr-87050 [INFO] extracting crate jsonrpsee-ws-server 0.2.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate jsonrpsee-ws-server 0.2.0 on toolchain ddfd70ee3c3748e597b32f416b0d15a4f6e37685 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-ws-server 0.2.0 [INFO] finished tweaking crates.io crate jsonrpsee-ws-server 0.2.0 [INFO] tweaked toml for crates.io crate jsonrpsee-ws-server 0.2.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "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" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsonrpsee-utils v0.2.0 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 340da82501d8cba875c490128c754b8089fa98d77636d030c06bfd0b72d863a2 [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" "340da82501d8cba875c490128c754b8089fa98d77636d030c06bfd0b72d863a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "340da82501d8cba875c490128c754b8089fa98d77636d030c06bfd0b72d863a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "340da82501d8cba875c490128c754b8089fa98d77636d030c06bfd0b72d863a2", kill_on_drop: false }` [INFO] [stdout] 340da82501d8cba875c490128c754b8089fa98d77636d030c06bfd0b72d863a2 [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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+ddfd70ee3c3748e597b32f416b0d15a4f6e37685" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e35758461659c289a920f994f0d79303a5fed32ac7df52f430c895440fad2881 [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" "e35758461659c289a920f994f0d79303a5fed32ac7df52f430c895440fad2881", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.15 [INFO] [stderr] Compiling futures-channel v0.3.15 [INFO] [stderr] Compiling futures-task v0.3.15 [INFO] [stderr] Checking futures-io v0.3.15 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking cpufeatures v0.1.5 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Compiling futures-util v0.3.15 [INFO] [stderr] Compiling tokio v1.8.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking futures v0.3.15 [INFO] [stderr] Checking soketto v0.5.0 [INFO] [stderr] Checking hyper v0.14.10 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking beef v0.5.0 [INFO] [stderr] Checking jsonrpsee-types v0.2.0 [INFO] [stderr] Checking jsonrpsee-utils v0.2.0 [INFO] [stderr] Checking jsonrpsee-ws-server v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | 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:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use jsonrpsee_test_utils::types::{Id, TestContext, WebSocketTestClient}; [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::TestContext`, `jsonrpsee_test_utils::types::WebSocketTestClient`, `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:6:35 [INFO] [stdout] | [INFO] [stdout] 6 | use jsonrpsee_test_utils::types::{Id, TestContext, WebSocketTestClient}; [INFO] [stdout] | ^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | use jsonrpsee_test_utils::TimeoutFutureExt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:132:19 [INFO] [stdout] | [INFO] [stdout] 132 | let mut client = WebSocketTestClient::new(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:142:35 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(response, parse_error(Id::Null)); [INFO] [stdout] | ^^ use of undeclared type `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:157:14 [INFO] [stdout] | [INFO] [stdout] 157 | let conn1 = WebSocketTestClient::new(addr).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | let conn2 = WebSocketTestClient::new(addr).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:159:14 [INFO] [stdout] | [INFO] [stdout] 159 | let conn3 = WebSocketTestClient::new(addr).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:172:14 [INFO] [stdout] | [INFO] [stdout] 172 | let conn4 = WebSocketTestClient::new(addr).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:179:19 [INFO] [stdout] | [INFO] [stdout] 179 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:192:19 [INFO] [stdout] | [INFO] [stdout] 192 | let mut client = WebSocketTestClient::new(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:205:19 [INFO] [stdout] | [INFO] [stdout] 205 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:216:19 [INFO] [stdout] | [INFO] [stdout] 216 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:233:19 [INFO] [stdout] | [INFO] [stdout] 233 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:253:19 [INFO] [stdout] | [INFO] [stdout] 253 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:264:19 [INFO] [stdout] | [INFO] [stdout] 264 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:274:19 [INFO] [stdout] | [INFO] [stdout] 274 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:284:19 [INFO] [stdout] | [INFO] [stdout] 284 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:294:19 [INFO] [stdout] | [INFO] [stdout] 294 | let mut client = WebSocketTestClient::new(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:304:19 [INFO] [stdout] | [INFO] [stdout] 304 | let mut client = WebSocketTestClient::new(addr).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:314:19 [INFO] [stdout] | [INFO] [stdout] 314 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:324:19 [INFO] [stdout] | [INFO] [stdout] 324 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 334 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:339:35 [INFO] [stdout] | [INFO] [stdout] 339 | assert_eq!(response, parse_error(Id::Null)); [INFO] [stdout] | ^^ use of undeclared type `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:345:19 [INFO] [stdout] | [INFO] [stdout] 345 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:377:19 [INFO] [stdout] | [INFO] [stdout] 377 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:381:36 [INFO] [stdout] | [INFO] [stdout] 381 | assert_eq!(response1, parse_error(Id::Null)); [INFO] [stdout] | ^^ use of undeclared type `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:390:19 [INFO] [stdout] | [INFO] [stdout] 390 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:403:19 [INFO] [stdout] | [INFO] [stdout] 403 | let mut client = WebSocketTestClient::new(addr).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestClient` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TestContext` in this scope [INFO] [stdout] --> src/tests.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | let ctx = TestContext; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `oversized_request` in this scope [INFO] [stdout] --> src/tests.rs:137:23 [INFO] [stdout] | [INFO] [stdout] 137 | assert_eq!(response, oversized_request()); [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:142:23 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(response, parse_error(Id::Null)); [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:185:24 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(i))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:185:75 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(i))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:198:24 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(i))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:198:75 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(i))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:210:23 [INFO] [stdout] | [INFO] [stdout] 210 | assert_eq!(response, ok_response(JsonValue::String("Yawn!".to_owned()), Id::Num(123))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:210:74 [INFO] [stdout] | [INFO] [stdout] 210 | assert_eq!(response, ok_response(JsonValue::String("Yawn!".to_owned()), Id::Num(123))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:257:23 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(response, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:257:64 [INFO] [stdout] | [INFO] [stdout] 257 | assert_eq!(response, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_params` in this scope [INFO] [stdout] --> src/tests.rs:268:23 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq!(response, invalid_params(Id::Num(1))); [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:268:38 [INFO] [stdout] | [INFO] [stdout] 268 | assert_eq!(response, invalid_params(Id::Num(1))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call_execution_failed` in this scope [INFO] [stdout] --> src/tests.rs:278:23 [INFO] [stdout] | [INFO] [stdout] 278 | assert_eq!(response, call_execution_failed("RPC context failed", Id::Num(1))); [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:278:67 [INFO] [stdout] | [INFO] [stdout] 278 | assert_eq!(response, call_execution_failed("RPC context failed", Id::Num(1))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:288:23 [INFO] [stdout] | [INFO] [stdout] 288 | assert_eq!(response, ok_response("ok".into(), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:288:48 [INFO] [stdout] | [INFO] [stdout] 288 | assert_eq!(response, ok_response("ok".into(), Id::Num(1))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:298:23 [INFO] [stdout] | [INFO] [stdout] 298 | assert_eq!(response, ok_response("ok!".into(), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:298:49 [INFO] [stdout] | [INFO] [stdout] 298 | assert_eq!(response, ok_response("ok!".into(), Id::Num(1))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call_execution_failed` in this scope [INFO] [stdout] --> src/tests.rs:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | assert_eq!(response, call_execution_failed("nah".into(), Id::Num(1))); [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:308:59 [INFO] [stdout] | [INFO] [stdout] 308 | assert_eq!(response, call_execution_failed("nah".into(), Id::Num(1))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:318:23 [INFO] [stdout] | [INFO] [stdout] 318 | assert_eq!(response, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:318:64 [INFO] [stdout] | [INFO] [stdout] 318 | assert_eq!(response, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `method_not_found` in this scope [INFO] [stdout] --> src/tests.rs:328:23 [INFO] [stdout] | [INFO] [stdout] 328 | assert_eq!(response, method_not_found(Id::Str("foo".into()))); [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:328:40 [INFO] [stdout] | [INFO] [stdout] 328 | assert_eq!(response, method_not_found(Id::Str("foo".into()))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:339:23 [INFO] [stdout] | [INFO] [stdout] 339 | assert_eq!(response, parse_error(Id::Null)); [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:349:23 [INFO] [stdout] | [INFO] [stdout] 349 | assert_eq!(response, invalid_request(Id::Num(1))); [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:349:39 [INFO] [stdout] | [INFO] [stdout] 349 | assert_eq!(response, invalid_request(Id::Num(1))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:381:24 [INFO] [stdout] | [INFO] [stdout] 381 | assert_eq!(response1, parse_error(Id::Null)); [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:384:24 [INFO] [stdout] | [INFO] [stdout] 384 | assert_eq!(response2, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [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:384:75 [INFO] [stdout] | [INFO] [stdout] 384 | assert_eq!(response2, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:394:23 [INFO] [stdout] | [INFO] [stdout] 394 | assert_eq!(response, invalid_request(Id::Num(1))); [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:394:39 [INFO] [stdout] | [INFO] [stdout] 394 | assert_eq!(response, invalid_request(Id::Num(1))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:397:23 [INFO] [stdout] | [INFO] [stdout] 397 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:397:74 [INFO] [stdout] | [INFO] [stdout] 397 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:408:23 [INFO] [stdout] | [INFO] [stdout] 408 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:408:74 [INFO] [stdout] | [INFO] [stdout] 408 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(33))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:418:23 [INFO] [stdout] | [INFO] [stdout] 418 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(333))); [INFO] [stdout] | ^^^^^^^^^^^ help: a local variable with a similar name exists: `response` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:418:74 [INFO] [stdout] | [INFO] [stdout] 418 | assert_eq!(response, ok_response(JsonValue::String("hello".to_owned()), Id::Num(333))); [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::server::Id; [INFO] [stdout] | [INFO] [stdout] 3 | use jsonrpsee_types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:29:67 [INFO] [stdout] | [INFO] [stdout] 29 | let mut server = WsServerBuilder::default().build("127.0.0.1:0").with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures_util::Future` in the current scope [INFO] [stdout] --> src/tests.rs:73:67 [INFO] [stdout] | [INFO] [stdout] 73 | let mut server = WsServerBuilder::default().build("127.0.0.1:0").with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 70 previous errors [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-server` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "e35758461659c289a920f994f0d79303a5fed32ac7df52f430c895440fad2881", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e35758461659c289a920f994f0d79303a5fed32ac7df52f430c895440fad2881", kill_on_drop: false }` [INFO] [stdout] e35758461659c289a920f994f0d79303a5fed32ac7df52f430c895440fad2881