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/go-app-starter?ref=deploy-bash&rev=5171dc379cb71ad8ade90083e7eb00bfc3c34c01&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/76467e474122b634d5a4f47d54b8fc9c522869468746b21b5711f780c9a304ac.sqlite' is busy
  3. 1.62 s
  4. 1.87 s Downloading cached errcheck from https://cache.nix-ci.com
  5. 1.87 s Downloading cached gci from https://cache.nix-ci.com
  6. 1.87 s Downloading cached go-critic from https://cache.nix-ci.com
  7. 1.87 s Downloading cached go-tools from https://cache.nix-ci.com
  8. 1.87 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  9. 1.87 s Downloading cached libunistring from https://cache.nix-ci.com
  10. 2.04 s Downloaded cached xgcc-15.2.0-libgcc (193 KiB) in 169ms
  11. 2.04 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  12. 2.10 s Downloaded cached gci (14.3 MiB) in 223ms
  13. 2.10 s Progress: 0 of 6 built, 2 of 12 downloaded from cache (4 downloading)
  14. 2.99 s Downloaded cached go-critic (9.3 MiB) in 1.1s
  15. 2.99 s Progress: 0 of 5 built, 3 of 12 downloaded from cache (3 downloading)
  16. 3.06 s Downloaded cached libunistring (2 MiB) in 1.1s
  17. 3.06 s Progress: 0 of 4 built, 4 of 12 downloaded from cache (2 downloading)
  18. 3.06 s Downloading cached libidn2 from https://cache.nix-ci.com
  19. 3.41 s Downloaded cached errcheck (5.2 MiB) in 1.5s
  20. 3.41 s Progress: 0 of 4 built, 5 of 12 downloaded from cache (2 downloading)
  21. 3.46 s Downloaded cached libidn2 (359 KiB) in 397ms
  22. 3.46 s Progress: 0 of 3 built, 6 of 12 downloaded from cache (1 downloading)
  23. 3.46 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  24. 4.97 s Downloaded cached glibc-2.40 (28.8 MiB) in 1.5s
  25. 4.97 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  26. 4.97 s Downloading cached zlib from https://cache.nix-ci.com
  27. 5.11 s Downloaded cached zlib (129 KiB) in 147ms
  28. 5.11 s Progress: 0 of 3 built, 8 of 12 downloaded from cache (1 downloading)
  29. 5.11 s Downloading cached sqlite from https://cache.nix-ci.com
  30. 5.11 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  31. 5.31 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 196ms
  32. 5.35 s Progress: 0 of 3 built, 9 of 12 downloaded from cache (2 downloading)
  33. 5.35 s Downloaded cached sqlite (3.8 MiB) in 241ms
  34. 5.35 s Progress: 0 of 3 built, 10 of 12 downloaded from cache (1 downloading)
  35. 5.35 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  36. 5.52 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 161ms
  37. 5.52 s Progress: 0 of 3 built, 11 of 12 downloaded from cache (1 downloading)
  38. 6.55 s Downloaded cached go-tools (45.4 MiB) in 4.6s
  39. 6.55 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  40. 6.65 s Building /nix/store/2w9l2ayd3k7xjxz0rvm43354rf1ngyk1-go-tests-0.0.0.drv
  41. 6.72 s [go-tests] Phase: unpackPhase
  42. 6.72 s [go-tests] unpacking source archive /nix/store/xryxj3nb2g7i4b72am6k0qdrxvhd6i5v-source
  43. 6.74 s [go-tests] source root is source
  44. 6.75 s [go-tests] Phase: patchPhase
  45. 6.76 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  46. 6.77 s [go-tests] Phase: configurePhase
  47. 6.79 s [go-tests] no configure script, doing nothing
  48. 6.79 s [go-tests] Phase: buildPhase
  49. 6.80 s [go-tests] patching script interpreter paths in ./dev-scripts
  50. 6.80 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"
  51. 6.82 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"
  52. 6.84 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"
  53. 6.86 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"
  54. 6.88 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"
  55. 6.90 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"
  56. 6.91 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"
  57. 6.93 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"
  58. 6.95 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"
  59. 6.96 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"
  60. 6.98 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"
  61. 7.00 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"
  62. 7.01 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. 7.03 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"
  64. 7.05 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"
  65. 7.06 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"
  66. 7.08 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"
  67. 7.10 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  68. 7.11 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"
  69. 7.13 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"
  70. 7.15 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"
  71. 7.24 s [go-tests] + set -o pipefail
  72. 7.24 s [go-tests] + full_test=
  73. 7.24 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  74. 7.24 s [go-tests] + go_test_flags+=("-fullpath")
  75. 7.24 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  76. 7.24 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  77. 7.24 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  78. 7.24 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  79. 7.24 s [go-tests] + case "${1:-}" in
  80. 7.24 s [go-tests] + [[ 0 -gt 1 ]]
  81. 7.24 s [go-tests] + set -u
  82. 7.24 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  83. 7.24 s [go-tests] ++ cd ./dev-scripts
  84. 7.24 s [go-tests] ++ pwd
  85. 7.24 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  86. 7.24 s [go-tests] + readonly SCRIPT_DIR
  87. 7.24 s [go-tests] + cd /build/source/dev-scripts/..
  88. 7.24 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  89. 10.45 s [go-tests] ? github.com/mtlynch/go-app-starter/build [no test files]
  90. 13.91 s [go-tests] ? github.com/mtlynch/go-app-starter/cmd/app [no test files]
  91. 13.91 s [go-tests] ok github.com/mtlynch/go-app-starter/handlers 0.005s
  92. 13.91 s [go-tests] ? github.com/mtlynch/go-app-starter/store/sqlite [no test files]
  93. 14.34 s [go-tests] ok github.com/mtlynch/go-app-starter/store/test_sqlite 0.280s
  94. 14.41 s [go-tests] + [[ -n '' ]]
  95. 14.41 s [go-tests] + go vet ./...
  96. 18.43 s [go-tests] ++ go env GOBIN
  97. 18.47 s [go-tests] + [[ -z /build/home/go/bin ]]
  98. 18.47 s [go-tests] + go_package_dirs=()
  99. 18.47 s [go-tests] + IFS=
  100. 18.47 s [go-tests] + read -r go_package_dir
  101. 18.47 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  102. 18.48 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  103. 18.48 s [go-tests] + IFS=
  104. 18.48 s [go-tests] + read -r go_package_dir
  105. 18.48 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  106. 18.48 s [go-tests] + IFS=
  107. 18.48 s [go-tests] + read -r go_package_dir
  108. 18.48 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  109. 18.48 s [go-tests] + IFS=
  110. 18.48 s [go-tests] + read -r go_package_dir
  111. 18.48 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  112. 18.48 s [go-tests] + IFS=
  113. 18.48 s [go-tests] + read -r go_package_dir
  114. 18.48 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  115. 18.48 s [go-tests] + IFS=
  116. 18.48 s [go-tests] + read -r go_package_dir
  117. 18.48 s [go-tests] + readonly go_package_dirs
  118. 18.48 s [go-tests] ++ go env GOBIN
  119. 18.48 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  120. 18.48 s [go-tests] + readonly GCI_PATH
  121. 18.48 s [go-tests] + readonly GCI_VERSION=v0.14.0
  122. 18.48 s [go-tests] + GCI_VERSION=v0.14.0
  123. 18.48 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  124. 18.48 s [go-tests] ++ /build/home/go/bin/gci --version
  125. 18.49 s [go-tests] + gci_version_output='gci version 0.14.0'
  126. 18.49 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  127. 18.49 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  128. 18.49 s [go-tests] + readonly gci_sections
  129. 18.49 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. 18.50 s [go-tests] + gci_output=
  131. 18.50 s [go-tests] + [[ -n '' ]]
  132. 18.50 s [go-tests] ++ go env GOBIN
  133. 18.50 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  134. 18.50 s [go-tests] + readonly GOCRITIC_PATH
  135. 18.50 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  136. 18.50 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  137. 18.50 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  138. 18.50 s [go-tests] + /build/home/go/bin/go-critic check ./...
  139. 19.03 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  140. 19.48 s [go-tests] ++ go env GOBIN
  141. 19.48 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  142. 19.48 s [go-tests] + readonly STATICCHECK_PATH
  143. 19.48 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  144. 19.48 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  145. 19.48 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  146. 19.48 s [go-tests] + /build/home/go/bin/staticcheck ./...
  147. 22.27 s [go-tests] ++ go env GOBIN
  148. 22.28 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  149. 22.28 s [go-tests] + readonly ERRCHECK_PATH
  150. 22.28 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  151. 22.28 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  152. 22.28 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  153. 22.28 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  154. 22.40 s [go-tests] Phase: installPhase
  155. 22.41 s [go-tests] Phase: fixupPhase
  156. 22.42 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/0vycxchydwwiz344i31lsvpyw9l33s5d-go-tests-0.0.0
  157. 22.42 s [go-tests] checking for references to /build/ in /nix/store/0vycxchydwwiz344i31lsvpyw9l33s5d-go-tests-0.0.0...
  158. 22.44 s [go-tests] patching script interpreter paths in /nix/store/0vycxchydwwiz344i31lsvpyw9l33s5d-go-tests-0.0.0
  159. 22.57 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/0vycxchydwwiz344i31lsvpyw9l33s5d-go-tests-0.0.0
  160. 22.60 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  161. 22.61 s [go-tests:post-build] copying 1 paths...
  162. 22.61 s [go-tests:post-build] copying path '/nix/store/0vycxchydwwiz344i31lsvpyw9l33s5d-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  163. 22.77 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  164. 23.32 s [go-tests:post-build] copying 1 paths...
  165. 23.32 s [go-tests:post-build] copying path '/nix/store/2w9l2ayd3k7xjxz0rvm43354rf1ngyk1-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  166. 23.54 s Uploaded go-tests in 981ms
  167. 23.58 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  168. 23.58 s Built go-tests in 16.9s
  169. 23.58 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  170. 23.58 s /nix/store/0vycxchydwwiz344i31lsvpyw9l33s5d-go-tests-0.0.0
  171. 23.58 s Build succeeded.