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/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=email-auth&rev=746d38a6fa13900ea224dcf42a98b5aae52e3bc5#packages.x86_64-linux.go-tests --print-build-logs
  2. 3.97 s these 2 derivations will be built:
  3. 3.97 s /nix/store/q25a0h19qvraw98dsmmah8vyr8g7j6li-little-moments-0.0.1-go-modules.drv
  4. 3.97 s /nix/store/zf66mgr4mqndm9sscn7fd9i4isxsvbqh-go-tests-0.0.0.drv
  5. 4.08 s building '/nix/store/q25a0h19qvraw98dsmmah8vyr8g7j6li-little-moments-0.0.1-go-modules.drv'...
  6. 4.15 s little-moments> Running phase: unpackPhase
  7. 4.16 s little-moments> unpacking source archive /nix/store/bpn6lgwp3jw36zqgqksiw9a4qkgkfkgc-source
  8. 4.18 s little-moments> source root is source
  9. 4.20 s little-moments> Running phase: patchPhase
  10. 4.21 s little-moments> Running phase: updateAutotoolsGnuConfigScriptsPhase
  11. 4.23 s little-moments> Running phase: configurePhase
  12. 4.23 s little-moments> Running phase: buildPhase
  13. 4.26 s little-moments> go: downloading codeberg.org/mtlynch/go-evolutionary-migrate v0.0.1
  14. 4.26 s little-moments> go: downloading github.com/ncruces/go-sqlite3 v0.22.0
  15. 4.26 s little-moments> go: downloading github.com/mtlynch/simpleauth/v2 v2.0.0-20241108014613-2f32145d692d
  16. 4.26 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2 v1.41.5
  17. 4.27 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/config v1.32.13
  18. 4.27 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/credentials v1.19.13
  19. 4.27 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/s3 v1.97.3
  20. 4.27 s little-moments> go: downloading github.com/google/uuid v1.6.0
  21. 4.27 s little-moments> go: downloading golang.org/x/image v0.38.0
  22. 4.37 s little-moments> go: downloading github.com/mtlynch/jeff v0.2.4
  23. 4.41 s little-moments> go: downloading github.com/tinylib/msgp v1.1.6
  24. 4.44 s little-moments> go: downloading github.com/philhofer/fwd v1.1.1
  25. 4.47 s little-moments> go: downloading github.com/aws/smithy-go v1.24.2
  26. 4.47 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.18.21
  27. 4.47 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/ini v1.8.6
  28. 4.47 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/signin v1.0.9
  29. 4.47 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/ssooidc v1.35.18
  30. 4.47 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/sts v1.41.10
  31. 4.47 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/sso v1.30.14
  32. 4.50 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.7.8
  33. 4.50 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/configsources v1.4.21
  34. 4.50 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.13.7
  35. 4.50 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/v4a v1.4.22
  36. 4.52 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.9.13
  37. 4.52 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.13.21
  38. 4.52 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.19.21
  39. 4.53 s little-moments> go: downloading github.com/ncruces/julianday v1.0.0
  40. 4.53 s little-moments> go: downloading github.com/tetratelabs/wazero v1.8.2
  41. 4.53 s little-moments> go: downloading golang.org/x/sys v0.29.0
  42. 4.53 s little-moments> go: downloading github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.7.21
  43. 5.99 s little-moments> Running phase: installPhase
  44. 6.94 s little-moments (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/mds48h76vzv218pldar9xhi0823acy2d-little-moments-0.0.1-go-modules
  45. 6.99 s little-moments (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  46. 6.99 s little-moments (post)> copying 1 paths...
  47. 6.99 s little-moments (post)> copying path '/nix/store/mds48h76vzv218pldar9xhi0823acy2d-little-moments-0.0.1-go-modules' to 'https://cache.nix-ci.com'...
  48. 12.42 s little-moments (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  49. 12.52 s little-moments (post)> copying 0 paths...
  50. 12.61 s building '/nix/store/zf66mgr4mqndm9sscn7fd9i4isxsvbqh-go-tests-0.0.0.drv'...
  51. 12.67 s go-tests> Running phase: unpackPhase
  52. 12.67 s go-tests> unpacking source archive /nix/store/bpn6lgwp3jw36zqgqksiw9a4qkgkfkgc-source
  53. 12.70 s go-tests> source root is source
  54. 12.72 s go-tests> Running phase: patchPhase
  55. 12.73 s go-tests> Running phase: updateAutotoolsGnuConfigScriptsPhase
  56. 12.75 s go-tests> Running phase: configurePhase
  57. 12.77 s go-tests> no configure script, doing nothing
  58. 12.77 s go-tests> Running phase: buildPhase
  59. 12.79 s go-tests> patching script interpreter paths in ./dev-scripts
  60. 12.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"
  61. 12.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"
  62. 12.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"
  63. 12.85 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"
  64. 12.87 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"
  65. 12.89 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"
  66. 12.91 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"
  67. 12.95 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.97 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"
  69. 13.00 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"
  70. 13.02 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"
  71. 13.05 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"
  72. 13.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"
  73. 13.09 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"
  74. 13.11 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"
  75. 13.13 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. 13.15 s go-tests> ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  77. 13.17 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"
  78. 13.18 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"
  79. 13.20 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"
  80. 13.22 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"
  81. 13.24 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"
  82. 13.44 s go-tests> + set -o pipefail
  83. 13.44 s go-tests> + full_test=
  84. 13.44 s go-tests> + go_test_flags=("-tags=netgo,osusergo")
  85. 13.44 s go-tests> + go_test_flags+=("-fullpath")
  86. 13.44 s go-tests> + readonly COVERAGE_FILE_RAW=.coverage.out
  87. 13.44 s go-tests> + COVERAGE_FILE_RAW=.coverage.out
  88. 13.44 s go-tests> + readonly COVERAGE_FILE_HTML=.coverage.html
  89. 13.44 s go-tests> + COVERAGE_FILE_HTML=.coverage.html
  90. 13.44 s go-tests> + [[ '' = \-\-full ]]
  91. 13.44 s go-tests> + set -u
  92. 13.44 s go-tests> +++ dirname ./dev-scripts/run-go-tests
  93. 13.45 s go-tests> ++ cd ./dev-scripts
  94. 13.45 s go-tests> ++ pwd
  95. 13.45 s go-tests> + SCRIPT_DIR=/build/source/dev-scripts
  96. 13.45 s go-tests> + readonly SCRIPT_DIR
  97. 13.45 s go-tests> + cd /build/source/dev-scripts/..
  98. 13.45 s go-tests> + go test -tags=netgo,osusergo -fullpath ./...
  99. 25.05 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/app [no test files]
  100. 29.28 s go-tests> ? codeberg.org/mtlynch/little-moments/cmd/import-from-tinybeans [no test files]
  101. 29.28 s go-tests> ? codeberg.org/mtlynch/little-moments/email [no test files]
  102. 29.29 s go-tests> ok codeberg.org/mtlynch/little-moments/handlers 0.006s
  103. 29.29 s go-tests> ? codeberg.org/mtlynch/little-moments/handlers/sessions [no test files]
  104. 29.29 s go-tests> ? codeberg.org/mtlynch/little-moments/images [no test files]
  105. 29.30 s go-tests> ok codeberg.org/mtlynch/little-moments/importers 0.018s
  106. 29.30 s go-tests> ok codeberg.org/mtlynch/little-moments/importers/tinybeans 0.005s
  107. 29.30 s go-tests> ok codeberg.org/mtlynch/little-moments/importers/tinybeans/parse 0.004s
  108. 29.30 s go-tests> ok codeberg.org/mtlynch/little-moments/little_moments 0.005s
  109. 29.30 s go-tests> ? codeberg.org/mtlynch/little-moments/magiclogin [no test files]
  110. 29.30 s go-tests> ? codeberg.org/mtlynch/little-moments/magiclogin/email [no test files]
  111. 29.30 s go-tests> ? codeberg.org/mtlynch/little-moments/random [no test files]
  112. 29.30 s go-tests> ok codeberg.org/mtlynch/little-moments/ratelimit 0.004s
  113. 29.30 s go-tests> ? codeberg.org/mtlynch/little-moments/s3 [no test files]
  114. 29.30 s go-tests> ok codeberg.org/mtlynch/little-moments/s3config 0.007s
  115. 29.30 s go-tests> ? codeberg.org/mtlynch/little-moments/store [no test files]
  116. 30.04 s go-tests> ok codeberg.org/mtlynch/little-moments/store/sqlite 0.761s
  117. 30.04 s go-tests> ? codeberg.org/mtlynch/little-moments/store/test_sqlite [no test files]
  118. 30.15 s go-tests> + [[ -n '' ]]
  119. 30.15 s go-tests> + go vet ./...
  120. 40.15 s go-tests> ++ go env GOPATH
  121. 40.16 s go-tests> + STATICCHECK_PATH=/build/go/bin/staticcheck
  122. 40.16 s go-tests> + readonly STATICCHECK_PATH
  123. 40.16 s go-tests> + readonly STATICCHECK_VERSION=v0.6.1
  124. 40.16 s go-tests> + STATICCHECK_VERSION=v0.6.1
  125. 40.16 s go-tests> + [[ ! -f /build/go/bin/staticcheck ]]
  126. 40.16 s go-tests> + /build/go/bin/staticcheck ./...
  127. 44.06 s go-tests> ++ go env GOPATH
  128. 44.07 s go-tests> + ERRCHECK_PATH=/build/go/bin/errcheck
  129. 44.07 s go-tests> + readonly ERRCHECK_PATH
  130. 44.07 s go-tests> + readonly ERRCHECK_VERSION=v1.10.0
  131. 44.07 s go-tests> + ERRCHECK_VERSION=v1.10.0
  132. 44.07 s go-tests> + [[ ! -f /build/go/bin/errcheck ]]
  133. 44.07 s go-tests> + /build/go/bin/errcheck -ignoretests ./...
  134. 44.25 s go-tests> buildPhase completed in 31 seconds
  135. 44.25 s go-tests> Running phase: installPhase
  136. 44.26 s go-tests> Running phase: fixupPhase
  137. 44.28 s go-tests> shrinking RPATHs of ELF executables and libraries in /nix/store/4c7ncvkzx3kv2ga8sw846wfya4jayl3q-go-tests-0.0.0
  138. 44.28 s go-tests> checking for references to /build/ in /nix/store/4c7ncvkzx3kv2ga8sw846wfya4jayl3q-go-tests-0.0.0...
  139. 44.29 s go-tests> patching script interpreter paths in /nix/store/4c7ncvkzx3kv2ga8sw846wfya4jayl3q-go-tests-0.0.0
  140. 44.56 s go-tests (post)> Uploading paths from nix-ci to the NixCI cache /nix/store/4c7ncvkzx3kv2ga8sw846wfya4jayl3q-go-tests-0.0.0
  141. 44.59 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  142. 44.60 s go-tests (post)> copying 1 paths...
  143. 44.60 s go-tests (post)> copying path '/nix/store/4c7ncvkzx3kv2ga8sw846wfya4jayl3q-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  144. 44.66 s go-tests (post)> warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  145. 44.98 s go-tests (post)> copying 1 paths...
  146. 44.98 s go-tests (post)> copying path '/nix/store/zf66mgr4mqndm9sscn7fd9i4isxsvbqh-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...