Skip to content

Code Coverge Combined #4412

@bakjos

Description

@bakjos

When using version 0.56.0 running the bazel coverage command returns the following error:

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
panic: runtime error: index out of range [0] with length 0

goroutine 1 [running]:
main.instrumentForCoverage(0xc000098140, {0x7ffd14866c22, 0x44}, {0x65ea54, 0x5}, {0x0, 0x0, 0xffffffff0005a6c0?}, {0xc0000000d8, 0x15}, ...)
	./cover.go:50 +0x7a5
main.compileArchive(_, {_, _}, {_, _}, {{0xc0000a2500, 0x1, 0x2}, {0x0, 0x0, ...}, ...}, ...)
	./compilepkg.go:316 +0x1945
main.compilePkg({0xc000014e28?, 0x7ffd148668c2?, 0x36?})
	./compilepkg.go:107 +0x14f9
main.main()
	./builder.go:75 +0x4c2

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