-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
questionFurther information is requestedFurther information is requested
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
typechecksection 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 running golang-ci on my repo I get this error:
buildir: failed to load package : could not load export data: no export data for "github.com/opentracing/opentracing-go"
Version of golangci-lint
golangci-lint has version 1.60.3 built with go1.23.0 from c2e095c0 on 2024-08-22T21:51:56ZConfiguration
run -vGo environment
go version go1.23.0 linux/amd64
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/root/.cache/go-build'
GOENV='/root/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/go'
GOPRIVATE=''
GOPROXY='https://proxy.golang.org,direct'
GOROOT='/usr/local/go'
GOSUMDB='sum.golang.org'
GOTMPDIR=''
GOTOOLCHAIN='auto'
GOTOOLDIR='/usr/local/go/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.23.0'
GODEBUG=''
GOTELEMETRY='local'
GOTELEMETRYDIR='/root/.config/go/telemetry'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/app/go.mod'
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 -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2041462833=/tmp/go-build -gno-record-gcc-switches'Verbose output of running
INFO golangci-lint has version 1.60.3 built with go1.23.0 from c2e095c0 on 2024-08-22T21:51:56Z
INFO [config_reader] Config search paths: [./ /app / /root]
INFO [lintersdb] Active 6 linters: [errcheck gosimple govet ineffassign staticcheck unused]
INFO [loader] Go packages loading at mode 575 (files|types_sizes|compiled_files|deps|exports_file|imports|name) took 125.754568ms
INFO [runner/filename_unadjuster] Pre-built 0 adjustments in 846.945µs
INFO [linters_context/goanalysis] analyzers took 9.946260839s with top 10 stages: buildir: 7.895978784s, inspect: 491.706682ms, fact_deprecated: 380.288684ms, ctrlflow: 279.332673ms, printf: 256.293004ms, fact_purity: 159.184049ms, nilness: 142.694695ms, SA5012: 119.166802ms, tokenfileanalyzer: 118.298572ms, typedness: 100.775653ms
WARN [runner] Can't run linter goanalysis_metalinter: buildir: failed to load package : could not load export data: no export data for "github.com/opentracing/opentracing-go"
INFO [runner] processing took 2.2µs with stages: max_same_issues: 440ns, autogenerated_exclude: 330ns, skip_dirs: 130ns, skip_files: 130ns, nolint: 120ns, invalid_issue: 120ns, source_code: 110ns, cgo: 110ns, filename_unadjuster: 110ns, max_from_linter: 110ns, identifier_marker: 100ns, exclude-rules: 40ns, diff: 40ns, uniq_by_line: 40ns, severity-rules: 40ns, exclude: 40ns, fixer: 40ns, sort_results: 30ns, path_prefixer: 30ns, max_per_file_from_linter: 30ns, path_shortener: 30ns, path_prettifier: 30ns
INFO [runner] linters took 2.307509863s with stages: goanalysis_metalinter: 2.307481223s
ERRO Running error: can't run linter goanalysis_metalinter
buildir: failed to load package : could not load export data: no export data for "github.com/opentracing/opentracing-go"
INFO Memory: 26 samples, avg is 394.4MB, max is 617.1MB
INFO Execution took 2.436832859s A minimal reproducible example or link to a public repository
[Repo](https://git.foobar.vip/benni347/service-list/-/tree/develop?ref_type=heads)
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
questionFurther information is requestedFurther information is requested