>>> osv-scanner: Building community/osv-scanner 1.6.1-r5 (using abuild 3.14.1-r3) started Thu, 21 Nov 2024 13:46:58 +0000 >>> osv-scanner: Validating /home/buildozer/aports/community/osv-scanner/APKBUILD... >>> osv-scanner: Analyzing dependencies... >>> osv-scanner: Installing for build: build-base go tzdata (1/4) Installing binutils-gold (2.43.1-r1) (2/4) Installing go (1.23.3-r0) (3/4) Installing tzdata (2024b-r1) (4/4) Installing .makedepends-osv-scanner (20241121.134659) Executing busybox-1.37.0-r8.trigger OK: 455 MiB in 105 packages >>> osv-scanner: Cleaning up srcdir >>> osv-scanner: Cleaning up pkgdir >>> osv-scanner: Cleaning up tmpdir >>> osv-scanner: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/osv-scanner-1.6.1.tar.gz >>> osv-scanner: Fetching https://distfiles.alpinelinux.org/distfiles/v3.21/osv-scanner-1.6.1.tar.gz >>> osv-scanner: Checking sha512sums... osv-scanner-1.6.1.tar.gz: OK >>> osv-scanner: Unpacking /var/cache/distfiles/v3.21/osv-scanner-1.6.1.tar.gz... go: downloading golang.org/x/term v0.16.0 go: downloading deps.dev/api/v3alpha v0.0.0-20240109042716-00b51ef52ece go: downloading github.com/go-git/go-git/v5 v5.11.0 go: downloading golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 go: downloading github.com/urfave/cli/v2 v2.27.1 go: downloading golang.org/x/sync v0.6.0 go: downloading github.com/go-git/go-billy/v5 v5.5.0 go: downloading github.com/ianlancetaylor/demangle v0.0.0-20231023195312-e2daf7ba7156 go: downloading golang.org/x/vuln v1.0.1 go: downloading github.com/CycloneDX/cyclonedx-go v0.8.0 go: downloading github.com/spdx/tools-golang v0.5.3 go: downloading github.com/jedib0t/go-pretty/v6 v6.5.3 go: downloading github.com/pandatix/go-cvss v0.6.2 go: downloading github.com/owenrumney/go-sarif/v2 v2.3.0 go: downloading github.com/package-url/packageurl-go v0.1.2 go: downloading github.com/BurntSushi/toml v1.3.2 go: downloading google.golang.org/grpc v1.60.1 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading golang.org/x/mod v0.14.0 go: downloading golang.org/x/sys v0.16.0 go: downloading github.com/cyphar/filepath-securejoin v0.2.4 go: downloading github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 go: downloading github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 go: downloading dario.cat/mergo v1.0.0 go: downloading github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c go: downloading github.com/sergi/go-diff v1.3.1 go: downloading github.com/emirpasic/gods v1.18.1 go: downloading github.com/pjbgf/sha1cd v0.3.0 go: downloading github.com/kevinburke/ssh_config v1.2.0 go: downloading github.com/xanzy/ssh-agent v0.3.3 go: downloading golang.org/x/net v0.20.0 go: downloading golang.org/x/crypto v0.18.0 go: downloading github.com/skeema/knownhosts v1.2.1 go: downloading github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da go: downloading golang.org/x/tools v0.17.0 go: downloading github.com/golang/protobuf v1.5.3 go: downloading google.golang.org/protobuf v1.31.0 go: downloading github.com/mattn/go-runewidth v0.0.15 go: downloading github.com/anchore/go-struct-converter v0.0.0-20230627203149-c72ef8859ca9 go: downloading github.com/spdx/gordf v0.0.0-20221230105357-b735bd5aac89 go: downloading github.com/rivo/uniseg v0.4.4 go: downloading gopkg.in/warnings.v0 v0.1.2 go: downloading github.com/cloudflare/circl v1.3.7 go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.2 go: downloading github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 go: downloading github.com/russross/blackfriday/v2 v2.1.0 go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20231002182017-d307bd883b97 go: downloading golang.org/x/text v0.14.0 go: downloading github.com/hexops/gotextdiff v1.0.3 go: downloading github.com/google/go-cmp v0.6.0 ? github.com/google/osv-scanner/internal/cachedregexp [no test files] ? github.com/google/osv-scanner/internal/sourceanalysis/govulncheck [no test files] ? github.com/google/osv-scanner/internal/testutility [no test files] ? github.com/google/osv-scanner/internal/thirdparty/ar [no test files] ? github.com/google/osv-scanner/internal/utility/results [no test files] ? github.com/google/osv-scanner/internal/version [no test files] ? github.com/google/osv-scanner/pkg/depsdev [no test files] ? github.com/google/osv-scanner/pkg/osv [no test files] ok github.com/google/osv-scanner/cmd/osv-reporter 0.050s ok github.com/google/osv-scanner/internal/ci 0.034s ok github.com/google/osv-scanner/internal/local 0.047s ok github.com/google/osv-scanner/internal/output 0.042s ok github.com/google/osv-scanner/internal/sbom 0.034s ok github.com/google/osv-scanner/internal/semantic 0.376s panic: Cannot range over: func(yield func(E) bool) goroutine 1758 [running]: golang.org/x/tools/go/ssa.(*builder).rangeStmt(0xb780000, 0x887ec48, 0x4d3e8d0, 0x0) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2281 +0x938 golang.org/x/tools/go/ssa.(*builder).stmt(0xb780000, 0x887ec48, {0x11162d4, 0x4d3e8d0}) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2505 +0xb2c golang.org/x/tools/go/ssa.(*builder).stmtList(...) golang.org/x/tools@v0.17.0/go/ssa/builder.go:910 golang.org/x/tools/go/ssa.(*builder).stmt(0xb780000, 0x887ec48, {0x1116244, 0x4d19248}) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2467 +0x1234 golang.org/x/tools/go/ssa.(*builder).buildFromSyntax(0xb780000, 0x887ec48) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2579 +0x268 golang.org/x/tools/go/ssa.(*builder).buildFunction(0xb780000, 0x887ec48) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2533 +0x140 golang.org/x/tools/go/ssa.(*builder).iterate(0xb780000) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2521 +0x2c golang.org/x/tools/go/ssa.(*Package).build(0x53284b0) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2650 +0xd4 sync.(*Once).doSlow(0x53284c8, 0x2eb0fd8) sync/once.go:76 +0xb0 sync.(*Once).Do(0x53284c8, 0x2eb0fd8) sync/once.go:67 +0x40 golang.org/x/tools/go/ssa.(*Package).Build(...) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2639 golang.org/x/tools/go/ssa.(*Program).Build.func1(0x53284b0) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2622 +0x48 created by golang.org/x/tools/go/ssa.(*Program).Build in goroutine 1547 golang.org/x/tools@v0.17.0/go/ssa/builder.go:2621 +0x188 FAIL github.com/google/osv-scanner/internal/sourceanalysis 1.627s ok github.com/google/osv-scanner/internal/url 0.020s ok github.com/google/osv-scanner/internal/utility/vulns 0.024s ok github.com/google/osv-scanner/pkg/config 0.034s ok github.com/google/osv-scanner/pkg/grouper 0.030s ok github.com/google/osv-scanner/pkg/lockfile 0.065s ok github.com/google/osv-scanner/pkg/models 0.033s ok github.com/google/osv-scanner/pkg/osvscanner 0.087s ok github.com/google/osv-scanner/pkg/reporter 0.024s ok github.com/google/osv-scanner/pkg/spdx 0.028s FAIL >>> ERROR: osv-scanner: check failed >>> osv-scanner: Uninstalling dependencies... (1/4) Purging .makedepends-osv-scanner (20241121.134659) (2/4) Purging go (1.23.3-r0) (3/4) Purging binutils-gold (2.43.1-r1) (4/4) Purging tzdata (2024b-r1) Executing busybox-1.37.0-r8.trigger OK: 271 MiB in 101 packages