I am using doctest-parallel 0.3.0: haskell/hackage-server#1171
The error appears to be different than #22 and the other suggestions.
There is no error at all for GHC 9.4. cabal test DocTests succeeds.
There are intermittent errors for GHC 9.0 and 9.2. cabal run doctests, cabal build, etc. do not solve it. The DocTests may have succeeded one time for GHC 9.2, I'm not sure.
Update: the error only occurs for GHC 9.0 in the nix-shell, so I'm closing this issue
If you want to reproduce the error, please clone https://github.com/peterbecich/hackage-server.git , branch update-doctest-parallel.
Thank you