main 3a10209

Test with Go 1.25.x on ubuntu-latest failure 17s

Annotations 1

  • gofmt

    error

    Process completed with exit code 1.

  1. Current runner version: 'v0.6.0'
  2. GITHUB_TOKEN Permissions
  3. Contents: read
  4. Metadata: read
  5. Packages: read
  6. Secret source: Actions
  7. Cache mode: write
  8. Prepare workflow directory
  9. Prepare all required actions
  10. Getting action download info
  11. Download action repository 'actions/checkout@v5' (SHA:fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09)
  12. Download action repository 'actions/setup-go@v6' (SHA:924ae3a1cded613372ab5595356fb5720e22ba16)
  13. Download action repository 'msys2/setup-msys2@v2' (SHA:ec48f7c5447b3140e2b088413ae3a55687bccb6e)
  14. Complete job name: Test with Go 1.25.x on ubuntu-latest
  15. Run # See actions/checkout#135
  16. <U+001B>[36;1m# See actions/checkout#135<U+001B>[0m
  17. <U+001B>[36;1mgit config --global core.autocrlf false<U+001B>[0m
  18. <U+001B>[36;1mgit config --global core.eol lf<U+001B>[0m
  19. shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  20. env:
  21. QEMU_MAJOR_VERSION: 10
  22. Run actions/checkout@v5
  23. with:
  24. repository: bnema/purego
  25. token: ***
  26. ssh-strict: true
  27. ssh-user: git
  28. persist-credentials: true
  29. clean: true
  30. sparse-checkout-cone-mode: true
  31. fetch-depth: 1
  32. fetch-tags: false
  33. show-progress: true
  34. lfs: false
  35. submodules: false
  36. set-safe-directory: true
  37. allow-unsafe-pr-checkout: false
  38. env:
  39. QEMU_MAJOR_VERSION: 10
  40. Syncing repository: bnema/purego
  41. Getting Git version info
  42. Working directory is '/home/runner/work/purego/purego'
  43. [command]/usr/bin/git version
  44. git version 2.53.0
  45. Copying '/home/runner/.gitconfig' to '/home/runner/work/_temp/17c3ab67-22d6-4f88-90dd-d351a1e65777/.gitconfig'
  46. Temporarily overriding HOME='/home/runner/work/_temp/17c3ab67-22d6-4f88-90dd-d351a1e65777' before making global git config changes
  47. Adding repository directory to the temporary git global config as a safe directory
  48. [command]/usr/bin/git config --global --add safe.directory /home/runner/work/purego/purego
  49. Deleting the contents of '/home/runner/work/purego/purego'
  50. Initializing the repository
  51. [command]/usr/bin/git init /home/runner/work/purego/purego
  52. hint: Using 'master' as the name for the initial branch. This default branch name
  53. hint: will change to "main" in Git 3.0. To configure the initial branch name
  54. hint: to use in all of your new repositories, which will suppress this warning,
  55. hint: call:
  56. hint:
  57. hint: git config --global init.defaultBranch <name>
  58. hint:
  59. hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
  60. hint: 'development'. The just-created branch can be renamed via this command:
  61. hint:
  62. hint: git branch -m <name>
  63. hint:
  64. hint: Disable this message with "git config set advice.defaultBranchName false"
  65. Initialized empty Git repository in /home/runner/work/purego/purego/.git/
  66. [command]/usr/bin/git remote add origin http://ermite:7341/bnema/purego
  67. Disabling automatic garbage collection
  68. [command]/usr/bin/git config --local gc.auto 0
  69. Setting up auth
  70. [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
  71. [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' || :"
  72. [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/ermite\:7341\/\.extraheader
  73. [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' || :"
  74. [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
  75. [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
  76. [command]/usr/bin/git config --local http.http://ermite:7341/.extraheader AUTHORIZATION: basic ***
  77. Fetching the repository
  78. [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +9fea51b06733dd19f9573dcb56c9983948b45263:refs/remotes/origin/main
  79. From http://ermite:7341/bnema/purego
  80. * [new ref] 9fea51b06733dd19f9573dcb56c9983948b45263 -> origin/main
  81. Determining the checkout info
  82. [command]/usr/bin/git sparse-checkout disable
  83. [command]/usr/bin/git config --local --unset-all extensions.worktreeConfig
  84. Checking out the ref
  85. [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
  86. Switched to a new branch 'main'
  87. branch 'main' set up to track 'origin/main'.
  88. [command]/usr/bin/git log -1 --format=%H
  89. 9fea51b06733dd19f9573dcb56c9983948b45263
  90. Run actions/setup-go@v6
  91. with:
  92. go-version: 1.25.x
  93. check-latest: false
  94. cache: true
  95. env:
  96. QEMU_MAJOR_VERSION: 10
  97. Setup go version spec 1.25.x
  98. Attempting to download 1.25.x...
  99. matching 1.25.x...
  100. Acquiring 1.25.14 from https://github.com/actions/go-versions/releases/download/1.25.14-32325191436/go-1.25.14-linux-x64.tar.gz
  101. Extracting Go...
  102. [command]/usr/bin/tar xz --warning=no-unknown-keyword --overwrite -C /home/runner/work/_temp/d5d9e763-71af-4717-8d28-4765dfb3ae38 -f /home/runner/work/_temp/d4d59655-f163-490b-9391-f4a7d84cc41c
  103. Successfully extracted go to /home/runner/work/_temp/d5d9e763-71af-4717-8d28-4765dfb3ae38
  104. Adding to the cache ...
  105. Successfully cached go to /opt/hostedtoolcache/go/1.25.14/x64
  106. Added go to the path
  107. Successfully set up Go version 1.25.x
  108. [command]/opt/hostedtoolcache/go/1.25.14/x64/bin/go env GOMODCACHE
  109. [command]/opt/hostedtoolcache/go/1.25.14/x64/bin/go env GOCACHE
  110. /home/runner/go/pkg/mod
  111. /home/runner/.cache/go-build
  112. Cache is not found
  113. go version go1.25.14 linux/amd64
  114. go env
  115. AR='ar'
  116. CC='gcc'
  117. CGO_CFLAGS='-O2 -g'
  118. CGO_CPPFLAGS=''
  119. CGO_CXXFLAGS='-O2 -g'
  120. CGO_ENABLED='1'
  121. CGO_FFLAGS='-O2 -g'
  122. CGO_LDFLAGS='-O2 -g'
  123. CXX='g++'
  124. GCCGO='gccgo'
  125. GO111MODULE=''
  126. GOAMD64='v1'
  127. GOARCH='amd64'
  128. GOAUTH='netrc'
  129. GOBIN=''
  130. GOCACHE='/home/runner/.cache/go-build'
  131. GOCACHEPROG=''
  132. GODEBUG=''
  133. GOENV='/home/runner/.config/go/env'
  134. GOEXE=''
  135. GOEXPERIMENT=''
  136. GOFIPS140='off'
  137. GOFLAGS=''
  138. GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build808301694=/tmp/go-build -gno-record-gcc-switches'
  139. GOHOSTARCH='amd64'
  140. GOHOSTOS='linux'
  141. GOINSECURE=''
  142. GOMOD='/home/runner/work/purego/purego/go.mod'
  143. GOMODCACHE='/home/runner/go/pkg/mod'
  144. GONOPROXY=''
  145. GONOSUMDB=''
  146. GOOS='linux'
  147. GOPATH='/home/runner/go'
  148. GOPRIVATE=''
  149. GOPROXY='https://proxy.golang.org,direct'
  150. GOROOT='/opt/hostedtoolcache/go/1.25.14/x64'
  151. GOSUMDB='sum.golang.org'
  152. GOTELEMETRY='local'
  153. GOTELEMETRYDIR='/home/runner/.config/go/telemetry'
  154. GOTMPDIR=''
  155. GOTOOLCHAIN='local'
  156. GOTOOLDIR='/opt/hostedtoolcache/go/1.25.14/x64/pkg/tool/linux_amd64'
  157. GOVCS=''
  158. GOVERSION='go1.25.14'
  159. GOWORK=''
  160. PKG_CONFIG='pkg-config'
  161. Run env CGO_ENABLED=0 go vet -v ./...
  162. <U+001B>[36;1menv CGO_ENABLED=0 go vet -v ./...<U+001B>[0m
  163. shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  164. env:
  165. QEMU_MAJOR_VERSION: 10
  166. GOTOOLCHAIN: local
  167. internal/goarch
  168. internal/unsafeheader
  169. internal/byteorder
  170. internal/cpu
  171. internal/coverage/rtcov
  172. internal/abi
  173. internal/godebugs
  174. internal/goexperiment
  175. internal/goos
  176. internal/profilerecord
  177. internal/runtime/atomic
  178. internal/runtime/math
  179. internal/runtime/strconv
  180. internal/bytealg
  181. internal/chacha8rand
  182. internal/runtime/syscall
  183. internal/runtime/exithook
  184. internal/runtime/gc
  185. internal/runtime/cgroup
  186. internal/asan
  187. internal/msan
  188. internal/runtime/sys
  189. internal/stringslite
  190. internal/trace/tracev2
  191. internal/itoa
  192. math/bits
  193. unicode/utf8
  194. math
  195. sync/atomic
  196. unicode
  197. internal/race
  198. internal/runtime/maps
  199. internal/sync
  200. internal/synctest
  201. cmp
  202. encoding
  203. unicode/utf16
  204. structs
  205. github.com/bnema/purego/internal/strings
  206. github.com/bnema/purego/internal/cgo
  207. runtime
  208. iter
  209. internal/reflectlite
  210. sync
  211. slices
  212. errors
  213. internal/testlog
  214. internal/bisect
  215. io
  216. strconv
  217. internal/oserror
  218. syscall
  219. internal/godebug
  220. bytes
  221. path
  222. reflect
  223. strings
  224. math/rand
  225. bufio
  226. encoding/base64
  227. time
  228. internal/syscall/unix
  229. internal/syscall/execenv
  230. github.com/bnema/purego/internal/fakecgo
  231. io/fs
  232. context
  233. internal/poll
  234. internal/filepathlite
  235. internal/fmtsort
  236. os
  237. internal/sysinfo
  238. path/filepath
  239. fmt
  240. os/exec
  241. flag
  242. runtime/debug
  243. encoding/json
  244. runtime/trace
  245. testing
  246. github.com/bnema/purego
  247. github.com/bnema/purego/internal/fakecgo
  248. github.com/bnema/purego
  249. github.com/bnema/purego/examples/libc
  250. github.com/bnema/purego/internal/load
  251. github.com/bnema/purego/internal/load
  252. github.com/bnema/purego_test
  253. Run test -z "$(gofmt -s -l .)"
  254. <U+001B>[36;1mtest -z "$(gofmt -s -l .)"<U+001B>[0m
  255. shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
  256. env:
  257. QEMU_MAJOR_VERSION: 10
  258. GOTOOLCHAIN: local
  259. Process completed with exit code 1.
  260. Post job cleanup.
  261. [command]/usr/bin/git version
  262. git version 2.53.0
  263. Copying '/home/runner/.gitconfig' to '/home/runner/work/_temp/762b67ff-ce40-4304-8ac8-977e179f3476/.gitconfig'
  264. Temporarily overriding HOME='/home/runner/work/_temp/762b67ff-ce40-4304-8ac8-977e179f3476' before making global git config changes
  265. Adding repository directory to the temporary git global config as a safe directory
  266. [command]/usr/bin/git config --global --add safe.directory /home/runner/work/purego/purego
  267. [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
  268. [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' || :"
  269. [command]/usr/bin/git config --local --name-only --get-regexp http\.http\:\/\/ermite\:7341\/\.extraheader
  270. http.http://ermite:7341/.extraheader
  271. [command]/usr/bin/git config --local --unset-all http.http://ermite:7341/.extraheader
  272. [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' || :"
  273. [command]/usr/bin/git config --local --name-only --get-regexp ^includeIf\.gitdir:
  274. [command]/usr/bin/git submodule foreach --recursive git config --local --show-origin --name-only --get-regexp remote.origin.url
  275. Cleaning up orphan processes

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 1

Tags 102

↑↓ moveenter openesc close