libproc-rs icon indicating copy to clipboard operation
libproc-rs copied to clipboard

grcov crashes on macos 15, stable

Open andrewdavidmackenzie opened this issue 6 months ago • 0 comments

Run grcov . --binary-path target/debug/ -s . -t lcov --branch --ignore-not-existing --ignore "/*" -o coverage.info || true Error: 5 [ERROR] A panic occurred at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/grcov-0.10.0/src/llvm_tools.rs:95: called Result::unwrap() on an Err value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" } Error: 5 [ERROR] A panic occurred at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/grcov-0.10.0/src/llvm_tools.rs:95: called Result::unwrap() on an Err value: Os { code: 13, kind: PermissionDenied, message: "Permission denied" } Error: 5 [ERROR] A panic occurred at /Users/runner/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/ignore-0.4.23/src/walk.rs:1301: called Result::unwrap() on an Err value: Any { .. }

Issue reported to grcov here

Workaround done here to force it to pass even if coverage upload fails.

andrewdavidmackenzie avatar May 26 '25 17:05 andrewdavidmackenzie