build packages.x86_64-linux.go-tests

Reproduce this run
  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=s3dev&rev=056e209f2a89cee94d5fef2dc37b142aa0c1f4d7#packages.x86_64-linux.go-tests --print-build-logs
  2. 3.56 s these 2 derivations will be built:
  3. 3.56 s /nix/store/w5r7px37smnj3gaiav9v6c4ddq6qxn11-little-moments-0.0.1-go-modules.drv
  4. 3.56 s /nix/store/9mvm2is8b25ymjqqls83452s1gyd053q-go-tests-0.0.0.drv
  5. 3.56 s these 10 paths will be fetched (20.7 MiB download, 88.6 MiB unpacked):
  6. 3.56 s /nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0
  7. 3.56 s /nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66
  8. 3.56 s /nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1
  9. 3.56 s /nix/store/kywwgk85nl83mpf10av3bvm2khdlq5ib-libidn2-2.3.8
  10. 3.56 s /nix/store/hlcdbvwjlzjd2x86fxghzj1gpzplccqw-libunistring-1.4.1
  11. 3.56 s /nix/store/f6zwd0xdld51287as0sv79kbaf2pcayh-sqlite-3.51.1
  12. 3.56 s /nix/store/lbm0vi6xqrmvin5a9cj7v69qc5ayg5q0-sqlite-3.51.1-bin
  13. 3.56 s /nix/store/byl3w16n1zd8rnx040afcyy8zhn996w1-sqlite-3.51.1-dev
  14. 3.56 s /nix/store/6h39qxzrm4i1fhl538knvyjapcdyasfx-xgcc-15.2.0-libgcc
  15. 3.56 s /nix/store/c2qsgf2832zi4n29gfkqgkjpvmbmxam6-zlib-1.3.1
  16. 3.57 s copying path '/nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0' from 'https://cache.nix-ci.com'...
  17. 3.57 s copying path '/nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1' from 'https://cache.nix-ci.com'...
  18. 3.57 s copying path '/nix/store/6h39qxzrm4i1fhl538knvyjapcdyasfx-xgcc-15.2.0-libgcc' from 'https://cache.nix-ci.com'...
  19. 3.57 s copying path '/nix/store/hlcdbvwjlzjd2x86fxghzj1gpzplccqw-libunistring-1.4.1' from 'https://cache.nix-ci.com'...
  20. 3.68 s building '/nix/store/w5r7px37smnj3gaiav9v6c4ddq6qxn11-little-moments-0.0.1-go-modules.drv'...
  21. 3.68 s copying path '/nix/store/kywwgk85nl83mpf10av3bvm2khdlq5ib-libidn2-2.3.8' from 'https://cache.nix-ci.com'...
  22. 3.70 s copying path '/nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66' from 'https://cache.nix-ci.com'...
  23. 3.76 s little-moments> Running phase: unpackPhase
  24. 3.76 s little-moments> unpacking source archive /nix/store/fbj3cnzzili29nh2b8bg0cgqwz5lh55b-source
  25. 3.79 s little-moments> source root is source
  26. 3.83 s little-moments> Running phase: patchPhase
  27. 3.85 s little-moments> Running phase: updateAutotoolsGnuConfigScriptsPhase
  28. 3.88 s little-moments> Running phase: configurePhase
  29. 3.90 s little-moments> Running phase: buildPhase
  30. 3.96 s little-moments> go: downloading golang.org/x/image v0.38.0
  31. 3.96 s little-moments> go: downloading github.com/google/uuid v1.6.0
  32. 3.97 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2 v1.41.5
  33. 3.97 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/config v1.32.13
  34. 3.97 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.19.13
  35. 3.97 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.97.3
  36. 3.97 s little-moments> go: downloading codeberg.org/mtlynch/go-evolutionary-migrate v0.0.1
  37. 3.97 s little-moments> go: downloading github.com/ncruces/go-sqlite3 v0.22.0
  38. 4.13 s copying path '/nix/store/c2qsgf2832zi4n29gfkqgkjpvmbmxam6-zlib-1.3.1' from 'https://cache.nix-ci.com'...
  39. 4.15 s copying path '/nix/store/f6zwd0xdld51287as0sv79kbaf2pcayh-sqlite-3.51.1' from 'https://cache.nix-ci.com'...
  40. 4.15 s copying path '/nix/store/lbm0vi6xqrmvin5a9cj7v69qc5ayg5q0-sqlite-3.51.1-bin' from 'https://cache.nix-ci.com'...
  41. 4.20 s copying path '/nix/store/byl3w16n1zd8rnx040afcyy8zhn996w1-sqlite-3.51.1-dev' from 'https://cache.nix-ci.com'...
  42. 4.22 s little-moments> go: downloading github.com/aws/smithy-go v1.24.2
  43. 4.22 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.21
  44. 4.22 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.6
  45. 4.22 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/signin v1.0.9
  46. 4.22 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.41.10
  47. 4.22 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.18
  48. 4.22 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.30.14
  49. 4.26 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.8
  50. 4.26 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.21
  51. 4.26 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.22
  52. 4.26 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.7
  53. 4.27 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.13
  54. 4.28 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.21
  55. 4.28 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.21
  56. 4.30 s little-moments> go: downloading github.com/ncruces/julianday v1.0.0
  57. 4.30 s little-moments> go: downloading github.com/tetratelabs/wazero v1.8.2
  58. 4.30 s little-moments> go: downloading golang.org/x/sys v0.29.0
  59. 4.30 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.21
  60. 5.76 s little-moments> Running phase: installPhase
  61. 6.71 s little-moments (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/ffi2q3p5nbw0sf76b0qbclzff3q5ybh7-little-moments-0.0.1-go-modules
  62. 6.75 s little-moments (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  63. 6.76 s little-moments (post)> copying 1 paths...
  64. 6.76 s little-moments (post)> copying path '/nix/store/ffi2q3p5nbw0sf76b0qbclzff3q5ybh7-little-moments-0.0.1-go-modules' to 'https://cache.nix-ci.com'...
  65. 11.17 s little-moments (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  66. 11.30 s little-moments (post)> copying 0 paths...
  67. 11.39 s building '/nix/store/9mvm2is8b25ymjqqls83452s1gyd053q-go-tests-0.0.0.drv'...
  68. 11.48 s go-tests> Running phase: unpackPhase
  69. 11.49 s go-tests> unpacking source archive /nix/store/fbj3cnzzili29nh2b8bg0cgqwz5lh55b-source
  70. 11.51 s go-tests> source root is source
  71. 11.53 s go-tests> Running phase: patchPhase
  72. 11.54 s go-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase
  73. 11.55 s go-tests> Running phase: configurePhase
  74. 11.57 s go-tests> no configure script, doing nothing
  75. 11.58 s go-tests> Running phase: buildPhase
  76. 11.59 s go-tests> patching script interpreter paths in ./dev-scripts
  77. 11.59 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"
  78. 11.61 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"
  79. 11.63 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"
  80. 11.64 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. 11.66 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"
  82. 11.68 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"
  83. 11.69 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"
  84. 11.71 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"
  85. 11.73 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"
  86. 11.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"
  87. 11.76 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"
  88. 11.77 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"
  89. 11.79 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"
  90. 11.81 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"
  91. 11.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"
  92. 11.84 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"
  93. 11.86 s go-tests> ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  94. 11.87 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"
  95. 11.89 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"
  96. 11.91 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"
  97. 11.93 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"
  98. 11.94 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"
  99. 12.09 s go-tests> + set -o pipefail
  100. 12.09 s go-tests> + full_test=
  101. 12.09 s go-tests> + go_test_flags=("-tags=netgo,osusergo")
  102. 12.09 s go-tests> + go_test_flags+=("-fullpath")
  103. 12.09 s go-tests> + readonly COVERAGE_FILE_RAW=.coverage.out
  104. 12.09 s go-tests> + COVERAGE_FILE_RAW=.coverage.out
  105. 12.09 s go-tests> + readonly COVERAGE_FILE_HTML=.coverage.html
  106. 12.09 s go-tests> + COVERAGE_FILE_HTML=.coverage.html
  107. 12.09 s go-tests> + [[ '' = \-\-full ]]
  108. 12.09 s go-tests> + set -u
  109. 12.09 s go-tests> +++ dirname ./dev-scripts/run-go-tests
  110. 12.09 s go-tests> ++ cd ./dev-scripts
  111. 12.09 s go-tests> ++ pwd
  112. 12.09 s go-tests> + SCRIPT_DIR=/build/source/dev-scripts
  113. 12.09 s go-tests> + readonly SCRIPT_DIR
  114. 12.09 s go-tests> + cd /build/source/dev-scripts/..
  115. 12.09 s go-tests> + go test -tags=netgo,osusergo -fullpath ./...
  116. 20.08 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  117. 24.38 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  118. 24.39 s go-tests> ok codeberg.org/mtlynch/little-moments/handlers 0.006s
  119. 24.39 s go-tests> ? codeberg.org/mtlynch/little-moments/images [no test files]
  120. 24.40 s go-tests> ok codeberg.org/mtlynch/little-moments/importers 0.013s
  121. 24.40 s go-tests> ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.004s
  122. 24.40 s go-tests> ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  123. 24.40 s go-tests> ok codeberg.org/mtlynch/little-moments/little_moments 0.004s
  124. 24.40 s go-tests> ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  125. 24.40 s go-tests> ok codeberg.org/mtlynch/little-moments/s3config 0.004s
  126. 24.40 s go-tests> ? codeberg.org/mtlynch/little-moments/store/sqlite [no test files]
  127. 24.40 s go-tests> ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  128. 24.49 s go-tests> + [[ -n '' ]]
  129. 24.49 s go-tests> + go vet ./...
  130. 32.09 s go-tests> ++ go env GOPATH
  131. 32.10 s go-tests> + STATICCHECK_PATH=/build/go/bin/staticcheck
  132. 32.10 s go-tests> + readonly STATICCHECK_PATH
  133. 32.10 s go-tests> + readonly STATICCHECK_VERSION=v0.6.1
  134. 32.10 s go-tests> + STATICCHECK_VERSION=v0.6.1
  135. 32.10 s go-tests> + [[ ! -f /build/go/bin/staticcheck ]]
  136. 32.10 s go-tests> + /build/go/bin/staticcheck ./...
  137. 35.56 s go-tests> ++ go env GOPATH
  138. 35.56 s go-tests> + ERRCHECK_PATH=/build/go/bin/errcheck
  139. 35.56 s go-tests> + readonly ERRCHECK_PATH
  140. 35.56 s go-tests> + readonly ERRCHECK_VERSION=v1.10.0
  141. 35.56 s go-tests> + ERRCHECK_VERSION=v1.10.0
  142. 35.56 s go-tests> + [[ ! -f /build/go/bin/errcheck ]]
  143. 35.56 s go-tests> + /build/go/bin/errcheck -ignoretests ./...
  144. 35.73 s go-tests> Running phase: installPhase
  145. 35.74 s go-tests> Running phase: fixupPhase
  146. 35.75 s go-tests> shrinking RPATHs of ELF executables and libraries in /nix/store/aidyn2bv46qmczpw8as91lyhxzrrsiwd-go-tests-0.0.0
  147. 35.75 s go-tests> checking for references to /build/ in /nix/store/aidyn2bv46qmczpw8as91lyhxzrrsiwd-go-tests-0.0.0...
  148. 35.76 s go-tests> patching script interpreter paths in /nix/store/aidyn2bv46qmczpw8as91lyhxzrrsiwd-go-tests-0.0.0
  149. 36.00 s go-tests (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/aidyn2bv46qmczpw8as91lyhxzrrsiwd-go-tests-0.0.0
  150. 36.03 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  151. 36.04 s go-tests (post)> copying 1 paths...
  152. 36.04 s go-tests (post)> copying path '/nix/store/aidyn2bv46qmczpw8as91lyhxzrrsiwd-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  153. 36.10 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  154. 36.34 s go-tests (post)> copying 1 paths...
  155. 36.34 s go-tests (post)> copying path '/nix/store/9mvm2is8b25ymjqqls83452s1gyd053q-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...