1. 1.18 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%2Fgrocery-item-sorting&rev=a8bae24b70ffdf5b1debb6fd3abf99eb3a5f3e28&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 1.23 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/c2d50aaee222217e36ed495af58694c686838982b0a17807b34051a4492c8a0b.sqlite' is busy
  3. 3.54 s
  4. 3.80 s Downloading cached errcheck from https://cache.nix-ci.com
  5. 3.80 s Downloading cached go-critic from https://cache.nix-ci.com
  6. 3.80 s Downloading cached go-tools from https://cache.nix-ci.com
  7. 3.80 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  8. 3.80 s Downloading cached gci from https://cache.nix-ci.com
  9. 3.92 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 116ms
  10. 3.92 s Progress: 0 of 6 built, 1 of 6 downloaded from cache (4 downloading)
  11. 3.92 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  12. 3.96 s Downloaded cached errcheck (5 MiB) in 158ms
  13. 3.96 s Progress: 0 of 6 built, 2 of 6 downloaded from cache (4 downloading)
  14. 4.00 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 81ms
  15. 4.00 s Progress: 0 of 5 built, 3 of 6 downloaded from cache (3 downloading)
  16. 4.03 s Downloaded cached go-critic (9.1 MiB) in 222ms
  17. 4.03 s Progress: 0 of 4 built, 4 of 6 downloaded from cache (2 downloading)
  18. 4.08 s Downloaded cached gci (14.3 MiB) in 279ms
  19. 4.08 s Progress: 0 of 3 built, 5 of 6 downloaded from cache (1 downloading)
  20. 4.33 s Downloaded cached go-tools (41.8 MiB) in 527ms
  21. 4.33 s Progress: 0 of 2 built, 6 of 6 downloaded from cache
  22. 4.48 s Building /nix/store/4sv7lq9pabw5nrvy59d02f26bnfpvcim-go-tests-0.0.0.drv
  23. 4.58 s [go-tests] Phase: unpackPhase
  24. 4.59 s [go-tests] unpacking source archive /nix/store/hk4w5v135x5j7110hn3gfv70jd63chl0-source
  25. 4.61 s [go-tests] source root is source
  26. 4.63 s [go-tests] Phase: patchPhase
  27. 4.63 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  28. 4.64 s [go-tests] Phase: configurePhase
  29. 4.66 s [go-tests] no configure script, doing nothing
  30. 4.66 s [go-tests] Phase: buildPhase
  31. 4.67 s [go-tests] patching script interpreter paths in ./dev-scripts
  32. 4.67 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"
  33. 4.69 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"
  34. 4.70 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"
  35. 4.71 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"
  36. 4.72 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"
  37. 4.74 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"
  38. 4.75 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"
  39. 4.76 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  40. 4.77 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"
  41. 4.78 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"
  42. 4.79 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"
  43. 4.80 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"
  44. 4.81 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"
  45. 4.82 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"
  46. 4.83 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"
  47. 4.85 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"
  48. 4.86 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"
  49. 4.87 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"
  50. 4.88 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"
  51. 4.89 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"
  52. 4.91 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"
  53. 4.92 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"
  54. 4.93 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"
  55. 4.94 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"
  56. 5.04 s [go-tests] + set -o pipefail
  57. 5.04 s [go-tests] + full_test=
  58. 5.04 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  59. 5.04 s [go-tests] + go_test_flags+=("-fullpath")
  60. 5.04 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  61. 5.04 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  62. 5.04 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  63. 5.04 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  64. 5.04 s [go-tests] + [[ '' = \-\-full ]]
  65. 5.04 s [go-tests] + set -u
  66. 5.04 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  67. 5.04 s [go-tests] ++ cd ./dev-scripts
  68. 5.04 s [go-tests] ++ pwd
  69. 5.04 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  70. 5.04 s [go-tests] + readonly SCRIPT_DIR
  71. 5.04 s [go-tests] + cd /build/source/dev-scripts/..
  72. 5.04 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  73. 11.84 s [go-tests] ? codeberg.org/mtlynch/grosiree/build [no test files]
  74. 13.31 s [go-tests] ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
  75. 14.59 s [go-tests] ok codeberg.org/mtlynch/grosiree/handlers 0.927s
  76. 14.59 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
  77. 14.59 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
  78. 14.61 s [go-tests] ok codeberg.org/mtlynch/grosiree/store/sqlite 0.944s
  79. 14.61 s [go-tests] ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
  80. 14.61 s [go-tests] ok codeberg.org/mtlynch/grosiree/types 0.004s
  81. 14.67 s [go-tests] + [[ -n '' ]]
  82. 14.67 s [go-tests] + go vet ./...
  83. 20.89 s [go-tests] + go_package_dirs=()
  84. 20.90 s [go-tests] + IFS=
  85. 20.90 s [go-tests] + read -r go_package_dir
  86. 20.90 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  87. 21.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  88. 21.00 s [go-tests] + IFS=
  89. 21.00 s [go-tests] + read -r go_package_dir
  90. 21.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  91. 21.00 s [go-tests] + IFS=
  92. 21.00 s [go-tests] + read -r go_package_dir
  93. 21.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  94. 21.00 s [go-tests] + IFS=
  95. 21.00 s [go-tests] + read -r go_package_dir
  96. 21.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  97. 21.00 s [go-tests] + IFS=
  98. 21.00 s [go-tests] + read -r go_package_dir
  99. 21.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  100. 21.00 s [go-tests] + IFS=
  101. 21.00 s [go-tests] + read -r go_package_dir
  102. 21.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 21.00 s [go-tests] + IFS=
  104. 21.00 s [go-tests] + read -r go_package_dir
  105. 21.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 21.00 s [go-tests] + IFS=
  107. 21.00 s [go-tests] + read -r go_package_dir
  108. 21.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 21.00 s [go-tests] + IFS=
  110. 21.00 s [go-tests] + read -r go_package_dir
  111. 21.00 s [go-tests] + readonly go_package_dirs
  112. 21.00 s [go-tests] ++ go env GOBIN
  113. 21.01 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  114. 21.01 s [go-tests] + readonly GCI_PATH
  115. 21.01 s [go-tests] + readonly GCI_VERSION=v0.14.0
  116. 21.01 s [go-tests] + GCI_VERSION=v0.14.0
  117. 21.01 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  118. 21.01 s [go-tests] ++ /build/home/go/bin/gci --version
  119. 21.02 s [go-tests] + gci_version_output='gci version 0.14.0'
  120. 21.02 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  121. 21.02 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  122. 21.02 s [go-tests] + readonly gci_sections
  123. 21.02 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
  124. 21.06 s [go-tests] + gci_output=
  125. 21.06 s [go-tests] + [[ -n '' ]]
  126. 21.06 s [go-tests] ++ go env GOBIN
  127. 21.06 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  128. 21.06 s [go-tests] + readonly GOCRITIC_PATH
  129. 21.06 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  130. 21.06 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  131. 21.06 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  132. 21.06 s [go-tests] + /build/home/go/bin/go-critic check ./...
  133. 21.88 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  134. 22.65 s [go-tests] ++ go env GOBIN
  135. 22.65 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  136. 22.65 s [go-tests] + readonly STATICCHECK_PATH
  137. 22.65 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  138. 22.65 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  139. 22.65 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  140. 22.65 s [go-tests] + /build/home/go/bin/staticcheck ./...
  141. 26.40 s [go-tests] ++ go env GOBIN
  142. 26.48 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  143. 26.48 s [go-tests] + readonly ERRCHECK_PATH
  144. 26.48 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  145. 26.48 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  146. 26.48 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  147. 26.48 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  148. 26.62 s [go-tests] Phase: installPhase
  149. 26.62 s [go-tests] Phase: fixupPhase
  150. 26.64 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/yhi6dard30pww0n2g30kk24z16qqcnfs-go-tests-0.0.0
  151. 26.64 s [go-tests] checking for references to /build/ in /nix/store/yhi6dard30pww0n2g30kk24z16qqcnfs-go-tests-0.0.0...
  152. 26.66 s [go-tests] patching script interpreter paths in /nix/store/yhi6dard30pww0n2g30kk24z16qqcnfs-go-tests-0.0.0
  153. 26.85 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/yhi6dard30pww0n2g30kk24z16qqcnfs-go-tests-0.0.0
  154. 26.97 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  155. 26.98 s [go-tests:post-build] copying 1 paths...
  156. 26.98 s [go-tests:post-build] copying path '/nix/store/yhi6dard30pww0n2g30kk24z16qqcnfs-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  157. 27.19 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  158. 27.58 s [go-tests:post-build] copying 1 paths...
  159. 27.59 s [go-tests:post-build] copying path '/nix/store/4sv7lq9pabw5nrvy59d02f26bnfpvcim-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  160. 27.74 s Uploaded go-tests in 929ms
  161. 27.74 s Progress: 1 of 2 built, 6 of 6 downloaded from cache
  162. 27.74 s Built go-tests in 23.2s
  163. 27.75 s Progress: 2 of 2 built, 6 of 6 downloaded from cache
  164. 27.75 s /nix/store/yhi6dard30pww0n2g30kk24z16qqcnfs-go-tests-0.0.0
  165. 27.81 s Build succeeded.