Skip to content

grcov crashes on macos 15, stable #162

@andrewdavidmackenzie

Description

@andrewdavidmackenzie

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions