Skip to content

Guarantee success in ValueSum::from_pair. #503

Guarantee success in ValueSum::from_pair.

Guarantee success in ValueSum::from_pair. #503

Triggered via pull request May 7, 2024 15:14
Status Failure
Total duration 8m 2s
Artifacts

ci.yml

on: pull_request
Matrix: build
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 13 warnings
Nightly lint
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
no method named `unwrap` found for struct `masp_primitives::transaction::components::ValueSum` in the current scope: masp_proofs/benches/convert.rs#L44
error[E0599]: no method named `unwrap` found for struct `masp_primitives::transaction::components::ValueSum` in the current scope --> masp_proofs/benches/convert.rs:44:59 | 44 | + ValueSum::from_pair(mint_asset, mint_value).unwrap()) | ^^^^^^ method not found in `ValueSum<AssetType, i128>`
no method named `unwrap` found for struct `masp_primitives::transaction::components::ValueSum` in the current scope: masp_proofs/benches/convert.rs#L43
error[E0599]: no method named `unwrap` found for struct `masp_primitives::transaction::components::ValueSum` in the current scope --> masp_proofs/benches/convert.rs:43:63 | 43 | + ValueSum::from_pair(output_asset, output_value).unwrap() | ^^^^^^ method not found in `ValueSum<AssetType, i128>`
no method named `unwrap` found for struct `masp_primitives::transaction::components::ValueSum` in the current scope: masp_proofs/benches/convert.rs#L42
error[E0599]: no method named `unwrap` found for struct `masp_primitives::transaction::components::ValueSum` in the current scope --> masp_proofs/benches/convert.rs:42:14 | 41 | let allowed_conversion: AllowedConversion = (ValueSum::from_pair(spend_asset, spend_value) | ______________________________________________________- 42 | | .unwrap() | | -^^^^^^ method not found in `ValueSum<AssetType, i128>` | |_____________| |
Lint
Clippy had exited with the 101 exit code
Bitrot check
Process completed with exit code 101.
Security - Cargo Audit
Process completed with exit code 1.
Rustfmt
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Nightly lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Nightly lint
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/
Build target wasm32-wasi
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build target wasm32-unknown-unknown
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions-rs/clippy-check@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Lint
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/
Bitrot check
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Intra-doc links
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Security - Cargo Audit
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test on macOS-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test on ubuntu-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Test on windows-latest
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.