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