[INFO] fetching crate jsonrpsee-http-server 0.10.1... [INFO] testing jsonrpsee-http-server-0.10.1 against 1.60.0 for beta-1.61-1 [INFO] extracting crate jsonrpsee-http-server 0.10.1 into /workspace/builds/worker-22/source [INFO] validating manifest of crates.io crate jsonrpsee-http-server 0.10.1 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-http-server 0.10.1 [INFO] finished tweaking crates.io crate jsonrpsee-http-server 0.10.1 [INFO] tweaked toml for crates.io crate jsonrpsee-http-server 0.10.1 written to /workspace/builds/worker-22/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4ded3e146e611c6f941fe03a2a69811f837696aaeac1812816b48dd21e8cbaef [INFO] running `Command { std: "docker" "start" "-a" "4ded3e146e611c6f941fe03a2a69811f837696aaeac1812816b48dd21e8cbaef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4ded3e146e611c6f941fe03a2a69811f837696aaeac1812816b48dd21e8cbaef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ded3e146e611c6f941fe03a2a69811f837696aaeac1812816b48dd21e8cbaef", kill_on_drop: false }` [INFO] [stdout] 4ded3e146e611c6f941fe03a2a69811f837696aaeac1812816b48dd21e8cbaef [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 10d7618b3e66e61c397556e4f7395fc0bd8dff32394caf86216254b0980013c6 [INFO] running `Command { std: "docker" "start" "-a" "10d7618b3e66e61c397556e4f7395fc0bd8dff32394caf86216254b0980013c6", kill_on_drop: false }` [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Compiling futures-channel v0.3.21 [INFO] [stderr] Compiling futures-task v0.3.21 [INFO] [stderr] Compiling futures-util v0.3.21 [INFO] [stderr] Compiling futures-io v0.3.21 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling parking_lot_core v0.9.2 [INFO] [stderr] Compiling serde_json v1.0.79 [INFO] [stderr] Compiling cpufeatures v0.2.2 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling base64 v0.13.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling arrayvec v0.7.2 [INFO] [stderr] Compiling generic-array v0.14.5 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling getrandom v0.2.6 [INFO] [stderr] Compiling mio v0.8.2 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling async-trait v0.1.53 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.0 [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 regex v1.5.5 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling futures v0.3.21 [INFO] [stderr] Compiling beef v0.5.1 [INFO] [stderr] Compiling soketto v0.7.1 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling jsonrpsee-types v0.10.1 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling jsonrpsee-core v0.10.1 [INFO] [stderr] Compiling jsonrpsee-http-server v0.10.1 (/opt/rustwide/workdir) [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 18.48s [INFO] running `Command { std: "docker" "inspect" "10d7618b3e66e61c397556e4f7395fc0bd8dff32394caf86216254b0980013c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10d7618b3e66e61c397556e4f7395fc0bd8dff32394caf86216254b0980013c6", kill_on_drop: false }` [INFO] [stdout] 10d7618b3e66e61c397556e4f7395fc0bd8dff32394caf86216254b0980013c6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7fda7a74eed36b67d502fd3c5c889f144ba11faa09ad46132ec045e112d6189a [INFO] running `Command { std: "docker" "start" "-a" "7fda7a74eed36b67d502fd3c5c889f144ba11faa09ad46132ec045e112d6189a", kill_on_drop: false }` [INFO] [stderr] Compiling termcolor v1.1.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling globset v0.4.8 [INFO] [stderr] Compiling tokio v1.17.0 [INFO] [stderr] Compiling soketto v0.7.1 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling tokio-util v0.7.1 [INFO] [stderr] Compiling h2 v0.3.13 [INFO] [stderr] Compiling hyper v0.14.18 [INFO] [stderr] Compiling jsonrpsee-core v0.10.1 [INFO] [stderr] Compiling jsonrpsee-http-server v0.10.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: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::mocks::{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::mocks::Id`, `jsonrpsee_test_utils::mocks::StatusCode`, `jsonrpsee_test_utils::mocks::TestContext`, `jsonrpsee_test_utils` [INFO] [stdout] --> src/tests.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | use jsonrpsee_test_utils::mocks::{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:95:31 [INFO] [stdout] | [INFO] [stdout] 95 | 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:109:31 [INFO] [stdout] | [INFO] [stdout] 109 | 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:122:30 [INFO] [stdout] | [INFO] [stdout] 122 | 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:123:40 [INFO] [stdout] | [INFO] [stdout] 123 | 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:133:30 [INFO] [stdout] | [INFO] [stdout] 133 | 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:144:30 [INFO] [stdout] | [INFO] [stdout] 144 | 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:156:30 [INFO] [stdout] | [INFO] [stdout] 156 | 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:167:30 [INFO] [stdout] | [INFO] [stdout] 167 | 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:178:30 [INFO] [stdout] | [INFO] [stdout] 178 | 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:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | 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:207:30 [INFO] [stdout] | [INFO] [stdout] 207 | 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:223:30 [INFO] [stdout] | [INFO] [stdout] 223 | 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:238:30 [INFO] [stdout] | [INFO] [stdout] 238 | 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:239:44 [INFO] [stdout] | [INFO] [stdout] 239 | 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:244:30 [INFO] [stdout] | [INFO] [stdout] 244 | 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:251:30 [INFO] [stdout] | [INFO] [stdout] 251 | 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:253:40 [INFO] [stdout] | [INFO] [stdout] 253 | 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:261:30 [INFO] [stdout] | [INFO] [stdout] 261 | 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:262:40 [INFO] [stdout] | [INFO] [stdout] 262 | 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 `Id` [INFO] [stdout] --> src/tests.rs:272:40 [INFO] [stdout] | [INFO] [stdout] 272 | 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 `Id` [INFO] [stdout] --> src/tests.rs:276:40 [INFO] [stdout] | [INFO] [stdout] 276 | 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 `Id` [INFO] [stdout] --> src/tests.rs:280:40 [INFO] [stdout] | [INFO] [stdout] 280 | 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 `Id` [INFO] [stdout] --> src/tests.rs:284:40 [INFO] [stdout] | [INFO] [stdout] 284 | 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 `Id` [INFO] [stdout] --> src/tests.rs:288:40 [INFO] [stdout] | [INFO] [stdout] 288 | 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 `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 `Id` [INFO] [stdout] --> src/tests.rs:296:40 [INFO] [stdout] | [INFO] [stdout] 296 | 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 `Id` [INFO] [stdout] --> src/tests.rs:300:40 [INFO] [stdout] | [INFO] [stdout] 300 | 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 `Id` [INFO] [stdout] --> src/tests.rs:304:44 [INFO] [stdout] | [INFO] [stdout] 304 | 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 `Id` [INFO] [stdout] --> src/tests.rs:308:40 [INFO] [stdout] | [INFO] [stdout] 308 | 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:318:30 [INFO] [stdout] | [INFO] [stdout] 318 | 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:331:40 [INFO] [stdout] | [INFO] [stdout] 331 | 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:341:30 [INFO] [stdout] | [INFO] [stdout] 341 | 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:352:30 [INFO] [stdout] | [INFO] [stdout] 352 | 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:42:12 [INFO] [stdout] | [INFO] [stdout] 42 | 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:90:12 [INFO] [stdout] | [INFO] [stdout] 90 | 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:94:18 [INFO] [stdout] | [INFO] [stdout] 94 | 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:96:29 [INFO] [stdout] | [INFO] [stdout] 96 | 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] 96 | 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:96:77 [INFO] [stdout] | [INFO] [stdout] 96 | 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::tracing::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use crate::types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::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:104:12 [INFO] [stdout] | [INFO] [stdout] 104 | 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:108:18 [INFO] [stdout] | [INFO] [stdout] 108 | 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:110:29 [INFO] [stdout] | [INFO] [stdout] 110 | 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] 110 | 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:110:77 [INFO] [stdout] | [INFO] [stdout] 110 | 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::tracing::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use crate::types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::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:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | 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:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | 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:123:28 [INFO] [stdout] | [INFO] [stdout] 123 | 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:129:12 [INFO] [stdout] | [INFO] [stdout] 129 | 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:132:17 [INFO] [stdout] | [INFO] [stdout] 132 | 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:134:28 [INFO] [stdout] | [INFO] [stdout] 134 | 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] 134 | 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:134:69 [INFO] [stdout] | [INFO] [stdout] 134 | 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::tracing::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use crate::types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::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:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | 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:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | 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:145:28 [INFO] [stdout] | [INFO] [stdout] 145 | 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] 145 | 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:145:97 [INFO] [stdout] | [INFO] [stdout] 145 | 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::tracing::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use crate::types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::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:151:12 [INFO] [stdout] | [INFO] [stdout] 151 | 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:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | 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:163:12 [INFO] [stdout] | [INFO] [stdout] 163 | 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:166:17 [INFO] [stdout] | [INFO] [stdout] 166 | 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:168:28 [INFO] [stdout] | [INFO] [stdout] 168 | 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:168:72 [INFO] [stdout] | [INFO] [stdout] 168 | 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::tracing::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use crate::types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::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:174:12 [INFO] [stdout] | [INFO] [stdout] 174 | 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:177:17 [INFO] [stdout] | [INFO] [stdout] 177 | 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:179:28 [INFO] [stdout] | [INFO] [stdout] 179 | 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] 179 | 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:179:53 [INFO] [stdout] | [INFO] [stdout] 179 | 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::tracing::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use crate::types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::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:185:12 [INFO] [stdout] | [INFO] [stdout] 185 | 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:188:17 [INFO] [stdout] | [INFO] [stdout] 188 | 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:190:28 [INFO] [stdout] | [INFO] [stdout] 190 | 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] 190 | 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:190:53 [INFO] [stdout] | [INFO] [stdout] 190 | 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::tracing::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use crate::types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::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:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | 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:206:17 [INFO] [stdout] | [INFO] [stdout] 206 | 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:219:12 [INFO] [stdout] | [INFO] [stdout] 219 | 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:222:17 [INFO] [stdout] | [INFO] [stdout] 222 | 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:233:12 [INFO] [stdout] | [INFO] [stdout] 233 | 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:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | 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:239:28 [INFO] [stdout] | [INFO] [stdout] 239 | 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:243:17 [INFO] [stdout] | [INFO] [stdout] 243 | 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:246:28 [INFO] [stdout] | [INFO] [stdout] 246 | 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:246:44 [INFO] [stdout] | [INFO] [stdout] 246 | 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::tracing::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use crate::types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_request` in this scope [INFO] [stdout] --> src/tests.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | 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:253:28 [INFO] [stdout] | [INFO] [stdout] 253 | 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:260:17 [INFO] [stdout] | [INFO] [stdout] 260 | 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:262:28 [INFO] [stdout] | [INFO] [stdout] 262 | 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:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | 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:271:17 [INFO] [stdout] | [INFO] [stdout] 271 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:272:28 [INFO] [stdout] | [INFO] [stdout] 272 | 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:275:17 [INFO] [stdout] | [INFO] [stdout] 275 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:276:28 [INFO] [stdout] | [INFO] [stdout] 276 | 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:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:280:28 [INFO] [stdout] | [INFO] [stdout] 280 | 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:283:17 [INFO] [stdout] | [INFO] [stdout] 283 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:284:28 [INFO] [stdout] | [INFO] [stdout] 284 | 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:287:17 [INFO] [stdout] | [INFO] [stdout] 287 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:288:28 [INFO] [stdout] | [INFO] [stdout] 288 | 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:291:17 [INFO] [stdout] | [INFO] [stdout] 291 | 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 `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 `http_request` in this scope [INFO] [stdout] --> src/tests.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:296:28 [INFO] [stdout] | [INFO] [stdout] 296 | 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:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:300:28 [INFO] [stdout] | [INFO] [stdout] 300 | 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:303:17 [INFO] [stdout] | [INFO] [stdout] 303 | 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 `invalid_request` in this scope [INFO] [stdout] --> src/tests.rs:304:28 [INFO] [stdout] | [INFO] [stdout] 304 | 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:307:17 [INFO] [stdout] | [INFO] [stdout] 307 | 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 `parse_error` in this scope [INFO] [stdout] --> src/tests.rs:308:28 [INFO] [stdout] | [INFO] [stdout] 308 | 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:314:12 [INFO] [stdout] | [INFO] [stdout] 314 | 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:317:17 [INFO] [stdout] | [INFO] [stdout] 317 | 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:319:28 [INFO] [stdout] | [INFO] [stdout] 319 | 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:319:45 [INFO] [stdout] | [INFO] [stdout] 319 | 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::tracing::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use crate::types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::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:325:12 [INFO] [stdout] | [INFO] [stdout] 325 | 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:328:17 [INFO] [stdout] | [INFO] [stdout] 328 | 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:331:28 [INFO] [stdout] | [INFO] [stdout] 331 | 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:337:12 [INFO] [stdout] | [INFO] [stdout] 337 | 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:340:17 [INFO] [stdout] | [INFO] [stdout] 340 | 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:342:28 [INFO] [stdout] | [INFO] [stdout] 342 | 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:342:44 [INFO] [stdout] | [INFO] [stdout] 342 | 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::tracing::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use crate::types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::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:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | 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:351:17 [INFO] [stdout] | [INFO] [stdout] 351 | 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:417:12 [INFO] [stdout] | [INFO] [stdout] 417 | 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:422:17 [INFO] [stdout] | [INFO] [stdout] 422 | 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 `oversized_request` in this scope [INFO] [stdout] --> src/tests.rs:423:28 [INFO] [stdout] | [INFO] [stdout] 423 | assert_eq!(response.body, oversized_request()); [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:427:17 [INFO] [stdout] | [INFO] [stdout] 427 | 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:428:28 [INFO] [stdout] | [INFO] [stdout] 428 | assert_eq!(response.body, ok_response(JsonValue::String("a".repeat(100)), Id::Num(1))); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 428 | assert_eq!(response.body, response(JsonValue::String("a".repeat(100)), 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:428:76 [INFO] [stdout] | [INFO] [stdout] 428 | assert_eq!(response.body, ok_response(JsonValue::String("a".repeat(100)), 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::tracing::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use crate::types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::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:441:12 [INFO] [stdout] | [INFO] [stdout] 441 | 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:446:17 [INFO] [stdout] | [INFO] [stdout] 446 | 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 `oversized_response` in this scope [INFO] [stdout] --> src/tests.rs:447:28 [INFO] [stdout] | [INFO] [stdout] 447 | assert_eq!(response.body, oversized_response(Id::Num(1), 100)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Id` [INFO] [stdout] --> src/tests.rs:447:47 [INFO] [stdout] | [INFO] [stdout] 447 | assert_eq!(response.body, oversized_response(Id::Num(1), 100)); [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::tracing::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use crate::types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use jsonrpsee_types::Id; [INFO] [stdout] | [INFO] [stdout] 29 | use tracing::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:89:33 [INFO] [stdout] | [INFO] [stdout] 89 | let (addr, _handle) = 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:103:33 [INFO] [stdout] | [INFO] [stdout] 103 | let (addr, _handle) = 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:117:33 [INFO] [stdout] | [INFO] [stdout] 117 | let (addr, _handle) = 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:128:33 [INFO] [stdout] | [INFO] [stdout] 128 | let (addr, _handle) = server().with_default_timeout().await.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:134:60 [INFO] [stdout] | [INFO] [stdout] 134 | assert_eq!(response.body, 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: ~const 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:139:33 [INFO] [stdout] | [INFO] [stdout] 139 | let (addr, _handle) = 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:150:33 [INFO] [stdout] | [INFO] [stdout] 150 | let (addr, _handle) = 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:162:33 [INFO] [stdout] | [INFO] [stdout] 162 | let (addr, _handle) = 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:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | let (addr, _handle) = 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:184:33 [INFO] [stdout] | [INFO] [stdout] 184 | let (addr, _handle) = 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:197:33 [INFO] [stdout] | [INFO] [stdout] 197 | let (addr, _handle) = 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:218:33 [INFO] [stdout] | [INFO] [stdout] 218 | let (addr, _handle) = 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:232:33 [INFO] [stdout] | [INFO] [stdout] 232 | let (addr, _handle) = 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:313:33 [INFO] [stdout] | [INFO] [stdout] 313 | let (addr, _handle) = 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:324:33 [INFO] [stdout] | [INFO] [stdout] 324 | let (addr, _handle) = 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:336:33 [INFO] [stdout] | [INFO] [stdout] 336 | let (addr, _handle) = 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:347:33 [INFO] [stdout] | [INFO] [stdout] 347 | let (addr, _handle) = 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:384:40 [INFO] [stdout] | [INFO] [stdout] 384 | let (_addr, server_handle) = 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:393:40 [INFO] [stdout] | [INFO] [stdout] 393 | let (_addr, server_handle) = 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_timeout` found for struct `ServerHandle` in the current scope [INFO] [stdout] --> src/tests.rs:402:16 [INFO] [stdout] | [INFO] [stdout] 402 | server_handle.with_timeout(TIMEOUT).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `ServerHandle` [INFO] [stdout] | [INFO] [stdout] ::: src/server.rs:286:1 [INFO] [stdout] | [INFO] [stdout] 286 | pub struct ServerHandle { [INFO] [stdout] | ----------------------- method `with_timeout` not found for this [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:404:44 [INFO] [stdout] | [INFO] [stdout] 404 | let (_addr, mut server_handle) = server().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 149 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-http-server` due to 150 previous errors [INFO] running `Command { std: "docker" "inspect" "7fda7a74eed36b67d502fd3c5c889f144ba11faa09ad46132ec045e112d6189a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fda7a74eed36b67d502fd3c5c889f144ba11faa09ad46132ec045e112d6189a", kill_on_drop: false }` [INFO] [stdout] 7fda7a74eed36b67d502fd3c5c889f144ba11faa09ad46132ec045e112d6189a