1. 0.01 s $ /nix/store/wkkwxc04gdw6b263l1h29pjarjnjdyb6-coreutils-9.8/bin/timeout --kill-after=15s 1800s /nix/store/99b1z08awpxj8b6mzggn59gp1shljnff-nix-2.34.5/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes build --no-link git+https://codeberg.org/mtlynch/little-moments?ref=upload-to-s3&rev=0b6ca137507a543625f921d675ac8276e05f0a8a#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.95 s these 2 derivations will be built:
  3. 0.95 s /nix/store/4xn0zxz2r5k7nl5fzk1rf33f54bh2adl-little-moments-0.0.1-go-modules.drv
  4. 0.95 s /nix/store/gs1zqmsdblap1flim4p4q7vk6jwwzfn9-go-tests-0.0.0.drv
  5. 0.95 s these 10 paths will be fetched (20.7 MiB download, 88.6 MiB unpacked):
  6. 0.95 s /nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0
  7. 0.95 s /nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66
  8. 0.95 s /nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1
  9. 0.95 s /nix/store/kywwgk85nl83mpf10av3bvm2khdlq5ib-libidn2-2.3.8
  10. 0.95 s /nix/store/hlcdbvwjlzjd2x86fxghzj1gpzplccqw-libunistring-1.4.1
  11. 0.95 s /nix/store/f6zwd0xdld51287as0sv79kbaf2pcayh-sqlite-3.51.1
  12. 0.95 s /nix/store/lbm0vi6xqrmvin5a9cj7v69qc5ayg5q0-sqlite-3.51.1-bin
  13. 0.95 s /nix/store/byl3w16n1zd8rnx040afcyy8zhn996w1-sqlite-3.51.1-dev
  14. 0.95 s /nix/store/6h39qxzrm4i1fhl538knvyjapcdyasfx-xgcc-15.2.0-libgcc
  15. 0.95 s /nix/store/c2qsgf2832zi4n29gfkqgkjpvmbmxam6-zlib-1.3.1
  16. 1.12 s copying path '/nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0' from 'https://cache.nix-ci.com'...
  17. 1.12 s copying path '/nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1' from 'https://cache.nix-ci.com'...
  18. 1.13 s copying path '/nix/store/6h39qxzrm4i1fhl538knvyjapcdyasfx-xgcc-15.2.0-libgcc' from 'https://cache.nix-ci.com'...
  19. 1.13 s copying path '/nix/store/hlcdbvwjlzjd2x86fxghzj1gpzplccqw-libunistring-1.4.1' from 'https://cache.nix-ci.com'...
  20. 1.27 s building '/nix/store/4xn0zxz2r5k7nl5fzk1rf33f54bh2adl-little-moments-0.0.1-go-modules.drv'...
  21. 1.27 s copying path '/nix/store/kywwgk85nl83mpf10av3bvm2khdlq5ib-libidn2-2.3.8' from 'https://cache.nix-ci.com'...
  22. 1.29 s copying path '/nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66' from 'https://cache.nix-ci.com'...
  23. 1.33 s little-moments> Running phase: unpackPhase
  24. 1.33 s little-moments> unpacking source archive /nix/store/izg3b35nqqmkpgyl3hlfggmcdqyy9608-source
  25. 1.36 s little-moments> source root is source
  26. 1.38 s little-moments> Running phase: patchPhase
  27. 1.39 s little-moments> Running phase: updateAutotoolsGnuConfigScriptsPhase
  28. 1.41 s little-moments> Running phase: configurePhase
  29. 1.42 s little-moments> Running phase: buildPhase
  30. 1.45 s little-moments> go: downloading github.com/google/uuid v1.6.0
  31. 1.45 s little-moments> go: downloading golang.org/x/image v0.38.0
  32. 1.45 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2 v1.41.5
  33. 1.45 s little-moments> go: downloading codeberg.org/mtlynch/go-evolutionary-migrate v0.0.1
  34. 1.45 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/config v1.32.13
  35. 1.46 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.19.13
  36. 1.46 s little-moments> go: downloading github.com/ncruces/go-sqlite3 v0.22.0
  37. 1.46 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.97.3
  38. 1.63 s copying path '/nix/store/c2qsgf2832zi4n29gfkqgkjpvmbmxam6-zlib-1.3.1' from 'https://cache.nix-ci.com'...
  39. 1.64 s copying path '/nix/store/f6zwd0xdld51287as0sv79kbaf2pcayh-sqlite-3.51.1' from 'https://cache.nix-ci.com'...
  40. 1.64 s copying path '/nix/store/lbm0vi6xqrmvin5a9cj7v69qc5ayg5q0-sqlite-3.51.1-bin' from 'https://cache.nix-ci.com'...
  41. 1.67 s little-moments> go: downloading github.com/aws/smithy-go v1.24.2
  42. 1.67 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.6
  43. 1.67 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/signin v1.0.9
  44. 1.67 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.18
  45. 1.67 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.21
  46. 1.67 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.41.10
  47. 1.67 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.30.14
  48. 1.69 s copying path '/nix/store/byl3w16n1zd8rnx040afcyy8zhn996w1-sqlite-3.51.1-dev' from 'https://cache.nix-ci.com'...
  49. 1.70 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.8
  50. 1.70 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.21
  51. 1.70 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.22
  52. 1.70 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.7
  53. 1.70 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.13
  54. 1.72 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.21
  55. 1.73 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.21
  56. 1.75 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.21
  57. 1.75 s little-moments> go: downloading github.com/tetratelabs/wazero v1.8.2
  58. 1.75 s little-moments> go: downloading golang.org/x/sys v0.29.0
  59. 1.75 s little-moments> go: downloading github.com/ncruces/julianday v1.0.0
  60. 3.01 s little-moments> Running phase: installPhase
  61. 3.83 s little-moments (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/ffi2q3p5nbw0sf76b0qbclzff3q5ybh7-little-moments-0.0.1-go-modules
  62. 3.87 s little-moments (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  63. 3.88 s little-moments (post)> copying 1 paths...
  64. 3.88 s little-moments (post)> copying path '/nix/store/ffi2q3p5nbw0sf76b0qbclzff3q5ybh7-little-moments-0.0.1-go-modules' to 'https://cache.nix-ci.com'...
  65. 8.46 s little-moments (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  66. 8.54 s little-moments (post)> copying 0 paths...
  67. 8.61 s building '/nix/store/gs1zqmsdblap1flim4p4q7vk6jwwzfn9-go-tests-0.0.0.drv'...
  68. 8.68 s go-tests> Running phase: unpackPhase
  69. 8.69 s go-tests> unpacking source archive /nix/store/izg3b35nqqmkpgyl3hlfggmcdqyy9608-source
  70. 8.71 s go-tests> source root is source
  71. 8.73 s go-tests> Running phase: patchPhase
  72. 8.74 s go-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase
  73. 8.75 s go-tests> Running phase: configurePhase
  74. 8.77 s go-tests> no configure script, doing nothing
  75. 8.78 s go-tests> Running phase: buildPhase
  76. 8.79 s go-tests> patching script interpreter paths in ./dev-scripts
  77. 8.80 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"
  78. 8.82 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"
  79. 8.84 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"
  80. 8.86 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"
  81. 8.88 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"
  82. 8.90 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"
  83. 8.93 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"
  84. 8.95 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"
  85. 8.97 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"
  86. 8.99 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"
  87. 9.01 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"
  88. 9.03 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"
  89. 9.05 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"
  90. 9.08 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"
  91. 9.10 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"
  92. 9.12 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"
  93. 9.13 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"
  94. 9.15 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"
  95. 9.17 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"
  96. 9.19 s go-tests> ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  97. 9.21 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"
  98. 9.23 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"
  99. 9.37 s go-tests> + set -o pipefail
  100. 9.37 s go-tests> + full_test=
  101. 9.37 s go-tests> + go_test_flags=("-tags=netgo,osusergo")
  102. 9.37 s go-tests> + go_test_flags+=("-fullpath")
  103. 9.37 s go-tests> + readonly COVERAGE_FILE_RAW=.coverage.out
  104. 9.37 s go-tests> + COVERAGE_FILE_RAW=.coverage.out
  105. 9.37 s go-tests> + readonly COVERAGE_FILE_HTML=.coverage.html
  106. 9.37 s go-tests> + COVERAGE_FILE_HTML=.coverage.html
  107. 9.37 s go-tests> + [[ '' = \-\-full ]]
  108. 9.37 s go-tests> + set -u
  109. 9.37 s go-tests> +++ dirname ./dev-scripts/run-go-tests
  110. 9.38 s go-tests> ++ cd ./dev-scripts
  111. 9.38 s go-tests> ++ pwd
  112. 9.38 s go-tests> + SCRIPT_DIR=/build/source/dev-scripts
  113. 9.38 s go-tests> + readonly SCRIPT_DIR
  114. 9.38 s go-tests> + cd /build/source/dev-scripts/..
  115. 9.38 s go-tests> + go test -tags=netgo,osusergo -fullpath ./...
  116. 17.73 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  117. 21.99 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  118. 22.00 s go-tests> ok codeberg.org/mtlynch/little-moments/handlers 0.008s
  119. 22.00 s go-tests> ? codeberg.org/mtlynch/little-moments/images [no test files]
  120. 22.00 s go-tests> ok codeberg.org/mtlynch/little-moments/little_moments 0.004s
  121. 22.00 s go-tests> ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  122. 22.00 s go-tests> ok codeberg.org/mtlynch/little-moments/s3config 0.005s
  123. 22.00 s go-tests> ? codeberg.org/mtlynch/little-moments/store/sqlite [no test files]
  124. 22.00 s go-tests> ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  125. 22.00 s go-tests> ok codeberg.org/mtlynch/little-moments/tinybeans 0.006s
  126. 22.00 s go-tests> ok codeberg.org/mtlynch/little-moments/tinybeans/parse 0.005s
  127. 22.10 s go-tests> + [[ -n '' ]]
  128. 22.10 s go-tests> + go vet ./...
  129. 31.26 s go-tests> ++ go env GOPATH
  130. 31.27 s go-tests> + STATICCHECK_PATH=/build/go/bin/staticcheck
  131. 31.27 s go-tests> + readonly STATICCHECK_PATH
  132. 31.27 s go-tests> + readonly STATICCHECK_VERSION=v0.6.1
  133. 31.27 s go-tests> + STATICCHECK_VERSION=v0.6.1
  134. 31.27 s go-tests> + [[ ! -f /build/go/bin/staticcheck ]]
  135. 31.27 s go-tests> + /build/go/bin/staticcheck ./...
  136. 35.66 s go-tests> ++ go env GOPATH
  137. 35.67 s go-tests> + ERRCHECK_PATH=/build/go/bin/errcheck
  138. 35.67 s go-tests> + readonly ERRCHECK_PATH
  139. 35.67 s go-tests> + readonly ERRCHECK_VERSION=v1.10.0
  140. 35.67 s go-tests> + ERRCHECK_VERSION=v1.10.0
  141. 35.67 s go-tests> + [[ ! -f /build/go/bin/errcheck ]]
  142. 35.67 s go-tests> + /build/go/bin/errcheck -ignoretests ./...
  143. 35.86 s go-tests> Running phase: installPhase
  144. 35.87 s go-tests> Running phase: fixupPhase
  145. 35.89 s go-tests> shrinking RPATHs of ELF executables and libraries in /nix/store/m2jfhk7xbwgvzb9qm67z0f7k1awzjpc8-go-tests-0.0.0
  146. 35.89 s go-tests> checking for references to /build/ in /nix/store/m2jfhk7xbwgvzb9qm67z0f7k1awzjpc8-go-tests-0.0.0...
  147. 35.90 s go-tests> patching script interpreter paths in /nix/store/m2jfhk7xbwgvzb9qm67z0f7k1awzjpc8-go-tests-0.0.0
  148. 36.21 s go-tests (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/m2jfhk7xbwgvzb9qm67z0f7k1awzjpc8-go-tests-0.0.0
  149. 36.25 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  150. 36.26 s go-tests (post)> copying 1 paths...
  151. 36.27 s go-tests (post)> copying path '/nix/store/m2jfhk7xbwgvzb9qm67z0f7k1awzjpc8-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  152. 36.34 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  153. 36.69 s go-tests (post)> copying 1 paths...
  154. 36.69 s go-tests (post)> copying path '/nix/store/gs1zqmsdblap1flim4p4q7vk6jwwzfn9-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...