build packages.x86_64-linux.go-tests

Reproduce this run
  1. 1.01 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=port%2Fnixci-cache-scripts&rev=449b1920c675d9ef38bd9ffee4b4c46ea1428d8c#packages.x86_64-linux.go-tests --print-build-logs
  2. 1.04 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/9f33c911a68eb0fa0102996f8b4b6880ad4974b27037377f449b72de1f6da28c.sqlite' is busy
  3. 2.01 s
  4. 2.71 s Building /nix/store/5y543mqyakm077c5wr8qsvjcj39wwic9-go-app-starter-0.0.1-go-modules.drv
  5. 2.76 s [go-app-starter-0.0.1-go-modules] Phase: unpackPhase
  6. 2.76 s [go-app-starter-0.0.1-go-modules] unpacking source archive /nix/store/zfavhsh25fx88mi4r4gi9rd4pk4r48d8-source
  7. 2.78 s [go-app-starter-0.0.1-go-modules] source root is source
  8. 2.79 s [go-app-starter-0.0.1-go-modules] Phase: patchPhase
  9. 2.80 s [go-app-starter-0.0.1-go-modules] Phase: updateAutotoolsGnuConfigScriptsPhase
  10. 2.81 s [go-app-starter-0.0.1-go-modules] Phase: configurePhase
  11. 2.82 s [go-app-starter-0.0.1-go-modules] Phase: buildPhase
  12. 2.84 s [go-app-starter-0.0.1-go-modules] go: downloading github.com/ncruces/go-sqlite3 v0.22.0
  13. 2.85 s [go-app-starter-0.0.1-go-modules] go: downloading codeberg.org/mtlynch/go-evolutionary-migrate v0.0.1
  14. 3.00 s [go-app-starter-0.0.1-go-modules] go: downloading github.com/tetratelabs/wazero v1.8.2
  15. 3.00 s [go-app-starter-0.0.1-go-modules] go: downloading github.com/ncruces/julianday v1.0.0
  16. 3.00 s [go-app-starter-0.0.1-go-modules] go: downloading golang.org/x/sys v0.29.0
  17. 4.09 s [go-app-starter-0.0.1-go-modules] Phase: installPhase
  18. 4.60 s [go-app-starter-0.0.1-go-modules:post-build] Uploading to the NixCI cache: /nix/store/sz5kd43jmv4xjh7gfrp9snqf0xc9fly8-go-app-starter-0.0.1-go-modules
  19. 4.63 s [go-app-starter-0.0.1-go-modules:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  20. 4.64 s [go-app-starter-0.0.1-go-modules:post-build] copying 1 paths...
  21. 4.64 s [go-app-starter-0.0.1-go-modules:post-build] copying path '/nix/store/sz5kd43jmv4xjh7gfrp9snqf0xc9fly8-go-app-starter-0.0.1-go-modules' to 'https://cache.nix-ci.com'...
  22. 7.24 s [go-app-starter-0.0.1-go-modules:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  23. 7.32 s [go-app-starter-0.0.1-go-modules:post-build] copying 0 paths...
  24. 7.34 s Uploaded go-app-starter-0.0.1-go-modules in 2.7s
  25. 7.34 s Progress: 1 of 3 built
  26. 7.34 s Built go-app-starter-0.0.1-go-modules in 4.6s
  27. 7.37 s Building /nix/store/94nqx3cm04j9pbqzb57949pjy1zy1m7p-go-tests-0.0.0.drv
  28. 7.44 s [go-tests] Phase: unpackPhase
  29. 7.44 s [go-tests] unpacking source archive /nix/store/zfavhsh25fx88mi4r4gi9rd4pk4r48d8-source
  30. 7.46 s [go-tests] source root is source
  31. 7.49 s [go-tests] Phase: patchPhase
  32. 7.50 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  33. 7.55 s [go-tests] Phase: configurePhase
  34. 7.61 s [go-tests] no configure script, doing nothing
  35. 7.61 s [go-tests] Phase: buildPhase
  36. 7.63 s [go-tests] patching script interpreter paths in ./dev-scripts
  37. 7.64 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"
  38. 7.70 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. 7.74 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"
  40. 7.79 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"
  41. 7.84 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"
  42. 7.88 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"
  43. 7.90 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"
  44. 7.92 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"
  45. 7.94 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"
  46. 7.96 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"
  47. 7.98 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"
  48. 8.00 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"
  49. 8.02 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"
  50. 8.04 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"
  51. 8.05 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"
  52. 8.07 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"
  53. 8.09 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"
  54. 8.11 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"
  55. 8.13 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"
  56. 8.15 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"
  57. 8.17 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  58. 8.18 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"
  59. 8.20 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"
  60. 8.30 s [go-tests] + set -o pipefail
  61. 8.30 s [go-tests] + full_test=
  62. 8.30 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  63. 8.30 s [go-tests] + go_test_flags+=("-fullpath")
  64. 8.30 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  65. 8.30 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  66. 8.30 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  67. 8.30 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  68. 8.30 s [go-tests] + [[ '' = \-\-full ]]
  69. 8.30 s [go-tests] + set -u
  70. 8.30 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  71. 8.30 s [go-tests] ++ cd ./dev-scripts
  72. 8.30 s [go-tests] ++ pwd
  73. 8.30 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  74. 8.30 s [go-tests] + readonly SCRIPT_DIR
  75. 8.30 s [go-tests] + cd /build/source/dev-scripts/..
  76. 8.30 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  77. 11.55 s [go-tests] ? github.com/mtlynch/go-app-starter/build [no test files]
  78. 14.39 s [go-tests] ? github.com/mtlynch/go-app-starter/cmd/app [no test files]
  79. 14.41 s [go-tests] ok github.com/mtlynch/go-app-starter/handlers 0.005s
  80. 14.41 s [go-tests] ? github.com/mtlynch/go-app-starter/store/sqlite [no test files]
  81. 15.22 s [go-tests] ok github.com/mtlynch/go-app-starter/store/test_sqlite 0.675s
  82. 15.28 s [go-tests] + [[ -n '' ]]
  83. 15.28 s [go-tests] + go vet ./...
  84. 18.85 s [go-tests] + go_package_dirs=()
  85. 18.85 s [go-tests] + IFS=
  86. 18.85 s [go-tests] + read -r go_package_dir
  87. 18.85 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  88. 18.89 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  89. 18.89 s [go-tests] + IFS=
  90. 18.89 s [go-tests] + read -r go_package_dir
  91. 18.89 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  92. 18.89 s [go-tests] + IFS=
  93. 18.89 s [go-tests] + read -r go_package_dir
  94. 18.89 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  95. 18.89 s [go-tests] + IFS=
  96. 18.89 s [go-tests] + read -r go_package_dir
  97. 18.89 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  98. 18.89 s [go-tests] + IFS=
  99. 18.89 s [go-tests] + read -r go_package_dir
  100. 18.89 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  101. 18.89 s [go-tests] + IFS=
  102. 18.89 s [go-tests] + read -r go_package_dir
  103. 18.89 s [go-tests] + readonly go_package_dirs
  104. 18.89 s [go-tests] ++ go env GOPATH
  105. 18.89 s [go-tests] + GCI_PATH=/build/home/go/bin/gci
  106. 18.89 s [go-tests] + readonly GCI_PATH
  107. 18.89 s [go-tests] + readonly GCI_VERSION=v0.14.0
  108. 18.89 s [go-tests] + GCI_VERSION=v0.14.0
  109. 18.89 s [go-tests] + [[ -f /build/home/go/bin/gci ]]
  110. 18.89 s [go-tests] ++ /build/home/go/bin/gci --version
  111. 18.90 s [go-tests] + gci_version_output='gci version 0.14.0'
  112. 18.90 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  113. 18.90 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  114. 18.90 s [go-tests] + readonly gci_sections
  115. 18.90 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
  116. 18.91 s [go-tests] + gci_output=
  117. 18.91 s [go-tests] + [[ -n '' ]]
  118. 18.91 s [go-tests] ++ go env GOPATH
  119. 18.91 s [go-tests] + GOCRITIC_PATH=/build/home/go/bin/go-critic
  120. 18.91 s [go-tests] + readonly GOCRITIC_PATH
  121. 18.91 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  122. 18.91 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  123. 18.91 s [go-tests] + [[ ! -f /build/home/go/bin/go-critic ]]
  124. 18.91 s [go-tests] + /build/home/go/bin/go-critic check ./...
  125. 19.40 s [go-tests] + /build/home/go/bin/go-critic check -enable=returnAfterHttpError ./...
  126. 19.83 s [go-tests] ++ go env GOPATH
  127. 19.83 s [go-tests] + STATICCHECK_PATH=/build/home/go/bin/staticcheck
  128. 19.83 s [go-tests] + readonly STATICCHECK_PATH
  129. 19.83 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  130. 19.83 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  131. 19.83 s [go-tests] + [[ ! -f /build/home/go/bin/staticcheck ]]
  132. 19.83 s [go-tests] + /build/home/go/bin/staticcheck ./...
  133. 22.40 s [go-tests] ++ go env GOPATH
  134. 22.40 s [go-tests] + ERRCHECK_PATH=/build/home/go/bin/errcheck
  135. 22.40 s [go-tests] + readonly ERRCHECK_PATH
  136. 22.40 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  137. 22.40 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  138. 22.40 s [go-tests] + [[ ! -f /build/home/go/bin/errcheck ]]
  139. 22.40 s [go-tests] + /build/home/go/bin/errcheck -ignoretests ./...
  140. 22.53 s [go-tests] Phase: installPhase
  141. 22.54 s [go-tests] Phase: fixupPhase
  142. 22.55 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/n5v623wv4h2jrijrp55sfzw4gnqs307v-go-tests-0.0.0
  143. 22.55 s [go-tests] checking for references to /build/ in /nix/store/n5v623wv4h2jrijrp55sfzw4gnqs307v-go-tests-0.0.0...
  144. 22.56 s [go-tests] patching script interpreter paths in /nix/store/n5v623wv4h2jrijrp55sfzw4gnqs307v-go-tests-0.0.0
  145. 22.70 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/n5v623wv4h2jrijrp55sfzw4gnqs307v-go-tests-0.0.0
  146. 22.74 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  147. 22.74 s [go-tests:post-build] copying 1 paths...
  148. 22.74 s [go-tests:post-build] copying path '/nix/store/n5v623wv4h2jrijrp55sfzw4gnqs307v-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  149. 22.94 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  150. 23.20 s [go-tests:post-build] copying 1 paths...
  151. 23.20 s [go-tests:post-build] copying path '/nix/store/94nqx3cm04j9pbqzb57949pjy1zy1m7p-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  152. 23.48 s Uploaded go-tests in 792ms
  153. 23.48 s Progress: 2 of 3 built
  154. 23.48 s Built go-tests in 16.1s
  155. 23.48 s Progress: 3 of 3 built
  156. 23.48 s /nix/store/n5v623wv4h2jrijrp55sfzw4gnqs307v-go-tests-0.0.0
  157. 23.53 s Build succeeded.