Skip to content

Fix Failing Test cases #187

Fix Failing Test cases

Fix Failing Test cases #187

Triggered via pull request October 8, 2024 00:19
@ec2ec2
synchronize #30
ec2/bug-fix
Status Failure
Total duration 52m 10s
Artifacts

ci.yml

on: pull_request
Matrix: build-latest
Matrix: build-nodefault
Matrix: check-msrv
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 4 warnings
Latest build on windows-latest
Process completed with exit code 1.
Latest build on ubuntu-latest
The job was canceled because "windows-latest" failed.
Latest build on macOS-latest
The job was canceled because "windows-latest" failed.
Build target wasm32-wasi
Process completed with exit code 101.
Bitrot check
Process completed with exit code 101.
Clippy (beta)
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
usage of `Iterator::fold` on a type that implements `Try`: components/zcash_protocol/src/value.rs#L387
error: usage of `Iterator::fold` on a type that implements `Try` --> components/zcash_protocol/src/value.rs:387:14 | 387 | iter.fold(Some(Zatoshis::ZERO), |acc, a| acc? + *a) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `try_fold` instead: `try_fold(Zatoshis::ZERO, |acc, a| ...)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
usage of `Iterator::fold` on a type that implements `Try`: components/zcash_protocol/src/value.rs#L381
error: usage of `Iterator::fold` on a type that implements `Try` --> components/zcash_protocol/src/value.rs:381:14 | 381 | iter.fold(Some(Zatoshis::ZERO), |acc, a| acc? + a) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `try_fold` instead: `try_fold(Zatoshis::ZERO, |acc, a| ...)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
usage of `Iterator::fold` on a type that implements `Try`: components/zcash_protocol/src/value.rs#L202
error: usage of `Iterator::fold` on a type that implements `Try` --> components/zcash_protocol/src/value.rs:202:14 | 202 | iter.fold(Some(ZatBalance::zero()), |acc, a| acc? + *a) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `try_fold` instead: `try_fold(ZatBalance::zero(), |acc, a| ...)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold
usage of `Iterator::fold` on a type that implements `Try`: components/zcash_protocol/src/value.rs#L196
error: usage of `Iterator::fold` on a type that implements `Try` --> components/zcash_protocol/src/value.rs:196:14 | 196 | iter.fold(Some(ZatBalance::zero()), |acc, a| acc? + a) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use `try_fold` instead: `try_fold(ZatBalance::zero(), |acc, a| ...)` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_try_fold = note: `-D clippy::manual-try-fold` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::manual_try_fold)]`
Clippy (MSRV)
Clippy had exited with the 101 exit code
Rustfmt
Process completed with exit code 1.
Test on macOS
Process completed with exit code 101.
Test on Linux
The job was canceled because "macOS_NOT_A_PUZZLE" failed.
Test NU6 on Windows
The job was canceled because "macOS_NOT_A_PUZZLE" failed.
Test Orchard on Linux
The job was canceled because "macOS_NOT_A_PUZZLE" failed.
Test NU6 on Linux
The job was canceled because "macOS_NOT_A_PUZZLE" failed.
Test Orchard on Windows
The job was canceled because "macOS_NOT_A_PUZZLE" failed.
Test on Windows
The job was canceled because "macOS_NOT_A_PUZZLE" failed.
Test Orchard on macOS
The job was canceled because "macOS_NOT_A_PUZZLE" failed.
Test Orchard on macOS
The operation was canceled.
Code coverage
The hosted runner: GitHub Actions 31 lost communication with the server. Anything in your workflow that terminates the runner process, starves it for CPU/Memory, or blocks its network access can cause this error.
Clippy (beta)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Clippy (beta)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Clippy (MSRV)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Clippy (MSRV)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/