[INFO] fetching crate jsonrpsee-ws-server 0.3.0... [INFO] checking jsonrpsee-ws-server-0.3.0 against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] extracting crate jsonrpsee-ws-server 0.3.0 into /workspace/builds/worker-3/source [INFO] validating manifest of crates.io crate jsonrpsee-ws-server 0.3.0 on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-ws-server 0.3.0 [INFO] finished tweaking crates.io crate jsonrpsee-ws-server 0.3.0 [INFO] tweaked toml for crates.io crate jsonrpsee-ws-server 0.3.0 written to /workspace/builds/worker-3/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsonrpsee-types v0.3.0 [INFO] [stderr] Downloaded soketto v0.6.0 [INFO] [stderr] Downloaded jsonrpsee-utils v0.3.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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", 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] aa99168be960ba747a29a1d78825f822503b80d56c972b4d2a1ec921c4032397 [INFO] running `Command { std: "docker" "start" "-a" "aa99168be960ba747a29a1d78825f822503b80d56c972b4d2a1ec921c4032397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "aa99168be960ba747a29a1d78825f822503b80d56c972b4d2a1ec921c4032397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa99168be960ba747a29a1d78825f822503b80d56c972b4d2a1ec921c4032397", kill_on_drop: false }` [INFO] [stdout] aa99168be960ba747a29a1d78825f822503b80d56c972b4d2a1ec921c4032397 [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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a6ebc28e18b9401acdd22efa8cc3eba98ac8d6e3dffbae8e7c0f9a3e763728e [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" "6a6ebc28e18b9401acdd22efa8cc3eba98ac8d6e3dffbae8e7c0f9a3e763728e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.74 [INFO] [stderr] Checking pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling futures-task v0.3.16 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling futures-channel v0.3.16 [INFO] [stderr] Checking futures-sink v0.3.16 [INFO] [stderr] Checking bytes v1.0.1 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking opaque-debug v0.3.0 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling futures-macro v0.3.16 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Checking instant v0.1.10 [INFO] [stderr] Checking tracing-core v0.1.18 [INFO] [stderr] Checking lock_api v0.4.4 [INFO] [stderr] Checking http v0.2.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Compiling tokio-macros v1.3.0 [INFO] [stderr] Compiling serde_derive v1.0.126 [INFO] [stderr] Compiling thiserror-impl v1.0.26 [INFO] [stderr] Compiling async-trait v0.1.50 [INFO] [stderr] Checking thiserror v1.0.26 [INFO] [stderr] Checking tokio-stream v0.1.7 [INFO] [stderr] Checking tokio-util v0.6.7 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking soketto v0.6.0 [INFO] [stderr] Checking serde v1.0.126 [INFO] [stderr] Checking beef v0.5.1 [INFO] [stderr] Checking jsonrpsee-types v0.3.0 [INFO] [stderr] Checking jsonrpsee-utils v0.3.0 [INFO] [stderr] Checking jsonrpsee-ws-server v0.3.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:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | 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:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | 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:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | use jsonrpsee_test_utils::types::{Id, TestContext, WebSocketTestClient}; [INFO] [stdout] | ^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 34 | 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:174:19 [INFO] [stdout] | [INFO] [stdout] 174 | 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:184:35 [INFO] [stdout] | [INFO] [stdout] 184 | 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:198:14 [INFO] [stdout] | [INFO] [stdout] 198 | 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:199:14 [INFO] [stdout] | [INFO] [stdout] 199 | 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:200:14 [INFO] [stdout] | [INFO] [stdout] 200 | 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:215:14 [INFO] [stdout] | [INFO] [stdout] 215 | 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:222:19 [INFO] [stdout] | [INFO] [stdout] 222 | 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:235:19 [INFO] [stdout] | [INFO] [stdout] 235 | 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:248:19 [INFO] [stdout] | [INFO] [stdout] 248 | 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:259:19 [INFO] [stdout] | [INFO] [stdout] 259 | 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:276:19 [INFO] [stdout] | [INFO] [stdout] 276 | 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:296:19 [INFO] [stdout] | [INFO] [stdout] 296 | 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:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | 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:317:19 [INFO] [stdout] | [INFO] [stdout] 317 | 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:327:19 [INFO] [stdout] | [INFO] [stdout] 327 | 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:337:19 [INFO] [stdout] | [INFO] [stdout] 337 | 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:347:19 [INFO] [stdout] | [INFO] [stdout] 347 | 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:357:19 [INFO] [stdout] | [INFO] [stdout] 357 | 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:367:19 [INFO] [stdout] | [INFO] [stdout] 367 | 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 `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:387:19 [INFO] [stdout] | [INFO] [stdout] 387 | 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:392:35 [INFO] [stdout] | [INFO] [stdout] 392 | 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:398:19 [INFO] [stdout] | [INFO] [stdout] 398 | 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:430:19 [INFO] [stdout] | [INFO] [stdout] 430 | 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:434:36 [INFO] [stdout] | [INFO] [stdout] 434 | 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:443:19 [INFO] [stdout] | [INFO] [stdout] 443 | 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:456:19 [INFO] [stdout] | [INFO] [stdout] 456 | 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:119:12 [INFO] [stdout] | [INFO] [stdout] 119 | 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:179:23 [INFO] [stdout] | [INFO] [stdout] 179 | 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:184:23 [INFO] [stdout] | [INFO] [stdout] 184 | 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:228:24 [INFO] [stdout] | [INFO] [stdout] 228 | 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:228:75 [INFO] [stdout] | [INFO] [stdout] 228 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:241:24 [INFO] [stdout] | [INFO] [stdout] 241 | 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:241:75 [INFO] [stdout] | [INFO] [stdout] 241 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:253:23 [INFO] [stdout] | [INFO] [stdout] 253 | 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:253:74 [INFO] [stdout] | [INFO] [stdout] 253 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:300:23 [INFO] [stdout] | [INFO] [stdout] 300 | 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:300:64 [INFO] [stdout] | [INFO] [stdout] 300 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:311:23 [INFO] [stdout] | [INFO] [stdout] 311 | 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:311:38 [INFO] [stdout] | [INFO] [stdout] 311 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:321:23 [INFO] [stdout] | [INFO] [stdout] 321 | 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:321:67 [INFO] [stdout] | [INFO] [stdout] 321 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:331:23 [INFO] [stdout] | [INFO] [stdout] 331 | 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:331:48 [INFO] [stdout] | [INFO] [stdout] 331 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:341:23 [INFO] [stdout] | [INFO] [stdout] 341 | 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:341:49 [INFO] [stdout] | [INFO] [stdout] 341 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:351:23 [INFO] [stdout] | [INFO] [stdout] 351 | 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:351:64 [INFO] [stdout] | [INFO] [stdout] 351 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:361:23 [INFO] [stdout] | [INFO] [stdout] 361 | assert_eq!(response, call_execution_failed("nah", 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:361:52 [INFO] [stdout] | [INFO] [stdout] 361 | assert_eq!(response, call_execution_failed("nah", 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:371:23 [INFO] [stdout] | [INFO] [stdout] 371 | 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:371:64 [INFO] [stdout] | [INFO] [stdout] 371 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:381:23 [INFO] [stdout] | [INFO] [stdout] 381 | 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:381:40 [INFO] [stdout] | [INFO] [stdout] 381 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:392:23 [INFO] [stdout] | [INFO] [stdout] 392 | 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:402:23 [INFO] [stdout] | [INFO] [stdout] 402 | 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:402:39 [INFO] [stdout] | [INFO] [stdout] 402 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:434:24 [INFO] [stdout] | [INFO] [stdout] 434 | 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:437:24 [INFO] [stdout] | [INFO] [stdout] 437 | 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:437:75 [INFO] [stdout] | [INFO] [stdout] 437 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:447:23 [INFO] [stdout] | [INFO] [stdout] 447 | 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:447:39 [INFO] [stdout] | [INFO] [stdout] 447 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:450:23 [INFO] [stdout] | [INFO] [stdout] 450 | 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:450:74 [INFO] [stdout] | [INFO] [stdout] 450 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:461:23 [INFO] [stdout] | [INFO] [stdout] 461 | 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:461:74 [INFO] [stdout] | [INFO] [stdout] 461 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:471:23 [INFO] [stdout] | [INFO] [stdout] 471 | 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:471:74 [INFO] [stdout] | [INFO] [stdout] 471 | 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] 29 | use crate::types::v2::params::Id; [INFO] [stdout] | [INFO] [stdout] 29 | 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:62:63 [INFO] [stdout] | [INFO] [stdout] 62 | let 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:117:63 [INFO] [stdout] | [INFO] [stdout] 117 | let 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:501:68 [INFO] [stdout] | [INFO] [stdout] 501 | let (_addr, join_handle, mut stop_handle) = server_with_handles().with_default_timeout().await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ method not found in `impl futures_util::Future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 74 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` due to 75 previous errors [INFO] running `Command { std: "docker" "inspect" "6a6ebc28e18b9401acdd22efa8cc3eba98ac8d6e3dffbae8e7c0f9a3e763728e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a6ebc28e18b9401acdd22efa8cc3eba98ac8d6e3dffbae8e7c0f9a3e763728e", kill_on_drop: false }` [INFO] [stdout] 6a6ebc28e18b9401acdd22efa8cc3eba98ac8d6e3dffbae8e7c0f9a3e763728e