[INFO] fetching crate jsonrpsee-http-client 0.2.0-alpha.3... [INFO] checking jsonrpsee-http-client-0.2.0-alpha.3 against try#4a04890980766cc79878135f5ade8c0c4321e943 for pr-65819 [INFO] extracting crate jsonrpsee-http-client 0.2.0-alpha.3 into /workspace/builds/worker-4/source [INFO] validating manifest of crates.io crate jsonrpsee-http-client 0.2.0-alpha.3 on toolchain 4a04890980766cc79878135f5ade8c0c4321e943 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate jsonrpsee-http-client 0.2.0-alpha.3 [INFO] finished tweaking crates.io crate jsonrpsee-http-client 0.2.0-alpha.3 [INFO] tweaked toml for crates.io crate jsonrpsee-http-client 0.2.0-alpha.3 written to /workspace/builds/worker-4/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded security-framework-sys v1.0.0 [INFO] [stderr] Downloaded ct-logs v0.7.0 [INFO] [stderr] Downloaded rustls-native-certs v0.4.0 [INFO] [stderr] Downloaded security-framework v1.0.0 [INFO] [stderr] Downloaded jsonrpsee-utils v0.2.0-alpha.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5f3e084c7dc075fd93f1c0074d0c397b0ad487b84977c654a53375b9695a9575 [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" "5f3e084c7dc075fd93f1c0074d0c397b0ad487b84977c654a53375b9695a9575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5f3e084c7dc075fd93f1c0074d0c397b0ad487b84977c654a53375b9695a9575", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5f3e084c7dc075fd93f1c0074d0c397b0ad487b84977c654a53375b9695a9575", kill_on_drop: false }` [INFO] [stdout] 5f3e084c7dc075fd93f1c0074d0c397b0ad487b84977c654a53375b9695a9575 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:c46a2d1a26fb48b37929c74ca49dd9409f2375a0a3bdb8fe07617f3ffccaa889" "/opt/rustwide/cargo-home/bin/cargo" "+4a04890980766cc79878135f5ade8c0c4321e943" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e94c0b93f645f53cb0f20c0bfff0b6333174f1c209b69cf2355e7e528d65dfe9 [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" "e94c0b93f645f53cb0f20c0bfff0b6333174f1c209b69cf2355e7e528d65dfe9", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking beef v0.5.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Compiling ring v0.16.20 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Checking tracing v0.1.25 [INFO] [stderr] Checking bstr v0.2.15 [INFO] [stderr] Checking want v0.3.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking mio v0.7.11 [INFO] [stderr] Checking socket2 v0.4.0 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Checking globset v0.4.6 [INFO] [stderr] Checking sct v0.6.1 [INFO] [stderr] Checking webpki v0.21.4 [INFO] [stderr] Checking ct-logs v0.8.0 [INFO] [stderr] Checking rustls v0.19.0 [INFO] [stderr] Checking rustls-native-certs v0.5.0 [INFO] [stderr] Compiling futures-macro v0.3.14 [INFO] [stderr] Compiling tokio-macros v1.1.0 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling async-trait v0.1.49 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking futures-util v0.3.14 [INFO] [stderr] Checking pin-project v1.0.7 [INFO] [stderr] Checking futures-executor v0.3.14 [INFO] [stderr] Checking futures v0.3.14 [INFO] [stderr] Checking tokio-util v0.6.6 [INFO] [stderr] Checking tokio-rustls v0.22.0 [INFO] [stderr] Checking h2 v0.3.2 [INFO] [stderr] Checking serde v1.0.125 [INFO] [stderr] Checking hyper v0.14.5 [INFO] [stderr] Checking jsonrpsee-types v0.2.0-alpha.4 [INFO] [stderr] Checking hyper-rustls v0.22.1 [INFO] [stderr] Checking jsonrpsee-utils v0.2.0-alpha.4 [INFO] [stderr] Checking jsonrpsee-http-client v0.2.0-alpha.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee_types::http` [INFO] [stdout] --> src/client.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use jsonrpsee_types::{error::Error, http::HttpConfig, jsonrpc, traits::Client}; [INFO] [stdout] | ^^^^ could not find `http` in `jsonrpsee_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee_types::http` [INFO] [stdout] --> src/transport.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | use jsonrpsee_types::{error::GenericTransportError, http::HttpConfig, jsonrpc}; [INFO] [stdout] | ^^^^ could not find `http` in `jsonrpsee_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee_types::http` [INFO] [stdout] --> src/lib.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | pub use jsonrpsee_types::http::HttpConfig; [INFO] [stdout] | ^^^^ could not find `http` in `jsonrpsee_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee_types::http` [INFO] [stdout] --> src/client.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use jsonrpsee_types::{error::Error, http::HttpConfig, jsonrpc, traits::Client}; [INFO] [stdout] | ^^^^ could not find `http` in `jsonrpsee_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee_types::http` [INFO] [stdout] --> src/transport.rs:11:53 [INFO] [stdout] | [INFO] [stdout] 11 | use jsonrpsee_types::{error::GenericTransportError, http::HttpConfig, jsonrpc}; [INFO] [stdout] | ^^^^ could not find `http` in `jsonrpsee_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee_types::http` [INFO] [stdout] --> src/transport.rs:142:3 [INFO] [stdout] | [INFO] [stdout] 142 | http::HttpConfig, [INFO] [stdout] | ^^^^ could not find `http` in `jsonrpsee_types` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `jsonrpsee_types::http` [INFO] [stdout] --> src/tests.rs:4:2 [INFO] [stdout] | [INFO] [stdout] 4 | http::HttpConfig, [INFO] [stdout] | ^^^^ could not find `http` in `jsonrpsee_types` [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:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | 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:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use jsonrpsee_test_utils::types::Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `jsonrpsee_test_utils` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `jsonrpsee_types::http`, `jsonrpsee_test_utils::types::Id` [INFO] [stdout] --> src/lib.rs:46:26 [INFO] [stdout] | [INFO] [stdout] 46 | pub use jsonrpsee_types::http::HttpConfig; [INFO] [stdout] | ^^^^ could not find `http` in `jsonrpsee_types` [INFO] [stdout] | [INFO] [stdout] ::: src/tests.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use jsonrpsee_test_utils::types::Id; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `batch_request` [INFO] [stdout] --> src/client.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | impl Client for HttpClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `batch_request` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn batch_request(&'life0 self, _: Vec<(M, P)>) -> Pin, jsonrpsee_types::error::Error>> + Send + 'async_trait)>> where T: DeserializeOwned, T: Default, T: Clone, M: Into, M: Send, P: Into, P: Send { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `ok_response` in this scope [INFO] [stdout] --> src/tests.rs:14:41 [INFO] [stdout] | [INFO] [stdout] 14 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))).await.unwrap(); [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:14:69 [INFO] [stdout] | [INFO] [stdout] 14 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))).await.unwrap(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_server_with_hardcoded_response` in this scope [INFO] [stdout] --> src/tests.rs:20:20 [INFO] [stdout] | [INFO] [stdout] 20 | let server_addr = http_server_with_hardcoded_response(String::new()).await; [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:31:38 [INFO] [stdout] | [INFO] [stdout] 31 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))).await.unwrap_err(); [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:31:66 [INFO] [stdout] | [INFO] [stdout] 31 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `method_not_found` in this scope [INFO] [stdout] --> src/tests.rs:37:38 [INFO] [stdout] | [INFO] [stdout] 37 | let err = run_request_with_response(method_not_found(Id::Num(0))).await.unwrap_err(); [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:37:55 [INFO] [stdout] | [INFO] [stdout] 37 | let err = run_request_with_response(method_not_found(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `METHOD_NOT_FOUND` in this scope [INFO] [stdout] --> src/tests.rs:38:64 [INFO] [stdout] | [INFO] [stdout] 38 | assert_jsonrpc_error_response(err, ErrorCode::MethodNotFound, METHOD_NOT_FOUND.into()); [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:43:38 [INFO] [stdout] | [INFO] [stdout] 43 | let err = run_request_with_response(parse_error(Id::Num(0))).await.unwrap_err(); [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:43:50 [INFO] [stdout] | [INFO] [stdout] 43 | let err = run_request_with_response(parse_error(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PARSE_ERROR` in this scope [INFO] [stdout] --> src/tests.rs:44:60 [INFO] [stdout] | [INFO] [stdout] 44 | assert_jsonrpc_error_response(err, ErrorCode::ParseError, PARSE_ERROR.into()); [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:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | let err = run_request_with_response(invalid_request(Id::Num(0_u64))).await.unwrap_err(); [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:49:54 [INFO] [stdout] | [INFO] [stdout] 49 | let err = run_request_with_response(invalid_request(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_REQUEST` in this scope [INFO] [stdout] --> src/tests.rs:50:64 [INFO] [stdout] | [INFO] [stdout] 50 | assert_jsonrpc_error_response(err, ErrorCode::InvalidRequest, INVALID_REQUEST.into()); [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:55:38 [INFO] [stdout] | [INFO] [stdout] 55 | let err = run_request_with_response(invalid_params(Id::Num(0_u64))).await.unwrap_err(); [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:55:53 [INFO] [stdout] | [INFO] [stdout] 55 | let err = run_request_with_response(invalid_params(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INVALID_PARAMS` in this scope [INFO] [stdout] --> src/tests.rs:56:63 [INFO] [stdout] | [INFO] [stdout] 56 | assert_jsonrpc_error_response(err, ErrorCode::InvalidParams, INVALID_PARAMS.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `internal_error` in this scope [INFO] [stdout] --> src/tests.rs:61:38 [INFO] [stdout] | [INFO] [stdout] 61 | let err = run_request_with_response(internal_error(Id::Num(0_u64))).await.unwrap_err(); [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:61:53 [INFO] [stdout] | [INFO] [stdout] 61 | let err = run_request_with_response(internal_error(Id::Num(0_u64))).await.unwrap_err(); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 | use crate::tests::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] 1 | use jsonrpsee_types::jsonrpc::Id; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INTERNAL_ERROR` in this scope [INFO] [stdout] --> src/tests.rs:62:63 [INFO] [stdout] | [INFO] [stdout] 62 | assert_jsonrpc_error_response(err, ErrorCode::InternalError, INTERNAL_ERROR.into()); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `http_server_with_hardcoded_response` in this scope [INFO] [stdout] --> src/tests.rs:73:20 [INFO] [stdout] | [INFO] [stdout] 73 | let server_addr = http_server_with_hardcoded_response(response).await; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `batch_request` [INFO] [stdout] --> src/client.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | impl Client for HttpClient { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `batch_request` in implementation [INFO] [stdout] | [INFO] [stdout] = help: implement the missing item: `fn batch_request(&'life0 self, _: Vec<(M, P)>) -> Pin, jsonrpsee_types::error::Error>> + Send + 'async_trait)>> where T: DeserializeOwned, T: Default, T: Clone, M: Into, M: Send, P: Into, P: Send { todo!() }` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0432. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `jsonrpsee-http-client` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/transport.rs:154:7 [INFO] [stdout] | [INFO] [stdout] 154 | let eighty_bytes_limit = 80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/transport.rs:167:18 [INFO] [stdout] | [INFO] [stdout] 167 | let response = client.send_request(request).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:14:77 [INFO] [stdout] | [INFO] [stdout] 14 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))).await.unwrap(); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | let result = run_request_with_response(ok_response("hello".into(), Id::Num(0))).await.unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:31:74 [INFO] [stdout] | [INFO] [stdout] 31 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))).await.unwrap_err(); [INFO] [stdout] | ^^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | let err = run_request_with_response(ok_response("hello".into(), Id::Num(99))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:37:63 [INFO] [stdout] | [INFO] [stdout] 37 | let err = run_request_with_response(method_not_found(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | let err = run_request_with_response(method_not_found(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0698]: type inside `async` block must be known in this context [INFO] [stdout] --> src/tests.rs:43:58 [INFO] [stdout] | [INFO] [stdout] 43 | let err = run_request_with_response(parse_error(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^ cannot infer type for type `{integer}` [INFO] [stdout] | [INFO] [stdout] note: the type is part of the `async` block because of this `await` [INFO] [stdout] --> src/tests.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 43 | let err = run_request_with_response(parse_error(Id::Num(0))).await.unwrap_err(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 34 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0425, E0432, E0433, E0698. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "e94c0b93f645f53cb0f20c0bfff0b6333174f1c209b69cf2355e7e528d65dfe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e94c0b93f645f53cb0f20c0bfff0b6333174f1c209b69cf2355e7e528d65dfe9", kill_on_drop: false }` [INFO] [stdout] e94c0b93f645f53cb0f20c0bfff0b6333174f1c209b69cf2355e7e528d65dfe9