Skip to content

golangci-lint shows "killed" immediately  #5042

@tzookb

Description

@tzookb

Welcome

  • Yes, I'm using a binary release within 2 latest releases. Only such installations are supported.
  • Yes, I've searched similar issues on GitHub and didn't find any.
  • Yes, I've read the typecheck section of the FAQ.
  • Yes, I've tried with the standalone linter if available (e.g., gocritic, go vet, etc.).
  • I agree to follow this project's Code of Conduct

Description of the problem

when I try to run any command for "golangci-lint"
like:

golangci-lint
golangci-lint run .
golangci-lint version
etc...

it shows:

[1]    18319 killed     golangci-lint --version

Version of golangci-lint

$ golangci-lint --version
1.61.0

I cant dump the full content, I just know its the version.

Configuration

# paste configuration file or CLI flags here

Go environment

$ go version && go env

go version go1.21.0 darwin/arm64
GO111MODULE='on'
GOARCH='arm64'
GOBIN='/xxxxxxx/build-support/go/bin'
GOCACHE='/Users/tzookb/Library/Caches/go-build'
GOENV='/Users/tzookb/Library/Application Support/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS='-modcacherw'
GOHOSTARCH='arm64'
GOHOSTOS='darwin'
GOINSECURE=''
GOMODCACHE='/xxxxxxx/build-support/go/pkg/mod'
GONOPROXY=''
GONOSUMDB='*'
GOOS='darwin'
GOPATH='/xxxxxxx/build-support/go'
GOPRIVATE=''
GOPROXY='https://xxxxxxxx@artifacts.zzzzzz.net/repository/go'
GOROOT='/xxxxxxx/build-support/go/sdk'
GOSUMDB='off'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/xxxxxxx/build-support/go/sdk/pkg/tool/darwin_arm64'
GOVCS=''
GOVERSION='go1.21.0'
GCCGO='gccgo'
AR='ar'
CC='clang'
CXX='clang++'
CGO_ENABLED='1'
GOMOD='/dev/null'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -arch arm64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -ffile-prefix-map=/var/folders/4c/xxxxxx/T/go-build2617350968=/tmp/go-build -gno-record-gcc-switches -fno-common'

Verbose output of running

$ golangci-lint cache clean
$ golangci-lint run -v

[1]    29434 killed     golangci-lint cache clean

A minimal reproducible example or link to a public repository

/not even checking the code

Validation

  • Yes, I've included all information above (version, config, etc.).

Supporter

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform: macosIssue that is related to MacOSquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions