[INFO] fetching crate jsonrpsee-http-server 0.3.0... [INFO] checking jsonrpsee-http-server-0.3.0 against master#5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f for pr-87248 [INFO] extracting crate jsonrpsee-http-server 0.3.0 into /workspace/builds/worker-13/source [INFO] validating manifest of crates.io crate jsonrpsee-http-server 0.3.0 on toolchain 5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-http-server 0.3.0 [INFO] finished tweaking crates.io crate jsonrpsee-http-server 0.3.0 [INFO] tweaked toml for crates.io crate jsonrpsee-http-server 0.3.0 written to /workspace/builds/worker-13/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "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] e7980053e29dea9dee57e68451197ac7c6067dbd3edcc85bfc817d23c1c95e6f [INFO] running `Command { std: "docker" "start" "-a" "e7980053e29dea9dee57e68451197ac7c6067dbd3edcc85bfc817d23c1c95e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e7980053e29dea9dee57e68451197ac7c6067dbd3edcc85bfc817d23c1c95e6f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e7980053e29dea9dee57e68451197ac7c6067dbd3edcc85bfc817d23c1c95e6f", kill_on_drop: false }` [INFO] [stdout] e7980053e29dea9dee57e68451197ac7c6067dbd3edcc85bfc817d23c1c95e6f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "+5a8a44196b3cf099f8c9b0156bd902eaec0b4e5f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c81fa42fc04fc2cae2b5518693286c1f9b4fbc55f64135aab76d306a6e2a263 [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" "9c81fa42fc04fc2cae2b5518693286c1f9b4fbc55f64135aab76d306a6e2a263", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.98 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling futures-core v0.3.16 [INFO] [stderr] Checking pin-project-lite v0.2.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] Compiling futures-task v0.3.16 [INFO] [stderr] Checking futures-io v0.3.16 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.3 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking itoa v0.4.7 [INFO] [stderr] Compiling serde v1.0.126 [INFO] [stderr] Compiling httparse v1.4.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Checking try-lock v0.2.3 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking tower-service v0.3.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking httpdate v1.0.1 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking humantime v2.1.0 [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] Compiling syn v1.0.74 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Compiling futures-util v0.3.16 [INFO] [stderr] Compiling tokio v1.9.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking tracing v0.1.26 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking bstr v0.2.16 [INFO] [stderr] Checking block-buffer v0.9.0 [INFO] [stderr] Checking digest v0.9.0 [INFO] [stderr] Checking sha-1 v0.9.7 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking http-body v0.4.2 [INFO] [stderr] Checking globset v0.4.8 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking futures v0.3.16 [INFO] [stderr] Checking soketto v0.6.0 [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-util v0.6.7 [INFO] [stderr] Checking h2 v0.3.3 [INFO] [stderr] Checking beef v0.5.1 [INFO] [stderr] Checking hyper v0.14.11 [INFO] [stderr] Checking jsonrpsee-types v0.3.0 [INFO] [stderr] Checking jsonrpsee-utils v0.3.0 [INFO] [stderr] Checking jsonrpsee-http-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:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | 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:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | use jsonrpsee_test_utils::types::{Id, StatusCode, TestContext}; [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::StatusCode`, `jsonrpsee_test_utils::types::TestContext`, `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | use jsonrpsee_test_utils::types::{Id, StatusCode, TestContext}; [INFO] [stdout] | ^^ ^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 37 | 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 `StatusCode` [INFO] [stdout] --> src/tests.rs:104:31 [INFO] [stdout] | [INFO] [stdout] 104 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests.rs:118:31 [INFO] [stdout] | [INFO] [stdout] 118 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests.rs:131:30 [INFO] [stdout] | [INFO] [stdout] 131 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:132:40 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(response.body, 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 `StatusCode` [INFO] [stdout] --> src/tests.rs:142:30 [INFO] [stdout] | [INFO] [stdout] 142 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests.rs:153:30 [INFO] [stdout] | [INFO] [stdout] 153 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests.rs:164:30 [INFO] [stdout] | [INFO] [stdout] 164 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests.rs:175:30 [INFO] [stdout] | [INFO] [stdout] 175 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests.rs:186:30 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests.rs:197:30 [INFO] [stdout] | [INFO] [stdout] 197 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests.rs:215:30 [INFO] [stdout] | [INFO] [stdout] 215 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests.rs:231:30 [INFO] [stdout] | [INFO] [stdout] 231 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests.rs:246:30 [INFO] [stdout] | [INFO] [stdout] 246 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:247:44 [INFO] [stdout] | [INFO] [stdout] 247 | assert_eq!(response.body, 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 `StatusCode` [INFO] [stdout] --> src/tests.rs:252:30 [INFO] [stdout] | [INFO] [stdout] 252 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests.rs:259:30 [INFO] [stdout] | [INFO] [stdout] 259 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:261:40 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(response.body, 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 `StatusCode` [INFO] [stdout] --> src/tests.rs:269:30 [INFO] [stdout] | [INFO] [stdout] 269 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:270:40 [INFO] [stdout] | [INFO] [stdout] 270 | assert_eq!(response.body, 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 `StatusCode` [INFO] [stdout] --> src/tests.rs:280:30 [INFO] [stdout] | [INFO] [stdout] 280 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:292:40 [INFO] [stdout] | [INFO] [stdout] 292 | assert_eq!(response.body, 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 `StatusCode` [INFO] [stdout] --> src/tests.rs:302:30 [INFO] [stdout] | [INFO] [stdout] 302 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StatusCode` [INFO] [stdout] --> src/tests.rs:313:30 [INFO] [stdout] | [INFO] [stdout] 313 | assert_eq!(response.status, StatusCode::OK); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StatusCode` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TestContext` in this scope [INFO] [stdout] --> src/tests.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | let ctx = TestContext; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:103:18 [INFO] [stdout] | [INFO] [stdout] 103 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [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:105:29 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(response.body, ok_response(JsonValue::String("lo".to_owned()), Id::Num(i))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(response.body, response(JsonValue::String("lo".to_owned()), Id::Num(i))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 | use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:105:77 [INFO] [stdout] | [INFO] [stdout] 105 | assert_eq!(response.body, ok_response(JsonValue::String("lo".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 `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 113 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 117 | let response = http_request(req.into(), uri.clone()).await.unwrap(); [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:119:29 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(response.body, ok_response(JsonValue::String("lo".to_owned()), Id::Num(i))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(response.body, response(JsonValue::String("lo".to_owned()), Id::Num(i))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 | use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:119:77 [INFO] [stdout] | [INFO] [stdout] 119 | assert_eq!(response.body, ok_response(JsonValue::String("lo".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 `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:127:12 [INFO] [stdout] | [INFO] [stdout] 127 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [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:132:28 [INFO] [stdout] | [INFO] [stdout] 132 | assert_eq!(response.body, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 138 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:141:17 [INFO] [stdout] | [INFO] [stdout] 141 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [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:143:28 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(response.body, ok_response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(response.body, response(JsonValue::Number(3.into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 | use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:143:69 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(response.body, 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 `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [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:154:28 [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(response.body, ok_response(JsonValue::String("string1=5, string2=5, vec=4".into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(response.body, response(JsonValue::String("string1=5, string2=5, vec=4".into()), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 | use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:154:97 [INFO] [stdout] | [INFO] [stdout] 154 | assert_eq!(response.body, ok_response(JsonValue::String("string1=5, string2=5, vec=4".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 `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:160:12 [INFO] [stdout] | [INFO] [stdout] 160 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `invalid_params` in this scope [INFO] [stdout] --> src/tests.rs:165:28 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(response.body, 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:165:43 [INFO] [stdout] | [INFO] [stdout] 165 | assert_eq!(response.body, 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 `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:171:12 [INFO] [stdout] | [INFO] [stdout] 171 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:174:17 [INFO] [stdout] | [INFO] [stdout] 174 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `call_execution_failed` in this scope [INFO] [stdout] --> src/tests.rs:176:28 [INFO] [stdout] | [INFO] [stdout] 176 | assert_eq!(response.body, 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:176:72 [INFO] [stdout] | [INFO] [stdout] 176 | assert_eq!(response.body, 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 `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 182 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:185:17 [INFO] [stdout] | [INFO] [stdout] 185 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [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:187:28 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(response.body, ok_response("ok".into(), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(response.body, response("ok".into(), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 | use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:187:53 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(response.body, 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 `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:193:12 [INFO] [stdout] | [INFO] [stdout] 193 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:196:17 [INFO] [stdout] | [INFO] [stdout] 196 | let response = http_request(req.into(), uri).await.unwrap(); [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:198:28 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(response.body, ok_response("ok".into(), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(response.body, response("ok".into(), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 29 | use crate::response::ok_response; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:198:53 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(response.body, 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 `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:206:12 [INFO] [stdout] | [INFO] [stdout] 206 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:214:17 [INFO] [stdout] | [INFO] [stdout] 214 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:227:12 [INFO] [stdout] | [INFO] [stdout] 227 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:230:17 [INFO] [stdout] | [INFO] [stdout] 230 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:241:12 [INFO] [stdout] | [INFO] [stdout] 241 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:245:17 [INFO] [stdout] | [INFO] [stdout] 245 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [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:247:28 [INFO] [stdout] | [INFO] [stdout] 247 | assert_eq!(response.body, invalid_request(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:251:17 [INFO] [stdout] | [INFO] [stdout] 251 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [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:254:28 [INFO] [stdout] | [INFO] [stdout] 254 | assert_eq!(response.body, invalid_request(Id::Num(123))); [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:254:44 [INFO] [stdout] | [INFO] [stdout] 254 | assert_eq!(response.body, invalid_request(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 `http_request` in this scope [INFO] [stdout] --> src/tests.rs:258:17 [INFO] [stdout] | [INFO] [stdout] 258 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [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:261:28 [INFO] [stdout] | [INFO] [stdout] 261 | assert_eq!(response.body, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:268:17 [INFO] [stdout] | [INFO] [stdout] 268 | let response = http_request(req.into(), uri.clone()).with_default_timeout().await.unwrap().unwrap(); [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:270:28 [INFO] [stdout] | [INFO] [stdout] 270 | assert_eq!(response.body, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:276:12 [INFO] [stdout] | [INFO] [stdout] 276 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `method_not_found` in this scope [INFO] [stdout] --> src/tests.rs:281:28 [INFO] [stdout] | [INFO] [stdout] 281 | assert_eq!(response.body, 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:281:45 [INFO] [stdout] | [INFO] [stdout] 281 | assert_eq!(response.body, 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 `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 287 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:290:17 [INFO] [stdout] | [INFO] [stdout] 290 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [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:292:28 [INFO] [stdout] | [INFO] [stdout] 292 | assert_eq!(response.body, parse_error(Id::Null)); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:298:12 [INFO] [stdout] | [INFO] [stdout] 298 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:301:17 [INFO] [stdout] | [INFO] [stdout] 301 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [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:303:28 [INFO] [stdout] | [INFO] [stdout] 303 | assert_eq!(response.body, 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:303:44 [INFO] [stdout] | [INFO] [stdout] 303 | assert_eq!(response.body, 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 `to_http_uri` in this scope [INFO] [stdout] --> src/tests.rs:309:12 [INFO] [stdout] | [INFO] [stdout] 309 | let uri = to_http_uri(addr); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:312:17 [INFO] [stdout] | [INFO] [stdout] 312 | let response = http_request(req.into(), uri).with_default_timeout().await.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [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:91:67 [INFO] [stdout] | [INFO] [stdout] 91 | let join_handle = tokio::spawn(async move { server.start(module).with_default_timeout().await.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:98:22 [INFO] [stdout] | [INFO] [stdout] 98 | let addr = server().with_default_timeout().await.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:126:22 [INFO] [stdout] | [INFO] [stdout] 126 | let addr = server().with_default_timeout().await.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:137:22 [INFO] [stdout] | [INFO] [stdout] 137 | let addr = server().with_default_timeout().await.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:148:22 [INFO] [stdout] | [INFO] [stdout] 148 | let addr = server().with_default_timeout().await.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:159:22 [INFO] [stdout] | [INFO] [stdout] 159 | let addr = server().with_default_timeout().await.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:170:22 [INFO] [stdout] | [INFO] [stdout] 170 | let addr = server().with_default_timeout().await.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:181:22 [INFO] [stdout] | [INFO] [stdout] 181 | let addr = server().with_default_timeout().await.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:192:22 [INFO] [stdout] | [INFO] [stdout] 192 | let addr = server().with_default_timeout().await.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:205:22 [INFO] [stdout] | [INFO] [stdout] 205 | let addr = server().with_default_timeout().await.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:226:22 [INFO] [stdout] | [INFO] [stdout] 226 | let addr = server().with_default_timeout().await.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:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | let addr = server().with_default_timeout().await.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:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | let addr = server().with_default_timeout().await.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:286:22 [INFO] [stdout] | [INFO] [stdout] 286 | let addr = server().with_default_timeout().await.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:297:22 [INFO] [stdout] | [INFO] [stdout] 297 | let addr = server().with_default_timeout().await.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:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | let addr = server().with_default_timeout().await.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:345:68 [INFO] [stdout] | [INFO] [stdout] 345 | 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 106 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-http-server` due to 107 previous errors [INFO] running `Command { std: "docker" "inspect" "9c81fa42fc04fc2cae2b5518693286c1f9b4fbc55f64135aab76d306a6e2a263", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c81fa42fc04fc2cae2b5518693286c1f9b4fbc55f64135aab76d306a6e2a263", kill_on_drop: false }` [INFO] [stdout] 9c81fa42fc04fc2cae2b5518693286c1f9b4fbc55f64135aab76d306a6e2a263