Skip to content

Implement no_std support via a default-enabled std feature flag. #217

Implement no_std support via a default-enabled std feature flag.

Implement no_std support via a default-enabled std feature flag. #217

Triggered via push December 18, 2024 23:16
Status Failure
Total duration 4m 2s
Artifacts

ci.yml

on: push
Matrix: build-latest
Matrix: build-nodefault
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 8 warnings
Build target wasm32-wasi
Process completed with exit code 101.
Build target thumbv7em-none-eabihf
The job was canceled because "wasm32-wasi" failed.
Build target thumbv7em-none-eabihf
Process completed with exit code 101.
/home/runner/work/sapling-crypto/sapling-crypto/src/lib.rs#L196
this expression borrows a value the compiler would automatically borrow
/home/runner/work/sapling-crypto/sapling-crypto/src/lib.rs#L88
this expression creates a reference which is immediately dereferenced by the compiler
this expression borrows a value the compiler would automatically borrow: src/lib.rs#L196
error: this expression borrows a value the compiler would automatically borrow --> src/note_encryption.rs:196:9 | 196 | (&mut input[12..20]).copy_from_slice(&note.value().inner().to_le_bytes()); | ^^^^^^^^^^^^^^^^^^^^ help: change this to: `input[12..20]` | = note: `-D clippy::needless-borrow` implied by `-D warnings` = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
this expression creates a reference which is immediately dereferenced by the compiler: src/lib.rs#L88
error: this expression creates a reference which is immediately dereferenced by the compiler --> src/pedersen_hash.rs:88:13 | 88 | &generators.next().expect("we don't have enough generators"); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `generators.next().expect("we don't have enough generators")` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
aborting due to 2 previous errors
error: aborting due to 2 previous errors
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
Rustfmt
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Latest build on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Clippy (MSRV)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Clippy (MSRV)
The `deny` input is deprecated in v1.4 and can be used within the `check-args` input
Intra-doc links
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
Test on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636