build packages.x86_64-linux.go-tests

Reproduce this run
  1. 0.14 s $ /nix/store/9ypz3flqsrl5xl495mm8h645gadjsxi1-coreutils-9.11/bin/timeout --kill-after=15s 7200s /nix/store/23zk8sgzamrbmj1fday15szf7f2279s8-nix-2.34.7/bin/nix --extra-experimental-features nix-command --extra-experimental-features flakes --log-format internal-json build --no-link --print-out-paths git+https://codeberg.org/mtlynch/go-app-starter?ref=backport-lm2&rev=b0056a03eba3b30e58f41fb49ee968188fc72846#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.58 s error (ignored): SQLite database '/var/cache/nix-ci-worker/eval-cache-v6/5d79b6de83295fafdc09d4167e3c2bb64aa4ae60cea7166714d9f1313b30f95e.sqlite' is busy
  3. 2.20 s
  4. 3.00 s Downloading cached errcheck from https://cache.nix-ci.com
  5. 3.00 s Downloading cached gci from https://cache.nix-ci.com
  6. 3.00 s Downloading cached go-critic from https://cache.nix-ci.com
  7. 3.00 s Downloading cached go-tools from https://cache.nix-ci.com
  8. 3.54 s Progress: 0 of 5 built, 1 of 4 downloaded from cache (3 downloading)
  9. 4.03 s Progress: 0 of 4 built, 2 of 4 downloaded from cache (2 downloading)
  10. 4.49 s Progress: 0 of 3 built, 3 of 4 downloaded from cache (1 downloading)
  11. 6.11 s Progress: 0 of 2 built, 4 of 4 downloaded from cache
  12. 6.26 s Building /nix/store/klrnbyg2qixvrmgi2g5j45qanyzrj0b2-go-tests-0.0.0.drv
  13. 6.37 s [go-tests] Phase: unpackPhase
  14. 6.38 s [go-tests] unpacking source archive /nix/store/h0l9zczcm7ff05njnlfcbqlgmc80awhb-source
  15. 6.42 s [go-tests] source root is source
  16. 6.46 s [go-tests] Phase: patchPhase
  17. 6.48 s [go-tests] Phase: updateAutotoolsGnuConfigScriptsPhase
  18. 6.51 s [go-tests] Phase: configurePhase
  19. 6.55 s [go-tests] no configure script, doing nothing
  20. 6.55 s [go-tests] Phase: buildPhase
  21. 6.57 s [go-tests] patching script interpreter paths in ./dev-scripts
  22. 6.57 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"
  23. 6.61 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"
  24. 6.64 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"
  25. 6.68 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"
  26. 6.71 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"
  27. 6.75 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"
  28. 6.79 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"
  29. 6.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"
  30. 6.90 s [go-tests] ./dev-scripts/serve: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/0550j0i8bmzxbcnzrg1g51zigj7y12ih-bash-interactive-5.3p9/bin/bash"
  31. 6.93 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"
  32. 6.98 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"
  33. 7.05 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"
  34. 7.08 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"
  35. 7.11 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"
  36. 7.17 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"
  37. 7.27 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"
  38. 7.33 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"
  39. 7.43 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"
  40. 7.49 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"
  41. 7.54 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"
  42. 7.60 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. 7.83 s [go-tests] + set -o pipefail
  44. 7.83 s [go-tests] + full_test=
  45. 7.83 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  46. 7.83 s [go-tests] + go_test_flags+=("-fullpath")
  47. 7.83 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  48. 7.83 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  49. 7.83 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  50. 7.83 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  51. 7.83 s [go-tests] + [[ '' = \-\-full ]]
  52. 7.83 s [go-tests] + set -u
  53. 7.83 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  54. 7.85 s [go-tests] ++ cd ./dev-scripts
  55. 7.85 s [go-tests] ++ pwd
  56. 7.85 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  57. 7.85 s [go-tests] + readonly SCRIPT_DIR
  58. 7.85 s [go-tests] + cd /build/source/dev-scripts/..
  59. 7.85 s [go-tests] + go test -tags=netgo,osusergo -fullpath ./...
  60. 22.14 s [go-tests] ? github.com/mtlynch/go-app-starter/cmd/app [no test files]
  61. 22.18 s [go-tests] ok github.com/mtlynch/go-app-starter/handlers 0.011s
  62. 22.18 s [go-tests] ? github.com/mtlynch/go-app-starter/store/sqlite [no test files]
  63. 23.83 s [go-tests] ok github.com/mtlynch/go-app-starter/store/test_sqlite 1.377s
  64. 23.95 s [go-tests] + [[ -n '' ]]
  65. 23.95 s [go-tests] + go vet ./...
  66. 30.15 s [go-tests] + go_package_dirs=()
  67. 30.60 s [go-tests] + IFS=
  68. 30.60 s [go-tests] + read -r go_package_dir
  69. 30.60 s [go-tests] ++ go list -f '{{.Dir}}' ./...
  70. 30.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  71. 30.60 s [go-tests] + IFS=
  72. 30.60 s [go-tests] + read -r go_package_dir
  73. 30.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  74. 30.60 s [go-tests] + IFS=
  75. 30.60 s [go-tests] + read -r go_package_dir
  76. 30.60 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  77. 30.61 s [go-tests] + IFS=
  78. 30.61 s [go-tests] + read -r go_package_dir
  79. 30.61 s [go-tests] + go_package_dirs+=("${go_package_dir}")
  80. 30.61 s [go-tests] + IFS=
  81. 30.61 s [go-tests] + read -r go_package_dir
  82. 30.61 s [go-tests] + readonly go_package_dirs
  83. 30.61 s [go-tests] ++ go env GOPATH
  84. 30.61 s [go-tests] + GCI_PATH=/build/go/bin/gci
  85. 30.61 s [go-tests] + readonly GCI_PATH
  86. 30.61 s [go-tests] + readonly GCI_VERSION=v0.14.0
  87. 30.61 s [go-tests] + GCI_VERSION=v0.14.0
  88. 30.61 s [go-tests] + [[ -f /build/go/bin/gci ]]
  89. 30.61 s [go-tests] ++ /build/go/bin/gci --version
  90. 30.61 s [go-tests] + gci_version_output='gci version 0.14.0'
  91. 30.61 s [go-tests] + [[ gci version 0.14.0 != gci version 0\.14\.0 ]]
  92. 30.61 s [go-tests] + gci_sections=("--section=standard" "--section=default" "--section=localmodule")
  93. 30.61 s [go-tests] + readonly gci_sections
  94. 30.61 s [go-tests] ++ /build/go/bin/gci list --skip-generated --skip-vendor --section=standard --section=default --section=localmodule /build/source/cmd/app /build/source/handlers /build/source/store/sqlite /build/source/store/test_sqlite
  95. 30.61 s [go-tests] + gci_output=
  96. 30.61 s [go-tests] + [[ -n '' ]]
  97. 30.61 s [go-tests] ++ go env GOPATH
  98. 30.61 s [go-tests] + GOCRITIC_PATH=/build/go/bin/go-critic
  99. 30.61 s [go-tests] + readonly GOCRITIC_PATH
  100. 30.61 s [go-tests] + readonly GOCRITIC_VERSION=v0.14.3
  101. 30.61 s [go-tests] + GOCRITIC_VERSION=v0.14.3
  102. 30.61 s [go-tests] + [[ ! -f /build/go/bin/go-critic ]]
  103. 30.61 s [go-tests] + /build/go/bin/go-critic check ./...
  104. 30.74 s [go-tests] + /build/go/bin/go-critic check -enable=returnAfterHttpError ./...
  105. 31.21 s [go-tests] ++ go env GOPATH
  106. 31.21 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  107. 31.21 s [go-tests] + readonly STATICCHECK_PATH
  108. 31.21 s [go-tests] + readonly STATICCHECK_VERSION=v0.6.1
  109. 31.21 s [go-tests] + STATICCHECK_VERSION=v0.6.1
  110. 31.21 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  111. 31.21 s [go-tests] + /build/go/bin/staticcheck ./...
  112. 34.08 s [go-tests] ++ go env GOPATH
  113. 34.08 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  114. 34.08 s [go-tests] + readonly ERRCHECK_PATH
  115. 34.08 s [go-tests] + readonly ERRCHECK_VERSION=v1.10.0
  116. 34.08 s [go-tests] + ERRCHECK_VERSION=v1.10.0
  117. 34.08 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  118. 34.08 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  119. 34.25 s [go-tests] Phase: installPhase
  120. 34.26 s [go-tests] Phase: fixupPhase
  121. 34.28 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/shhkb9vjx968f43xg258080c2fiffz37-go-tests-0.0.0
  122. 34.28 s [go-tests] checking for references to /build/ in /nix/store/shhkb9vjx968f43xg258080c2fiffz37-go-tests-0.0.0...
  123. 34.30 s [go-tests] patching script interpreter paths in /nix/store/shhkb9vjx968f43xg258080c2fiffz37-go-tests-0.0.0
  124. 34.60 s [go-tests:post-build] Uploading to the NixCI cache: /nix/store/shhkb9vjx968f43xg258080c2fiffz37-go-tests-0.0.0
  125. 34.64 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  126. 34.65 s [go-tests:post-build] copying 1 paths...
  127. 34.65 s [go-tests:post-build] copying path '/nix/store/shhkb9vjx968f43xg258080c2fiffz37-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  128. 35.34 s [go-tests:post-build] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  129. 35.64 s [go-tests:post-build] copying 1 paths...
  130. 35.64 s [go-tests:post-build] copying path '/nix/store/klrnbyg2qixvrmgi2g5j45qanyzrj0b2-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  131. 37.04 s Progress: 1 of 2 built, 4 of 4 downloaded from cache
  132. 37.04 s Progress: 2 of 2 built, 4 of 4 downloaded from cache
  133. 37.04 s /nix/store/shhkb9vjx968f43xg258080c2fiffz37-go-tests-0.0.0
  134. 37.08 s Build succeeded.