Skip to content

grcov 0.8.19 panics with "Option::unwrap() on a None value" on Windows #1190

@trend-shane-bishop

Description

@trend-shane-bishop

I am using grcov 0.8.19 on Windows Server 2022 x86_64. When I run the following command from Git Bash, I get a panic:

grcov . --binary-path target/debug/deps/ \
    -s . \
    -t covdir \
    --branch \
    --ignore-not-existing \
    --ignore '../*' --ignore '/*' \
    -o covdir-coverage.json

The panic:

21:12:37 [ERROR] A panic occurred at C:\Windows\system32\config\systemprofile.cargo\registry\src\index.crates.io-6f17d22bba15001f\grcov-0.8.19\src\output.rs:216: called Option::unwrap() on a None value

It appears that the panic is from this line.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions