1. 0.04 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=b5fe5d57f11fa124503a96e3660f6cc59d279a74#packages.x86_64-linux.go-tests --print-build-logs
  2. 3.40 s these 2 derivations will be built:
  3. 3.40 s /nix/store/8k2bi149vniwcl5gkgp9flrilpb0cysw-little-moments-0.0.1-go-modules.drv
  4. 3.40 s /nix/store/4rbp3p74sbqbv4hyzq5rkwpiir8sj1cw-go-tests-0.0.0.drv
  5. 3.51 s building '/nix/store/8k2bi149vniwcl5gkgp9flrilpb0cysw-little-moments-0.0.1-go-modules.drv'...
  6. 3.56 s little-moments> Running phase: unpackPhase
  7. 3.57 s little-moments> unpacking source archive /nix/store/p4yyzv5pvrad900i6bzm7h8xndy211wh-source
  8. 3.59 s little-moments> source root is source
  9. 3.61 s little-moments> Running phase: patchPhase
  10. 3.62 s little-moments> Running phase: updateAutotoolsGnuConfigScriptsPhase
  11. 3.64 s little-moments> Running phase: configurePhase
  12. 3.65 s little-moments> Running phase: buildPhase
  13. 3.67 s little-moments> go: downloading github.com/google/uuid v1.6.0
  14. 3.67 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2 v1.41.5
  15. 3.68 s little-moments> go: downloading codeberg.org/mtlynch/go-evolutionary-migrate v0.0.1
  16. 3.68 s little-moments> go: downloading golang.org/x/image v0.38.0
  17. 3.68 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/config v1.32.13
  18. 3.68 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.19.13
  19. 3.68 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.97.3
  20. 3.68 s little-moments> go: downloading github.com/ncruces/go-sqlite3 v0.22.0
  21. 3.81 s little-moments> go: downloading github.com/aws/smithy-go v1.24.2
  22. 3.81 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.6
  23. 3.81 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/signin v1.0.9
  24. 3.81 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.21
  25. 3.81 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.30.14
  26. 3.81 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.18
  27. 3.81 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.41.10
  28. 3.83 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.21
  29. 3.85 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.21
  30. 3.85 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.8
  31. 3.85 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.22
  32. 3.85 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.13
  33. 3.85 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.7
  34. 3.85 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.21
  35. 3.85 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.21
  36. 3.86 s little-moments> go: downloading github.com/ncruces/julianday v1.0.0
  37. 3.86 s little-moments> go: downloading github.com/tetratelabs/wazero v1.8.2
  38. 3.86 s little-moments> go: downloading golang.org/x/sys v0.29.0
  39. 4.96 s little-moments> Running phase: installPhase
  40. 5.78 s little-moments (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/ffi2q3p5nbw0sf76b0qbclzff3q5ybh7-little-moments-0.0.1-go-modules
  41. 5.83 s little-moments (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  42. 5.84 s little-moments (post)> copying 1 paths...
  43. 5.84 s little-moments (post)> copying path '/nix/store/ffi2q3p5nbw0sf76b0qbclzff3q5ybh7-little-moments-0.0.1-go-modules' to 'https://cache.nix-ci.com'...
  44. 9.92 s little-moments (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  45. 10.17 s little-moments (post)> copying 1 paths...
  46. 10.17 s little-moments (post)> copying path '/nix/store/8k2bi149vniwcl5gkgp9flrilpb0cysw-little-moments-0.0.1-go-modules.drv' to 'https://cache.nix-ci.com'...
  47. 10.46 s building '/nix/store/4rbp3p74sbqbv4hyzq5rkwpiir8sj1cw-go-tests-0.0.0.drv'...
  48. 10.51 s go-tests> Running phase: unpackPhase
  49. 10.52 s go-tests> unpacking source archive /nix/store/p4yyzv5pvrad900i6bzm7h8xndy211wh-source
  50. 10.55 s go-tests> source root is source
  51. 10.57 s go-tests> Running phase: patchPhase
  52. 10.58 s go-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase
  53. 10.59 s go-tests> Running phase: configurePhase
  54. 10.61 s go-tests> no configure script, doing nothing
  55. 10.62 s go-tests> Running phase: buildPhase
  56. 10.63 s go-tests> patching script interpreter paths in ./dev-scripts
  57. 10.63 s go-tests> ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  58. 10.65 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. 10.67 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"
  60. 10.69 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"
  61. 10.71 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"
  62. 10.73 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"
  63. 10.74 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"
  64. 10.76 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"
  65. 10.77 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"
  66. 10.79 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"
  67. 10.83 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"
  68. 10.83 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"
  69. 10.84 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"
  70. 10.86 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"
  71. 10.88 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"
  72. 10.90 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"
  73. 10.92 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"
  74. 10.94 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"
  75. 10.96 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"
  76. 10.98 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"
  77. 11.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"
  78. 11.03 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"
  79. 11.19 s go-tests> + set -o pipefail
  80. 11.19 s go-tests> + full_test=
  81. 11.19 s go-tests> + go_test_flags=("-tags=netgo,osusergo")
  82. 11.19 s go-tests> + go_test_flags+=("-fullpath")
  83. 11.19 s go-tests> + readonly COVERAGE_FILE_RAW=.coverage.out
  84. 11.19 s go-tests> + COVERAGE_FILE_RAW=.coverage.out
  85. 11.19 s go-tests> + readonly COVERAGE_FILE_HTML=.coverage.html
  86. 11.19 s go-tests> + COVERAGE_FILE_HTML=.coverage.html
  87. 11.19 s go-tests> + [[ '' = \-\-full ]]
  88. 11.19 s go-tests> + set -u
  89. 11.19 s go-tests> +++ dirname ./dev-scripts/run-go-tests
  90. 11.19 s go-tests> ++ cd ./dev-scripts
  91. 11.19 s go-tests> ++ pwd
  92. 11.19 s go-tests> + SCRIPT_DIR=/build/source/dev-scripts
  93. 11.19 s go-tests> + readonly SCRIPT_DIR
  94. 11.19 s go-tests> + cd /build/source/dev-scripts/..
  95. 11.19 s go-tests> + go test -tags=netgo,osusergo -fullpath ./...
  96. 21.09 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  97. 26.69 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  98. 26.73 s go-tests> ok codeberg.org/mtlynch/little-moments/handlers 0.009s
  99. 26.73 s go-tests> ? codeberg.org/mtlynch/little-moments/images [no test files]
  100. 26.73 s go-tests> ok codeberg.org/mtlynch/little-moments/little_moments 0.006s
  101. 26.73 s go-tests> ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  102. 26.73 s go-tests> ok codeberg.org/mtlynch/little-moments/s3config 0.007s
  103. 26.73 s go-tests> ? codeberg.org/mtlynch/little-moments/store/sqlite [no test files]
  104. 26.73 s go-tests> ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  105. 26.73 s go-tests> ok codeberg.org/mtlynch/little-moments/tinybeans 0.005s
  106. 26.73 s go-tests> ok codeberg.org/mtlynch/little-moments/tinybeans/parse 0.006s
  107. 26.84 s go-tests> + [[ -n '' ]]
  108. 26.84 s go-tests> + go vet ./...
  109. 36.24 s go-tests> ++ go env GOPATH
  110. 36.28 s go-tests> + STATICCHECK_PATH=/build/go/bin/staticcheck
  111. 36.28 s go-tests> + readonly STATICCHECK_PATH
  112. 36.28 s go-tests> + readonly STATICCHECK_VERSION=v0.6.1
  113. 36.28 s go-tests> + STATICCHECK_VERSION=v0.6.1
  114. 36.28 s go-tests> + [[ ! -f /build/go/bin/staticcheck ]]
  115. 36.28 s go-tests> + /build/go/bin/staticcheck ./...
  116. 39.94 s go-tests> ++ go env GOPATH
  117. 39.95 s go-tests> + ERRCHECK_PATH=/build/go/bin/errcheck
  118. 39.95 s go-tests> + readonly ERRCHECK_PATH
  119. 39.95 s go-tests> + readonly ERRCHECK_VERSION=v1.10.0
  120. 39.95 s go-tests> + ERRCHECK_VERSION=v1.10.0
  121. 39.95 s go-tests> + [[ ! -f /build/go/bin/errcheck ]]
  122. 39.95 s go-tests> + /build/go/bin/errcheck -ignoretests ./...
  123. 40.22 s go-tests> buildPhase completed in 30 seconds
  124. 40.22 s go-tests> Running phase: installPhase
  125. 40.24 s go-tests> Running phase: fixupPhase
  126. 40.26 s go-tests> shrinking RPATHs of ELF executables and libraries in /nix/store/1yxcls22z7i2w581ziws1js3cbi9s0bb-go-tests-0.0.0
  127. 40.27 s go-tests> checking for references to /build/ in /nix/store/1yxcls22z7i2w581ziws1js3cbi9s0bb-go-tests-0.0.0...
  128. 40.29 s go-tests> patching script interpreter paths in /nix/store/1yxcls22z7i2w581ziws1js3cbi9s0bb-go-tests-0.0.0
  129. 40.58 s go-tests (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/1yxcls22z7i2w581ziws1js3cbi9s0bb-go-tests-0.0.0
  130. 40.64 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  131. 40.65 s go-tests (post)> copying 1 paths...
  132. 40.65 s go-tests (post)> copying path '/nix/store/1yxcls22z7i2w581ziws1js3cbi9s0bb-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  133. 40.84 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  134. 41.15 s go-tests (post)> copying 1 paths...
  135. 41.15 s go-tests (post)> copying path '/nix/store/4rbp3p74sbqbv4hyzq5rkwpiir8sj1cw-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...