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=local-vs-s3&rev=576f308d2aa8bd70439a1ac7d13af74e224e7f9c#packages.x86_64-linux.go-tests --print-build-logs
  2. 3.54 s this derivation will be built:
  3. 3.54 s /nix/store/yvi05qgabc7pwdpxl52lr8p4mrl9y30w-go-tests-0.0.0.drv
  4. 3.54 s these 11 paths will be fetched (22.0 MiB download, 101.0 MiB unpacked):
  5. 3.54 s /nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0
  6. 3.54 s /nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66
  7. 3.54 s /nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1
  8. 3.54 s /nix/store/kywwgk85nl83mpf10av3bvm2khdlq5ib-libidn2-2.3.8
  9. 3.54 s /nix/store/hlcdbvwjlzjd2x86fxghzj1gpzplccqw-libunistring-1.4.1
  10. 3.54 s /nix/store/jlzgy18gkpkd75dz22h17pg744asy0bh-little-moments-0.0.1-go-modules
  11. 3.54 s /nix/store/f6zwd0xdld51287as0sv79kbaf2pcayh-sqlite-3.51.1
  12. 3.54 s /nix/store/lbm0vi6xqrmvin5a9cj7v69qc5ayg5q0-sqlite-3.51.1-bin
  13. 3.54 s /nix/store/byl3w16n1zd8rnx040afcyy8zhn996w1-sqlite-3.51.1-dev
  14. 3.54 s /nix/store/6h39qxzrm4i1fhl538knvyjapcdyasfx-xgcc-15.2.0-libgcc
  15. 3.54 s /nix/store/c2qsgf2832zi4n29gfkqgkjpvmbmxam6-zlib-1.3.1
  16. 3.55 s copying path '/nix/store/jlzgy18gkpkd75dz22h17pg744asy0bh-little-moments-0.0.1-go-modules' from 'https://cache.nix-ci.com'...
  17. 3.55 s copying path '/nix/store/w7jccpxdr3pvml3wa59paiwhs5ljb5gf-errcheck-1.10.0' from 'https://cache.nix-ci.com'...
  18. 3.55 s copying path '/nix/store/q4rg0nf6kcpgimvxd8sxy2zzryn0md9x-go-tools-2026.1' from 'https://cache.nix-ci.com'...
  19. 3.55 s copying path '/nix/store/6h39qxzrm4i1fhl538knvyjapcdyasfx-xgcc-15.2.0-libgcc' from 'https://cache.nix-ci.com'...
  20. 3.55 s copying path '/nix/store/hlcdbvwjlzjd2x86fxghzj1gpzplccqw-libunistring-1.4.1' from 'https://cache.nix-ci.com'...
  21. 3.73 s copying path '/nix/store/kywwgk85nl83mpf10av3bvm2khdlq5ib-libidn2-2.3.8' from 'https://cache.nix-ci.com'...
  22. 3.81 s copying path '/nix/store/j193mfi0f921y0kfs8vjc1znnr45ispv-glibc-2.40-66' from 'https://cache.nix-ci.com'...
  23. 4.14 s copying path '/nix/store/c2qsgf2832zi4n29gfkqgkjpvmbmxam6-zlib-1.3.1' from 'https://cache.nix-ci.com'...
  24. 4.18 s copying path '/nix/store/f6zwd0xdld51287as0sv79kbaf2pcayh-sqlite-3.51.1' from 'https://cache.nix-ci.com'...
  25. 4.18 s copying path '/nix/store/lbm0vi6xqrmvin5a9cj7v69qc5ayg5q0-sqlite-3.51.1-bin' from 'https://cache.nix-ci.com'...
  26. 4.27 s copying path '/nix/store/byl3w16n1zd8rnx040afcyy8zhn996w1-sqlite-3.51.1-dev' from 'https://cache.nix-ci.com'...
  27. 4.42 s building '/nix/store/yvi05qgabc7pwdpxl52lr8p4mrl9y30w-go-tests-0.0.0.drv'...
  28. 4.47 s go-tests> Running phase: unpackPhase
  29. 4.48 s go-tests> unpacking source archive /nix/store/17zizpc8ga3ciws11q05nk0qbapn602m-source
  30. 4.50 s go-tests> source root is source
  31. 4.52 s go-tests> Running phase: patchPhase
  32. 4.52 s go-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase
  33. 4.54 s go-tests> Running phase: configurePhase
  34. 4.55 s go-tests> no configure script, doing nothing
  35. 4.56 s go-tests> Running phase: buildPhase
  36. 4.57 s go-tests> patching script interpreter paths in ./dev-scripts
  37. 4.58 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"
  38. 4.59 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"
  39. 4.61 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"
  40. 4.62 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"
  41. 4.64 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"
  42. 4.66 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"
  43. 4.67 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"
  44. 4.69 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"
  45. 4.71 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"
  46. 4.72 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"
  47. 4.74 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"
  48. 4.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"
  49. 4.77 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"
  50. 4.79 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"
  51. 4.81 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"
  52. 4.83 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"
  53. 4.85 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"
  54. 4.86 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"
  55. 4.88 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"
  56. 4.90 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"
  57. 4.92 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"
  58. 4.93 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"
  59. 5.02 s go-tests> + set -o pipefail
  60. 5.02 s go-tests> + full_test=
  61. 5.02 s go-tests> + go_test_flags=("-tags=netgo,osusergo")
  62. 5.02 s go-tests> + go_test_flags+=("-fullpath")
  63. 5.02 s go-tests> + readonly COVERAGE_FILE_RAW=.coverage.out
  64. 5.02 s go-tests> + COVERAGE_FILE_RAW=.coverage.out
  65. 5.02 s go-tests> + readonly COVERAGE_FILE_HTML=.coverage.html
  66. 5.02 s go-tests> + COVERAGE_FILE_HTML=.coverage.html
  67. 5.02 s go-tests> + [[ '' = \-\-full ]]
  68. 5.02 s go-tests> + set -u
  69. 5.02 s go-tests> +++ dirname ./dev-scripts/run-go-tests
  70. 5.03 s go-tests> ++ cd ./dev-scripts
  71. 5.03 s go-tests> ++ pwd
  72. 5.03 s go-tests> + SCRIPT_DIR=/build/source/dev-scripts
  73. 5.03 s go-tests> + readonly SCRIPT_DIR
  74. 5.03 s go-tests> + cd /build/source/dev-scripts/..
  75. 5.03 s go-tests> + go test -tags=netgo,osusergo -fullpath ./...
  76. 11.49 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  77. 11.49 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  78. 11.52 s go-tests> ok codeberg.org/mtlynch/little-moments/handlers 0.007s
  79. 11.52 s go-tests> ? codeberg.org/mtlynch/little-moments/images [no test files]
  80. 11.52 s go-tests> ? codeberg.org/mtlynch/little-moments/importers [no test files]
  81. 11.52 s go-tests> ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.005s
  82. 11.52 s go-tests> ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  83. 11.52 s go-tests> ok codeberg.org/mtlynch/little-moments/little_moments 0.004s
  84. 11.52 s go-tests> ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  85. 11.52 s go-tests> ? codeberg.org/mtlynch/little-moments/s3config [no test files]
  86. 11.52 s go-tests> ? codeberg.org/mtlynch/little-moments/store/sqlite [no test files]
  87. 11.52 s go-tests> ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  88. 11.57 s go-tests> + [[ -n '' ]]
  89. 11.57 s go-tests> + go vet ./...
  90. 16.93 s go-tests> ++ go env GOPATH
  91. 16.97 s go-tests> + STATICCHECK_PATH=/build/go/bin/staticcheck
  92. 16.97 s go-tests> + readonly STATICCHECK_PATH
  93. 16.97 s go-tests> + readonly STATICCHECK_VERSION=v0.6.1
  94. 16.97 s go-tests> + STATICCHECK_VERSION=v0.6.1
  95. 16.97 s go-tests> + [[ ! -f /build/go/bin/staticcheck ]]
  96. 16.97 s go-tests> + /build/go/bin/staticcheck ./...
  97. 21.29 s go-tests> ++ go env GOPATH
  98. 21.29 s go-tests> + ERRCHECK_PATH=/build/go/bin/errcheck
  99. 21.29 s go-tests> + readonly ERRCHECK_PATH
  100. 21.29 s go-tests> + readonly ERRCHECK_VERSION=v1.10.0
  101. 21.29 s go-tests> + ERRCHECK_VERSION=v1.10.0
  102. 21.29 s go-tests> + [[ ! -f /build/go/bin/errcheck ]]
  103. 21.29 s go-tests> + /build/go/bin/errcheck -ignoretests ./...
  104. 21.45 s go-tests> Running phase: installPhase
  105. 21.46 s go-tests> Running phase: fixupPhase
  106. 21.47 s go-tests> shrinking RPATHs of ELF executables and libraries in /nix/store/5qxi1qnm7w0mn1i362smnjrg74wmqv0w-go-tests-0.0.0
  107. 21.47 s go-tests> checking for references to /build/ in /nix/store/5qxi1qnm7w0mn1i362smnjrg74wmqv0w-go-tests-0.0.0...
  108. 21.49 s go-tests> patching script interpreter paths in /nix/store/5qxi1qnm7w0mn1i362smnjrg74wmqv0w-go-tests-0.0.0
  109. 21.70 s go-tests (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/5qxi1qnm7w0mn1i362smnjrg74wmqv0w-go-tests-0.0.0
  110. 21.74 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  111. 21.75 s go-tests (post)> copying 1 paths...
  112. 21.75 s go-tests (post)> copying path '/nix/store/5qxi1qnm7w0mn1i362smnjrg74wmqv0w-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  113. 21.92 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  114. 22.75 s go-tests (post)> copying 1 paths...
  115. 22.79 s go-tests (post)> copying path '/nix/store/yvi05qgabc7pwdpxl52lr8p4mrl9y30w-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...