Whitelist syscalls #87
Open
Cirrus CI / Go Lint New
failed
Nov 11, 2024 in 33s
Task Summary
Instruction lint failed in 00:25
Details
✅ 00:00 clone
✅ 00:05 fetch
❌ 00:25 lint
golangci-lint run --enable-all --disable exhaustivestruct,exhaustruct,gochecknoglobals,gochecknoinits,interfacebloat,nosnakecase $GOLANGCI_ARGS -v --out-format json > lint-report.json
level=info msg="golangci-lint has version 1.62.0 built with go1.23.2 from 22b58c9b on 2024-11-10T19:09:02Z"
level=info msg="[config_reader] Config search paths: [./ /tmp/cirrus-ci-build /tmp / /root]"
level=warning msg="[lintersdb] The linter \"exhaustivestruct\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle"
level=warning msg="[lintersdb] The linter \"nosnakecase\" is deprecated (step 2) and deactivated. It should be removed from the list of disabled linters. https://golangci-lint.run/product/roadmap/#linter-deprecation-cycle"
level=warning msg="The linter 'exportloopref' is deprecated (since v1.60.2) due to: Since Go1.22 (loopvar) this linter is no longer relevant. Replaced by copyloopvar."
level=info msg="[lintersdb] Active 104 linters: [asasalint asciicheck bidichk bodyclose canonicalheader containedctx contextcheck copyloopvar cyclop decorder depguard dogsled dupl dupword durationcheck err113 errcheck errchkjson errname errorlint exhaustive exportloopref fatcontext forbidigo forcetypeassert funlen gci ginkgolinter gocheckcompilerdirectives gochecksumtype gocognit goconst gocritic gocyclo godot godox gofmt gofumpt goheader goimports gomoddirectives gomodguard goprintffuncname gosec gosimple gosmopolitan govet grouper iface importas inamedparam ineffassign intrange ireturn lll loggercheck maintidx makezero mirror misspell mnd musttag nakedret nestif nilerr nilnil nlreturn noctx nolintlint nonamedreturns nosprintfhostport paralleltest perfsprint prealloc predeclared promlinter protogetter reassign recvcheck revive rowserrcheck sloglint spancheck sqlclosecheck staticcheck stylecheck tagalign tagliatelle tenv testableexamples testifylint testpackage thelper tparallel unconvert unparam unused usestdlibvars varnamelen wastedassign whitespace wrapcheck wsl zerologlint]"
level=info msg="[loader] Go packages loading at mode 8767 (types_sizes|exports_file|files|imports|compiled_files|deps|name) took 17.93626572s"
level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 1.193039ms"
level=info msg="[linters_context] importas settings found, but no aliases listed. List aliases under alias: key."
level=info msg="[linters_context/goanalysis] analyzers took 42.450688552s with top 10 stages: buildir: 22.567075229s, buildssa: 7.992714657s, exhaustive: 3.671851994s, printf: 1.339278327s, ctrlflow: 1.285495168s, inspect: 1.030594139s, the_only_name: 889.476785ms, fact_deprecated: 848.794119ms, contextcheck: 801.915939ms, nilness: 569.428929ms"
level=info msg="[runner] Issues before processing: 602, after processing: 2"
level=info msg="[runner] Processors filtering stat (in/out): invalid_issue: 602/578, path_prettifier: 578/578, identifier_marker: 578/578, exclude: 578/578, max_per_file_from_linter: 2/2, max_from_linter: 2/2, severity-rules: 2/2, sort_results: 2/2, filename_unadjuster: 602/602, skip_dirs: 578/578, autogenerated_exclude: 578/578, nolint: 578/578, max_same_issues: 2/2, source_code: 2/2, path_shortener: 2/2, fixer: 2/2, uniq_by_line: 578/2, path_prefixer: 2/2, cgo: 602/602, skip_files: 578/578, exclude-rules: 578/578, diff: 2/2"
level=info msg="[runner] processing took 51.699795ms with stages: identifier_marker: 43.016174ms, diff: 8.352371ms, path_prettifier: 130.429µs, source_code: 58.57µs, nolint: 24.37µs, uniq_by_line: 17.43µs, cgo: 16.71µs, filename_unadjuster: 16.14µs, exclude-rules: 15.72µs, invalid_issue: 15.46µs, skip_dirs: 14.311µs, autogenerated_exclude: 13.73µs, max_same_issues: 3.15µs, path_shortener: 1.69µs, max_per_file_from_linter: 1µs, max_from_linter: 990ns, fixer: 410ns, exclude: 350ns, sort_results: 280ns, skip_files: 260ns, path_prefixer: 130ns, severity-rules: 120ns"
level=info msg="[runner] linters took 7.630544136s with stages: goanalysis_metalinter: 7.578728742s"
level=info msg="File cache stats: 2 entries of total size 23.6KiB"
level=info msg="Memory: 256 samples, avg is 124.9MB, max is 469.7MB"
level=info msg="Execution took 25.578578723s"
�������������
Annotations
Check failure on line 27 in main.go
cirrus-ci / Go Lint New
main.go#L27
could not import C (cgo preprocessing failed) (typecheck)
Check failure on line 57 in main.go
cirrus-ci / Go Lint New
main.go#L57
could not import github.com/seccomp/libseccomp-golang (-: # github.com/seccomp/libseccomp-golang
# [pkg-config --cflags -- libseccomp]
Package libseccomp was not found in the pkg-config search path.
Perhaps you should add the directory containing `libseccomp.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libseccomp', required by 'virtual:world', not found) (typecheck)
Loading