Skip to content

prepare to publish on crates.io #543

prepare to publish on crates.io

prepare to publish on crates.io #543

Triggered via pull request January 9, 2025 17:38
Status Failure
Total duration 3m 17s
Artifacts

ci.yml

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

Annotations

5 errors and 8 warnings
Nightly lint
The process '/home/runner/.cargo/bin/cargo' failed with exit code 1
usage of a legacy numeric method: masp_primitives/src/constants.rs#L280
error: usage of a legacy numeric method --> masp_primitives/src/constants.rs:280:35 | 280 | assert!(tag[i] != u8::max_value()); | ^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants help: use the associated constant instead | 280 | assert!(tag[i] != u8::MAX); | ~~~
usage of a legacy numeric constant: masp_primitives/src/consensus.rs#L375
error: usage of a legacy numeric constant --> masp_primitives/src/consensus.rs:375:44 | 375 | (lower.0..upper.map_or(std::u32::MAX, |u| u.0)) | ^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#legacy_numeric_constants = note: `-D clippy::legacy-numeric-constants` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::legacy_numeric_constants)]` help: use the associated constant instead | 375 | (lower.0..upper.map_or(u32::MAX, |u| u.0)) | ~~~~~~~~
fields `p_enc` and `op` are never read: masp_primitives/src/test_vectors/note_encryption.rs#L15
error: fields `p_enc` and `op` are never read --> masp_primitives/src/test_vectors/note_encryption.rs:15:9 | 1 | pub struct TestVector { | ---------- fields in this struct ... 15 | pub p_enc: [u8; 564 + 32], | ^^^^^ ... 18 | pub op: [u8; 64], | ^^ | = note: `-D dead-code` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(dead_code)]`
Lint
Clippy had exited with the 101 exit code
Nightly lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Rustfmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build target wasm32-wasi
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Build target wasm32-unknown-unknown
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Bitrot check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Intra-doc links
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Security - Cargo Audit
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636