1. 2.76 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/grosiree?ref=experimental%2Fgrocery-form-template&rev=5dcbdf0d21d12dfa656acf20f6a33fcef04649cd&shallow=1#packages.x86_64-linux.go-tests --print-build-logs
  2. 4.63 s
  3. 4.63 s Downloading cached errcheck from https://cache.nix-ci.com
  4. 4.63 s Downloading cached gci from https://cache.nix-ci.com
  5. 4.63 s Downloading cached go-critic from https://cache.nix-ci.com
  6. 4.63 s Downloading cached go-tools from https://cache.nix-ci.com
  7. 4.63 s Downloading cached sqlite-3.51.1-bin from https://cache.nix-ci.com
  8. 4.66 s Downloaded cached sqlite-3.51.1-bin (2.1 MiB) in 29ms
  9. 4.66 s Progress: 0 of 6 built, 1 of 6 downloaded from cache (4 downloading)
  10. 4.66 s Downloading cached sqlite-3.51.1-dev from https://cache.nix-ci.com
  11. 4.68 s Downloaded cached errcheck (5 MiB) in 50ms
  12. 4.68 s Progress: 0 of 6 built, 2 of 6 downloaded from cache (4 downloading)
  13. 4.68 s Downloaded cached sqlite-3.51.1-dev (695 KiB) in 20ms
  14. 4.68 s Progress: 0 of 5 built, 3 of 6 downloaded from cache (3 downloading)
  15. 4.71 s Downloaded cached gci (14.3 MiB) in 75ms
  16. 4.71 s Progress: 0 of 4 built, 4 of 6 downloaded from cache (2 downloading)
  17. 4.72 s Downloaded cached go-critic (9.1 MiB) in 83ms
  18. 4.72 s Progress: 0 of 3 built, 5 of 6 downloaded from cache (1 downloading)
  19. 4.72 s Downloaded cached go-tools (41.8 MiB) in 87ms
  20. 4.72 s Progress: 0 of 2 built, 6 of 6 downloaded from cache
  21. 4.72 s Building /nix/store/zqh1jywf5883p3gkbk6k2b3r6c6gx4y3-go-tests-0.0.0.drv
  22. 4.72 s [go-tests] Phase: unpackPhase
  23. 4.72 s [go-tests] unpacking source archive /nix/store/a6kpahp96lfb9ppzxzyq39s0qsdvvp87-source
  24. 4.72 s [go-tests] source root is source
  25. 4.72 s [go-tests] Phase: patchPhase
  26. 4.72 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  27. 4.72 s [go-tests] Phase: configurePhase
  28. 4.72 s [go-tests] no configure script, doing nothing
  29. 4.72 s [go-tests] Phase: buildPhase
  30. 4.72 s [go-tests] patching script interpreter paths in ./dev-scripts
  31. 4.72 s [go-tests] ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  32. 4.72 s [go-tests] ./dev-scripts/upload-to-nixci-cache: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  33. 4.72 s [go-tests] ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  34. 4.72 s [go-tests] ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  35. 4.72 s [go-tests] ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  36. 4.72 s [go-tests] ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  37. 4.72 s [go-tests] ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  38. 4.72 s [go-tests] ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  39. 4.72 s [go-tests] ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  40. 4.72 s [go-tests] ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  41. 4.72 s [go-tests] ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  42. 4.72 s [go-tests] ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  43. 4.72 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  44. 4.72 s [go-tests] ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  45. 4.72 s [go-tests] ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  46. 4.72 s [go-tests] ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  47. 4.72 s [go-tests] ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  48. 4.72 s [go-tests] ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  49. 4.72 s [go-tests] ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  50. 4.72 s [go-tests] ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  51. 4.72 s [go-tests] ./dev-scripts/build-all-flake-targets: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  52. 4.72 s [go-tests] ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  53. 4.72 s [go-tests] ./dev-scripts/run-js-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  54. 4.72 s [go-tests] ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  55. 4.72 s [go-tests] + set -o pipefail
  56. 4.72 s [go-tests] + full_test=
  57. 4.72 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  58. 4.72 s [go-tests] + go_test_flags+=("-fullpath")
  59. 4.72 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  60. 4.72 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  61. 4.72 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  62. 4.72 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  63. 4.72 s [go-tests] + [[ '' = \-\-full ]]
  64. 4.72 s [go-tests] + set -u
  65. 4.72 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  66. 4.72 s [go-tests] ++ cd ./dev-scripts
  67. 4.72 s [go-tests] ++ pwd
  68. 4.72 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  69. 4.72 s [go-tests] + readonly SCRIPT_DIR
  70. 4.72 s [go-tests] + cd /build/source/dev-scripts/..
  71. 4.72 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  72. 7.32 s [go-tests] ? codeberg.org/mtlynch/grosiree/build [no test files]
  73. 10.02 s [go-tests] # codeberg.org/mtlynch/grosiree/handlers_test [codeberg.org/mtlynch/grosiree/handlers.test]
  74. 10.42 s [go-tests] handlers/stored_lists_test.go:37:19: undefined: formRequest
  75. 10.42 s [go-tests] handlers/stored_lists_test.go:62:25: undefined: formRequest
  76. 10.42 s [go-tests] handlers/stored_lists_test.go:131:19: undefined: formRequest
  77. 10.42 s [go-tests] ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
  78. 10.42 s [go-tests] FAIL codeberg.org/mtlynch/grosiree/handlers [build failed]
  79. 10.42 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
  80. 10.42 s [go-tests] ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
  81. 11.01 s [go-tests] ok codeberg.org/mtlynch/grosiree/store/sqlite 0.819s
  82. 11.01 s [go-tests] ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
  83. 11.01 s [go-tests] ok codeberg.org/mtlynch/grosiree/types 0.005s
  84. 11.01 s [go-tests] FAIL
  85. 11.16 s Progress: 0 of 1 built (1 failed), 6 of 6 downloaded from cache
  86. 11.16 s Failed to build go-tests after 6.4s
  87. 11.17 s Cannot build '/nix/store/zqh1jywf5883p3gkbk6k2b3r6c6gx4y3-go-tests-0.0.0.drv'.
  88. 11.17 s Reason: builder failed with exit code 1.
  89. 11.17 s Output paths:
  90. 11.17 s /nix/store/gm147n6qzfaznkpnqqgf6k4gjqk65c6z-go-tests-0.0.0
  91. 11.17 s Last 63 log lines:
  92. 11.17 s > Running phase: unpackPhase
  93. 11.17 s > unpacking source archive /nix/store/a6kpahp96lfb9ppzxzyq39s0qsdvvp87-source
  94. 11.17 s > source root is source
  95. 11.17 s > Running phase: patchPhase
  96. 11.17 s > Running phase: updateAutotoolsGnuConfigScriptsPhase
  97. 11.17 s > Running phase: configurePhase
  98. 11.17 s > no configure script, doing nothing
  99. 11.17 s > Running phase: buildPhase
  100. 11.17 s > patching script interpreter paths in ./dev-scripts
  101. 11.17 s > ./dev-scripts/reset-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  102. 11.17 s > ./dev-scripts/upload-to-nixci-cache: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  103. 11.17 s > ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  104. 11.17 s > ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  105. 11.17 s > ./dev-scripts/lint-sql: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  106. 11.17 s > ./dev-scripts/populate-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  107. 11.17 s > ./dev-scripts/package-binaries: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  108. 11.17 s > ./dev-scripts/download-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  109. 11.17 s > ./dev-scripts/serve-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  110. 11.17 s > ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  111. 11.17 s > ./dev-scripts/run-e2e-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  112. 11.17 s > ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  113. 11.17 s > ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  114. 11.17 s > ./dev-scripts/build-backend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  115. 11.17 s > ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  116. 11.17 s > ./dev-scripts/run-single-go-test: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  117. 11.17 s > ./dev-scripts/enable-multiarch-docker: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  118. 11.17 s > ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  119. 11.17 s > ./dev-scripts/upload-prod-db: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  120. 11.17 s > ./dev-scripts/check-frontend: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  121. 11.17 s > ./dev-scripts/build-all-flake-targets: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  122. 11.17 s > ./dev-scripts/check-go-test-packages: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  123. 11.17 s > ./dev-scripts/run-js-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  124. 11.17 s > ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/hkbylipx1iiawqdcjv858p501wv81bpm-bash-interactive-5.3p3/bin/bash"
  125. 11.17 s > + set -o pipefail
  126. 11.17 s > + full_test=
  127. 11.17 s > + go_test_flags=("-tags=netgo,osusergo")
  128. 11.17 s > + go_test_flags+=("-fullpath")
  129. 11.17 s > + readonly COVERAGE_FILE_RAW=.coverage.out
  130. 11.17 s > + COVERAGE_FILE_RAW=.coverage.out
  131. 11.17 s > + readonly COVERAGE_FILE_HTML=.coverage.html
  132. 11.17 s > + COVERAGE_FILE_HTML=.coverage.html
  133. 11.17 s > + [[ '' = \-\-full ]]
  134. 11.17 s > + set -u
  135. 11.17 s > +++ dirname ./dev-scripts/run-go-tests
  136. 11.17 s > ++ cd ./dev-scripts
  137. 11.17 s > ++ pwd
  138. 11.17 s > + SCRIPT_DIR=/build/source/dev-scripts
  139. 11.17 s > + readonly SCRIPT_DIR
  140. 11.17 s > + cd /build/source/dev-scripts/..
  141. 11.17 s > + go test -tags=netgo,osusergo -fullpath ./...
  142. 11.17 s > ? codeberg.org/mtlynch/grosiree/build [no test files]
  143. 11.17 s > # codeberg.org/mtlynch/grosiree/handlers_test [codeberg.org/mtlynch/grosiree/handlers.test]
  144. 11.17 s > handlers/stored_lists_test.go:37:19: undefined: formRequest
  145. 11.17 s > handlers/stored_lists_test.go:62:25: undefined: formRequest
  146. 11.17 s > handlers/stored_lists_test.go:131:19: undefined: formRequest
  147. 11.17 s > ? codeberg.org/mtlynch/grosiree/cmd/app [no test files]
  148. 11.17 s > FAIL codeberg.org/mtlynch/grosiree/handlers [build failed]
  149. 11.17 s > ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret [no test files]
  150. 11.17 s > ? codeberg.org/mtlynch/grosiree/handlers/auth/shared_secret/kdf [no test files]
  151. 11.17 s > ok codeberg.org/mtlynch/grosiree/store/sqlite 0.819s
  152. 11.17 s > ? codeberg.org/mtlynch/grosiree/store/test_sqlite [no test files]
  153. 11.17 s > ok codeberg.org/mtlynch/grosiree/types 0.005s
  154. 11.17 s > FAIL
  155. 11.17 s For full logs, run:
  156. 11.17 s nix log /nix/store/zqh1jywf5883p3gkbk6k2b3r6c6gx4y3-go-tests-0.0.0.drv
  157. 11.22 s Build failed.