test (ubuntu-latest) failure 1m 58s
Annotations 2
error
golangci-lint exit with code 3
warning
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
- Current runner version: 'v0.6.0'
- GITHUB_TOKEN Permissions
- Contents: read
- Metadata: read
- Packages: read
- Secret source: Actions
- Cache mode: write
- Prepare workflow directory
- Prepare all required actions
- Getting action download info
- Download action repository 'actions/checkout@v4' (SHA:11d5960a326750d5838078e36cf38b85af677262)
- Download action repository 'actions/setup-go@v7' (SHA:b7ad1dad31e06c5925ef5d2fc7ad053ef454303e)
- Download action repository 'golangci/golangci-lint-action@v9.3.0' (SHA:ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a)
- Complete job name: test (ubuntu-latest)
- Run actions/checkout@v4
- with:
- repository: bnema/zut
- token: ***
- ssh-strict: true
- ssh-user: git
- persist-credentials: true
- clean: true
- sparse-checkout-cone-mode: true
- fetch-depth: 1
- fetch-tags: false
- show-progress: true
- lfs: false
- submodules: false
- set-safe-directory: true
- allow-unsafe-pr-checkout: false
- Syncing repository: bnema/zut
- Getting Git version info
- Working directory is '/home/runner/work/zut/zut'
- [command]/usr/bin/git version
- git version 2.53.0
- Temporarily overriding HOME='/home/runner/work/_temp/b8c0ad2b-fe73-4093-8532-ca7227da746c' before making global git config changes
- Adding repository directory to the temporary git global config as a safe directory
- [command]/usr/bin/git config --global --add safe.directory /home/runner/work/zut/zut
- Deleting the contents of '/home/runner/work/zut/zut'
- Initializing the repository
- [command]/usr/bin/git init /home/runner/work/zut/zut
- hint: Using 'master' as the name for the initial branch. This default branch name
- hint: will change to "main" in Git 3.0. To configure the initial branch name
- hint: to use in all of your new repositories, which will suppress this warning,
- hint: call:
- hint:
- hint: git config --global init.defaultBranch <name>
- hint:
- hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
- hint: 'development'. The just-created branch can be renamed via this command:
- hint:
- hint: git branch -m <name>
- hint:
- hint: Disable this message with "git config set advice.defaultBranchName false"
- Initialized empty Git repository in /home/runner/work/zut/zut/.git/
- [command]/usr/bin/git remote add origin http://ermite:7341/bnema/zut
- Disabling automatic garbage collection
- [command]/usr/bin/git config --local gc.auto 0
- Setting up auth
- [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
- [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
- [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/ermite\:7341\/\.extraheader
- [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/ermite\:7341\/\.extraheader' && git config --local --unset-all 'http.http://ermite:7341/.extraheader' || :"
- [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
- [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
- [command]/usr/bin/git config --local http.http://ermite:7341/.extraheader AUTHORIZATION: basic ***
- Fetching the repository
- [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +e8fd5c6b3f7acd6190ee1948d164140f0507919d:refs/remotes/pull/5/merge
- From http://ermite:7341/bnema/zut
- * [new ref] e8fd5c6b3f7acd6190ee1948d164140f0507919d -> pull/5/merge
- Determining the checkout info
- [command]/usr/bin/git sparse-checkout disable
- [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
- Checking out the ref
- [command]/usr/bin/git checkout --progress --force refs/remotes/pull/5/merge
- Note: switching to 'refs/remotes/pull/5/merge'.
- You are in 'detached HEAD' state. You can look around, make experimental
- changes and commit them, and you can discard any commits you make in this
- state without impacting any branches by switching back to a branch.
- If you want to create a new branch to retain commits you create, you may
- do so (now or later) by using -c with the switch command. Example:
- git switch -c <new-branch-name>
- Or undo this operation with:
- git switch -
- Turn off this advice by setting config variable advice.detachedHead to false
- HEAD is now at e8fd5c6 Merge 513f4cf9f5a8303faf347fc2e2f2ab870d560eed into a43179a5dbd46173696cd2c5ea8d8c6d2a5d1ce8
- [command]/usr/bin/git log -1 --format=%H
- e8fd5c6b3f7acd6190ee1948d164140f0507919d
- Run actions/setup-go@v7
- with:
- go-version-file: go.mod
- cache: true
- check-latest: false
- Setup go version spec 1.27
- Found in cache @ /opt/hostedtoolcache/go/1.27.3/x64
- Added go to the path
- Successfully set up Go version 1.27
- [command]/opt/hostedtoolcache/go/1.27.3/x64/bin/go env GOMODCACHE
- [command]/opt/hostedtoolcache/go/1.27.3/x64/bin/go env GOCACHE
- /home/runner/go/pkg/mod
- /home/runner/.cache/go-build
- Cache is not found
- go version go1.27.3 linux/amd64
- go env
- 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/runner/go/bin'
- GOCACHE='/home/runner/.cache/go-build'
- GOCACHEPROG=''
- GODEBUG=''
- GOENV='/home/runner/.config/go/env'
- GOEXE=''
- GOEXPERIMENT=''
- GOFIPS140='off'
- GOFLAGS=''
- GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build2951686313=/tmp/go-build -gno-record-gcc-switches'
- GOHOSTARCH='amd64'
- GOHOSTOS='linux'
- GOINSECURE=''
- GOMOD='/home/runner/work/zut/zut/go.mod'
- GOMODCACHE='/home/runner/go/pkg/mod'
- GONOPROXY=''
- GONOSUMDB=''
- GOOS='linux'
- GOPACKAGESDRIVER=''
- GOPATH='/home/runner/go'
- GOPRIVATE=''
- GOPROXY='https://proxy.golang.org,direct'
- GOROOT='/opt/hostedtoolcache/go/1.27.3/x64'
- GOSUMDB='sum.golang.org'
- GOTELEMETRY='local'
- GOTELEMETRYDIR='/home/runner/.config/go/telemetry'
- GOTMPDIR=''
- GOTOOLCHAIN='local'
- GOTOOLDIR='/opt/hostedtoolcache/go/1.27.3/x64/pkg/tool/linux_amd64'
- GOVCS=''
- GOVERSION='go1.27.3'
- GOWORK=''
- PKG_CONFIG='pkg-config'
- Run go vet ./...
- <U+001B>[36;1mgo vet ./...<U+001B>[0m
- shell: /usr/bin/bash -e {0}
- env:
- GOTOOLCHAIN: local
- go: downloading golang.org/x/sys v0.47.0
- go: downloading github.com/google/uuid v1.6.0
- go: downloading github.com/klauspost/compress v1.19.0
- go: downloading golang.org/x/mod v0.35.0
- go: downloading golang.org/x/term v0.45.0
- go: downloading golang.org/x/net v0.57.0
- go: downloading github.com/mattn/go-runewidth v0.0.16
- go: downloading github.com/sahilm/fuzzy v0.1.1
- go: downloading golang.org/x/image v0.43.0
- go: downloading github.com/alecthomas/chroma/v2 v2.23.1
- go: downloading github.com/rivo/uniseg v0.2.0
- go: downloading github.com/dlclark/regexp2 v1.11.5
- Run diff=$(gofmt -l .)
- <U+001B>[36;1mdiff=$(gofmt -l .)<U+001B>[0m
- <U+001B>[36;1mif [ -n "$diff" ]; then<U+001B>[0m
- <U+001B>[36;1m echo "gofmt issues:"<U+001B>[0m
- <U+001B>[36;1m echo "$diff"<U+001B>[0m
- <U+001B>[36;1m exit 1<U+001B>[0m
- <U+001B>[36;1mfi<U+001B>[0m
- shell: /usr/bin/bash -e {0}
- env:
- GOTOOLCHAIN: local
- Run go test -race ./...
- <U+001B>[36;1mgo test -race ./...<U+001B>[0m
- shell: /usr/bin/bash -e {0}
- env:
- GOTOOLCHAIN: local
- ? github.com/bnema/zut [no test files]
- ok github.com/bnema/zut/cmd/zut 1.118s
- ? github.com/bnema/zut/examples/extensions/approve [no test files]
- ? github.com/bnema/zut/examples/extensions/guard [no test files]
- ? github.com/bnema/zut/examples/extensions/hello [no test files]
- ? github.com/bnema/zut/examples/extensions/secret [no test files]
- ? github.com/bnema/zut/examples/extensions/weather [no test files]
- ? github.com/bnema/zut/examples/rpc/go [no test files]
- ? github.com/bnema/zut/examples/sdk [no test files]
- ok github.com/bnema/zut/packages/agent 22.442s
- ok github.com/bnema/zut/packages/agent/ext 1.033s
- ok github.com/bnema/zut/packages/agent/extensions 2.667s
- ok github.com/bnema/zut/packages/agent/extproto 1.008s
- ok github.com/bnema/zut/packages/agent/internal/orchestration 1.009s
- ok github.com/bnema/zut/packages/agent/lsp 2.094s
- ok github.com/bnema/zut/packages/agent/mcp 7.643s
- ok github.com/bnema/zut/packages/agent/modes 10.622s
- ok github.com/bnema/zut/packages/agent/modes/bot 1.117s
- ok github.com/bnema/zut/packages/agent/modes/telegram 1.013s
- ok github.com/bnema/zut/packages/agent/scheduler 1.011s
- ok github.com/bnema/zut/packages/agent/sdk 1.146s
- ok github.com/bnema/zut/packages/agent/skills 2.257s
- ok github.com/bnema/zut/packages/agent/subagents 4.701s
- ok github.com/bnema/zut/packages/agent/tools 18.528s
- ok github.com/bnema/zut/packages/core 13.501s
- ok github.com/bnema/zut/packages/ignore 1.021s
- ok github.com/bnema/zut/packages/provider 38.085s
- ok github.com/bnema/zut/packages/provider/auth 9.932s
- ? github.com/bnema/zut/packages/provider/auth/assets [no test files]
- ok github.com/bnema/zut/packages/tui 3.170s
- Run golangci/golangci-lint-action@v9.3.0
- with:
- version: v2.12.2
- install-mode: binary
- install-only: false
- github-token: ***
- verify: true
- only-new-issues: false
- skip-cache: false
- skip-save-cache: false
- cache-invalidation-interval: 7
- problem-matchers: false
- env:
- GOTOOLCHAIN: local
- Restore cache
- Checking for go.mod: go.mod
- Cache not found for input keys: golangci-lint.cache-Linux-2964-48ec27001edbc0ccee594d064b7c5fdad8e68c13, golangci-lint.cache-Linux-2964-
- Install
- Finding needed golangci-lint version...
- Installation mode: binary
- Installing golangci-lint binary v2.12.2...
- Downloading binary https://github.com/golangci/golangci-lint/releases/download/v2.12.2/golangci-lint-2.12.2-linux-amd64.tar.gz ...
- [command]/usr/bin/tar xz --overwrite --warning=no-unknown-keyword --overwrite -C /home/runner -f /home/runner/work/_temp/aa1f89ba-6c24-4c6a-9551-3d7707e79a94
- Installed golangci-lint into /home/runner/golangci-lint-2.12.2-linux-amd64/golangci-lint in 695ms
- run golangci-lint
- Running [/home/runner/golangci-lint-2.12.2-linux-amd64/golangci-lint config path] in [/home/runner/work/zut/zut] ...
- Running [/home/runner/golangci-lint-2.12.2-linux-amd64/golangci-lint run] in [/home/runner/work/zut/zut] ...
- Error: can't load config: the Go language version (go1.26) used to build golangci-lint is lower than the targeted Go version (1.27)
- The command is terminated due to an error: can't load config: the Go language version (go1.26) used to build golangci-lint is lower than the targeted Go version (1.27)
- golangci-lint exit with code 3
- Ran golangci-lint in 85ms
- Post job cleanup.
- [warning] Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.
- Post job cleanup.
- [command]/usr/bin/git version
- git version 2.53.0
- Temporarily overriding HOME='/home/runner/work/_temp/8a943368-3b92-4291-9e73-ab6f963e2263' before making global git config changes
- Adding repository directory to the temporary git global config as a safe directory
- [command]/usr/bin/git config --global --add safe.directory /home/runner/work/zut/zut
- [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
- [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core\.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
- [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/ermite\:7341\/\.extraheader
- http.http://ermite:7341/.extraheader
- [command]/usr/bin/git config --local --unset-all http.http://ermite:7341/.extraheader
- [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http\.http\:\/\/ermite\:7341\/\.extraheader' && git config --local --unset-all 'http.http://ermite:7341/.extraheader' || :"
- [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
- [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
- Cleaning up orphan processes
- ##[warning]Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/