1. 0.02 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=upload-to-s3&rev=8285200e3395bccb0bb01a1c2394890ac09eb1c7#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.55 s error (ignored): SQLite database '/var/cache/private/nix-ci-worker/eval-cache-v6/19f8d3417243e7167f83d653ed1d606cacdb1256561e2cdb84473ec1dba8a505.sqlite' is busy
  3. 4.33 s these 2 derivations will be built:
  4. 4.33 s /nix/store/m49vdrcb0zbghvxd3w8ryhf4ni83qgvl-little-moments-0.0.1-go-modules.drv
  5. 4.33 s /nix/store/vrfsp5snmjzhpyqnd72ci5n93hrw8i6h-go-tests-0.0.0.drv
  6. 4.43 s building '/nix/store/m49vdrcb0zbghvxd3w8ryhf4ni83qgvl-little-moments-0.0.1-go-modules.drv'...
  7. 4.49 s little-moments> Running phase: unpackPhase
  8. 4.49 s little-moments> unpacking source archive /nix/store/rl0aykzkl7paa9rq054iii1nx66s9xrv-source
  9. 4.52 s little-moments> source root is source
  10. 4.53 s little-moments> Running phase: patchPhase
  11. 4.55 s little-moments> Running phase: updateAutotoolsGnuConfigScriptsPhase
  12. 4.56 s little-moments> Running phase: configurePhase
  13. 4.57 s little-moments> Running phase: buildPhase
  14. 4.61 s little-moments> go: downloading codeberg.org/mtlynch/go-evolutionary-migrate v0.0.1
  15. 4.61 s little-moments> go: downloading github.com/ncruces/go-sqlite3 v0.22.0
  16. 4.61 s little-moments> go: downloading github.com/google/uuid v1.6.0
  17. 4.61 s little-moments> go: downloading golang.org/x/image v0.38.0
  18. 4.62 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2 v1.41.5
  19. 4.62 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/config v1.32.13
  20. 4.62 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.19.13
  21. 4.62 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.97.3
  22. 4.84 s little-moments> go: downloading github.com/aws/smithy-go v1.24.2
  23. 4.84 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.21
  24. 4.84 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.6
  25. 4.84 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.30.14
  26. 4.84 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/signin v1.0.9
  27. 4.84 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.41.10
  28. 4.84 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.18
  29. 4.87 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.8
  30. 4.87 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.21
  31. 4.87 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.22
  32. 4.88 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.7
  33. 4.88 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.13
  34. 4.89 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.21
  35. 4.89 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.21
  36. 4.90 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.21
  37. 4.90 s little-moments> go: downloading github.com/ncruces/julianday v1.0.0
  38. 4.90 s little-moments> go: downloading github.com/tetratelabs/wazero v1.8.2
  39. 4.90 s little-moments> go: downloading golang.org/x/sys v0.29.0
  40. 6.14 s little-moments> Running phase: installPhase
  41. 7.06 s little-moments (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/ffi2q3p5nbw0sf76b0qbclzff3q5ybh7-little-moments-0.0.1-go-modules
  42. 7.11 s little-moments (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  43. 7.11 s little-moments (post)> copying 1 paths...
  44. 7.11 s little-moments (post)> copying path '/nix/store/ffi2q3p5nbw0sf76b0qbclzff3q5ybh7-little-moments-0.0.1-go-modules' to 'https://cache.nix-ci.com'...
  45. 11.40 s little-moments (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  46. 11.50 s little-moments (post)> copying 0 paths...
  47. 11.61 s building '/nix/store/vrfsp5snmjzhpyqnd72ci5n93hrw8i6h-go-tests-0.0.0.drv'...
  48. 11.67 s go-tests> Running phase: unpackPhase
  49. 11.68 s go-tests> unpacking source archive /nix/store/rl0aykzkl7paa9rq054iii1nx66s9xrv-source
  50. 11.70 s go-tests> source root is source
  51. 11.72 s go-tests> Running phase: patchPhase
  52. 11.73 s go-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase
  53. 11.75 s go-tests> Running phase: configurePhase
  54. 11.77 s go-tests> no configure script, doing nothing
  55. 11.77 s go-tests> Running phase: buildPhase
  56. 11.79 s go-tests> patching script interpreter paths in ./dev-scripts
  57. 11.79 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"
  58. 11.82 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"
  59. 11.86 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"
  60. 11.90 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"
  61. 11.93 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"
  62. 11.95 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"
  63. 11.98 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"
  64. 12.02 s go-tests> ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  65. 12.04 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"
  66. 12.07 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"
  67. 12.10 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"
  68. 12.13 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"
  69. 12.15 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"
  70. 12.18 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"
  71. 12.21 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"
  72. 12.23 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"
  73. 12.26 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"
  74. 12.29 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"
  75. 12.31 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"
  76. 12.34 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"
  77. 12.36 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"
  78. 12.39 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"
  79. 12.58 s go-tests> + set -o pipefail
  80. 12.58 s go-tests> + full_test=
  81. 12.58 s go-tests> + go_test_flags=("-tags=netgo,osusergo")
  82. 12.58 s go-tests> + go_test_flags+=("-fullpath")
  83. 12.58 s go-tests> + readonly COVERAGE_FILE_RAW=.coverage.out
  84. 12.58 s go-tests> + COVERAGE_FILE_RAW=.coverage.out
  85. 12.58 s go-tests> + readonly COVERAGE_FILE_HTML=.coverage.html
  86. 12.58 s go-tests> + COVERAGE_FILE_HTML=.coverage.html
  87. 12.58 s go-tests> + [[ '' = \-\-full ]]
  88. 12.58 s go-tests> + set -u
  89. 12.58 s go-tests> +++ dirname ./dev-scripts/run-go-tests
  90. 12.59 s go-tests> ++ cd ./dev-scripts
  91. 12.59 s go-tests> ++ pwd
  92. 12.59 s go-tests> + SCRIPT_DIR=/build/source/dev-scripts
  93. 12.59 s go-tests> + readonly SCRIPT_DIR
  94. 12.59 s go-tests> + cd /build/source/dev-scripts/..
  95. 12.59 s go-tests> + go test -tags=netgo,osusergo -fullpath ./...
  96. 23.30 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  97. 27.62 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  98. 27.63 s go-tests> ok codeberg.org/mtlynch/little-moments/handlers 0.008s
  99. 27.63 s go-tests> ? codeberg.org/mtlynch/little-moments/images [no test files]
  100. 27.63 s go-tests> ok codeberg.org/mtlynch/little-moments/little_moments 0.004s
  101. 27.63 s go-tests> ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  102. 27.63 s go-tests> ok codeberg.org/mtlynch/little-moments/s3config 0.005s
  103. 27.63 s go-tests> ? codeberg.org/mtlynch/little-moments/store/sqlite [no test files]
  104. 27.63 s go-tests> ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  105. 27.63 s go-tests> ok codeberg.org/mtlynch/little-moments/tinybeans 0.006s
  106. 27.63 s go-tests> ok codeberg.org/mtlynch/little-moments/tinybeans/parse 0.004s
  107. 27.73 s go-tests> + [[ -n '' ]]
  108. 27.73 s go-tests> + go vet ./...
  109. 37.95 s go-tests> ++ go env GOPATH
  110. 37.97 s go-tests> + STATICCHECK_PATH=/build/go/bin/staticcheck
  111. 37.97 s go-tests> + readonly STATICCHECK_PATH
  112. 37.97 s go-tests> + readonly STATICCHECK_VERSION=v0.6.1
  113. 37.97 s go-tests> + STATICCHECK_VERSION=v0.6.1
  114. 37.97 s go-tests> + [[ ! -f /build/go/bin/staticcheck ]]
  115. 37.97 s go-tests> + /build/go/bin/staticcheck ./...
  116. 41.97 s go-tests> ++ go env GOPATH
  117. 41.97 s go-tests> + ERRCHECK_PATH=/build/go/bin/errcheck
  118. 41.97 s go-tests> + readonly ERRCHECK_PATH
  119. 41.97 s go-tests> + readonly ERRCHECK_VERSION=v1.10.0
  120. 41.97 s go-tests> + ERRCHECK_VERSION=v1.10.0
  121. 41.97 s go-tests> + [[ ! -f /build/go/bin/errcheck ]]
  122. 41.97 s go-tests> + /build/go/bin/errcheck -ignoretests ./...
  123. 42.17 s go-tests> buildPhase completed in 30 seconds
  124. 42.17 s go-tests> Running phase: installPhase
  125. 42.18 s go-tests> Running phase: fixupPhase
  126. 42.20 s go-tests> shrinking RPATHs of ELF executables and libraries in /nix/store/7hdsbq8ysylvaq5pkpws0k2hswkp1170-go-tests-0.0.0
  127. 42.20 s go-tests> checking for references to /build/ in /nix/store/7hdsbq8ysylvaq5pkpws0k2hswkp1170-go-tests-0.0.0...
  128. 42.21 s go-tests> patching script interpreter paths in /nix/store/7hdsbq8ysylvaq5pkpws0k2hswkp1170-go-tests-0.0.0
  129. 42.49 s go-tests (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/7hdsbq8ysylvaq5pkpws0k2hswkp1170-go-tests-0.0.0
  130. 42.52 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  131. 42.53 s go-tests (post)> copying 1 paths...
  132. 42.53 s go-tests (post)> copying path '/nix/store/7hdsbq8ysylvaq5pkpws0k2hswkp1170-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  133. 42.60 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  134. 42.94 s go-tests (post)> copying 1 paths...
  135. 42.94 s go-tests (post)> copying path '/nix/store/vrfsp5snmjzhpyqnd72ci5n93hrw8i6h-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...