1. 0.15 s $ /nix/store/vzx1mi9c0xfadmsm9dhd83d005cb1qs9-coreutils-9.8/bin/timeout --kill-after=15s 7200s /nix/store/86n4l5yri6hys3zk2mwy2azcv9prqb8j-nix-2.31.4/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link git+https://codeberg.org/mtlynch/little-moments?ref=pragma-foreign-keys&rev=5b953bf55df8d8dfaad0c496f632ae9a0ad3888b#packages.x86_64-linux.go-tests --print-build-logs
  2. 2.25 s
  3. 2.62 s Downloading cached errcheck from https://cache.nix-ci.com
  4. 2.62 s Downloading cached go-critic from https://cache.nix-ci.com
  5. 2.62 s Downloading cached go-tools from https://cache.nix-ci.com
  6. 2.90 s Progress: 0 of 4 built, 1 of 3 downloaded from cache (2 downloading)
  7. 2.92 s Progress: 0 of 3 built, 2 of 3 downloaded from cache (1 downloading)
  8. 3.26 s Progress: 0 of 2 built, 3 of 3 downloaded from cache
  9. 3.36 s Building go-tests
  10. 3.42 s [go-tests] Phase: unpackPhase
  11. 3.43 s [go-tests] unpacking source archive /nix/store/7apny4jj7qf5ypl2h022jqjs6p4plxzw-source
  12. 3.45 s [go-tests] source root is source
  13. 3.46 s [go-tests] Phase: patchPhase
  14. 3.47 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  15. 3.49 s [go-tests] Phase: configurePhase
  16. 3.50 s [go-tests] no configure script, doing nothing
  17. 3.51 s [go-tests] Phase: buildPhase
  18. 3.52 s [go-tests] patching script interpreter paths in ./dev-scripts
  19. 3.52 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"
  20. 3.54 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"
  21. 3.56 s [go-tests] ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  22. 3.58 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"
  23. 3.60 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"
  24. 3.62 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"
  25. 3.64 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"
  26. 3.65 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"
  27. 3.67 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"
  28. 3.69 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"
  29. 3.70 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"
  30. 3.72 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"
  31. 3.74 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"
  32. 3.76 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"
  33. 3.78 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"
  34. 3.79 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"
  35. 3.81 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"
  36. 3.83 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"
  37. 3.85 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"
  38. 3.87 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"
  39. 3.89 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  40. 3.91 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"
  41. 4.06 s [go-tests] + set -o pipefail
  42. 4.06 s [go-tests] + full_test=
  43. 4.06 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  44. 4.06 s [go-tests] + go_test_flags+=("-fullpath")
  45. 4.06 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  46. 4.06 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  47. 4.06 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  48. 4.06 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  49. 4.06 s [go-tests] + [[ '' = \-\-full ]]
  50. 4.06 s [go-tests] + set -u
  51. 4.06 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  52. 4.07 s [go-tests] ++ cd ./dev-scripts
  53. 4.07 s [go-tests] ++ pwd
  54. 4.07 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  55. 4.07 s [go-tests] + readonly SCRIPT_DIR
  56. 4.07 s [go-tests] + cd /build/source/dev-scripts/..
  57. 4.07 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  58. 7.67 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  59. 12.02 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  60. 17.78 s [go-tests] ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  61. 18.91 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers 1.126s
  62. 18.91 s [go-tests] ok codeberg.org/mtlynch/little-moments/handlers/auth/shared_secret 0.369s
  63. 18.91 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  64. 18.91 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.020s
  65. 18.91 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.006s
  66. 18.91 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.006s
  67. 18.91 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  68. 18.91 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  69. 18.91 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  70. 18.91 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.005s
  71. 18.91 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.975s
  72. 18.91 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  73. 19.02 s [go-tests] + [[ -n '' ]]
  74. 19.02 s [go-tests] + go vet ./...
  75. 30.83 s [go-tests] + go_package_dirs=()
  76. 30.86 s [go-tests] + IFS=
  77. 30.86 s [go-tests] + read -r go_package_dir
  78. 30.86 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  79. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  80. 31.00 s [go-tests] + IFS=
  81. 31.00 s [go-tests] + read -r go_package_dir
  82. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  83. 31.00 s [go-tests] + IFS=
  84. 31.00 s [go-tests] + read -r go_package_dir
  85. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  86. 31.00 s [go-tests] + IFS=
  87. 31.00 s [go-tests] + read -r go_package_dir
  88. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  89. 31.00 s [go-tests] + IFS=
  90. 31.00 s [go-tests] + read -r go_package_dir
  91. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  92. 31.00 s [go-tests] + IFS=
  93. 31.00 s [go-tests] + read -r go_package_dir
  94. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  95. 31.00 s [go-tests] + IFS=
  96. 31.00 s [go-tests] + read -r go_package_dir
  97. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  98. 31.00 s [go-tests] + IFS=
  99. 31.00 s [go-tests] + read -r go_package_dir
  100. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  101. 31.00 s [go-tests] + IFS=
  102. 31.00 s [go-tests] + read -r go_package_dir
  103. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  104. 31.00 s [go-tests] + IFS=
  105. 31.00 s [go-tests] + read -r go_package_dir
  106. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  107. 31.00 s [go-tests] + IFS=
  108. 31.00 s [go-tests] + read -r go_package_dir
  109. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  110. 31.00 s [go-tests] + IFS=
  111. 31.00 s [go-tests] + read -r go_package_dir
  112. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  113. 31.00 s [go-tests] + IFS=
  114. 31.00 s [go-tests] + read -r go_package_dir
  115. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  116. 31.00 s [go-tests] + IFS=
  117. 31.00 s [go-tests] + read -r go_package_dir
  118. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  119. 31.00 s [go-tests] + IFS=
  120. 31.00 s [go-tests] + read -r go_package_dir
  121. 31.00 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  122. 31.00 s [go-tests] + IFS=
  123. 31.00 s [go-tests] + read -r go_package_dir
  124. 31.01 s [go-tests] + readonly go_package_dirs
  125. 31.01 s [go-tests] ++ go env GOPATH
  126. 31.02 s [go-tests] + GCI_PATH=/build/go/bin/gci
  127. 31.02 s [go-tests] + readonly GCI_PATH
  128. 31.02 s [go-tests] + readonly GCI_VERSION=v0.14.0
  129. 31.02 s [go-tests] + GCI_VERSION=v0.14.0
  130. 31.02 s [go-tests] + [[ -f /build/go/bin/gci ]]
  131. 31.02 s [go-tests] ++ /build/go/bin/gci --version
  132. 31.03 s [go-tests] + gci_version_output='gci version 0.14.0'
  133. 31.03 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  134. 31.03 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  135. 31.03 s [go-tests] + readonly gci_sections
  136. 31.03 s [go-tests] ++ /build/go/bin/gci list --skip-generated --skip-vendor --section=standard --section=default --section=localmodule /build/source/build /build/source/cmd/app /build/source/cmd/import-from-tinybeans /build/source/handlers /build/source/handlers/auth/shared_secret /build/source/images /build/source/importers /build/source/importers/tinybeans /build/source/importers/tinybeans/parse /build/source/little_moments /build/source/ratelimit /build/source/s3 /build/source/s3config /build/source/store/sqlite /build/source/store/test_sqlite
  137. 31.14 s [go-tests] + gci_output=
  138. 31.14 s [go-tests] + [[ -n '' ]]
  139. 31.14 s [go-tests] ++ go env GOPATH
  140. 31.15 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  141. 31.15 s [go-tests] + readonly GOCRITIC_PATH
  142. 31.15 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  143. 31.15 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  144. 31.15 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  145. 31.15 s [go-tests] + /build/go/bin/go-critic check ./...
  146. 32.11 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  147. 33.02 s [go-tests] ++ go env GOPATH
  148. 33.02 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  149. 33.02 s [go-tests] + readonly STATICCHECK_PATH
  150. 33.02 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  151. 33.02 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  152. 33.02 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  153. 33.02 s [go-tests] + /build/go/bin/staticcheck ./...
  154. 38.37 s [go-tests] ++ go env GOPATH
  155. 38.41 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  156. 38.41 s [go-tests] + readonly ERRCHECK_PATH
  157. 38.41 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  158. 38.41 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  159. 38.41 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  160. 38.41 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  161. 38.64 s [go-tests] buildPhase completed in 36 seconds
  162. 38.64 s [go-tests] Phase: installPhase
  163. 38.65 s [go-tests] Phase: fixupPhase
  164. 38.68 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/abfmmm25r8jgvbm94yh46gzhs2fi0myy-go-tests-0.0.0
  165. 38.68 s [go-tests] checking for references to /build/ in /nix/store/abfmmm25r8jgvbm94yh46gzhs2fi0myy-go-tests-0.0.0...
  166. 38.70 s [go-tests] patching script interpreter paths in /nix/store/abfmmm25r8jgvbm94yh46gzhs2fi0myy-go-tests-0.0.0
  167. 38.74 s [post-build-hook] Uploading to the NixCI cache: /nix/store/abfmmm25r8jgvbm94yh46gzhs2fi0myy-go-tests-0.0.0
  168. 38.82 s [post-build-hook] copying 1 paths...
  169. 38.82 s [post-build-hook] copying path '/nix/store/abfmmm25r8jgvbm94yh46gzhs2fi0myy-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  170. 40.11 s [post-build-hook] copying 1 paths...
  171. 40.11 s [post-build-hook] copying path '/nix/store/p9fm7rcnfrszz5fq1z769308sx3fjq6a-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  172. 40.60 s Progress: 1 of 2 built, 3 of 3 downloaded from cache