fix(http-client): expose types to allow naming HttpClient with middleware #4543
ci.yml
on: pull_request
Check style
1m 26s
Check rustdoc
43s
Check
1m 0s
Check MSRV
31s
Run tests Ubuntu
4m 6s
Run tests macos
4m 18s
Run tests Windows
8m 32s
Test wasm
1m 27s
Annotations
8 errors and 44 warnings
|
Check
Process completed with exit code 1.
|
|
Run tests Ubuntu
The process '/home/runner/.cargo/bin/cargo' failed with exit code 101
|
|
Run tests Ubuntu
use of deprecated method `DeprecatedClient::async_method`: please use `new_method` instead
|
|
Run tests Ubuntu
use of deprecated method `DeprecatedClient::async_method`: please use `new_method` instead
|
|
Run tests macos
The process '/Users/runner/.cargo/bin/cargo' failed with exit code 101
|
|
Run tests macos
use of deprecated method `DeprecatedClient::async_method`: please use `new_method` instead
|
|
Run tests macos
use of deprecated method `DeprecatedClient::async_method`: please use `new_method` instead
|
|
Run tests Windows
The process 'C:\Users\runneradmin\.cargo\bin\cargo.exe' failed with exit code 101
|
|
Check MSRV
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check MSRV
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check MSRV
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check MSRV
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check rustdoc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check rustdoc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check rustdoc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check rustdoc
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check
Cache not found for keys: v0-rust-check-code-Linux-x64-becefc2f-30091482, v0-rust-check-code-Linux-x64-becefc2f
|
|
Check
New version for cargo-machete available: 0.9.1
|
|
Check
New version for cargo-hack available: 0.6.40
|
|
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
this lifetime isn't used in the function definition:
server/src/server.rs#L1166
warning: this lifetime isn't used in the function definition
--> server/src/server.rs:1166:23
|
1166 | fn process_connection<'a, RpcMiddleware, HttpMiddleware, Body>(params: ProcessConnection<HttpMiddleware, RpcMiddleware>)
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
|
|
hiding a lifetime that's elided elsewhere is confusing:
client/http-client/src/tests.rs#L255
warning: hiding a lifetime that's elided elsewhere is confusing
--> client/http-client/src/tests.rs:255:29
|
255 | batch: BatchRequestBuilder<'_>,
| ^^ the lifetime is elided here
256 | response: String,
257 | ) -> Result<BatchResponse<T>, ClientError> {
| ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: consistently use `'_`
|
257 | ) -> Result<BatchResponse<'_, T>, ClientError> {
| +++
|
|
hiding a lifetime that's elided elsewhere is confusing:
client/ws-client/src/tests.rs#L443
warning: hiding a lifetime that's elided elsewhere is confusing
--> client/ws-client/src/tests.rs:443:29
|
443 | batch: BatchRequestBuilder<'_>,
| ^^ the lifetime is elided here
444 | response: String,
445 | ) -> Result<BatchResponse<T>, Error> {
| ^^^^^^^^^^^^^^^^ the same lifetime is hidden here
|
= help: the same lifetime is referred to in inconsistent ways, making the signature confusing
= note: `#[warn(mismatched_lifetime_syntaxes)]` on by default
help: consistently use `'_`
|
445 | ) -> Result<BatchResponse<'_, T>, Error> {
| +++
|
|
this lifetime isn't used in the function definition:
server/src/server.rs#L1166
warning: this lifetime isn't used in the function definition
--> server/src/server.rs:1166:23
|
1166 | fn process_connection<'a, RpcMiddleware, HttpMiddleware, Body>(params: ProcessConnection<HttpMiddleware, RpcMiddleware>)
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
|
|
this lifetime isn't used in the function definition:
server/src/server.rs#L1166
warning: this lifetime isn't used in the function definition
--> server/src/server.rs:1166:23
|
1166 | fn process_connection<'a, RpcMiddleware, HttpMiddleware, Body>(params: ProcessConnection<HttpMiddleware, RpcMiddleware>)
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.92.0/index.html#extra_unused_lifetimes
= note: `#[warn(clippy::extra_unused_lifetimes)]` on by default
|
|
Check style
Cache not found for keys: v0-rust-check-style-Linux-x64-becefc2f-30091482, v0-rust-check-style-Linux-x64-becefc2f
|
|
Check style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Check style
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Test wasm
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Test wasm
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Test wasm
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Test wasm
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Run tests Ubuntu
Cache not found for keys: v0-rust-tests_ubuntu-Linux-x64-becefc2f-30091482, v0-rust-tests_ubuntu-Linux-x64-becefc2f
|
|
Run tests Ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Run tests Ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Run tests Ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Run tests Ubuntu
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Run tests macos
Cache not found for keys: v0-rust-tests_macos-Darwin-arm64-f4ad5abc-30091482, v0-rust-tests_macos-Darwin-arm64-f4ad5abc
|
|
Run tests macos
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Run tests macos
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Run tests macos
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Run tests macos
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Run tests Windows
Cache not found for keys: v0-rust-tests_windows-Windows_NT-x64-e1fb66f5-30091482, v0-rust-tests_windows-Windows_NT-x64-e1fb66f5
|
|
Run tests Windows
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Run tests Windows
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Run tests Windows
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
|
Run tests Windows
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|