rust-fuzz / honggfuzz-rs

Fuzz your Rust code with Google-developed Honggfuzz !
https://crates.io/crates/honggfuzz
Apache License 2.0
448 stars 40 forks source link

0.5.50 always fails build #44

Closed TheBlueMatt closed 3 years ago

TheBlueMatt commented 3 years ago

As of the update today, it seems our fuzzers always fail to build. See CI run here: https://github.com/rust-bitcoin/rust-lightning/pull/688/checks?check_run_id=1104734709, or local logs:

matt@cdev1:~/Documents/Projects/Bitcoin/rust-lightning-2/fuzz$ export PATH=$PATH:/home/matt/.cargo/bin
matt@cdev1:~/Documents/Projects/Bitcoin/rust-lightning-2/fuzz$ HFUZZ_BUILD_ARGS="--features honggfuzz_fuzz" cargo hfuzz build
/usr/bin/ld.gold
   Compiling honggfuzz v0.5.50
   Compiling secp256k1-sys v0.2.0
error: failed to run custom build command for `honggfuzz v0.5.50`

Caused by:
  process didn't exit successfully: `/home/matt/Documents/Projects/Bitcoin/rust-lightning-2/fuzz/hfuzz_target/release/build/honggfuzz-9a99ce2b93b654e1/build-script-build` (exit code: 101)
--- stderr
make: *** honggfuzz: No such file or directory.  Stop.
thread 'main' panicked at 'assertion failed: status.success()', /home/matt/.cargo/registry/src/github.com-1ecc6299db9ec823/honggfuzz-0.5.50/build.rs:38:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

warning: build failed, waiting for other jobs to finish...
error: build failed