You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please include the following information:
running golangci-lint run fails with "Killed" message after 40 seconds.
Notice that this works when pinning to release v1.18.0.
Version of golangci-lint: golangci-lint --version (or git commit if you don't use binary distribution): fails to report on go1.13 (latest go getted master at now)
golangci-lint has version v1.18.0 built from (unknown, mod sum: "h1:XmQgfcLofSG/6AsQuQqmLizB+3GggD+o6ObBG9L+VMM=")
Config file: cat .golangci.yml
root@f5a1be35fb13:~/project# cat .golangci.yml linters-settings:
govet:
check-shadowing: truegolint:
min-confidence: 0gocyclo:
min-complexity: 25maligned:
suggest-new: truedupl:
threshold: 100goconst:
min-len: 3min-occurrences: 2run:
skip-dirs:
- frontendlinters:
enable:
- golint
- gocritic
- stylecheck
- goimports
- gosec
- nakedret
- unconvert
- unparamdisable:
- maligned
- lll
- gochecknoinits
- gochecknoglobalsissues:
# false negative error caused by golang-cilint# can be removed once the issue is fixed in golangcilint# https://github:com/golangci/golangci-lint/issues/652:exclude:
- "not declared by package utf8"
- "unicode/utf8/utf8.go"
root@f5a1be35fb13:~/project# golangci-lint run -v
INFO [config_reader] Config search paths: [./ /root/project /root /]
INFO [config_reader] Used config file .golangci.yml
INFO [lintersdb] Active 18 linters: [deadcode errcheck gocritic goimports golint gosec gosimple govet ineffassign nakedret staticcheck structcheck stylecheck typecheck unconvert unparam unused varcheck]
INFO [lintersdb] Optimized sublinters [staticcheck gosimple unused stylecheck] into metalinter megacheck
INFO [loader] Go packages loading at mode 1023 (name|types|types_info|compiled_files|deps|exports_file|files|imports|syntax|types_sizes) took 3.361923086s
INFO [loader] SSA repr building timing: packages building 68.486338ms, total 697.520642ms
INFO [runner] worker.32 took 12.967µs
INFO [runner] worker.7 took 835ns
INFO [runner] worker.8 took 2.667µs
INFO [runner] worker.13 took 11.227µs
INFO [runner] worker.9 took 502ns
INFO [runner] worker.28 took 29.8µs
INFO [runner] worker.16 took 13.408µs
INFO [runner] worker.20 took 977ns
INFO [runner] worker.23 took 678ns
INFO [runner] worker.4 took 495ns
INFO [runner] worker.14 took 18.175µs
INFO [runner] worker.30 took 1.357µs
INFO [runner] worker.15 took 17.468µs
INFO [runner] worker.10 took 648ns
INFO [runner] worker.21 took 17.416µs
INFO [runner] worker.27 took 779ns
INFO [runner] worker.26 took 4.809µs
INFO [runner] worker.3 took 901ns
INFO [runner] worker.22 took 1.428µs
INFO [runner] worker.2 took 1.003µs
INFO [runner] worker.29 took 591ns
INFO [runner] worker.19 took 5.658µs
INFO [runner] worker.6 took 7.65763ms with stages: unconvert: 7.640161ms, typecheck: 3.623µs
INFO [runner] worker.1 took 8.910038ms with stages: errcheck: 8.898945ms
INFO [runner] worker.18 took 13.295328ms with stages: structcheck: 13.284892ms
INFO [runner] worker.34 took 32.415622ms with stages: deadcode: 32.402702ms
INFO [runner] worker.12 took 32.401323ms with stages: nakedret: 32.384942ms
INFO [runner] worker.25 took 49.320629ms with stages: varcheck: 49.306878ms
INFO [runner] worker.5 took 682.569249ms with stages: gocritic: 682.532482ms
INFO [runner] worker.33 took 1.306905354s with stages: ineffassign: 1.306897547s
INFO [runner] worker.24 took 1.593554015s with stages: unparam: 1.593527477s
INFO [runner] worker.36 took 2.704570718s with stages: govet: 2.704558434s
INFO [runner] worker.17 took 2.735204463s with stages: gosec: 2.735175896s
INFO [runner] worker.35 took 9.595401785s with stages: goimports: 9.595381822s
Killed
The text was updated successfully, but these errors were encountered:
Please include the following information:
running golangci-lint run fails with "Killed" message after 40 seconds.
Notice that this works when pinning to release v1.18.0.
golangci-lint --version
(or git commit if you don't use binary distribution): fails to report on go1.13 (latest go getted master at now)cat .golangci.yml
go version && go env
golangci-lint run -v
The text was updated successfully, but these errors were encountered: