>>> osv-scanner: Building community/osv-scanner 1.6.1-r5 (using abuild 3.14.1-r3) started Fri, 22 Nov 2024 00:30:04 +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/3) Installing go (1.23.3-r0) (2/3) Installing tzdata (2024b-r1) (3/3) Installing .makedepends-osv-scanner (20241122.003006) Executing busybox-1.37.0-r8.trigger OK: 574 MiB in 103 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 github.com/go-git/go-git/v5 v5.11.0 go: downloading github.com/package-url/packageurl-go v0.1.2 go: downloading github.com/go-git/go-billy/v5 v5.5.0 go: downloading deps.dev/api/v3alpha v0.0.0-20240109042716-00b51ef52ece go: downloading golang.org/x/sync v0.6.0 go: downloading github.com/jedib0t/go-pretty/v6 v6.5.3 go: downloading google.golang.org/grpc v1.60.1 go: downloading github.com/urfave/cli/v2 v2.27.1 go: downloading github.com/owenrumney/go-sarif/v2 v2.3.0 go: downloading github.com/pandatix/go-cvss v0.6.2 go: downloading golang.org/x/term v0.16.0 go: downloading golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 go: downloading github.com/ianlancetaylor/demangle v0.0.0-20231023195312-e2daf7ba7156 go: downloading golang.org/x/vuln v1.0.1 go: downloading github.com/BurntSushi/toml v1.3.2 go: downloading github.com/CycloneDX/cyclonedx-go v0.8.0 go: downloading github.com/spdx/tools-golang v0.5.3 go: downloading golang.org/x/mod v0.14.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading golang.org/x/sys v0.16.0 go: downloading github.com/cyphar/filepath-securejoin v0.2.4 go: downloading google.golang.org/protobuf v1.31.0 go: downloading golang.org/x/tools v0.17.0 go: downloading github.com/golang/protobuf v1.5.3 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 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/sergi/go-diff v1.3.1 go: downloading github.com/ProtonMail/go-crypto v0.0.0-20230923063757-afb1ddc0824c 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/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da go: downloading golang.org/x/crypto v0.18.0 go: downloading golang.org/x/net v0.20.0 go: downloading github.com/skeema/knownhosts v1.2.1 go: downloading github.com/xanzy/ssh-agent v0.3.3 go: downloading github.com/cloudflare/circl v1.3.7 go: downloading gopkg.in/warnings.v0 v0.1.2 go: downloading github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.2 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/google/go-cmp v0.6.0 go: downloading github.com/hexops/gotextdiff v1.0.3 ? 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.011s ok github.com/google/osv-scanner/internal/ci 0.011s ok github.com/google/osv-scanner/internal/local 0.019s ok github.com/google/osv-scanner/internal/output 0.011s ok github.com/google/osv-scanner/internal/sbom 0.009s ok github.com/google/osv-scanner/internal/semantic 0.611s panic: Cannot range over: func(yield func(E) bool) goroutine 1648 [running]: golang.org/x/tools/go/ssa.(*builder).rangeStmt(0x5e3df0f8, 0x5d5eeee8, 0x59cfcd80, 0x0) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2281 +0x91c golang.org/x/tools/go/ssa.(*builder).stmt(0x5e3df0f8, 0x5d5eeee8, {0x56ea3b94, 0x59cfcd80}) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2505 +0xb16 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(0x5e3df0f8, 0x5d5eeee8, {0x56ea3b04, 0x593f5260}) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2467 +0x11c9 golang.org/x/tools/go/ssa.(*builder).buildFromSyntax(0x5e3df0f8, 0x5d5eeee8) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2579 +0x23f golang.org/x/tools/go/ssa.(*builder).buildFunction(0x5e3df0f8, 0x5d5eeee8) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2533 +0x14b golang.org/x/tools/go/ssa.(*builder).iterate(0x5e3df0f8) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2521 +0x2d golang.org/x/tools/go/ssa.(*Package).build(0x58f48c80) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2650 +0xd8 sync.(*Once).doSlow(0x58f48c98, 0x5846b7d8) sync/once.go:76 +0xa9 sync.(*Once).Do(0x58f48c98, 0x5846b7d8) 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(0x58f48c80) golang.org/x/tools@v0.17.0/go/ssa/builder.go:2622 +0x4a created by golang.org/x/tools/go/ssa.(*Program).Build in goroutine 1541 golang.org/x/tools@v0.17.0/go/ssa/builder.go:2621 +0x18b FAIL github.com/google/osv-scanner/internal/sourceanalysis 2.562s ok github.com/google/osv-scanner/internal/url 0.004s ok github.com/google/osv-scanner/internal/utility/vulns 0.006s ok github.com/google/osv-scanner/pkg/config 0.007s ok github.com/google/osv-scanner/pkg/grouper 0.006s ok github.com/google/osv-scanner/pkg/lockfile 0.040s ok github.com/google/osv-scanner/pkg/models 0.007s ok github.com/google/osv-scanner/pkg/osvscanner 0.046s ok github.com/google/osv-scanner/pkg/reporter 0.003s ok github.com/google/osv-scanner/pkg/spdx 0.003s FAIL >>> ERROR: osv-scanner: check failed >>> osv-scanner: Uninstalling dependencies... (1/3) Purging .makedepends-osv-scanner (20241122.003006) (2/3) Purging go (1.23.3-r0) (3/3) Purging tzdata (2024b-r1) Executing busybox-1.37.0-r8.trigger OK: 396 MiB in 100 packages