1. 0.01 s $ /nix/store/vzx1mi9c0xfadmsm9dhd83d005cb1qs9-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 --log-format internal-json build --no-link git+https://codeberg.org/mtlynch/simpleauth?ref=no-sqlite&rev=476bc1b32bec360e9ef0db7c19c74eb3e6a4a473#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.44 s
  3. 0.87 s Building go-tests
  4. 0.91 s [go-tests] Phase: unpackPhase
  5. 0.91 s [go-tests] unpacking sources
  6. 0.91 s [go-tests] unpacking source archive /nix/store/ckc7izqcs8g4vqfy66ld3irhw13jcw0w-source
  7. 0.91 s [go-tests] source root is source
  8. 0.92 s [go-tests] Phase: patchPhase
  9. 0.92 s [go-tests] patching sources
  10. 0.92 s [go-tests] Phase: configurePhase
  11. 0.92 s [go-tests] configuring
  12. 0.93 s [go-tests] no configure script, doing nothing
  13. 0.93 s [go-tests] Phase: buildPhase
  14. 0.93 s [go-tests] building
  15. 0.94 s [go-tests] patching script interpreter paths in ./dev-scripts
  16. 0.94 s [go-tests] ./dev-scripts/check-trailing-newline: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
  17. 0.95 s [go-tests] ./dev-scripts/git-hooks/pre-commit: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
  18. 0.95 s [go-tests] ./dev-scripts/run-go-tests: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
  19. 0.96 s [go-tests] ./dev-scripts/update-scripts: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
  20. 0.96 s [go-tests] ./dev-scripts/enable-git-hooks: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
  21. 0.97 s [go-tests] ./dev-scripts/check-trailing-whitespace: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
  22. 0.97 s [go-tests] ./dev-scripts/check-go-formatting: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
  23. 0.98 s [go-tests] ./dev-scripts/check-bash: interpreter directive changed from "#!/usr/bin/env bash" to "/nix/store/2ispfz80kmwrsvwndxkxs56irn86h43p-bash-5.1-p16/bin/bash"
  24. 0.99 s [go-tests] + set -o pipefail
  25. 0.99 s [go-tests] + full_test=
  26. 0.99 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  27. 0.99 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  28. 0.99 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  29. 0.99 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  30. 0.99 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  31. 0.99 s [go-tests] + [[ --full = \-\-\f\u\l\l ]]
  32. 0.99 s [go-tests] + full_test=1
  33. 0.99 s [go-tests] + go_test_flags+=("-v")
  34. 0.99 s [go-tests] + go_test_flags+=("-race")
  35. 0.99 s [go-tests] + go_test_flags+=("--coverprofile=${COVERAGE_FILE_RAW}")
  36. 0.99 s [go-tests] + set -u
  37. 0.99 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  38. 0.99 s [go-tests] ++ cd ./dev-scripts
  39. 0.99 s [go-tests] ++ pwd
  40. 0.99 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  41. 0.99 s [go-tests] + readonly SCRIPT_DIR
  42. 0.99 s [go-tests] + cd /build/source/dev-scripts/..
  43. 0.99 s [go-tests] + go test -tags=netgo,osusergo -v -race --coverprofile=.coverage.out ./...
  44. 5.61 s [go-tests] === RUN TestNewUserIDRejectsEmptyString
  45. 5.62 s [go-tests] --- PASS: TestNewUserIDRejectsEmptyString (0.00s)
  46. 5.62 s [go-tests] === RUN TestNewUserIDReturnsUserID
  47. 5.62 s [go-tests] --- PASS: TestNewUserIDReturnsUserID (0.00s)
  48. 5.62 s [go-tests] PASS
  49. 5.62 s [go-tests] coverage: 100.0% of statements
  50. 5.62 s [go-tests] ok codeberg.org/mtlynch/simpleauth/v3 0.024s coverage: 100.0% of statements
  51. 5.62 s [go-tests] === RUN TestAuthenticate
  52. 5.62 s [go-tests] === RUN TestAuthenticate/authenticates_when_password_is_valid
  53. 5.62 s [go-tests] === RUN TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid
  54. 5.62 s [go-tests] === RUN TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found
  55. 5.62 s [go-tests] --- PASS: TestAuthenticate (0.00s)
  56. 5.62 s [go-tests] --- PASS: TestAuthenticate/authenticates_when_password_is_valid (0.00s)
  57. 5.62 s [go-tests] --- PASS: TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid (0.00s)
  58. 5.62 s [go-tests] --- PASS: TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found (0.00s)
  59. 5.62 s [go-tests] PASS
  60. 5.62 s [go-tests] coverage: 50.0% of statements
  61. 5.62 s [go-tests] ok codeberg.org/mtlynch/simpleauth/v3/auth 0.024s coverage: 50.0% of statements
  62. 8.13 s [go-tests] === RUN TestCreateAndLoadSession
  63. 8.13 s [go-tests] --- PASS: TestCreateAndLoadSession (0.00s)
  64. 8.13 s [go-tests] === RUN TestRequireSessionRedirectsWithoutSession
  65. 8.13 s [go-tests] --- PASS: TestRequireSessionRedirectsWithoutSession (0.00s)
  66. 8.13 s [go-tests] PASS
  67. 8.13 s [go-tests] coverage: 58.9% of statements
  68. 8.13 s [go-tests] ok codeberg.org/mtlynch/simpleauth/v3/sessions 0.024s coverage: 58.9% of statements
  69. 8.17 s [go-tests] + [[ -n 1 ]]
  70. 8.17 s [go-tests] + go tool cover -html .coverage.out -o .coverage.html
  71. 8.23 s [go-tests] + go vet ./...
  72. 9.90 s [go-tests] ++ go env GOPATH
  73. 9.91 s [go-tests] + STATICCHECK_PATH=/build/go/bin/staticcheck
  74. 9.91 s [go-tests] + readonly STATICCHECK_PATH
  75. 9.91 s [go-tests] + readonly STATICCHECK_VERSION=v0.4.6
  76. 9.91 s [go-tests] + STATICCHECK_VERSION=v0.4.6
  77. 9.91 s [go-tests] + [[ ! -f /build/go/bin/staticcheck ]]
  78. 9.91 s [go-tests] + /build/go/bin/staticcheck ./...
  79. 11.40 s [go-tests] ++ go env GOPATH
  80. 11.41 s [go-tests] + ERRCHECK_PATH=/build/go/bin/errcheck
  81. 11.41 s [go-tests] + readonly ERRCHECK_PATH
  82. 11.41 s [go-tests] + readonly ERRCHECK_VERSION=v1.6.2
  83. 11.41 s [go-tests] + ERRCHECK_VERSION=v1.6.2
  84. 11.41 s [go-tests] + [[ ! -f /build/go/bin/errcheck ]]
  85. 11.41 s [go-tests] + /build/go/bin/errcheck -ignoretests ./...
  86. 11.98 s [go-tests] Phase: installPhase
  87. 11.98 s [go-tests] installing
  88. 11.98 s [go-tests] Phase: fixupPhase
  89. 11.98 s [go-tests] post-installation fixup
  90. 11.98 s [go-tests] shrinking RPATHs of ELF executables and libraries in /nix/store/ras5n8yk2xy0dpha0jfdabxcmix8582p-go-tests-0.0.0
  91. 11.99 s [go-tests] strip is /nix/store/hk75004j435l09ij4gawlkzg4wfs839w-binutils-wrapper-2.39/bin/strip
  92. 11.99 s [go-tests] patching script interpreter paths in /nix/store/ras5n8yk2xy0dpha0jfdabxcmix8582p-go-tests-0.0.0
  93. 11.99 s [go-tests] checking for references to /build/ in /nix/store/ras5n8yk2xy0dpha0jfdabxcmix8582p-go-tests-0.0.0...
  94. 12.08 s [post-build-hook] Uploading paths from nix-ci to the NixCI cache /nix/store/ras5n8yk2xy0dpha0jfdabxcmix8582p-go-tests-0.0.0
  95. 12.11 s [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  96. 12.12 s [post-build-hook] copying 1 paths...
  97. 12.12 s [post-build-hook] copying path '/nix/store/ras5n8yk2xy0dpha0jfdabxcmix8582p-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  98. 12.31 s [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  99. 12.48 s [post-build-hook] copying 2 paths...
  100. 12.48 s [post-build-hook] copying path '/nix/store/f68shnvbcw4dm66aya4r2ypgl9yp4gpf-simpleauth-go-modules-0.0.0-go-modules.drv' to 'https://cache.nix-ci.com'...
  101. 12.61 s [post-build-hook] copying path '/nix/store/pchl4ki7pz35l6j7q2ccx9mc6szyp5pq-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  102. 12.76 s Progress: 1 of 2 built