1. 0.12 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=e7ae45f56addfd3a29d13200f0c0d14ca23a66f3&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.14 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/38b6b145416b3085a0496ea7be0783ac180acc1cc720cf9e9f695947ef6c2d01.sqlite' is busy
  3. 2.33 s
  4. 2.49 s Downloading cached go-tools from https://cache.nix-ci.com
  5. 2.49 s Downloading cached go-app-starter-0.0.1-go-modules from https://cache.nix-ci.com
  6. 2.50 s Downloading cached errcheck from https://cache.nix-ci.com
  7. 2.50 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  8. 2.50 s Downloading cached go-critic from https://cache.nix-ci.com
  9. 2.50 s Downloading cached gci from https://cache.nix-ci.com
  10. 2.63 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 130ms
  11. 2.63 s Progress: 0 of 7 built, 1 of 7 downloaded from cache (5 downloading)
  12. 2.63 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  13. 2.65 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 24ms
  14. 2.65 s Progress: 0 of 7 built, 2 of 7 downloaded from cache (5 downloading)
  15. 2.68 s Downloaded cached errcheck (5.2 MiB) in 188ms
  16. 2.68 s Progress: 0 of 6 built, 3 of 7 downloaded from cache (4 downloading)
  17. 2.70 s Downloaded cached go-critic (9.3 MiB) in 205ms
  18. 2.70 s Progress: 0 of 5 built, 4 of 7 downloaded from cache (3 downloading)
  19. 2.75 s Downloaded cached go-app-starter-0.0.1-go-modules (12.1 MiB) in 255ms
  20. 2.75 s Progress: 0 of 4 built, 5 of 7 downloaded from cache (2 downloading)
  21. 2.79 s Downloaded cached gci (14.3 MiB) in 297ms
  22. 2.79 s Progress: 0 of 3 built, 6 of 7 downloaded from cache (1 downloading)
  23. 3.09 s Downloaded cached go-tools (45.4 MiB) in 599ms
  24. 3.09 s Progress: 0 of 2 built, 7 of 7 downloaded from cache
  25. 3.23 s Building /nix/store/smr4h9pws3c2xkmxb7k6gmir05yprhib-go-tests-0.0.0.drv
  26. 3.29 s [go-tests] Phase: unpackPhase
  27. 3.30 s [go-tests] unpacking source archive /nix/store/m21638rh7fi917vbbs9nh78vm6wkgfwy-source
  28. 3.32 s [go-tests] source root is source
  29. 3.34 s [go-tests] Phase: patchPhase
  30. 3.35 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  31. 3.37 s [go-tests] Phase: configurePhase
  32. 3.39 s [go-tests] no configure script, doing nothing
  33. 3.39 s [go-tests] Phase: buildPhase
  34. 3.40 s [go-tests] patching script interpreter paths in ./dev-scripts
  35. 3.40 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"
  36. 3.42 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"
  37. 3.44 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"
  38. 3.46 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"
  39. 3.48 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"
  40. 3.50 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"
  41. 3.53 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"
  42. 3.55 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"
  43. 3.57 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"
  44. 3.59 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"
  45. 3.61 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"
  46. 3.63 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"
  47. 3.64 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"
  48. 3.67 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"
  49. 3.69 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"
  50. 3.70 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.72 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"
  52. 3.74 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"
  53. 3.76 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.77 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"
  55. 3.79 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"
  56. 3.89 s [go-tests] + set -o pipefail
  57. 3.89 s [go-tests] + full_test=
  58. 3.89 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  59. 3.89 s [go-tests] + go_test_flags+=("-fullpath")
  60. 3.89 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  61. 3.89 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  62. 3.89 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  63. 3.89 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  64. 3.89 s [go-tests] + case "${1:-}" in
  65. 3.90 s [go-tests] + [[ 0 -gt 1 ]]
  66. 3.90 s [go-tests] + set -u
  67. 3.90 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  68. 3.90 s [go-tests] ++ cd ./dev-scripts
  69. 3.90 s [go-tests] ++ pwd
  70. 3.90 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  71. 3.90 s [go-tests] + readonly SCRIPT_DIR
  72. 3.90 s [go-tests] + cd /build/source/dev-scripts/..
  73. 3.90 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  74. 7.67 s [go-tests] ? github.com/mtlynch/go-app-starter/build [no test files]
  75. 11.27 s [go-tests] ? github.com/mtlynch/go-app-starter/cmd/app [no test files]
  76. 11.28 s [go-tests] ok github.com/mtlynch/go-app-starter/handlers 0.006s
  77. 11.28 s [go-tests] ? github.com/mtlynch/go-app-starter/store/sqlite [no test files]
  78. 12.25 s [go-tests] ok github.com/mtlynch/go-app-starter/store/test_sqlite 0.832s
  79. 12.33 s [go-tests] + [[ -n '' ]]
  80. 12.33 s [go-tests] + go vet ./...
  81. 18.21 s [go-tests] ++ go env GOBIN
  82. 18.22 s [go-tests] + [[ -z /build/home/go/bin ]]
  83. 18.22 s [go-tests] + go_package_dirs=()
  84. 18.22 s [go-tests] + IFS=
  85. 18.22 s [go-tests] + read -r go_package_dir
  86. 18.22 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  87. 18.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  88. 18.29 s [go-tests] + IFS=
  89. 18.29 s [go-tests] + read -r go_package_dir
  90. 18.29 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  91. 18.29 s [go-tests] + IFS=
  92. 18.30 s [go-tests] + read -r go_package_dir
  93. 18.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  94. 18.30 s [go-tests] + IFS=
  95. 18.30 s [go-tests] + read -r go_package_dir
  96. 18.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  97. 18.30 s [go-tests] + IFS=
  98. 18.30 s [go-tests] + read -r go_package_dir
  99. 18.30 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  100. 18.30 s [go-tests] + IFS=
  101. 18.30 s [go-tests] + read -r go_package_dir
  102. 18.30 s [go-tests] + readonly go_package_dirs
  103. 18.30 s [go-tests] ++ go env GOBIN
  104. 18.30 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  105. 18.30 s [go-tests] + readonly GCI_PATH
  106. 18.30 s [go-tests] + readonly GCI_VERSION=v0.14.0
  107. 18.30 s [go-tests] + GCI_VERSION=v0.14.0
  108. 18.30 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  109. 18.30 s [go-tests] ++ /build/home/go/bin/gci --version
  110. 18.31 s [go-tests] + gci_version_output='gci version 0.14.0'
  111. 18.31 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  112. 18.31 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  113. 18.31 s [go-tests] + readonly gci_sections
  114. 18.31 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
  115. 18.32 s [go-tests] + gci_output=
  116. 18.32 s [go-tests] + [[ -n '' ]]
  117. 18.32 s [go-tests] ++ go env GOBIN
  118. 18.32 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  119. 18.32 s [go-tests] + readonly GOCRITIC_PATH
  120. 18.32 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  121. 18.32 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  122. 18.32 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  123. 18.32 s [go-tests] + /build/home/go/bin/go-critic check ./...
  124. 19.12 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  125. 20.05 s [go-tests] ++ go env GOBIN
  126. 20.05 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  127. 20.05 s [go-tests] + readonly STATICCHECK_PATH
  128. 20.05 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  129. 20.05 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  130. 20.05 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  131. 20.05 s [go-tests] + /build/home/go/bin/staticcheck ./...
  132. 26.91 s [go-tests] ++ go env GOBIN
  133. 26.92 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  134. 26.92 s [go-tests] + readonly ERRCHECK_PATH
  135. 26.92 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  136. 26.92 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  137. 26.92 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  138. 26.92 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  139. 27.36 s [go-tests] Phase: installPhase
  140. 27.39 s [go-tests] Phase: fixupPhase
  141. 27.41 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/ks7qqm61wgczr0nzads5n0yrai4f2fii-go-tests-0.0.0
  142. 27.42 s [go-tests] checking for references to /build/ in /nix/store/ks7qqm61wgczr0nzads5n0yrai4f2fii-go-tests-0.0.0...
  143. 27.45 s [go-tests] patching script interpreter paths in /nix/store/ks7qqm61wgczr0nzads5n0yrai4f2fii-go-tests-0.0.0
  144. 27.65 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/ks7qqm61wgczr0nzads5n0yrai4f2fii-go-tests-0.0.0
  145. 27.74 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  146. 27.76 s [go-tests:post-build] copying 1 paths...
  147. 27.76 s [go-tests:post-build] copying path '/nix/store/ks7qqm61wgczr0nzads5n0yrai4f2fii-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  148. 27.89 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  149. 28.94 s [go-tests:post-build] copying 1 paths...
  150. 28.94 s [go-tests:post-build] copying path '/nix/store/smr4h9pws3c2xkmxb7k6gmir05yprhib-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  151. 29.15 s Uploaded go-tests in 1.5s
  152. 29.15 s Progress: 1 of 2 built, 7 of 7 downloaded from cache
  153. 29.15 s Built go-tests in 25.9s
  154. 29.15 s Progress: 2 of 2 built, 7 of 7 downloaded from cache
  155. 29.15 s /nix/store/ks7qqm61wgczr0nzads5n0yrai4f2fii-go-tests-0.0.0
  156. 29.23 s Build succeeded.