Skip to content

feat(rpc): expose reqwest client #7

feat(rpc): expose reqwest client

feat(rpc): expose reqwest client #7

Triggered via pull request May 18, 2024 16:15
Status Failure
Total duration 1m 28s
Artifacts

rust.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 2 warnings
clippy-tools-output: rpc/src/client/transport/http.rs#L99
[clippy] reported by reviewdog 🐶 error[E0308]: mismatched types --> /home/runner/work/tendermint-rs/tendermint-rs/rpc/src/client/transport/http.rs:99:23 | 99 | self.client = client; | ----------- ^^^^^^ expected `Option<Client>`, found `Client` | | | expected due to the type of this binding | = note: expected enum `core::option::Option<reqwest::Client>` found struct `reqwest::Client` help: try wrapping the expression in `core::prelude::v1::Some` | 99 | self.client = core::prelude::v1::Some(client); | ++++++++++++++++++++++++ + Raw Output: /home/runner/work/tendermint-rs/tendermint-rs/rpc/src/client/transport/http.rs:99:23:e:error[E0308]: mismatched types --> /home/runner/work/tendermint-rs/tendermint-rs/rpc/src/client/transport/http.rs:99:23 | 99 | self.client = client; | ----------- ^^^^^^ expected `Option<Client>`, found `Client` | | | expected due to the type of this binding | = note: expected enum `core::option::Option<reqwest::Client>` found struct `reqwest::Client` help: try wrapping the expression in `core::prelude::v1::Some` | 99 | self.client = core::prelude::v1::Some(client); | ++++++++++++++++++++++++ + __END__
clippy-tools-output
reviewdog exited with status code: 1
docs
Process completed with exit code 101.
clippy-tools-output
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy-json-output
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: giraffate/clippy-action@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.