build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.16 s $ /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin/timeout --kill-after=15s 7200s /nix/store/23zk8sgzamrbmj1fday15szf7f2279s8-nix-2.34.7/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link --print-out-paths git+https://codeberg.org/mtlynch/grosiree?ref=template-updates-2026-08-08&rev=f3500d97a42fe3bfff63c53e35738592582d45c8&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.19 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/67e56ba39014805dc3257b24df07d0438f6be0acacb9f7b288a8e79e7dfbd704.sqlite' is busy
  3. 2.90 s
  4. 3.65 s Downloading cached grosiree-0.0.1-go-modules from https://cache.nix-ci.com
  5. 3.65 s Downloading cached errcheck from https://cache.nix-ci.com
  6. 3.65 s Downloading cached go-critic from https://cache.nix-ci.com
  7. 3.65 s Downloading cached go-tools from https://cache.nix-ci.com
  8. 3.95 s Downloaded cached grosiree-0.0.1-go-modules (12.1 MiB) in 305ms
  9. 3.95 s Progress: 0 of 5 built, 1 of 4 downloaded from cache (3 downloading)
  10. 4.17 s Downloaded cached errcheck (5 MiB) in 518ms
  11. 4.17 s Progress: 0 of 4 built, 2 of 4 downloaded from cache (2 downloading)
  12. 4.31 s Downloaded cached go-critic (9.1 MiB) in 667ms
  13. 4.31 s Progress: 0 of 3 built, 3 of 4 downloaded from cache (1 downloading)
  14. 5.29 s Downloaded cached go-tools (41.8 MiB) in 1.6s
  15. 6.05 s Progress: 0 of 2 built, 4 of 4 downloaded from cache
  16. 6.05 s Building /nix/store/6axylp91fh9w97h5csnbwxjcpbvs5fi5-go-tests-0.0.0.drv
  17. 6.05 s [go-tests] Phase: unpackPhase
  18. 6.05 s [go-tests] unpacking source archive /nix/store/kpxa400h07rlc2amsdrapn4j8cq3bw91-source
  19. 6.05 s [go-tests] source root is source
  20. 6.05 s [go-tests] Phase: patchPhase
  21. 6.05 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  22. 6.05 s [go-tests] Phase: configurePhase
  23. 6.05 s [go-tests] no configure script, doing nothing
  24. 6.05 s [go-tests] Phase: buildPhase
  25. 6.05 s [go-tests] patching script interpreter paths in ./dev-scripts
  26. 6.05 s [go-tests] ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  27. 6.05 s [go-tests] ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  28. 6.05 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  29. 6.05 s [go-tests] ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  30. 6.05 s [go-tests] ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  31. 6.05 s [go-tests] ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  32. 6.05 s [go-tests] ./dev-scripts/upload-to-nixci-cache: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  33. 6.05 s [go-tests] ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  34. 6.05 s [go-tests] ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  35. 6.05 s [go-tests] ./dev-scripts/build-all-flake-targets: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  36. 6.05 s [go-tests] ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  37. 6.05 s [go-tests] ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  38. 6.05 s [go-tests] ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  39. 6.05 s [go-tests] ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  40. 6.05 s [go-tests] ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  41. 6.05 s [go-tests] ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  42. 6.05 s [go-tests] ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  43. 6.05 s [go-tests] ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  44. 6.05 s [go-tests] ./dev-scripts/run-js-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  45. 6.05 s [go-tests] ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  46. 6.05 s [go-tests] ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  47. 6.05 s [go-tests] + set -o pipefail
  48. 6.05 s [go-tests] + full_test=
  49. 6.05 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  50. 6.05 s [go-tests] + go_test_flags+=("-fullpath")
  51. 6.05 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  52. 6.05 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  53. 6.05 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  54. 6.05 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  55. 6.05 s [go-tests] + case "${1:-}" in
  56. 6.05 s [go-tests] + [[ 0 -gt 1 ]]
  57. 6.05 s [go-tests] + set -u
  58. 6.05 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  59. 6.05 s [go-tests] ++ cd ./dev-scripts
  60. 6.05 s [go-tests] ++ pwd
  61. 6.05 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  62. 6.05 s [go-tests] + readonly SCRIPT_DIR
  63. 6.05 s [go-tests] + cd /build/source/dev-scripts/..
  64. 6.05 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  65. 10.15 s [go-tests] ? codeberg.org/mtlynch/grosiree/build [no test files]
  66. 13.38 s [go-tests] ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
  67. 14.75 s [go-tests] ok codeberg.org/mtlynch/grosiree/handlers 1.035s
  68. 14.75 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
  69. 14.75 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
  70. 14.75 s [go-tests] ok codeberg.org/mtlynch/grosiree/store/sqlite 1.023s
  71. 14.75 s [go-tests] ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
  72. 14.75 s [go-tests] ok codeberg.org/mtlynch/grosiree/types 0.005s
  73. 14.82 s [go-tests] + [[ -n '' ]]
  74. 14.82 s [go-tests] + go vet ./...
  75. 20.93 s [go-tests] ++ go env GOBIN
  76. 21.87 s [go-tests] + [[ -z /build/home/go/bin ]]
  77. 21.87 s [go-tests] + go_package_dirs=()
  78. 21.87 s [go-tests] + IFS=
  79. 21.87 s [go-tests] + read -r go_package_dir
  80. 21.87 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  81. 21.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  82. 21.87 s [go-tests] + IFS=
  83. 21.87 s [go-tests] + read -r go_package_dir
  84. 21.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  85. 21.87 s [go-tests] + IFS=
  86. 21.87 s [go-tests] + read -r go_package_dir
  87. 21.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  88. 21.87 s [go-tests] + IFS=
  89. 21.87 s [go-tests] + read -r go_package_dir
  90. 21.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  91. 21.87 s [go-tests] + IFS=
  92. 21.87 s [go-tests] + read -r go_package_dir
  93. 21.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  94. 21.87 s [go-tests] + IFS=
  95. 21.87 s [go-tests] + read -r go_package_dir
  96. 21.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  97. 21.87 s [go-tests] + IFS=
  98. 21.87 s [go-tests] + read -r go_package_dir
  99. 21.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  100. 21.87 s [go-tests] + IFS=
  101. 21.87 s [go-tests] + read -r go_package_dir
  102. 21.87 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 21.87 s [go-tests] + IFS=
  104. 21.87 s [go-tests] + read -r go_package_dir
  105. 21.87 s [go-tests] + readonly go_package_dirs
  106. 21.87 s [go-tests] ++ go env GOBIN
  107. 21.87 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  108. 21.87 s [go-tests] + readonly GCI_PATH
  109. 21.87 s [go-tests] + readonly GCI_VERSION=v0.14.0
  110. 21.87 s [go-tests] + GCI_VERSION=v0.14.0
  111. 21.87 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  112. 21.87 s [go-tests] ++ /build/home/go/bin/gci --version
  113. 21.87 s [go-tests] + gci_version_output='gci version 0.14.0'
  114. 21.87 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  115. 21.87 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  116. 21.87 s [go-tests] + readonly gci_sections
  117. 21.87 s [go-tests] ++ /build/home/go/bin/gci list --skip-generated --skip-vendor --section=standard --section=default --section=localmodule /build/source/build /build/source/cmd/app /build/source/handlers /build/source/handlers/auth/shared_secret /build/source/handlers/auth/shared_secret/kdf /build/source/store/sqlite /build/source/store/test_sqlite /build/source/types
  118. 21.87 s [go-tests] + gci_output=
  119. 21.87 s [go-tests] + [[ -n '' ]]
  120. 21.87 s [go-tests] ++ go env GOBIN
  121. 21.87 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  122. 21.87 s [go-tests] + readonly GOCRITIC_PATH
  123. 21.87 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  124. 21.87 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  125. 21.87 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  126. 21.87 s [go-tests] + /build/home/go/bin/go-critic check ./...
  127. 21.87 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  128. 22.18 s [go-tests] ++ go env GOBIN
  129. 22.18 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  130. 22.18 s [go-tests] + readonly STATICCHECK_PATH
  131. 22.18 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  132. 22.18 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  133. 22.18 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  134. 22.18 s [go-tests] + /build/home/go/bin/staticcheck ./...
  135. 25.02 s [go-tests] ++ go env GOBIN
  136. 25.02 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  137. 25.02 s [go-tests] + readonly ERRCHECK_PATH
  138. 25.02 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  139. 25.02 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  140. 25.02 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  141. 25.02 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  142. 25.17 s [go-tests] Phase: installPhase
  143. 25.17 s [go-tests] Phase: fixupPhase
  144. 25.19 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/cwjxvmmq2fh23fb372xdqqf68qm6k77l-go-tests-0.0.0
  145. 25.19 s [go-tests] checking for references to /build/ in /nix/store/cwjxvmmq2fh23fb372xdqqf68qm6k77l-go-tests-0.0.0...
  146. 25.20 s [go-tests] patching script interpreter paths in /nix/store/cwjxvmmq2fh23fb372xdqqf68qm6k77l-go-tests-0.0.0
  147. 25.34 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/cwjxvmmq2fh23fb372xdqqf68qm6k77l-go-tests-0.0.0
  148. 25.38 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  149. 25.39 s [go-tests:post-build] copying 1 paths...
  150. 25.39 s [go-tests:post-build] copying path '/nix/store/cwjxvmmq2fh23fb372xdqqf68qm6k77l-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  151. 25.56 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  152. 25.89 s [go-tests:post-build] copying 2 paths...
  153. 25.89 s [go-tests:post-build] copying path '/nix/store/k0a5zsb1mlgnpgq258zfbks3ydr0yb7y-grosiree-0.0.1-go-modules.drv' to 'https://cache.nix-ci.com'...
  154. 26.09 s [go-tests:post-build] copying path '/nix/store/6axylp91fh9w97h5csnbwxjcpbvs5fi5-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  155. 27.03 s Uploaded go-tests in 1.7s
  156. 27.03 s Progress: 1 of 2 built, 4 of 4 downloaded from cache
  157. 27.03 s Built go-tests in 20.9s
  158. 27.03 s Progress: 2 of 2 built, 4 of 4 downloaded from cache
  159. 27.03 s /nix/store/cwjxvmmq2fh23fb372xdqqf68qm6k77l-go-tests-0.0.0
  160. 27.03 s Build succeeded.