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/vnjf0zi1lbln0srm2z743j70kjav76ln-nix-2.34.4/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes build --no-link git+https://codeberg.org/mtlynch/little-moments?ref=design-improve&rev=72cf1343c76d5039e5d933c5ec3a28d92129fbb7#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.59 s error (ignored): SQLite database '/var/cache/private/nix-ci-worker/eval-cache-v6/43f3fff0acd4d2c344e4ec5b2dafade385b0978a874dd393a491fdaf21265307.sqlite' is busy
  3. 4.19 s this derivation will be built:
  4. 4.19 s /nix/store/hfvggfjwa2x01ravsi64bwk89rlp1qxp-go-tests-0.0.0.drv
  5. 4.19 s these 2 paths will be fetched (11.9 MiB download, 50.6 MiB unpacked):
  6. 4.19 s /nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0
  7. 4.19 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. 5.26 s building '/nix/store/hfvggfjwa2x01ravsi64bwk89rlp1qxp-go-tests-0.0.0.drv'...
  11. 5.33 s go-tests> Running phase: unpackPhase
  12. 5.34 s go-tests> unpacking source archive /nix/store/9iqww3nfb2a1zrx7yxily8qx4cwjrsd1-source
  13. 5.36 s go-tests> source root is source
  14. 5.37 s go-tests> Running phase: patchPhase
  15. 5.38 s go-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase
  16. 5.39 s go-tests> Running phase: configurePhase
  17. 5.41 s go-tests> no configure script, doing nothing
  18. 5.42 s go-tests> Running phase: buildPhase
  19. 5.43 s go-tests> patching script interpreter paths in ./dev-scripts
  20. 5.43 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"
  21. 5.45 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"
  22. 5.47 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. 5.49 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"
  24. 5.50 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"
  25. 5.52 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"
  26. 5.54 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"
  27. 5.56 s go-tests> ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  28. 5.57 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"
  29. 5.59 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"
  30. 5.61 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. 5.63 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"
  32. 5.64 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"
  33. 5.66 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"
  34. 5.68 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"
  35. 5.70 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"
  36. 5.71 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"
  37. 5.73 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"
  38. 5.75 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"
  39. 5.76 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"
  40. 5.78 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"
  41. 5.80 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"
  42. 5.89 s go-tests> + set -o pipefail
  43. 5.89 s go-tests> + full_test=
  44. 5.89 s go-tests> + go_test_flags=("-tags=netgo,osusergo")
  45. 5.89 s go-tests> + go_test_flags+=("-fullpath")
  46. 5.89 s go-tests> + readonly COVERAGE_FILE_RAW=.coverage.out
  47. 5.89 s go-tests> + COVERAGE_FILE_RAW=.coverage.out
  48. 5.89 s go-tests> + readonly COVERAGE_FILE_HTML=.coverage.html
  49. 5.89 s go-tests> + COVERAGE_FILE_HTML=.coverage.html
  50. 5.89 s go-tests> + [[ '' = \-\-full ]]
  51. 5.89 s go-tests> + set -u
  52. 5.89 s go-tests> +++ dirname ./dev-scripts/run-go-tests
  53. 5.90 s go-tests> ++ cd ./dev-scripts
  54. 5.90 s go-tests> ++ pwd
  55. 5.90 s go-tests> + SCRIPT_DIR=/build/source/dev-scripts
  56. 5.90 s go-tests> + readonly SCRIPT_DIR
  57. 5.90 s go-tests> + cd /build/source/dev-scripts/..
  58. 5.90 s go-tests> + go test -tags=netgo,osusergo -fullpath ./...
  59. 12.64 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  60. 12.64 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  61. 12.65 s go-tests> ok codeberg.org/mtlynch/little-moments/handlers 0.007s
  62. 12.65 s go-tests> ? codeberg.org/mtlynch/little-moments/images [no test files]
  63. 12.65 s go-tests> ok codeberg.org/mtlynch/little-moments/little_moments 0.006s
  64. 12.65 s go-tests> ? codeberg.org/mtlynch/little-moments/store/sqlite [no test files]
  65. 12.65 s go-tests> ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  66. 12.65 s go-tests> ok codeberg.org/mtlynch/little-moments/tinybeans 0.006s
  67. 12.65 s go-tests> ok codeberg.org/mtlynch/little-moments/tinybeans/parse 0.005s
  68. 12.72 s go-tests> + [[ -n '' ]]
  69. 12.72 s go-tests> + go vet ./...
  70. 16.95 s go-tests> ++ go env GOPATH
  71. 16.96 s go-tests> + STATICCHECK_PATH=/build/go/bin/staticcheck
  72. 16.96 s go-tests> + readonly STATICCHECK_PATH
  73. 16.96 s go-tests> + readonly STATICCHECK_VERSION=v0.6.1
  74. 16.96 s go-tests> + STATICCHECK_VERSION=v0.6.1
  75. 16.96 s go-tests> + [[ ! -f /build/go/bin/staticcheck ]]
  76. 16.96 s go-tests> + /build/go/bin/staticcheck ./...
  77. 20.02 s go-tests> ++ go env GOPATH
  78. 20.03 s go-tests> + ERRCHECK_PATH=/build/go/bin/errcheck
  79. 20.03 s go-tests> + readonly ERRCHECK_PATH
  80. 20.03 s go-tests> + readonly ERRCHECK_VERSION=v1.10.0
  81. 20.03 s go-tests> + ERRCHECK_VERSION=v1.10.0
  82. 20.03 s go-tests> + [[ ! -f /build/go/bin/errcheck ]]
  83. 20.03 s go-tests> + /build/go/bin/errcheck -ignoretests ./...
  84. 20.17 s go-tests> Running phase: installPhase
  85. 20.19 s go-tests> Running phase: fixupPhase
  86. 20.20 s go-tests> shrinking RPATHs of ELF executables and libraries in /nix/store/pns6l33jpfihcly7sdp7qffyanmxr9jj-go-tests-0.0.0
  87. 20.20 s go-tests> checking for references to /build/ in /nix/store/pns6l33jpfihcly7sdp7qffyanmxr9jj-go-tests-0.0.0...
  88. 20.22 s go-tests> patching script interpreter paths in /nix/store/pns6l33jpfihcly7sdp7qffyanmxr9jj-go-tests-0.0.0
  89. 20.51 s go-tests (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/pns6l33jpfihcly7sdp7qffyanmxr9jj-go-tests-0.0.0
  90. 20.55 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  91. 20.55 s go-tests (post)> copying 1 paths...
  92. 20.55 s go-tests (post)> copying path '/nix/store/pns6l33jpfihcly7sdp7qffyanmxr9jj-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  93. 20.63 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  94. 20.96 s go-tests (post)> copying 1 paths...
  95. 20.96 s go-tests (post)> copying path '/nix/store/hfvggfjwa2x01ravsi64bwk89rlp1qxp-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...