Closed aminvakil closed 2 years ago
I'm not sure if this is a new bug or same as before:
level=info msg="[config_reader] Used config file .golangci.yml"
level=info msg="[lintersdb] Active 51 linters: [asciicheck bodyclose deadcode depguard dogsled dupl durationcheck errcheck errname errorlint exhaustive exportloopref funlen gci gocognit goconst gocritic gocyclo goerr113 gofmt goimports gomnd gomoddirectives goprintffuncname gosec gosimple govet ifshort importas ineffassign makezero misspell nakedret nilerr nolintlint prealloc predeclared promlinter revive rowserrcheck staticcheck structcheck stylecheck typecheck unconvert unparam unused varcheck wastedassign whitespace wrapcheck]"
level=info msg="[loader] Go packages loading at mode 575 (compiled_files|deps|exports_file|files|name|imports|types_sizes) took 8.508075515s"
level=info msg="[runner/filename_unadjuster] Pre-built 0 adjustments in 19.822682ms"
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 1m3.172071124s with top 10 stages: gocritic: 19.814275267s, buildir: 10.196756192s, the_only_name: 3.616494803s, dupl: 3.426215957s, wastedassign: 2.898769796s, buildssa: 2.399264265s, unconvert: 1.995833248s, goimports: 1.123674394s, exhaustive: 682.81867ms, gosec: 674.555751ms"
level=info msg="[runner/skip dirs] Skipped 336 issues from dir mocks by pattern mocks"
pkg/container/client.go:170:18: ioutilDeprecated: ioutil.ReadAll is deprecated, use io.ReadAll instead (gocritic)
output, err := ioutil.ReadAll(attachRes.Reader)
^
cmd/main.go:244:19: ioutilDeprecated: ioutil.ReadFile is deprecated, use os.ReadFile instead (gocritic)
caCert, err = ioutil.ReadFile(caCertFlag)
^
level=info msg="[runner] Issues before processing: 575, after processing: 2"
level=info msg="[runner] Processors filtering stat (out/in): diff: 2/2, path_shortener: 2/2, severity-rules: 2/2, filename_unadjuster: 575/575, autogenerated_exclude: 200/239, nolint: 2/119, max_from_linter: 2/2, source_code: 2/2, path_prefixer: 2/2, sort_results: 2/2, exclude: 200/200, uniq_by_line: 2/2, max_same_issues: 2/2, cgo: 575/575, path_prettifier: 575/575, skip_files: 575/575, skip_dirs: 239/575, identifier_marker: 200/200, exclude-rules: 119/200, max_per_file_from_linter: 2/2"
level=info msg="[runner] processing took 24.34195ms with stages: nolint: 10.536835ms, exclude-rules: 6.651259ms, identifier_marker: 4.408073ms, path_prettifier: 1.169493ms, autogenerated_exclude: 791.795µs, exclude: 327.298µs, skip_dirs: 217.899µs, source_code: 101.999µs, cgo: 87.2µs, filename_unadjuster: 38.599µs, max_same_issues: 3.3µs, uniq_by_line: 2.8µs, path_shortener: 1.5µs, max_from_linter: 1.3µs, max_per_file_from_linter: 900ns, diff: 600ns, sort_results: 400ns, severity-rules: 300ns, path_prefixer: 200ns, skip_files: 200ns"
level=info msg="[runner] linters took 19.960413291s with stages: goanalysis_metalinter: 19.935884542s"
level=info msg="File cache stats: 62 entries of total size 364.9KiB"
level=info msg="Memory: 286 samples, avg is 335.6MB, max is 691.0MB"
level=info msg="Execution took 28.497475435s"
make: *** [Makefile:132: lint] Error 1
https://github.com/aminvakil/aur/runs/4409658007?check_suite_focus=true#step:11:113
Executing
make
on 0.9.0 fails here:More log: https://github.com/aminvakil/aur/runs/4264067009?check_suite_focus=true