Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

ci tests

ci tests #769

Manually triggered February 4, 2024 13:27
Status Failure
Total duration 1h 11m 53s
Artifacts

ci-tests.yml

on: workflow_dispatch
Matrix: clippy
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

11 errors and 13 warnings
fmt
The process '/home/ubuntu/.cargo/bin/cargo' failed with exit code 1
this if-then-else expression returns a bool literal: sdk/substrate/src/lib.rs#L269
error: this if-then-else expression returns a bool literal --> sdk/substrate/src/lib.rs:269:21 | 269 | farmer: if self.role == Role::Authority { | _____________________^ 270 | | true 271 | | } else { 272 | | false 273 | | } | |_____________^ help: you can reduce it to: `self.role == Role::Authority` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool = note: `-D clippy::needless-bool` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_bool)]`
this if-then-else expression returns a bool literal: sdk/substrate/src/lib.rs#L269
error: this if-then-else expression returns a bool literal --> sdk/substrate/src/lib.rs:269:21 | 269 | farmer: if self.role == Role::Authority { | _____________________^ 270 | | true 271 | | } else { 272 | | false 273 | | } | |_____________^ help: you can reduce it to: `self.role == Role::Authority` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool = note: `-D clippy::needless-bool` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_bool)]`
clippy (self-hosted, ubuntu-20.04-x86-64, true)
Clippy had exited with the 101 exit code
this if-then-else expression returns a bool literal: sdk/substrate/src/lib.rs#L269
error: this if-then-else expression returns a bool literal --> sdk/substrate/src/lib.rs:269:21 | 269 | farmer: if self.role == Role::Authority { | _____________________^ 270 | | true 271 | | } else { 272 | | false 273 | | } | |_____________^ help: you can reduce it to: `self.role == Role::Authority` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_bool = note: `-D clippy::needless-bool` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_bool)]`
clippy (self-hosted, macos-12-arm64, true)
Clippy had exited with the 101 exit code
clippy (self-hosted, windows-server-2022-x86-64, true)
Process completed with exit code 1.
clippy (self-hosted, windows-server-2022-x86-64, true)
Clippy had exited with the 101 exit code
test (self-hosted, macos-12-arm64, true)
Process completed with exit code 101.
test (self-hosted, windows-server-2022-x86-64, true)
The operation was canceled.
test (self-hosted, windows-server-2022-x86-64, true)
Process completed with exit code 1.
fmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
fmt
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy (self-hosted, ubuntu-20.04-x86-64, true)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, KyleMayes/install-llvm-action@8852e4d5c58653ed05135c0a5d949d9c2febcb00, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy (self-hosted, ubuntu-20.04-x86-64, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy (self-hosted, macos-12-arm64, true)
This job failure may be caused by using an out of date self-hosted runner. You are currently using runner version 2.311.0. Please update to the latest version 2.312.0
clippy (self-hosted, macos-12-arm64, true)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, KyleMayes/install-llvm-action@8852e4d5c58653ed05135c0a5d949d9c2febcb00, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy (self-hosted, macos-12-arm64, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy (self-hosted, windows-server-2022-x86-64, true)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, KyleMayes/install-llvm-action@8852e4d5c58653ed05135c0a5d949d9c2febcb00, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84, actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
clippy (self-hosted, windows-server-2022-x86-64, true)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@b5b5f21f4797c02da247df37026fcd0a5024aa4d. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
docs
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9, Swatinem/rust-cache@359a70e43a0bb8a13953b04a90f76428b4959bb6. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (self-hosted, ubuntu-20.04-x86-64, true)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (self-hosted, macos-12-arm64, true)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, KyleMayes/install-llvm-action@8852e4d5c58653ed05135c0a5d949d9c2febcb00, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9, actions/cache@704facf57e6136b1bc63b828d79edcd491f0ee84. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test (self-hosted, windows-server-2022-x86-64, true)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8, arduino/setup-protoc@9b1ee5b22b0a3f1feb8c2ff99b32c89b3c3191e9. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.