1. 0.15 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/go-app-starter?ref=backport-2026-08-07&rev=6c3cdb6b01f66d7ca2cdfa2d5e2d55b7a7fbbad9&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.18 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/4e11796bc5aa17fd53f6a9ef524e97704bee9cf3ac4d3e057cf9690b1599de68.sqlite' is busy
  3. 1.72 s
  4. 1.99 s Downloading cached errcheck from https://cache.nix-ci.com
  5. 1.99 s Downloading cached gci from https://cache.nix-ci.com
  6. 1.99 s Downloading cached go-critic from https://cache.nix-ci.com
  7. 1.99 s Downloading cached go-tools from https://cache.nix-ci.com
  8. 1.99 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  9. 1.99 s Downloading cached libunistring from https://cache.nix-ci.com
  10. 2.20 s Downloaded cached gci (14.3 MiB) in 205ms
  11. 2.20 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  12. 2.24 s Downloaded cached xgcc-15.2.0-libgcc (193 KiB) in 243ms
  13. 2.24 s Progress: 0 of 5 built, 2 of 12 downloaded from cache (4 downloading)
  14. 2.49 s Downloaded cached go-critic (9.3 MiB) in 501ms
  15. 2.49 s Progress: 0 of 5 built, 3 of 12 downloaded from cache (3 downloading)
  16. 2.53 s Downloaded cached libunistring (2 MiB) in 540ms
  17. 2.53 s Progress: 0 of 4 built, 4 of 12 downloaded from cache (2 downloading)
  18. 2.53 s Downloading cached libidn2 from https://cache.nix-ci.com
  19. 2.65 s Downloaded cached errcheck (5.2 MiB) in 655ms
  20. 2.65 s Progress: 0 of 4 built, 5 of 12 downloaded from cache (2 downloading)
  21. 2.67 s Downloaded cached libidn2 (359 KiB) in 138ms
  22. 2.67 s Progress: 0 of 3 built, 6 of 12 downloaded from cache (1 downloading)
  23. 2.67 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  24. 3.12 s Downloaded cached go-tools (45.4 MiB) in 1.1s
  25. 3.12 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  26. 3.35 s Downloaded cached glibc-2.40 (28.8 MiB) in 681ms
  27. 3.35 s Progress: 0 of 2 built, 8 of 12 downloaded from cache
  28. 3.35 s Downloading cached zlib from https://cache.nix-ci.com
  29. 3.39 s Downloaded cached zlib (129 KiB) in 39ms
  30. 3.39 s Progress: 0 of 2 built, 9 of 12 downloaded from cache
  31. 3.39 s Downloading cached sqlite from https://cache.nix-ci.com
  32. 3.39 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  33. 3.47 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 71ms
  34. 3.47 s Progress: 0 of 2 built, 10 of 12 downloaded from cache (1 downloading)
  35. 3.47 s Downloaded cached sqlite (3.8 MiB) in 72ms
  36. 3.47 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  37. 3.47 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  38. 3.51 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 41ms
  39. 3.51 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  40. 3.59 s Building /nix/store/rplbkn4nykv8qgpw964i0hj4ar62irsh-go-tests-0.0.0.drv
  41. 3.67 s [go-tests] Phase: unpackPhase
  42. 3.68 s [go-tests] unpacking source archive /nix/store/wfd5576nj6f1792a6wkrcyxxnj2j0qva-source
  43. 3.69 s [go-tests] source root is source
  44. 3.71 s [go-tests] Phase: patchPhase
  45. 3.72 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  46. 3.74 s [go-tests] Phase: configurePhase
  47. 3.76 s [go-tests] no configure script, doing nothing
  48. 3.76 s [go-tests] Phase: buildPhase
  49. 3.77 s [go-tests] patching script interpreter paths in ./dev-scripts
  50. 3.77 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  51. 3.79 s [go-tests] ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  52. 3.81 s [go-tests] ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  53. 3.83 s [go-tests] ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  54. 3.85 s [go-tests] ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  55. 3.87 s [go-tests] ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  56. 3.89 s [go-tests] ./dev-scripts/upload-to-nixci-cache: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  57. 3.91 s [go-tests] ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  58. 3.93 s [go-tests] ./dev-scripts/run-js-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  59. 3.95 s [go-tests] ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  60. 3.96 s [go-tests] ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  61. 3.98 s [go-tests] ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  62. 4.00 s [go-tests] ./dev-scripts/build-all-flake-targets: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  63. 4.02 s [go-tests] ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  64. 4.04 s [go-tests] ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  65. 4.07 s [go-tests] ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  66. 4.09 s [go-tests] ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  67. 4.11 s [go-tests] ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  68. 4.13 s [go-tests] ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  69. 4.15 s [go-tests] ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  70. 4.17 s [go-tests] ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  71. 4.28 s [go-tests] + set -o pipefail
  72. 4.28 s [go-tests] + full_test=
  73. 4.28 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  74. 4.28 s [go-tests] + go_test_flags+=("-fullpath")
  75. 4.28 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  76. 4.28 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  77. 4.28 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  78. 4.28 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  79. 4.28 s [go-tests] + case "${1:-}" in
  80. 4.28 s [go-tests] + [[ 0 -gt 1 ]]
  81. 4.28 s [go-tests] + set -u
  82. 4.28 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  83. 4.28 s [go-tests] ++ cd ./dev-scripts
  84. 4.28 s [go-tests] ++ pwd
  85. 4.28 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  86. 4.28 s [go-tests] + readonly SCRIPT_DIR
  87. 4.28 s [go-tests] + cd /build/source/dev-scripts/..
  88. 4.28 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  89. 7.80 s [go-tests] ? github.com/mtlynch/go-app-starter/build [no test files]
  90. 11.79 s [go-tests] ? github.com/mtlynch/go-app-starter/cmd/app [no test files]
  91. 11.91 s [go-tests] ok github.com/mtlynch/go-app-starter/handlers 0.006s
  92. 11.91 s [go-tests] ? github.com/mtlynch/go-app-starter/store/sqlite [no test files]
  93. 12.74 s [go-tests] ok github.com/mtlynch/go-app-starter/store/test_sqlite 0.812s
  94. 12.81 s [go-tests] + [[ -n '' ]]
  95. 12.85 s [go-tests] + go vet ./...
  96. 17.68 s [go-tests] ++ go env GOBIN
  97. 17.69 s [go-tests] + [[ -z /build/home/go/bin ]]
  98. 17.69 s [go-tests] + go_package_dirs=()
  99. 17.69 s [go-tests] + IFS=
  100. 17.69 s [go-tests] + read -r go_package_dir
  101. 17.69 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  102. 17.75 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 17.75 s [go-tests] + IFS=
  104. 17.75 s [go-tests] + read -r go_package_dir
  105. 17.75 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 17.75 s [go-tests] + IFS=
  107. 17.75 s [go-tests] + read -r go_package_dir
  108. 17.75 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 17.75 s [go-tests] + IFS=
  110. 17.75 s [go-tests] + read -r go_package_dir
  111. 17.75 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 17.75 s [go-tests] + IFS=
  113. 17.75 s [go-tests] + read -r go_package_dir
  114. 17.75 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 17.75 s [go-tests] + IFS=
  116. 17.75 s [go-tests] + read -r go_package_dir
  117. 17.75 s [go-tests] + readonly go_package_dirs
  118. 17.75 s [go-tests] ++ go env GOBIN
  119. 17.75 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  120. 17.75 s [go-tests] + readonly GCI_PATH
  121. 17.75 s [go-tests] + readonly GCI_VERSION=v0.14.0
  122. 17.75 s [go-tests] + GCI_VERSION=v0.14.0
  123. 17.75 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  124. 17.75 s [go-tests] ++ /build/home/go/bin/gci --version
  125. 17.76 s [go-tests] + gci_version_output='gci version 0.14.0'
  126. 17.76 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  127. 17.76 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  128. 17.76 s [go-tests] + readonly gci_sections
  129. 17.76 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/store/sqlite /build/source/store/test_sqlite
  130. 17.77 s [go-tests] + gci_output=
  131. 17.77 s [go-tests] + [[ -n '' ]]
  132. 17.77 s [go-tests] ++ go env GOBIN
  133. 17.77 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  134. 17.77 s [go-tests] + readonly GOCRITIC_PATH
  135. 17.77 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  136. 17.77 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  137. 17.77 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  138. 17.77 s [go-tests] + /build/home/go/bin/go-critic check ./...
  139. 18.57 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  140. 19.12 s [go-tests] ++ go env GOBIN
  141. 19.12 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  142. 19.12 s [go-tests] + readonly STATICCHECK_PATH
  143. 19.12 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  144. 19.12 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  145. 19.12 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  146. 19.12 s [go-tests] + /build/home/go/bin/staticcheck ./...
  147. 22.31 s [go-tests] ++ go env GOBIN
  148. 22.31 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  149. 22.31 s [go-tests] + readonly ERRCHECK_PATH
  150. 22.31 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  151. 22.31 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  152. 22.31 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  153. 22.31 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  154. 22.47 s [go-tests] Phase: installPhase
  155. 22.48 s [go-tests] Phase: fixupPhase
  156. 22.50 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/4hx7mpncm1v7g0xvb9hjdkiyhlxsg2mv-go-tests-0.0.0
  157. 22.50 s [go-tests] checking for references to /build/ in /nix/store/4hx7mpncm1v7g0xvb9hjdkiyhlxsg2mv-go-tests-0.0.0...
  158. 22.51 s [go-tests] patching script interpreter paths in /nix/store/4hx7mpncm1v7g0xvb9hjdkiyhlxsg2mv-go-tests-0.0.0
  159. 22.65 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/4hx7mpncm1v7g0xvb9hjdkiyhlxsg2mv-go-tests-0.0.0
  160. 22.69 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  161. 22.70 s [go-tests:post-build] copying 1 paths...
  162. 22.70 s [go-tests:post-build] copying path '/nix/store/4hx7mpncm1v7g0xvb9hjdkiyhlxsg2mv-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  163. 22.86 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  164. 23.34 s [go-tests:post-build] copying 1 paths...
  165. 23.34 s [go-tests:post-build] copying path '/nix/store/rplbkn4nykv8qgpw964i0hj4ar62irsh-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  166. 23.57 s Uploaded go-tests in 935ms
  167. 23.57 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  168. 23.57 s Built go-tests in 19.9s
  169. 23.62 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  170. 23.62 s /nix/store/4hx7mpncm1v7g0xvb9hjdkiyhlxsg2mv-go-tests-0.0.0
  171. 23.62 s Build succeeded.