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=2d6b6c224a5eca5b5801e73493bef645709386c5#packages.x86_64-linux.go-tests --print-build-logs
  2. 0.10 s
  3. 0.44 s Substituting simpleauth-go-modules-0.0.0-go-modules from https://cache.nix-ci.com
  4. 0.44 s Substituting iana-etc from https://cache.nix-ci.com
  5. 0.44 s Substituting errcheck from https://cache.nix-ci.com
  6. 0.44 s Substituting expand-response-params from https://cache.nix-ci.com
  7. 0.44 s Substituting linux-headers from https://cache.nix-ci.com
  8. 0.44 s Substituting glibc-2.35-163-bin from https://cache.nix-ci.com
  9. 0.44 s Substituting binutils from https://cache.nix-ci.com
  10. 0.45 s Progress: 0 of 7 built, 1 of 13 fetched (6 fetching)
  11. 0.46 s Progress: 0 of 6 built, 2 of 13 fetched (5 fetching)
  12. 0.47 s Progress: 0 of 6 built, 3 of 13 fetched (4 fetching)
  13. 0.47 s Substituting go from https://cache.nix-ci.com
  14. 0.47 s Substituting staticcheck from https://cache.nix-ci.com
  15. 0.52 s Progress: 0 of 6 built, 4 of 13 fetched (5 fetching)
  16. 0.52 s Progress: 0 of 6 built, 5 of 13 fetched (4 fetching)
  17. 0.61 s Progress: 0 of 5 built, 6 of 13 fetched (3 fetching)
  18. 0.61 s Substituting glibc-2.35-163-dev from https://cache.nix-ci.com
  19. 0.62 s Progress: 0 of 5 built, 7 of 13 fetched (3 fetching)
  20. 0.68 s Progress: 0 of 4 built, 8 of 13 fetched (2 fetching)
  21. 0.68 s Substituting gcc from https://cache.nix-ci.com
  22. 0.76 s Progress: 0 of 4 built, 9 of 13 fetched (2 fetching)
  23. 0.76 s Substituting binutils-wrapper from https://cache.nix-ci.com
  24. 0.78 s Progress: 0 of 4 built, 10 of 13 fetched (2 fetching)
  25. 2.94 s Progress: 0 of 3 built, 11 of 13 fetched (1 fetching)
  26. 2.94 s Substituting gcc-wrapper from https://cache.nix-ci.com
  27. 3.44 s Progress: 0 of 3 built, 12 of 13 fetched (1 fetching)
  28. 5.58 s Progress: 0 of 2 built, 13 of 13 fetched
  29. 5.68 s Building go-tests
  30. 5.73 s [go-tests] Phase: unpackPhase
  31. 5.73 s [go-tests] unpacking sources
  32. 5.73 s [go-tests] unpacking source archive /nix/store/gd0hav7ngb9i09jba8sxydik59msms9c-source
  33. 5.74 s [go-tests] source root is source
  34. 5.78 s [go-tests] Phase: patchPhase
  35. 5.78 s [go-tests] patching sources
  36. 5.79 s [go-tests] Phase: configurePhase
  37. 5.79 s [go-tests] configuring
  38. 5.79 s [go-tests] no configure script, doing nothing
  39. 5.80 s [go-tests] Phase: buildPhase
  40. 5.80 s [go-tests] building
  41. 5.80 s [go-tests] patching script interpreter paths in ./dev-scripts
  42. 5.81 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"
  43. 5.81 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"
  44. 5.82 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"
  45. 5.82 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"
  46. 5.83 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"
  47. 5.83 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"
  48. 5.84 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"
  49. 5.85 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"
  50. 5.86 s [go-tests] + set -o pipefail
  51. 5.86 s [go-tests] + full_test=
  52. 5.86 s [go-tests] + go_test_flags=("-tags=netgo,osusergo")
  53. 5.86 s [go-tests] + readonly COVERAGE_FILE_RAW=.coverage.out
  54. 5.86 s [go-tests] + COVERAGE_FILE_RAW=.coverage.out
  55. 5.86 s [go-tests] + readonly COVERAGE_FILE_HTML=.coverage.html
  56. 5.86 s [go-tests] + COVERAGE_FILE_HTML=.coverage.html
  57. 5.86 s [go-tests] + [[ --full = \-\-\f\u\l\l ]]
  58. 5.86 s [go-tests] + full_test=1
  59. 5.86 s [go-tests] + go_test_flags+=("-v")
  60. 5.86 s [go-tests] + go_test_flags+=("-race")
  61. 5.86 s [go-tests] + go_test_flags+=("--coverprofile=${COVERAGE_FILE_RAW}")
  62. 5.86 s [go-tests] + set -u
  63. 5.86 s [go-tests] +++ dirname ./dev-scripts/run-go-tests
  64. 5.86 s [go-tests] ++ cd ./dev-scripts
  65. 5.86 s [go-tests] ++ pwd
  66. 5.86 s [go-tests] + SCRIPT_DIR=/build/source/dev-scripts
  67. 5.86 s [go-tests] + readonly SCRIPT_DIR
  68. 5.86 s [go-tests] + cd /build/source/dev-scripts/..
  69. 5.86 s [go-tests] + go test -tags=netgo,osusergo -v -race --coverprofile=.coverage.out ./...
  70. 11.72 s === RUN TestAuthenticate
  71. 11.73 s === RUN TestAuthenticate/authenticates_when_password_is_valid
  72. 11.73 s === RUN TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid
  73. 11.73 s === RUN TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found
  74. 11.73 s --- PASS: TestAuthenticate (0.00s)
  75. 11.73 s --- PASS: TestAuthenticate/authenticates_when_password_is_valid (0.00s)
  76. 11.73 s --- PASS: TestAuthenticate/returns_ErrIncorrectPassword_when_password_is_invalid (0.00s)
  77. 11.73 s --- PASS: TestAuthenticate/returns_ErrUserNotFound_when_user_is_not_found (0.00s)
  78. 11.73 s PASS
  79. 11.73 s coverage: 50.0% of statements
  80. 11.73 s ok codeberg.org/mtlynch/simpleauth/v3/auth 0.027s coverage: 50.0% of statements
  81. 14.74 s === RUN TestCreateAndLoadSession
  82. 14.74 s --- PASS: TestCreateAndLoadSession (0.00s)
  83. 14.74 s === RUN TestRequireUserRedirectsWithoutSession
  84. 14.74 s --- PASS: TestRequireUserRedirectsWithoutSession (0.00s)
  85. 14.74 s === RUN TestLoadUserIgnoresExpiredSession
  86. 14.74 s --- PASS: TestLoadUserIgnoresExpiredSession (0.00s)
  87. 14.74 s PASS
  88. 14.74 s coverage: 66.7% of statements
  89. 14.74 s ok codeberg.org/mtlynch/simpleauth/v3/sessions 0.027s coverage: 66.7% of statements
  90. 14.78 s + [[ -n 1 ]]
  91. 14.78 s + go tool cover -html .coverage.out -o .coverage.html
  92. 14.85 s + go vet ./...
  93. 17.41 s ++ go env GOPATH
  94. 17.44 s + STATICCHECK_PATH=/build/go/bin/staticcheck
  95. 17.44 s + readonly STATICCHECK_PATH
  96. 17.44 s + readonly STATICCHECK_VERSION=v0.4.6
  97. 17.44 s + STATICCHECK_VERSION=v0.4.6
  98. 17.44 s + [[ ! -f /build/go/bin/staticcheck ]]
  99. 17.44 s + /build/go/bin/staticcheck ./...
  100. 19.36 s ++ go env GOPATH
  101. 19.36 s + ERRCHECK_PATH=/build/go/bin/errcheck
  102. 19.36 s + readonly ERRCHECK_PATH
  103. 19.36 s + readonly ERRCHECK_VERSION=v1.6.2
  104. 19.36 s + ERRCHECK_VERSION=v1.6.2
  105. 19.36 s + [[ ! -f /build/go/bin/errcheck ]]
  106. 19.36 s + /build/go/bin/errcheck -ignoretests ./...
  107. 20.07 s Phase: installPhase
  108. 20.07 s installing
  109. 20.08 s Phase: fixupPhase
  110. 20.08 s post-installation fixup
  111. 20.09 s shrinking RPATHs of ELF executables and libraries in /nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0
  112. 20.09 s strip is /nix/store/hk75004j435l09ij4gawlkzg4wfs839w-binutils-wrapper-2.39/bin/strip
  113. 20.09 s patching script interpreter paths in /nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0
  114. 20.10 s checking for references to /build/ in /nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0...
  115. 20.20 s [post-build-hook] Uploading paths from nix-ci to the NixCI cache /nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0
  116. 20.24 s [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  117. 20.25 s [post-build-hook] copying 1 paths...
  118. 20.25 s [post-build-hook] copying path '/nix/store/qaqc5w6bz156in8mpbdkr505k9admm69-go-tests-0.0.0' to 'https://cache.nix-ci.com'...
  119. 20.34 s [post-build-hook] warning: 'warn-short-path-literals' is deprecated, use 'lint-short-path-literals = ignore' instead
  120. 20.55 s [post-build-hook] copying 2 paths...
  121. 20.55 s [post-build-hook] copying path '/nix/store/vy5xkpixmliq6l3q5j6cqh9a6kk6qrx1-simpleauth-go-modules-0.0.0-go-modules.drv' to 'https://cache.nix-ci.com'...
  122. 20.70 s [post-build-hook] copying path '/nix/store/clivc009734yc0c3cs2jz8ajh05azaif-go-tests-0.0.0.drv' to 'https://cache.nix-ci.com'...
  123. 20.87 s