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=612232c5cd335ffe48e48d0a23fe1cf4bbe1ed4b#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.54 s error (ignored): SQLite database '/var/cache/private/nix-ci-worker/eval-cache-v6/c3ad573ce1078d47351426a17160b1f85188ecac323e1ae59b40adfbad62d715.sqlite' is busy
  3. 4.20 s this derivation will be built:
  4. 4.20 s /nix/store/x4sls07694vk9qrp7wcmgbdr0qxp0hd0-go-tests-0.0.0.drv
  5. 4.20 s these 2 paths will be fetched (11.9 MiB download, 50.6 MiB unpacked):
  6. 4.20 s /nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0
  7. 4.20 s /nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1
  8. 4.20 s copying path '/nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0' from 'https://cache.nix-ci.com'...
  9. 4.20 s copying path '/nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1' from 'https://cache.nix-ci.com'...
  10. 7.81 s building '/nix/store/x4sls07694vk9qrp7wcmgbdr0qxp0hd0-go-tests-0.0.0.drv'...
  11. 7.88 s go-tests> Running phase: unpackPhase
  12. 7.89 s go-tests> unpacking source archive /nix/store/qd73x57sl9w843aq1lgiqnsyyhbdgqh5-source
  13. 7.91 s go-tests> source root is source
  14. 7.94 s go-tests> Running phase: patchPhase
  15. 7.95 s go-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase
  16. 7.96 s go-tests> Running phase: configurePhase
  17. 7.98 s go-tests> no configure script, doing nothing
  18. 7.99 s go-tests> Running phase: buildPhase
  19. 8.00 s go-tests> patching script interpreter paths in ./dev-scripts
  20. 8.01 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"
  21. 8.03 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"
  22. 8.05 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"
  23. 8.07 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"
  24. 8.09 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"
  25. 8.11 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"
  26. 8.13 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"
  27. 8.15 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"
  28. 8.17 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"
  29. 8.19 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"
  30. 8.21 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"
  31. 8.23 s go-tests> ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  32. 8.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"
  33. 8.27 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"
  34. 8.29 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"
  35. 8.31 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"
  36. 8.33 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"
  37. 8.35 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"
  38. 8.37 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"
  39. 8.39 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. 8.41 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"
  41. 8.43 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"
  42. 8.60 s go-tests> + set -o pipefail
  43. 8.60 s go-tests> + full_test=
  44. 8.60 s go-tests> + go_test_flags=("-tags=netgo,osusergo")
  45. 8.60 s go-tests> + go_test_flags+=("-fullpath")
  46. 8.60 s go-tests> + readonly COVERAGE_FILE_RAW=.coverage.out
  47. 8.60 s go-tests> + COVERAGE_FILE_RAW=.coverage.out
  48. 8.60 s go-tests> + readonly COVERAGE_FILE_HTML=.coverage.html
  49. 8.60 s go-tests> + COVERAGE_FILE_HTML=.coverage.html
  50. 8.60 s go-tests> + [[ '' = \-\-full ]]
  51. 8.60 s go-tests> + set -u
  52. 8.60 s go-tests> +++ dirname ./dev-scripts/run-go-tests
  53. 8.60 s go-tests> ++ cd ./dev-scripts
  54. 8.60 s go-tests> ++ pwd
  55. 8.60 s go-tests> + SCRIPT_DIR=/build/source/dev-scripts
  56. 8.60 s go-tests> + readonly SCRIPT_DIR
  57. 8.60 s go-tests> + cd /build/source/dev-scripts/..
  58. 8.60 s go-tests> + go test -tags=netgo,osusergo -fullpath ./...
  59. 17.81 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  60. 22.97 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  61. 22.98 s go-tests> ok codeberg.org/mtlynch/little-moments/handlers 0.007s
  62. 22.98 s go-tests> ? codeberg.org/mtlynch/little-moments/images [no test files]
  63. 22.99 s go-tests> ok codeberg.org/mtlynch/little-moments/importers 0.016s
  64. 22.99 s go-tests> ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.005s
  65. 22.99 s go-tests> ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  66. 22.99 s go-tests> ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  67. 22.99 s go-tests> ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  68. 22.99 s go-tests> ok codeberg.org/mtlynch/little-moments/s3config 0.006s
  69. 22.99 s go-tests> ? codeberg.org/mtlynch/little-moments/store/sqlite [no test files]
  70. 22.99 s go-tests> ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  71. 23.09 s go-tests> + [[ -n '' ]]
  72. 23.09 s go-tests> + go vet ./...
  73. 31.11 s go-tests> ++ go env GOPATH
  74. 31.12 s go-tests> + STATICCHECK_PATH=/build/go/bin/staticcheck
  75. 31.12 s go-tests> + readonly STATICCHECK_PATH
  76. 31.12 s go-tests> + readonly STATICCHECK_VERSION=v0.6.1
  77. 31.12 s go-tests> + STATICCHECK_VERSION=v0.6.1
  78. 31.12 s go-tests> + [[ ! -f /build/go/bin/staticcheck ]]
  79. 31.12 s go-tests> + /build/go/bin/staticcheck ./...
  80. 35.20 s go-tests> ++ go env GOPATH
  81. 35.20 s go-tests> + ERRCHECK_PATH=/build/go/bin/errcheck
  82. 35.20 s go-tests> + readonly ERRCHECK_PATH
  83. 35.20 s go-tests> + readonly ERRCHECK_VERSION=v1.10.0
  84. 35.20 s go-tests> + ERRCHECK_VERSION=v1.10.0
  85. 35.20 s go-tests> + [[ ! -f /build/go/bin/errcheck ]]
  86. 35.20 s go-tests> + /build/go/bin/errcheck -ignoretests ./...
  87. 35.39 s go-tests> Running phase: installPhase
  88. 35.40 s go-tests> Running phase: fixupPhase
  89. 35.41 s go-tests> shrinking RPATHs of ELF executables and libraries in /nix/store/ykbyy3kksnw3zzsmvcgviszj5l0xgpy4-go-tests-0.0.0
  90. 35.42 s go-tests> checking for references to /build/ in /nix/store/ykbyy3kksnw3zzsmvcgviszj5l0xgpy4-go-tests-0.0.0...
  91. 35.43 s go-tests> patching script interpreter paths in /nix/store/ykbyy3kksnw3zzsmvcgviszj5l0xgpy4-go-tests-0.0.0
  92. 35.71 s go-tests (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/ykbyy3kksnw3zzsmvcgviszj5l0xgpy4-go-tests-0.0.0
  93. 35.76 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  94. 35.76 s go-tests (post)> copying 1 paths...
  95. 35.76 s go-tests (post)> copying path '/nix/store/ykbyy3kksnw3zzsmvcgviszj5l0xgpy4-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  96. 35.83 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  97. 36.22 s go-tests (post)> copying 1 paths...
  98. 36.23 s go-tests (post)> copying path '/nix/store/x4sls07694vk9qrp7wcmgbdr0qxp0hd0-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...