build packages.x86_64-linux.go-tests

Reproduce this run
Retry Run
  1. 1.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/little-moments?ref=email-auth&rev=3fb81640c1c8956bcee2fab17124b2e5754cd3ef#packages.x86_64-linux.go-tests --print-build-logs
  2. 2.13 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/3b41d65105e20630b1f1066697be0d93ec895cd8ab76ca28ad14b927b4263f8b.sqlite' is busy
  3. 2.13 s
  4. 2.13 s Building /nix/store/li1ni06cmcjjwhc6bnxphq60g06j1l0c-go-tests-0.0.0.drv
  5. 2.18 s [go-tests] Phase: unpackPhase
  6. 2.18 s [go-tests] unpacking source archive /nix/store/z88khksk9c7p9hy64wq9ng0syalkslws-source
  7. 2.20 s [go-tests] source root is source
  8. 2.22 s [go-tests] Phase: patchPhase
  9. 2.23 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  10. 2.24 s [go-tests] Phase: configurePhase
  11. 2.28 s [go-tests] no configure script, doing nothing
  12. 2.28 s [go-tests] Phase: buildPhase
  13. 2.29 s [go-tests] patching script interpreter paths in ./dev-scripts
  14. 2.30 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"
  15. 2.31 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"
  16. 2.33 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"
  17. 2.36 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"
  18. 2.38 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"
  19. 2.40 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"
  20. 2.43 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"
  21. 2.45 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"
  22. 2.47 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. 2.50 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"
  24. 2.54 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"
  25. 2.56 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. 2.58 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"
  27. 2.60 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"
  28. 2.62 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"
  29. 2.64 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"
  30. 2.65 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"
  31. 2.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"
  32. 2.69 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"
  33. 2.71 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  34. 2.73 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"
  35. 2.74 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"
  36. 2.90 s [go-tests] + set -o pipefail
  37. 2.90 s [go-tests] + full_test=
  38. 2.90 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  39. 2.90 s [go-tests] + go_test_flags+=("-fullpath")
  40. 2.90 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  41. 2.90 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  42. 2.90 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  43. 2.90 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  44. 2.90 s [go-tests] + [[ '' = \-\-full ]]
  45. 2.90 s [go-tests] + set -u
  46. 2.90 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  47. 2.90 s [go-tests] ++ cd ./dev-scripts
  48. 2.90 s [go-tests] ++ pwd
  49. 2.90 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  50. 2.90 s [go-tests] + readonly SCRIPT_DIR
  51. 2.90 s [go-tests] + cd /build/source/dev-scripts/..
  52. 2.90 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  53. 7.64 s [go-tests] ? codeberg.org/mtlynch/little-moments/build [no test files]
  54. 15.19 s [go-tests] # codeberg.org/mtlynch/little-moments/handlers
  55. 15.20 s [go-tests] handlers/login.go:31:8: s.isAuthenticated undefined (type *Server has no field or method isAuthenticated)
  56. 15.20 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/cmd/app [build failed]
  57. 22.83 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [build failed]
  58. 23.55 s [go-tests] FAIL codeberg.org/mtlynch/little-moments/handlers [build failed]
  59. 23.55 s [go-tests] ? codeberg.org/mtlynch/little-moments/images [no test files]
  60. 23.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers 0.018s
  61. 23.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.006s
  62. 23.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  63. 23.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  64. 23.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.004s
  65. 23.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin 0.005s
  66. 23.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.004s
  67. 23.55 s [go-tests] ? codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp [no test files]
  68. 23.55 s [go-tests] ? codeberg.org/mtlynch/little-moments/random [no test files]
  69. 23.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  70. 23.55 s [go-tests] ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  71. 23.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  72. 23.55 s [go-tests] ? codeberg.org/mtlynch/little-moments/store [no test files]
  73. 23.55 s [go-tests] ok codeberg.org/mtlynch/little-moments/store/sqlite 0.957s
  74. 23.55 s [go-tests] ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  75. 23.55 s [go-tests] FAIL
  76. 23.55 s Progress: 0 of 1 built (1 failed)
  77. 23.55 s Cannot build '/nix/store/li1ni06cmcjjwhc6bnxphq60g06j1l0c-go-tests-0.0.0.drv'.
  78. 23.55 s Reason: builder failed with exit code 1.
  79. 23.55 s Output paths:
  80. 23.55 s /nix/store/aqym6hh1g3s8swrqkv9p9p3dnknylay0-go-tests-0.0.0
  81. 23.55 s Last 71 log lines:
  82. 23.55 s > Running phase: unpackPhase
  83. 23.55 s > unpacking source archive /nix/store/z88khksk9c7p9hy64wq9ng0syalkslws-source
  84. 23.55 s > source root is source
  85. 23.55 s > Running phase: patchPhase
  86. 23.55 s > Running phase: updateAutotoolsGnuConfigScriptsPhase
  87. 23.55 s > Running phase: configurePhase
  88. 23.55 s > no configure script, doing nothing
  89. 23.55 s > Running phase: buildPhase
  90. 23.55 s > patching script interpreter paths in ./dev-scripts
  91. 23.55 s > ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  92. 23.55 s > ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  93. 23.55 s > ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  94. 23.55 s > ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  95. 23.55 s > ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  96. 23.55 s > ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  97. 23.55 s > ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  98. 23.55 s > ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  99. 23.55 s > ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  100. 23.55 s > ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  101. 23.55 s > ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  102. 23.55 s > ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  103. 23.55 s > ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  104. 23.55 s > ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  105. 23.55 s > ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  106. 23.55 s > ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  107. 23.55 s > ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  108. 23.55 s > ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  109. 23.55 s > ./dev-scripts/render-design-doc: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  110. 23.55 s > ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  111. 23.55 s > ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  112. 23.55 s > ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  113. 23.55 s > + set -o pipefail
  114. 23.55 s > + full_test=
  115. 23.55 s > + go_test_flags=("-tags=netgo,osusergo")
  116. 23.55 s > + go_test_flags+=("-fullpath")
  117. 23.55 s > + readonly COVERAGE_FILE_RAW=.coverage.out
  118. 23.55 s > + COVERAGE_FILE_RAW=.coverage.out
  119. 23.55 s > + readonly COVERAGE_FILE_HTML=.coverage.html
  120. 23.55 s > + COVERAGE_FILE_HTML=.coverage.html
  121. 23.55 s > + [[ '' = \-\-full ]]
  122. 23.55 s > + set -u
  123. 23.55 s > +++ dirname ./dev-scripts/run-go-tests
  124. 23.55 s > ++ cd ./dev-scripts
  125. 23.55 s > ++ pwd
  126. 23.55 s > + SCRIPT_DIR=/build/source/dev-scripts
  127. 23.55 s > + readonly SCRIPT_DIR
  128. 23.55 s > + cd /build/source/dev-scripts/..
  129. 23.55 s > + go test -tags=netgo,osusergo -fullpath ./...
  130. 23.55 s > ? codeberg.org/mtlynch/little-moments/build [no test files]
  131. 23.55 s > # codeberg.org/mtlynch/little-moments/handlers
  132. 23.55 s > handlers/login.go:31:8: s.isAuthenticated undefined (type *Server has no field or method isAuthenticated)
  133. 23.55 s > FAIL codeberg.org/mtlynch/little-moments/cmd/app [build failed]
  134. 23.55 s > FAIL codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [build failed]
  135. 23.55 s > FAIL codeberg.org/mtlynch/little-moments/handlers [build failed]
  136. 23.55 s > ? codeberg.org/mtlynch/little-moments/images [no test files]
  137. 23.55 s > ok codeberg.org/mtlynch/little-moments/importers 0.018s
  138. 23.55 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.006s
  139. 23.55 s > ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  140. 23.55 s > ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  141. 23.55 s > ok codeberg.org/mtlynch/little-moments/little_moments/login_token 0.004s
  142. 23.55 s > ok codeberg.org/mtlynch/little-moments/magiclogin 0.005s
  143. 23.55 s > ok codeberg.org/mtlynch/little-moments/magiclogin/loginmail 0.004s
  144. 23.55 s > ? codeberg.org/mtlynch/little-moments/magiclogin/loginmail/smtp [no test files]
  145. 23.55 s > ? codeberg.org/mtlynch/little-moments/random [no test files]
  146. 23.55 s > ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  147. 23.55 s > ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  148. 23.55 s > ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  149. 23.55 s > ? codeberg.org/mtlynch/little-moments/store [no test files]
  150. 23.55 s > ok codeberg.org/mtlynch/little-moments/store/sqlite 0.957s
  151. 23.55 s > ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  152. 23.55 s > FAIL
  153. 23.55 s For full logs, run:
  154. 23.55 s nix log /nix/store/li1ni06cmcjjwhc6bnxphq60g06j1l0c-go-tests-0.0.0.drv
  155. 23.55 s Build failed.