diff --git a/ci/test-checks.sh b/ci/test-checks.sh index 4a86d827f13dc7..fa166144381a8f 100755 --- a/ci/test-checks.sh +++ b/ci/test-checks.sh @@ -52,8 +52,6 @@ echo --- build environment wasm-pack --version ) -exit 0 - export RUST_BACKTRACE=1 export RUSTFLAGS="-D warnings -A incomplete_features" @@ -77,7 +75,7 @@ fi _ ci/order-crates-for-publishing.py -nightly_clippy_allows=() +nightly_clippy_allows=(--allow=clippy::redundant_clone --allow clippy::match-result-ok) # run nightly clippy for `sdk/` as there's a moderate amount of nightly-only code there _ scripts/cargo-for-all-lock-files.sh -- "+${rust_nightly}" clippy --workspace --all-targets --features dummy-for-ci-check -- \ diff --git a/runtime/src/accounts_db.rs b/runtime/src/accounts_db.rs index 3fe7b2718feee9..8626a10a6d1af3 100644 --- a/runtime/src/accounts_db.rs +++ b/runtime/src/accounts_db.rs @@ -12580,7 +12580,7 @@ pub mod tests { let expected_account_hash = if cfg!(debug_assertions) { Hash::from_str("6qtBXmRrLdTdAV5bK6bZZJxQA4fPSUBxzQGq2BQSat25").unwrap() } else { - Hash::from_str("6qtBXmRrLdTdAV5bK6bZZJxQA4fPSUBxzQGq2BQSat25").unwrap() + Hash::from_str("6qtBXmRrLdTdAV5bK6bZZJxQA4fPSUBxzQGq2BQSat25").expect("suppress cippy") }; assert_eq!( diff --git a/zk-token-sdk/src/zk_token_proof_instruction.rs b/zk-token-sdk/src/zk_token_proof_instruction.rs index 21d1dae975562d..b3745c2382005f 100644 --- a/zk-token-sdk/src/zk_token_proof_instruction.rs +++ b/zk-token-sdk/src/zk_token_proof_instruction.rs @@ -1,4 +1,4 @@ -///! Instructions provided by the ZkToken Proof program +//! Instructions provided by the ZkToken Proof program pub use crate::instruction::*; use { bytemuck::bytes_of,