1. 1.45 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=test-fjcli&rev=95c132c1c8033a71550ec9b8feb01e360f69d00d#packages.x86_64-linux.go-tests --print-build-logs
  2. 2.40 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/e7737d92ecae8fc157e9dfd1800e43016cf4f65d865118f6601e9a54a8af23a6.sqlite' is busy
  3. 2.40 s
  4. 2.40 s Downloading cached source from https://cache.nix-ci.com
  5. 9.31 s Downloaded cached source (194.4 MiB) in 6.9s
  6. 9.37 s Progress: 1 of 1 downloaded from cache
  7. 11.06 s Progress: 0 of 1 downloaded from cache
  8. 11.06 s Downloading cached source from https://cache.nix-ci.com
  9. 19.22 s Downloaded cached source (186 MiB) in 8.1s
  10. 19.26 s Progress: 1 of 1 downloaded from cache
  11. 20.16 s
  12. 20.17 s Downloading cached errcheck from https://cache.nix-ci.com
  13. 20.17 s Downloading cached gci from https://cache.nix-ci.com
  14. 20.17 s Downloading cached go-critic from https://cache.nix-ci.com
  15. 20.17 s Downloading cached go-tools from https://cache.nix-ci.com
  16. 20.17 s Downloading cached xgcc-15.2.0-libgcc from https://cache.nix-ci.com
  17. 20.17 s Downloading cached libunistring from https://cache.nix-ci.com
  18. 20.34 s Downloaded cached gci (14.3 MiB) in 171ms
  19. 20.34 s Progress: 0 of 6 built, 1 of 12 downloaded from cache (5 downloading)
  20. 20.34 s Downloaded cached xgcc-15.2.0-libgcc (193 KiB) in 176ms
  21. 20.34 s Progress: 0 of 5 built, 2 of 12 downloaded from cache (4 downloading)
  22. 20.42 s Downloaded cached libunistring (2 MiB) in 251ms
  23. 20.42 s Progress: 0 of 5 built, 3 of 12 downloaded from cache (3 downloading)
  24. 20.42 s Downloading cached libidn2 from https://cache.nix-ci.com
  25. 20.45 s Downloaded cached go-critic (9.3 MiB) in 277ms
  26. 20.45 s Progress: 0 of 5 built, 4 of 12 downloaded from cache (3 downloading)
  27. 20.46 s Downloaded cached libidn2 (359 KiB) in 44ms
  28. 20.46 s Progress: 0 of 4 built, 5 of 12 downloaded from cache (2 downloading)
  29. 20.46 s Downloading cached glibc-2.40 from https://cache.nix-ci.com
  30. 20.47 s Downloaded cached errcheck (5.2 MiB) in 298ms
  31. 20.47 s Progress: 0 of 4 built, 6 of 12 downloaded from cache (2 downloading)
  32. 20.78 s Downloaded cached go-tools (45.4 MiB) in 608ms
  33. 20.78 s Progress: 0 of 3 built, 7 of 12 downloaded from cache (1 downloading)
  34. 20.79 s Downloaded cached glibc-2.40 (28.8 MiB) in 328ms
  35. 20.79 s Progress: 0 of 2 built, 8 of 12 downloaded from cache
  36. 20.79 s Downloading cached zlib from https://cache.nix-ci.com
  37. 20.83 s Downloaded cached zlib (129 KiB) in 33ms
  38. 20.83 s Progress: 0 of 2 built, 9 of 12 downloaded from cache
  39. 20.83 s Downloading cached sqlite from https://cache.nix-ci.com
  40. 20.83 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  41. 20.89 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 60ms
  42. 20.89 s Progress: 0 of 2 built, 10 of 12 downloaded from cache (1 downloading)
  43. 20.89 s Downloaded cached sqlite (3.8 MiB) in 61ms
  44. 20.89 s Progress: 0 of 2 built, 11 of 12 downloaded from cache
  45. 20.89 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  46. 20.92 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 35ms
  47. 20.92 s Progress: 0 of 2 built, 12 of 12 downloaded from cache
  48. 21.01 s Building /nix/store/2qrgnnpd6h884h15dc60ww28ynvf28ls-go-tests-0.0.0.drv
  49. 21.07 s [go-tests] Phase: unpackPhase
  50. 21.07 s [go-tests] unpacking source archive /nix/store/77y7f6v56rifq5dyc42ni127936fg8zj-source
  51. 21.09 s [go-tests] source root is source
  52. 21.10 s [go-tests] Phase: patchPhase
  53. 21.11 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  54. 21.12 s [go-tests] Phase: configurePhase
  55. 21.14 s [go-tests] no configure script, doing nothing
  56. 21.14 s [go-tests] Phase: buildPhase
  57. 21.15 s [go-tests] patching script interpreter paths in ./dev-scripts
  58. 21.15 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"
  59. 21.16 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"
  60. 21.18 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"
  61. 21.20 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. 21.21 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"
  63. 21.23 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"
  64. 21.24 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"
  65. 21.26 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"
  66. 21.27 s [go-tests] ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  67. 21.29 s [go-tests] ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  68. 21.30 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"
  69. 21.32 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"
  70. 21.33 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  71. 21.35 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"
  72. 21.36 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"
  73. 21.38 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"
  74. 21.39 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"
  75. 21.41 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"
  76. 21.42 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"
  77. 21.44 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"
  78. 21.45 s [go-tests] ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  79. 21.54 s [go-tests] + set -o pipefail
  80. 21.54 s [go-tests] + full_test=
  81. 21.54 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  82. 21.54 s [go-tests] + go_test_flags+=("-fullpath")
  83. 21.54 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  84. 21.54 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  85. 21.54 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  86. 21.54 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  87. 21.54 s [go-tests] + [[ '' = \-\-full ]]
  88. 21.54 s [go-tests] + set -u
  89. 21.54 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  90. 21.54 s [go-tests] ++ cd ./dev-scripts
  91. 21.54 s [go-tests] ++ pwd
  92. 21.54 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  93. 21.54 s [go-tests] + readonly SCRIPT_DIR
  94. 21.54 s [go-tests] + cd /build/source/dev-scripts/..
  95. 21.54 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  96. 24.53 s [go-tests] ? github.com/mtlynch/go-app-starter/build [no test files]
  97. 27.38 s [go-tests] ? github.com/mtlynch/go-app-starter/cmd/app [no test files]
  98. 27.39 s [go-tests] ok github.com/mtlynch/go-app-starter/handlers 0.005s
  99. 27.39 s [go-tests] ? github.com/mtlynch/go-app-starter/store/sqlite [no test files]
  100. 28.15 s [go-tests] ok github.com/mtlynch/go-app-starter/store/test_sqlite 0.628s
  101. 28.21 s [go-tests] + [[ -n '' ]]
  102. 28.21 s [go-tests] + go vet ./...
  103. 31.88 s [go-tests] + go_package_dirs=()
  104. 31.92 s [go-tests] + IFS=
  105. 31.92 s [go-tests] + read -r go_package_dir
  106. 31.92 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  107. 31.92 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  108. 31.92 s [go-tests] + IFS=
  109. 31.92 s [go-tests] + read -r go_package_dir
  110. 31.92 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  111. 31.92 s [go-tests] + IFS=
  112. 31.92 s [go-tests] + read -r go_package_dir
  113. 31.92 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  114. 31.92 s [go-tests] + IFS=
  115. 31.92 s [go-tests] + read -r go_package_dir
  116. 31.92 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  117. 31.92 s [go-tests] + IFS=
  118. 31.92 s [go-tests] + read -r go_package_dir
  119. 31.92 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  120. 31.92 s [go-tests] + IFS=
  121. 31.92 s [go-tests] + read -r go_package_dir
  122. 31.92 s [go-tests] + readonly go_package_dirs
  123. 31.92 s [go-tests] ++ go env GOPATH
  124. 31.92 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  125. 31.93 s [go-tests] + readonly GCI_PATH
  126. 31.93 s [go-tests] + readonly GCI_VERSION=v0.14.0
  127. 31.93 s [go-tests] + GCI_VERSION=v0.14.0
  128. 31.93 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  129. 31.93 s [go-tests] ++ /build/home/go/bin/gci --version
  130. 31.93 s [go-tests] + gci_version_output='gci version 0.14.0'
  131. 31.93 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  132. 31.93 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  133. 31.93 s [go-tests] + readonly gci_sections
  134. 31.93 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
  135. 31.94 s [go-tests] + gci_output=
  136. 31.94 s [go-tests] + [[ -n '' ]]
  137. 31.94 s [go-tests] ++ go env GOPATH
  138. 31.94 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  139. 31.94 s [go-tests] + readonly GOCRITIC_PATH
  140. 31.94 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  141. 31.94 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  142. 31.94 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  143. 31.94 s [go-tests] + /build/home/go/bin/go-critic check ./...
  144. 32.44 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  145. 32.86 s [go-tests] ++ go env GOPATH
  146. 32.87 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  147. 32.87 s [go-tests] + readonly STATICCHECK_PATH
  148. 32.87 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  149. 32.87 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  150. 32.87 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  151. 32.87 s [go-tests] + /build/home/go/bin/staticcheck ./...
  152. 35.38 s [go-tests] ++ go env GOPATH
  153. 35.39 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  154. 35.39 s [go-tests] + readonly ERRCHECK_PATH
  155. 35.39 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  156. 35.39 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  157. 35.39 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  158. 35.39 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  159. 35.50 s [go-tests] Phase: installPhase
  160. 35.51 s [go-tests] Phase: fixupPhase
  161. 35.52 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/69i69dlsyz1i844c6kypvs0vgqbvmi1q-go-tests-0.0.0
  162. 35.53 s [go-tests] checking for references to /build/ in /nix/store/69i69dlsyz1i844c6kypvs0vgqbvmi1q-go-tests-0.0.0...
  163. 35.54 s [go-tests] patching script interpreter paths in /nix/store/69i69dlsyz1i844c6kypvs0vgqbvmi1q-go-tests-0.0.0
  164. 35.66 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/69i69dlsyz1i844c6kypvs0vgqbvmi1q-go-tests-0.0.0
  165. 35.69 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  166. 35.70 s [go-tests:post-build] copying 1 paths...
  167. 35.70 s [go-tests:post-build] copying path '/nix/store/69i69dlsyz1i844c6kypvs0vgqbvmi1q-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  168. 35.85 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  169. 36.71 s [go-tests:post-build] copying 1 paths...
  170. 36.71 s [go-tests:post-build] copying path '/nix/store/2qrgnnpd6h884h15dc60ww28ynvf28ls-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  171. 36.94 s Uploaded go-tests in 1.2s
  172. 36.98 s Progress: 1 of 2 built, 12 of 12 downloaded from cache
  173. 36.98 s Built go-tests in 15.9s
  174. 36.98 s Progress: 2 of 2 built, 12 of 12 downloaded from cache
  175. 36.98 s /nix/store/69i69dlsyz1i844c6kypvs0vgqbvmi1q-go-tests-0.0.0
  176. 36.98 s Build succeeded.