build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.03 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=48e81c7c1ff840eda0623323e7511aceb0297b71#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.45 s error (ignored): SQLite database '/var/cache/private/nix-ci-worker/eval-cache-v6/3479db545a627d0fca8e960f1b7c13ec80976b4e51e7863f88b7a474e318dec8.sqlite' is busy
  3. 3.81 s this derivation will be built:
  4. 3.81 s /nix/store/dnzsiib8rr0f08jjd9djkg86xx6kmc98-go-tests-0.0.0.drv
  5. 3.81 s these 11 paths will be fetched (22.5 MiB download, 107.1 MiB unpacked):
  6. 3.81 s /nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0
  7. 3.81 s /nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66
  8. 3.81 s /nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1
  9. 3.81 s /nix/store/kywwgk85nl83mpf10av3bvm2khdlq5ib-libidn2-2.3.8
  10. 3.81 s /nix/store/hlcdbvwjlzjd2x86fxghzj1gpzplccqw-libunistring-1.4.1
  11. 3.81 s /nix/store/ffi2q3p5nbw0sf76b0qbclzff3q5ybh7-little-moments-0.0.1-go-modules
  12. 3.81 s /nix/store/f6zwd0xdld51287as0sv79kbaf2pcayh-sqlite-3.51.1
  13. 3.81 s /nix/store/lbm0vi6xqrmvin5a9cj7v69qc5ayg5q0-sqlite-3.51.1-bin
  14. 3.81 s /nix/store/byl3w16n1zd8rnx040afcyy8zhn996w1-sqlite-3.51.1-dev
  15. 3.81 s /nix/store/6h39qxzrm4i1fhl538knvyjapcdyasfx-xgcc-15.2.0-libgcc
  16. 3.81 s /nix/store/c2qsgf2832zi4n29gfkqgkjpvmbmxam6-zlib-1.3.1
  17. 3.82 s copying path '/nix/store/ffi2q3p5nbw0sf76b0qbclzff3q5ybh7-little-moments-0.0.1-go-modules' from 'https://cache.nix-ci.com'...
  18. 3.82 s copying path '/nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0' from 'https://cache.nix-ci.com'...
  19. 3.82 s copying path '/nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1' from 'https://cache.nix-ci.com'...
  20. 3.82 s copying path '/nix/store/6h39qxzrm4i1fhl538knvyjapcdyasfx-xgcc-15.2.0-libgcc' from 'https://cache.nix-ci.com'...
  21. 3.82 s copying path '/nix/store/hlcdbvwjlzjd2x86fxghzj1gpzplccqw-libunistring-1.4.1' from 'https://cache.nix-ci.com'...
  22. 4.06 s copying path '/nix/store/kywwgk85nl83mpf10av3bvm2khdlq5ib-libidn2-2.3.8' from 'https://cache.nix-ci.com'...
  23. 4.15 s copying path '/nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66' from 'https://cache.nix-ci.com'...
  24. 4.90 s copying path '/nix/store/c2qsgf2832zi4n29gfkqgkjpvmbmxam6-zlib-1.3.1' from 'https://cache.nix-ci.com'...
  25. 4.93 s copying path '/nix/store/f6zwd0xdld51287as0sv79kbaf2pcayh-sqlite-3.51.1' from 'https://cache.nix-ci.com'...
  26. 4.93 s copying path '/nix/store/lbm0vi6xqrmvin5a9cj7v69qc5ayg5q0-sqlite-3.51.1-bin' from 'https://cache.nix-ci.com'...
  27. 5.01 s copying path '/nix/store/byl3w16n1zd8rnx040afcyy8zhn996w1-sqlite-3.51.1-dev' from 'https://cache.nix-ci.com'...
  28. 5.18 s building '/nix/store/dnzsiib8rr0f08jjd9djkg86xx6kmc98-go-tests-0.0.0.drv'...
  29. 5.24 s go-tests> Running phase: unpackPhase
  30. 5.24 s go-tests> unpacking source archive /nix/store/rsgg483ljnrc2pacdjrldrf48i12hsl2-source
  31. 5.27 s go-tests> source root is source
  32. 5.28 s go-tests> Running phase: patchPhase
  33. 5.30 s go-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase
  34. 5.31 s go-tests> Running phase: configurePhase
  35. 5.33 s go-tests> no configure script, doing nothing
  36. 5.33 s go-tests> Running phase: buildPhase
  37. 5.35 s go-tests> patching script interpreter paths in ./dev-scripts
  38. 5.35 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"
  39. 5.37 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"
  40. 5.39 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"
  41. 5.40 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"
  42. 5.42 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"
  43. 5.44 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"
  44. 5.46 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"
  45. 5.48 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"
  46. 5.50 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"
  47. 5.54 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"
  48. 5.57 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"
  49. 5.60 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"
  50. 5.62 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"
  51. 5.63 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"
  52. 5.65 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"
  53. 5.67 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"
  54. 5.68 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"
  55. 5.70 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"
  56. 5.72 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"
  57. 5.74 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"
  58. 5.76 s go-tests> ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  59. 5.77 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"
  60. 5.94 s go-tests> + set -o pipefail
  61. 5.94 s go-tests> + full_test=
  62. 5.94 s go-tests> + go_test_flags=("-tags=netgo,osusergo")
  63. 5.94 s go-tests> + go_test_flags+=("-fullpath")
  64. 5.94 s go-tests> + readonly COVERAGE_FILE_RAW=.coverage.out
  65. 5.94 s go-tests> + COVERAGE_FILE_RAW=.coverage.out
  66. 5.94 s go-tests> + readonly COVERAGE_FILE_HTML=.coverage.html
  67. 5.94 s go-tests> + COVERAGE_FILE_HTML=.coverage.html
  68. 5.94 s go-tests> + [[ '' = \-\-full ]]
  69. 5.94 s go-tests> + set -u
  70. 5.94 s go-tests> +++ dirname ./dev-scripts/run-go-tests
  71. 5.94 s go-tests> ++ cd ./dev-scripts
  72. 5.94 s go-tests> ++ pwd
  73. 5.94 s go-tests> + SCRIPT_DIR=/build/source/dev-scripts
  74. 5.94 s go-tests> + readonly SCRIPT_DIR
  75. 5.94 s go-tests> + cd /build/source/dev-scripts/..
  76. 5.94 s go-tests> + go test -tags=netgo,osusergo -fullpath ./...
  77. 13.30 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  78. 16.81 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  79. 16.82 s go-tests> ok codeberg.org/mtlynch/little-moments/handlers 0.008s
  80. 16.82 s go-tests> ? codeberg.org/mtlynch/little-moments/images [no test files]
  81. 16.83 s go-tests> ok codeberg.org/mtlynch/little-moments/importers 0.020s
  82. 16.83 s go-tests> ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.006s
  83. 16.83 s go-tests> ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.005s
  84. 16.83 s go-tests> ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  85. 16.83 s go-tests> ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  86. 16.83 s go-tests> ok codeberg.org/mtlynch/little-moments/s3config 0.007s
  87. 16.83 s go-tests> ? codeberg.org/mtlynch/little-moments/store/sqlite [no test files]
  88. 16.83 s go-tests> ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  89. 16.94 s go-tests> + [[ -n '' ]]
  90. 16.94 s go-tests> + go vet ./...
  91. 26.97 s go-tests> ++ go env GOPATH
  92. 27.01 s go-tests> + STATICCHECK_PATH=/build/go/bin/staticcheck
  93. 27.01 s go-tests> + readonly STATICCHECK_PATH
  94. 27.01 s go-tests> + readonly STATICCHECK_VERSION=v0.6.1
  95. 27.01 s go-tests> + STATICCHECK_VERSION=v0.6.1
  96. 27.01 s go-tests> + [[ ! -f /build/go/bin/staticcheck ]]
  97. 27.01 s go-tests> + /build/go/bin/staticcheck ./...
  98. 32.61 s go-tests> ++ go env GOPATH
  99. 32.65 s go-tests> + ERRCHECK_PATH=/build/go/bin/errcheck
  100. 32.65 s go-tests> + readonly ERRCHECK_PATH
  101. 32.65 s go-tests> + readonly ERRCHECK_VERSION=v1.10.0
  102. 32.65 s go-tests> + ERRCHECK_VERSION=v1.10.0
  103. 32.65 s go-tests> + [[ ! -f /build/go/bin/errcheck ]]
  104. 32.65 s go-tests> + /build/go/bin/errcheck -ignoretests ./...
  105. 32.86 s go-tests> Running phase: installPhase
  106. 32.88 s go-tests> Running phase: fixupPhase
  107. 32.89 s go-tests> shrinking RPATHs of ELF executables and libraries in /nix/store/03dihw72vyf629a87n2c9b22m3ws88il-go-tests-0.0.0
  108. 32.90 s go-tests> checking for references to /build/ in /nix/store/03dihw72vyf629a87n2c9b22m3ws88il-go-tests-0.0.0...
  109. 32.91 s go-tests> patching script interpreter paths in /nix/store/03dihw72vyf629a87n2c9b22m3ws88il-go-tests-0.0.0
  110. 33.21 s go-tests (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/03dihw72vyf629a87n2c9b22m3ws88il-go-tests-0.0.0
  111. 33.26 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  112. 33.27 s go-tests (post)> copying 1 paths...
  113. 33.27 s go-tests (post)> copying path '/nix/store/03dihw72vyf629a87n2c9b22m3ws88il-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  114. 33.45 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  115. 33.90 s go-tests (post)> copying 1 paths...
  116. 33.90 s go-tests (post)> copying path '/nix/store/dnzsiib8rr0f08jjd9djkg86xx6kmc98-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...