-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed as duplicate
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists
Description
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
How did you install golangci-lint?
go install
Description of the problem
Any golanglint-ci methods through go install
fail because https://github.com/tdakkota/asciicheck doesn't exist anymore
Version of golangci-lint
go install github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest
Configuration
None
Go environment
$ go version && go env
go version go1.25.1 linux/amd64
AR='ar'
CC='gcc'
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_ENABLED='1'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
CXX='g++'
GCCGO='gccgo'
GO111MODULE=''
GOAMD64='v1'
GOARCH='amd64'
GOAUTH='netrc'
GOBIN='/home/signed/.local/share/mise/installs/go/1.25.1/bin'
GOCACHE='/home/signed/.cache/go-build'
GOCACHEPROG=''
GODEBUG=''
GOENV='/home/signed/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFIPS140='off'
GOFLAGS=''
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build1473677489=/tmp/go-build -gno-record-gcc-switches'
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMOD='/home/signed/dev/go/go.mod'
GOMODCACHE='/home/signed/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/signed/go'
GOPRIVATE=''
GOPROXY='direct'
GOROOT='/home/signed/.local/share/mise/installs/go/1.25.1'
GOSUMDB='sum.golang.org'
GOTELEMETRY='local'
GOTELEMETRYDIR='/home/signed/.config/go/telemetry'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/home/signed/.local/share/mise/installs/go/1.25.1/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.25.1'
GOWORK=''
PKG_CONFIG='pkg-config'
Verbose logs of install
Prek (a pre-commit rewrite in Rust) output:
Failed to install hook `golangci-lint-full`
caused by: command `go install` exited with an error:
[status]
exit status: 1
[stderr]
go: downloading github.com/tdakkota/asciicheck v0.4.1
pkg/golinters/asciicheck/asciicheck.go:4:2: reading github.com/tdakkota/asciicheck/go.mod at revision v0.4.1: git ls-remote -q origin in /home/signed/go/pkg/mod/cache/vcs/e91413ff76cb95901df8e2d834855d07c617befa58b5014bc6cd6fd1148034dd: exit status 128:
remote: Repository not found.
fatal: repository 'https://github.com/tdakkota/asciicheck/' not found
VSCode go install:
Installing github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest FAILED
2025-09-09 11:27:12.852 [info] {
"code": 1,
"killed": false,
"signal": null,
"cmd": "/home/signed/.local/share/mise/shims/go install -v github.com/golangci/golangci-lint/v2/cmd/golangci-lint@latest",
"stdout": "",
"stderr": "go: downloading github.com/tdakkota/asciicheck v0.4.1\n../../go/pkg/mod/github.com/golangci/golangci-lint/[email protected]/pkg/golinters/asciicheck/asciicheck.go:4:2: reading github.com/tdakkota/asciicheck/go.mod at revision v0.4.1: git ls-remote -q origin in /home/signed/go/pkg/mod/cache/vcs/e91413ff76cb95901df8e2d834855d07c617befa58b5014bc6cd6fd1148034dd: exit status 128:\n\tfatal: could not read Username for 'https://github.com': terminal prompts disabled\nConfirm the import path was entered correctly.\nIf this is a private repository, see https://golang.org/doc/faq#git_https for additional information.\n"
}
A minimal reproducible example or link to a public repository
None
Validation
- Yes, I've included all information above (version, config, etc.).
Supporter
- I am a sponsor/backer through GitHub or OpenCollective
Metadata
Metadata
Assignees
Labels
duplicateThis issue or pull request already existsThis issue or pull request already exists