build packages.x86_64-linux.go-tests

Reproduce this run
  1. 2.36 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=experimental%2Fsection-htmx&rev=1395cce89b4bb4a0a9f29a23bda7ffdee54a8b1c&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 3.61 s
  3. 3.61 s Downloading cached source from https://cache.nix-ci.com
  4. 8.96 s Downloaded cached source (194.4 MiB) in 5.3s
  5. 9.07 s Progress: 1 of 1 downloaded from cache
  6. 9.92 s Progress: 0 of 1 downloaded from cache
  7. 9.92 s Downloading cached source from https://cache.nix-ci.com
  8. 17.33 s Downloaded cached source (186 MiB) in 7.4s
  9. 18.15 s Progress: 1 of 1 downloaded from cache
  10. 18.16 s
  11. 18.16 s Downloading cached errcheck from https://cache.nix-ci.com
  12. 18.16 s Downloading cached gci from https://cache.nix-ci.com
  13. 18.16 s Downloading cached go-critic from https://cache.nix-ci.com
  14. 18.16 s Downloading cached go-tools from https://cache.nix-ci.com
  15. 18.16 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  16. 18.19 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 26ms
  17. 18.19 s Progress: 0 of 6 built, 1 of 6 downloaded from cache (4 downloading)
  18. 18.19 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  19. 18.23 s Downloaded cached errcheck (5 MiB) in 67ms
  20. 18.23 s Progress: 0 of 6 built, 2 of 6 downloaded from cache (4 downloading)
  21. 18.23 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 39ms
  22. 18.23 s Progress: 0 of 5 built, 3 of 6 downloaded from cache (3 downloading)
  23. 18.25 s Downloaded cached go-critic (9.1 MiB) in 82ms
  24. 18.25 s Progress: 0 of 4 built, 4 of 6 downloaded from cache (2 downloading)
  25. 18.30 s Downloaded cached gci (14.3 MiB) in 132ms
  26. 18.30 s Progress: 0 of 3 built, 5 of 6 downloaded from cache (1 downloading)
  27. 18.48 s Downloaded cached go-tools (41.8 MiB) in 318ms
  28. 18.48 s Progress: 0 of 2 built, 6 of 6 downloaded from cache
  29. 18.59 s Building /nix/store/79hnkwx4npi05291s68wp56ixq7m1gdz-go-tests-0.0.0.drv
  30. 18.65 s [go-tests] Phase: unpackPhase
  31. 18.66 s [go-tests] unpacking source archive /nix/store/b0nxa405m601gi3hc336ldcfjyzg9913-source
  32. 18.67 s [go-tests] source root is source
  33. 18.68 s [go-tests] Phase: patchPhase
  34. 18.69 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  35. 18.70 s [go-tests] Phase: configurePhase
  36. 18.71 s [go-tests] no configure script, doing nothing
  37. 18.71 s [go-tests] Phase: buildPhase
  38. 18.71 s [go-tests] patching script interpreter paths in ./dev-scripts
  39. 18.71 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"
  40. 18.72 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"
  41. 18.73 s [go-tests] ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  42. 18.74 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"
  43. 18.75 s [go-tests] ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  44. 18.76 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"
  45. 18.77 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"
  46. 18.77 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"
  47. 18.78 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"
  48. 18.79 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"
  49. 18.80 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"
  50. 18.81 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"
  51. 18.82 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  52. 18.83 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"
  53. 18.84 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"
  54. 18.85 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"
  55. 18.87 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"
  56. 18.88 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"
  57. 18.89 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"
  58. 18.89 s [go-tests] ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  59. 18.90 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"
  60. 18.91 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"
  61. 18.92 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"
  62. 18.92 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"
  63. 19.00 s [go-tests] + set -o pipefail
  64. 19.00 s [go-tests] + full_test=
  65. 19.00 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  66. 19.00 s [go-tests] + go_test_flags+=("-fullpath")
  67. 19.00 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  68. 19.00 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  69. 19.00 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  70. 19.00 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  71. 19.00 s [go-tests] + [[ '' = \-\-full ]]
  72. 19.00 s [go-tests] + set -u
  73. 19.00 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  74. 19.00 s [go-tests] ++ cd ./dev-scripts
  75. 19.00 s [go-tests] ++ pwd
  76. 19.00 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  77. 19.00 s [go-tests] + readonly SCRIPT_DIR
  78. 19.00 s [go-tests] + cd /build/source/dev-scripts/..
  79. 19.00 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  80. 23.30 s [go-tests] ? codeberg.org/mtlynch/grosiree/build [no test files]
  81. 25.96 s [go-tests] ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
  82. 27.13 s [go-tests] ok codeberg.org/mtlynch/grosiree/handlers 0.891s
  83. 27.13 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
  84. 27.13 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
  85. 27.13 s [go-tests] ok codeberg.org/mtlynch/grosiree/store/sqlite 0.853s
  86. 27.13 s [go-tests] ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
  87. 27.13 s [go-tests] ok codeberg.org/mtlynch/grosiree/types 0.004s
  88. 27.20 s [go-tests] + [[ -n '' ]]
  89. 27.20 s [go-tests] + go vet ./...
  90. 32.18 s [go-tests] + go_package_dirs=()
  91. 32.52 s [go-tests] + IFS=
  92. 32.52 s [go-tests] + read -r go_package_dir
  93. 32.52 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  94. 32.52 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  95. 32.52 s [go-tests] + IFS=
  96. 32.52 s [go-tests] + read -r go_package_dir
  97. 32.52 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  98. 32.52 s [go-tests] + IFS=
  99. 32.52 s [go-tests] + read -r go_package_dir
  100. 32.52 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  101. 32.52 s [go-tests] + IFS=
  102. 32.52 s [go-tests] + read -r go_package_dir
  103. 32.52 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  104. 32.52 s [go-tests] + IFS=
  105. 32.52 s [go-tests] + read -r go_package_dir
  106. 32.52 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  107. 32.52 s [go-tests] + IFS=
  108. 32.52 s [go-tests] + read -r go_package_dir
  109. 32.52 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  110. 32.52 s [go-tests] + IFS=
  111. 32.52 s [go-tests] + read -r go_package_dir
  112. 32.52 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  113. 32.52 s [go-tests] + IFS=
  114. 32.52 s [go-tests] + read -r go_package_dir
  115. 32.52 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  116. 32.52 s [go-tests] + IFS=
  117. 32.52 s [go-tests] + read -r go_package_dir
  118. 32.52 s [go-tests] + readonly go_package_dirs
  119. 32.52 s [go-tests] ++ go env GOBIN
  120. 32.52 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  121. 32.52 s [go-tests] + readonly GCI_PATH
  122. 32.52 s [go-tests] + readonly GCI_VERSION=v0.14.0
  123. 32.52 s [go-tests] + GCI_VERSION=v0.14.0
  124. 32.52 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  125. 32.52 s [go-tests] ++ /build/home/go/bin/gci --version
  126. 32.52 s [go-tests] + gci_version_output='gci version 0.14.0'
  127. 32.52 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  128. 32.52 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  129. 32.52 s [go-tests] + readonly gci_sections
  130. 32.52 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
  131. 32.52 s [go-tests] + gci_output=
  132. 32.52 s [go-tests] + [[ -n '' ]]
  133. 32.52 s [go-tests] ++ go env GOBIN
  134. 32.52 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  135. 32.52 s [go-tests] + readonly GOCRITIC_PATH
  136. 32.52 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  137. 32.52 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  138. 32.52 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  139. 32.52 s [go-tests] + /build/home/go/bin/go-critic check ./...
  140. 32.81 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  141. 33.25 s [go-tests] ++ go env GOBIN
  142. 33.25 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  143. 33.25 s [go-tests] + readonly STATICCHECK_PATH
  144. 33.25 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  145. 33.25 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  146. 33.25 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  147. 33.25 s [go-tests] + /build/home/go/bin/staticcheck ./...
  148. 35.73 s [go-tests] ++ go env GOBIN
  149. 35.74 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  150. 35.74 s [go-tests] + readonly ERRCHECK_PATH
  151. 35.74 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  152. 35.74 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  153. 35.74 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  154. 35.74 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  155. 35.87 s [go-tests] Phase: installPhase
  156. 35.88 s [go-tests] Phase: fixupPhase
  157. 35.89 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/w5g7kmrkjny2dqqa02w34b6v8mnbrajv-go-tests-0.0.0
  158. 35.89 s [go-tests] checking for references to /build/ in /nix/store/w5g7kmrkjny2dqqa02w34b6v8mnbrajv-go-tests-0.0.0...
  159. 35.89 s [go-tests] patching script interpreter paths in /nix/store/w5g7kmrkjny2dqqa02w34b6v8mnbrajv-go-tests-0.0.0
  160. 36.02 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/w5g7kmrkjny2dqqa02w34b6v8mnbrajv-go-tests-0.0.0
  161. 36.06 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  162. 36.06 s [go-tests:post-build] copying 1 paths...
  163. 36.06 s [go-tests:post-build] copying path '/nix/store/w5g7kmrkjny2dqqa02w34b6v8mnbrajv-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  164. 36.23 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  165. 36.68 s [go-tests:post-build] copying 1 paths...
  166. 36.68 s [go-tests:post-build] copying path '/nix/store/79hnkwx4npi05291s68wp56ixq7m1gdz-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  167. 36.92 s Uploaded go-tests in 910ms
  168. 36.92 s Progress: 1 of 2 built, 6 of 6 downloaded from cache
  169. 36.92 s Built go-tests in 18.3s
  170. 36.92 s Progress: 2 of 2 built, 6 of 6 downloaded from cache
  171. 36.92 s /nix/store/w5g7kmrkjny2dqqa02w34b6v8mnbrajv-go-tests-0.0.0
  172. 36.97 s Build succeeded.