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=8169b6bf48842de42cf401d42cc3bd376e1ddc3a#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.57 s error (ignored): SQLite database '/var/cache/private/nix-ci-worker/eval-cache-v6/eff72926dcc658a7631b448c85df37bc890c2f5a7c7a24d0b1e4c912d9fb5be1.sqlite' is busy
  3. 3.51 s this derivation will be built:
  4. 3.51 s /nix/store/bhj2zp8909ldnl9wbl2jx21pywi9fqli-go-tests-0.0.0.drv
  5. 3.51 s these 2 paths will be fetched (11.9 MiB download, 50.6 MiB unpacked):
  6. 3.51 s /nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0
  7. 3.51 s /nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1
  8. 3.52 s copying path '/nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0' from 'https://cache.nix-ci.com'...
  9. 3.52 s copying path '/nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1' from 'https://cache.nix-ci.com'...
  10. 4.01 s building '/nix/store/bhj2zp8909ldnl9wbl2jx21pywi9fqli-go-tests-0.0.0.drv'...
  11. 4.07 s go-tests> Running phase: unpackPhase
  12. 4.08 s go-tests> unpacking source archive /nix/store/blbvfv9dymlm918yg1668jckyy93dcvj-source
  13. 4.10 s go-tests> source root is source
  14. 4.11 s go-tests> Running phase: patchPhase
  15. 4.12 s go-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase
  16. 4.13 s go-tests> Running phase: configurePhase
  17. 4.15 s go-tests> no configure script, doing nothing
  18. 4.15 s go-tests> Running phase: buildPhase
  19. 4.17 s go-tests> patching script interpreter paths in ./dev-scripts
  20. 4.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"
  21. 4.19 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"
  22. 4.20 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"
  23. 4.22 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"
  24. 4.24 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"
  25. 4.25 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"
  26. 4.27 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"
  27. 4.29 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"
  28. 4.30 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"
  29. 4.32 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"
  30. 4.34 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"
  31. 4.35 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"
  32. 4.37 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"
  33. 4.39 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. 4.40 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. 4.42 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"
  36. 4.44 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"
  37. 4.45 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"
  38. 4.47 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"
  39. 4.49 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"
  40. 4.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"
  41. 4.52 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"
  42. 4.67 s go-tests> + set -o pipefail
  43. 4.67 s go-tests> + full_test=
  44. 4.67 s go-tests> + go_test_flags=("-tags=netgo,osusergo")
  45. 4.67 s go-tests> + go_test_flags+=("-fullpath")
  46. 4.67 s go-tests> + readonly COVERAGE_FILE_RAW=.coverage.out
  47. 4.67 s go-tests> + COVERAGE_FILE_RAW=.coverage.out
  48. 4.67 s go-tests> + readonly COVERAGE_FILE_HTML=.coverage.html
  49. 4.67 s go-tests> + COVERAGE_FILE_HTML=.coverage.html
  50. 4.67 s go-tests> + [[ '' = \-\-full ]]
  51. 4.67 s go-tests> + set -u
  52. 4.67 s go-tests> +++ dirname ./dev-scripts/run-go-tests
  53. 4.67 s go-tests> ++ cd ./dev-scripts
  54. 4.67 s go-tests> ++ pwd
  55. 4.67 s go-tests> + SCRIPT_DIR=/build/source/dev-scripts
  56. 4.67 s go-tests> + readonly SCRIPT_DIR
  57. 4.67 s go-tests> + cd /build/source/dev-scripts/..
  58. 4.67 s go-tests> + go test -tags=netgo,osusergo -fullpath ./...
  59. 14.10 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  60. 19.01 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  61. 19.02 s go-tests> ok codeberg.org/mtlynch/little-moments/handlers 0.011s
  62. 19.02 s go-tests> ? codeberg.org/mtlynch/little-moments/images [no test files]
  63. 19.03 s go-tests> ok codeberg.org/mtlynch/little-moments/importers 0.025s
  64. 19.03 s go-tests> ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.010s
  65. 19.03 s go-tests> ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.012s
  66. 19.03 s go-tests> ok codeberg.org/mtlynch/little-moments/little_moments 0.009s
  67. 19.03 s go-tests> ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  68. 19.03 s go-tests> ok codeberg.org/mtlynch/little-moments/s3config 0.010s
  69. 19.03 s go-tests> ? codeberg.org/mtlynch/little-moments/store/sqlite [no test files]
  70. 19.03 s go-tests> ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  71. 19.16 s go-tests> + [[ -n '' ]]
  72. 19.16 s go-tests> + go vet ./...
  73. 29.98 s go-tests> ++ go env GOPATH
  74. 29.99 s go-tests> + STATICCHECK_PATH=/build/go/bin/staticcheck
  75. 29.99 s go-tests> + readonly STATICCHECK_PATH
  76. 29.99 s go-tests> + readonly STATICCHECK_VERSION=v0.6.1
  77. 29.99 s go-tests> + STATICCHECK_VERSION=v0.6.1
  78. 29.99 s go-tests> + [[ ! -f /build/go/bin/staticcheck ]]
  79. 29.99 s go-tests> + /build/go/bin/staticcheck ./...
  80. 34.87 s go-tests> ++ go env GOPATH
  81. 34.88 s go-tests> + ERRCHECK_PATH=/build/go/bin/errcheck
  82. 34.88 s go-tests> + readonly ERRCHECK_PATH
  83. 34.88 s go-tests> + readonly ERRCHECK_VERSION=v1.10.0
  84. 34.88 s go-tests> + ERRCHECK_VERSION=v1.10.0
  85. 34.88 s go-tests> + [[ ! -f /build/go/bin/errcheck ]]
  86. 34.88 s go-tests> + /build/go/bin/errcheck -ignoretests ./...
  87. 35.14 s go-tests> buildPhase completed in 31 seconds
  88. 35.15 s go-tests> Running phase: installPhase
  89. 35.15 s go-tests> Running phase: fixupPhase
  90. 35.17 s go-tests> shrinking RPATHs of ELF executables and libraries in /nix/store/x03w7wmxr740cn5kl8459xggqzjn43rk-go-tests-0.0.0
  91. 35.17 s go-tests> checking for references to /build/ in /nix/store/x03w7wmxr740cn5kl8459xggqzjn43rk-go-tests-0.0.0...
  92. 35.18 s go-tests> patching script interpreter paths in /nix/store/x03w7wmxr740cn5kl8459xggqzjn43rk-go-tests-0.0.0
  93. 35.45 s go-tests (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/x03w7wmxr740cn5kl8459xggqzjn43rk-go-tests-0.0.0
  94. 35.50 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  95. 35.51 s go-tests (post)> copying 1 paths...
  96. 35.51 s go-tests (post)> copying path '/nix/store/x03w7wmxr740cn5kl8459xggqzjn43rk-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  97. 35.63 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  98. 36.42 s go-tests (post)> copying 1 paths...
  99. 36.43 s go-tests (post)> copying path '/nix/store/bhj2zp8909ldnl9wbl2jx21pywi9fqli-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...