fix: ui tests for rust 1.84 #4292
ci.yml
on: pull_request
Check style
1m 38s
Check rustdoc
38s
Check
3m 46s
Run tests Ubuntu
6m 23s
Run tests macos
5m 38s
Run tests Windows
10m 30s
Test wasm
1m 30s
Annotations
6 errors and 34 warnings
Run tests macos
ENOENT: no such file or directory, opendir '/Users/runner/work/jsonrpsee/jsonrpsee/target/tests/target'
|
Run tests macos
Error: ENOENT: no such file or directory, opendir '/Users/runner/work/jsonrpsee/jsonrpsee/target/tests/target'
|
Run tests Ubuntu
ENOENT: no such file or directory, opendir '/home/runner/work/jsonrpsee/jsonrpsee/target/tests/target'
|
Run tests Ubuntu
Error: ENOENT: no such file or directory, opendir '/home/runner/work/jsonrpsee/jsonrpsee/target/tests/target'
|
Run tests Windows
ENOENT: no such file or directory, opendir 'D:\a\jsonrpsee\jsonrpsee\target\tests\target'
|
Run tests Windows
Error: ENOENT: no such file or directory, opendir 'D:\a\jsonrpsee\jsonrpsee\target\tests\target'
|
Check rustdoc
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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/
|
this `map_or` is redundant:
server/src/transport/http.rs#L21
warning: this `map_or` is redundant
--> server/src/transport/http.rs:21:2
|
21 | / content_type.and_then(|val| val.to_str().ok()).map_or(false, |content| {
22 | | content.eq_ignore_ascii_case("application/json")
23 | | || content.eq_ignore_ascii_case("application/json; charset=utf-8")
24 | | || content.eq_ignore_ascii_case("application/json;charset=utf-8")
... |
27 | | || content.eq_ignore_ascii_case("application/json-rpc; charset=utf-8")
28 | | })
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
help: use is_some_and instead
|
21 ~ content_type.and_then(|val| val.to_str().ok()).is_some_and(|content| {
22 ~ content.eq_ignore_ascii_case("application/json")
23 ~ || content.eq_ignore_ascii_case("application/json; charset=utf-8")
24 ~ || content.eq_ignore_ascii_case("application/json;charset=utf-8")
25 ~ || content.eq_ignore_ascii_case("application/json-rpc")
26 ~ || content.eq_ignore_ascii_case("application/json-rpc;charset=utf-8")
27 ~ || content.eq_ignore_ascii_case("application/json-rpc; charset=utf-8")
28 ~ })
|
|
this `map_or` is redundant:
server/src/transport/http.rs#L21
warning: this `map_or` is redundant
--> server/src/transport/http.rs:21:2
|
21 | / content_type.and_then(|val| val.to_str().ok()).map_or(false, |content| {
22 | | content.eq_ignore_ascii_case("application/json")
23 | | || content.eq_ignore_ascii_case("application/json; charset=utf-8")
24 | | || content.eq_ignore_ascii_case("application/json;charset=utf-8")
... |
27 | | || content.eq_ignore_ascii_case("application/json-rpc; charset=utf-8")
28 | | })
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
help: use is_some_and instead
|
21 ~ content_type.and_then(|val| val.to_str().ok()).is_some_and(|content| {
22 ~ content.eq_ignore_ascii_case("application/json")
23 ~ || content.eq_ignore_ascii_case("application/json; charset=utf-8")
24 ~ || content.eq_ignore_ascii_case("application/json;charset=utf-8")
25 ~ || content.eq_ignore_ascii_case("application/json-rpc")
26 ~ || content.eq_ignore_ascii_case("application/json-rpc;charset=utf-8")
27 ~ || content.eq_ignore_ascii_case("application/json-rpc; charset=utf-8")
28 ~ })
|
|
this `map_or` is redundant:
server/src/transport/http.rs#L21
warning: this `map_or` is redundant
--> server/src/transport/http.rs:21:2
|
21 | / content_type.and_then(|val| val.to_str().ok()).map_or(false, |content| {
22 | | content.eq_ignore_ascii_case("application/json")
23 | | || content.eq_ignore_ascii_case("application/json; charset=utf-8")
24 | | || content.eq_ignore_ascii_case("application/json;charset=utf-8")
... |
27 | | || content.eq_ignore_ascii_case("application/json-rpc; charset=utf-8")
28 | | })
| |______^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `#[warn(clippy::unnecessary_map_or)]` on by default
help: use is_some_and instead
|
21 ~ content_type.and_then(|val| val.to_str().ok()).is_some_and(|content| {
22 ~ content.eq_ignore_ascii_case("application/json")
23 ~ || content.eq_ignore_ascii_case("application/json; charset=utf-8")
24 ~ || content.eq_ignore_ascii_case("application/json;charset=utf-8")
25 ~ || content.eq_ignore_ascii_case("application/json-rpc")
26 ~ || content.eq_ignore_ascii_case("application/json-rpc;charset=utf-8")
27 ~ || content.eq_ignore_ascii_case("application/json-rpc; charset=utf-8")
28 ~ })
|
|
Test wasm
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check style
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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/
|
Check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Check
New version for cargo-machete available: 0.7.0
|
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/
|
Check
New version for cargo-hack available: 0.6.33
|
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 Ubuntu
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
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 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/
|