[INFO] fetching crate jsonrpsee-ws-server 0.4.1... [INFO] testing jsonrpsee-ws-server-0.4.1 against try#722e1797249a965b6335aebd65d777f917e498f1 for pr-91031 [INFO] extracting crate jsonrpsee-ws-server 0.4.1 into /workspace/builds/worker-1/source [INFO] validating manifest of crates.io crate jsonrpsee-ws-server 0.4.1 on toolchain 722e1797249a965b6335aebd65d777f917e498f1 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-ws-server 0.4.1 [INFO] finished tweaking crates.io crate jsonrpsee-ws-server 0.4.1 [INFO] tweaked toml for crates.io crate jsonrpsee-ws-server 0.4.1 written to /workspace/builds/worker-1/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded jsonrpsee-types v0.4.1 [INFO] [stderr] Downloaded jsonrpsee-utils v0.4.1 [INFO] [stderr] Downloaded soketto v0.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20d615588c471906ed150b65c8527bc49dbe60c7e9ca49dce04b9553dc788928 [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" "20d615588c471906ed150b65c8527bc49dbe60c7e9ca49dce04b9553dc788928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20d615588c471906ed150b65c8527bc49dbe60c7e9ca49dce04b9553dc788928", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20d615588c471906ed150b65c8527bc49dbe60c7e9ca49dce04b9553dc788928", kill_on_drop: false }` [INFO] [stdout] 20d615588c471906ed150b65c8527bc49dbe60c7e9ca49dce04b9553dc788928 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 46bfae39dd81be2099b67821d6b76fca100cf7e3a398245d2dab58a7ae6f1680 [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" "46bfae39dd81be2099b67821d6b76fca100cf7e3a398245d2dab58a7ae6f1680", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.81 [INFO] [stderr] Compiling libc v0.2.107 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling bytes v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.130 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling serde v1.0.130 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling serde_json v1.0.71 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling httpdate v1.0.2 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling tracing-core v0.1.21 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling http v0.2.5 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling tracing v0.1.29 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling block-buffer v0.9.0 [INFO] [stderr] Compiling digest v0.9.0 [INFO] [stderr] Compiling sha-1 v0.9.8 [INFO] [stderr] Compiling http-body v0.4.4 [INFO] [stderr] Compiling tokio-macros v1.6.0 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-trait v0.1.51 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling soketto v0.7.1 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling jsonrpsee-types v0.4.1 [INFO] [stderr] Compiling jsonrpsee-utils v0.4.1 [INFO] [stderr] Compiling jsonrpsee-ws-server v0.4.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 34s [INFO] running `Command { std: "docker" "inspect" "46bfae39dd81be2099b67821d6b76fca100cf7e3a398245d2dab58a7ae6f1680", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "46bfae39dd81be2099b67821d6b76fca100cf7e3a398245d2dab58a7ae6f1680", kill_on_drop: false }` [INFO] [stdout] 46bfae39dd81be2099b67821d6b76fca100cf7e3a398245d2dab58a7ae6f1680 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+722e1797249a965b6335aebd65d777f917e498f1" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9b90379e1a8fd867f584166df0204763f9d0bef38a1383ab5d3965b2319d4440 [INFO] running `Command { std: "docker" "start" "-a" "9b90379e1a8fd867f584166df0204763f9d0bef38a1383ab5d3965b2319d4440", kill_on_drop: false }` [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling soketto v0.7.1 [INFO] [stderr] Compiling tokio v1.14.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tokio-util v0.6.9 [INFO] [stderr] Compiling hyper v0.14.15 [INFO] [stderr] Compiling jsonrpsee-types v0.4.1 [INFO] [stderr] Compiling jsonrpsee-utils v0.4.1 [INFO] [stderr] Compiling jsonrpsee-ws-server v0.4.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs: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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 32 | use jsonrpsee_utils::helpers::*; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [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::mocks::{Id, TestContext, WebSocketTestClient, WebSocketTestError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] | [INFO] [stdout] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 33 | use jsonrpsee_utils::mocks::{Id, TestContext, WebSocketTestClient, WebSocketTestError}; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `jsonrpsee_test_utils::mocks::Id`, `jsonrpsee_test_utils::mocks::TestContext`, `jsonrpsee_test_utils::mocks::WebSocketTestClient`, `jsonrpsee_test_utils::mocks::WebSocketTestError`, `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:33:35 [INFO] [stdout] | [INFO] [stdout] 33 | use jsonrpsee_test_utils::mocks::{Id, TestContext, WebSocketTestClient, WebSocketTestError}; [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] help: there is a crate or module with a similar name [INFO] [stdout] | [INFO] [stdout] 34 | use jsonrpsee_utils::TimeoutFutureExt; [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | 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:175:35 [INFO] [stdout] | [INFO] [stdout] 175 | 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:191:14 [INFO] [stdout] | [INFO] [stdout] 191 | 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:192:14 [INFO] [stdout] | [INFO] [stdout] 192 | 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:193:14 [INFO] [stdout] | [INFO] [stdout] 193 | 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 `WebSocketTestError` [INFO] [stdout] --> src/tests.rs:198:26 [INFO] [stdout] | [INFO] [stdout] 198 | if !matches!(conn3, Err(WebSocketTestError::RejectedWithStatusCode(429))) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ use of undeclared type `WebSocketTestError` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `WebSocketTestClient` [INFO] [stdout] --> src/tests.rs:205:14 [INFO] [stdout] | [INFO] [stdout] 205 | 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:214:19 [INFO] [stdout] | [INFO] [stdout] 214 | 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:227:19 [INFO] [stdout] | [INFO] [stdout] 227 | 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:240:19 [INFO] [stdout] | [INFO] [stdout] 240 | 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:251:19 [INFO] [stdout] | [INFO] [stdout] 251 | 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:268:19 [INFO] [stdout] | [INFO] [stdout] 268 | 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:288:19 [INFO] [stdout] | [INFO] [stdout] 288 | 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:292:35 [INFO] [stdout] | [INFO] [stdout] 292 | 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 `Id` [INFO] [stdout] --> src/tests.rs:296:35 [INFO] [stdout] | [INFO] [stdout] 296 | 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 `Id` [INFO] [stdout] --> src/tests.rs:300:35 [INFO] [stdout] | [INFO] [stdout] 300 | 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 `Id` [INFO] [stdout] --> src/tests.rs:304:35 [INFO] [stdout] | [INFO] [stdout] 304 | 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 `Id` [INFO] [stdout] --> src/tests.rs:308:35 [INFO] [stdout] | [INFO] [stdout] 308 | 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 `Id` [INFO] [stdout] --> src/tests.rs:312:35 [INFO] [stdout] | [INFO] [stdout] 312 | 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 `Id` [INFO] [stdout] --> src/tests.rs:316:35 [INFO] [stdout] | [INFO] [stdout] 316 | 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 `Id` [INFO] [stdout] --> src/tests.rs:320:35 [INFO] [stdout] | [INFO] [stdout] 320 | 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 `Id` [INFO] [stdout] --> src/tests.rs:324:39 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(response, invalid_request(Id::Null)); [INFO] [stdout] | ^^ use of undeclared type `Id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:328:35 [INFO] [stdout] | [INFO] [stdout] 328 | 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: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 `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:356:19 [INFO] [stdout] | [INFO] [stdout] 356 | 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:366:19 [INFO] [stdout] | [INFO] [stdout] 366 | 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:376:19 [INFO] [stdout] | [INFO] [stdout] 376 | 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:386:19 [INFO] [stdout] | [INFO] [stdout] 386 | 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:396:19 [INFO] [stdout] | [INFO] [stdout] 396 | 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:406:19 [INFO] [stdout] | [INFO] [stdout] 406 | 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:416:19 [INFO] [stdout] | [INFO] [stdout] 416 | 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:426:19 [INFO] [stdout] | [INFO] [stdout] 426 | 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:432:35 [INFO] [stdout] | [INFO] [stdout] 432 | 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:438:19 [INFO] [stdout] | [INFO] [stdout] 438 | 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:470:19 [INFO] [stdout] | [INFO] [stdout] 470 | 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:474:36 [INFO] [stdout] | [INFO] [stdout] 474 | 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:483:19 [INFO] [stdout] | [INFO] [stdout] 483 | 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:496:19 [INFO] [stdout] | [INFO] [stdout] 496 | 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:116:12 [INFO] [stdout] | [INFO] [stdout] 116 | 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:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | 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:175:23 [INFO] [stdout] | [INFO] [stdout] 175 | 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:220:24 [INFO] [stdout] | [INFO] [stdout] 220 | 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:220:75 [INFO] [stdout] | [INFO] [stdout] 220 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:233:24 [INFO] [stdout] | [INFO] [stdout] 233 | 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:233:75 [INFO] [stdout] | [INFO] [stdout] 233 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:245:23 [INFO] [stdout] | [INFO] [stdout] 245 | 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:245:74 [INFO] [stdout] | [INFO] [stdout] 245 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:292:23 [INFO] [stdout] | [INFO] [stdout] 292 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:296:23 [INFO] [stdout] | [INFO] [stdout] 296 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:300:23 [INFO] [stdout] | [INFO] [stdout] 300 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:304:23 [INFO] [stdout] | [INFO] [stdout] 304 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:308:23 [INFO] [stdout] | [INFO] [stdout] 308 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:312:23 [INFO] [stdout] | [INFO] [stdout] 312 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:316:23 [INFO] [stdout] | [INFO] [stdout] 316 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:320:23 [INFO] [stdout] | [INFO] [stdout] 320 | 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:324:23 [INFO] [stdout] | [INFO] [stdout] 324 | assert_eq!(response, invalid_request(Id::Null)); [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:328:23 [INFO] [stdout] | [INFO] [stdout] 328 | 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:338:23 [INFO] [stdout] | [INFO] [stdout] 338 | 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:338:64 [INFO] [stdout] | [INFO] [stdout] 338 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::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:360:23 [INFO] [stdout] | [INFO] [stdout] 360 | 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:360:67 [INFO] [stdout] | [INFO] [stdout] 360 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:370:23 [INFO] [stdout] | [INFO] [stdout] 370 | 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:370:48 [INFO] [stdout] | [INFO] [stdout] 370 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:380:23 [INFO] [stdout] | [INFO] [stdout] 380 | 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:380:49 [INFO] [stdout] | [INFO] [stdout] 380 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:390:23 [INFO] [stdout] | [INFO] [stdout] 390 | 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:390:64 [INFO] [stdout] | [INFO] [stdout] 390 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::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:400:23 [INFO] [stdout] | [INFO] [stdout] 400 | 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:400:52 [INFO] [stdout] | [INFO] [stdout] 400 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:410:23 [INFO] [stdout] | [INFO] [stdout] 410 | 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:410:64 [INFO] [stdout] | [INFO] [stdout] 410 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `method_not_found` in this scope [INFO] [stdout] --> src/tests.rs:420:23 [INFO] [stdout] | [INFO] [stdout] 420 | 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:420:40 [INFO] [stdout] | [INFO] [stdout] 420 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:432:23 [INFO] [stdout] | [INFO] [stdout] 432 | 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:442:23 [INFO] [stdout] | [INFO] [stdout] 442 | 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:442:39 [INFO] [stdout] | [INFO] [stdout] 442 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:474:24 [INFO] [stdout] | [INFO] [stdout] 474 | 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:477:24 [INFO] [stdout] | [INFO] [stdout] 477 | 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:477:75 [INFO] [stdout] | [INFO] [stdout] 477 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:487:23 [INFO] [stdout] | [INFO] [stdout] 487 | 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:487:39 [INFO] [stdout] | [INFO] [stdout] 487 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:490:23 [INFO] [stdout] | [INFO] [stdout] 490 | 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:490:74 [INFO] [stdout] | [INFO] [stdout] 490 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:501:23 [INFO] [stdout] | [INFO] [stdout] 501 | 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:501:74 [INFO] [stdout] | [INFO] [stdout] 501 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:511:23 [INFO] [stdout] | [INFO] [stdout] 511 | 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:511:74 [INFO] [stdout] | [INFO] [stdout] 511 | 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::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::v2::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `with_default_timeout` found for opaque type `impl futures_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:114:63 [INFO] [stdout] | [INFO] [stdout] 114 | 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[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:338:55 [INFO] [stdout] | [INFO] [stdout] 338 | assert_eq!(response, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | --^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `serde_json::Number: From<{integer}>` found in the `serde_json` crate: [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:390:55 [INFO] [stdout] | [INFO] [stdout] 390 | assert_eq!(response, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | --^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `serde_json::Number: From<{integer}>` found in the `serde_json` crate: [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0283]: type annotations needed [INFO] [stdout] --> src/tests.rs:410:55 [INFO] [stdout] | [INFO] [stdout] 410 | assert_eq!(response, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | --^^^^-- [INFO] [stdout] | | | [INFO] [stdout] | | cannot infer type for type `{integer}` [INFO] [stdout] | this method call resolves to `T` [INFO] [stdout] | [INFO] [stdout] = note: multiple `impl`s satisfying `serde_json::Number: From<{integer}>` found in the `serde_json` crate: [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] - impl From for serde_json::Number; [INFO] [stdout] and 6 more [INFO] [stdout] = note: required because of the requirements on the impl of `Into` for `{integer}` [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:541:51 [INFO] [stdout] | [INFO] [stdout] 541 | let (_addr, 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 97 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0283, E0425, E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0283`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpsee-ws-server` due to 98 previous errors [INFO] running `Command { std: "docker" "inspect" "9b90379e1a8fd867f584166df0204763f9d0bef38a1383ab5d3965b2319d4440", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9b90379e1a8fd867f584166df0204763f9d0bef38a1383ab5d3965b2319d4440", kill_on_drop: false }` [INFO] [stdout] 9b90379e1a8fd867f584166df0204763f9d0bef38a1383ab5d3965b2319d4440