diff --git a/.github/workflows/master_fuzzer_binaries.yml b/.github/workflows/master_fuzzer_binaries.yml index 774b9c7bd5f..f5b961b9609 100644 --- a/.github/workflows/master_fuzzer_binaries.yml +++ b/.github/workflows/master_fuzzer_binaries.yml @@ -50,5 +50,5 @@ jobs: - name: "Compile fuzzers and upload to GCS" run: | NAME="nearcore-${{ github.ref_name }}-$(env TZ=Etc/UTC date +"%Y%m%d%H%M%S")" - RUSTFLAGS="-A warnings --cfg fuzz" cargo +nightly bolero build-clusterfuzz --all-features --profile fuzz + RUSTFLAGS="--cfg fuzz" cargo +nightly bolero build-clusterfuzz --all-features --profile fuzz gsutil cp -Z target/fuzz/clusterfuzz.tar "gs://fuzzer_targets/${{ github.ref_name }}/$NAME.tar.gz" diff --git a/.github/workflows/ondemand_fuzzer_binaries.yml b/.github/workflows/ondemand_fuzzer_binaries.yml index a9a5bc09881..9d8a350ab71 100644 --- a/.github/workflows/ondemand_fuzzer_binaries.yml +++ b/.github/workflows/ondemand_fuzzer_binaries.yml @@ -86,5 +86,5 @@ jobs: - name: "Compile fuzzers and upload to GCS" run: | NAME="nearcore-$branch_type-$(env TZ=Etc/UTC date +"%Y%m%d%H%M%S")" - RUSTFLAGS="-A warnings --cfg fuzz" cargo +nightly bolero build-clusterfuzz --all-features --profile fuzz + RUSTFLAGS="--cfg fuzz" cargo +nightly bolero build-clusterfuzz --all-features --profile fuzz gsutil cp -Z target/fuzz/clusterfuzz.tar "gs://fuzzer_targets/$branch_type/$NAME.tar.gz" diff --git a/Cargo.toml b/Cargo.toml index 0d5ef704436..4903bdfad4b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -97,6 +97,9 @@ members = [ [workspace.lints.rust] warnings = "deny" +[workspace.profile.fuzz.lints.rust] +warnings = { level = "allow", priority = 10 } + [workspace.lints.clippy] all = { level = "allow", priority = -100 } correctness = { level = "deny", priority = -50 } diff --git a/runtime/near-vm/compiler-test-derive/src/lib.rs b/runtime/near-vm/compiler-test-derive/src/lib.rs index 16b6979e304..c1961e24d1d 100644 --- a/runtime/near-vm/compiler-test-derive/src/lib.rs +++ b/runtime/near-vm/compiler-test-derive/src/lib.rs @@ -1,7 +1,6 @@ use proc_macro::TokenStream; use quote::quote; use std::path::PathBuf; -use syn::parse; use syn::*; mod ignores;