Skip to content

Instantly share code, notes, and snippets.

@peterbecich
Created January 29, 2023 21:12
Show Gist options
  • Save peterbecich/3a3e945a0533469604ba3c3a66b600f9 to your computer and use it in GitHub Desktop.
Save peterbecich/3a3e945a0533469604ba3c3a66b600f9 to your computer and use it in GitHub Desktop.
`doctests-parallel` 0.3.0 error
https://github.com/martijnbastiaan/doctest-parallel/issues/65
[nix-shell:~/haskell/libraries/hackage-server2]$ cabal run doctests -- --debug -j1
Build profile: -w ghc-9.0.2 -O1
In order, the following will be built (use -v for more details):
- hackage-server-0.5.1 (test:DocTests) (additional components to build)
Preprocessing test suite 'DocTests' for hackage-server-0.5.1..
Building test suite 'DocTests' for hackage-server-0.5.1..
[VERBOSE] [ThreadId 4] Parsing comments..
[DEBUG ] [ThreadId 4] Calling GHC API with: -i/home/peterbecich/haskell/libraries/hackage-server2/src Distribution.Client Distribution.Client.Cron Distribution.Client.UploadLog Distribution.Client.Index Distribution.Client.Mirror.CmdLine Distribution.Client.Mirror.Config Distribution.Client.Mirror.Repo.Hackage2 Distribution.Client.Mirror.Repo.Local Distribution.Client.Mirror.Repo.Util Distribution.Client.Mirror.Repo.Secure Distribution.Client.Mirror.Repo.Types Distribution.Client.Mirror.Repo Distribution.Client.Mirror.Session Distribution.Client.Mirror.State Distribution.Client.DistroMap Distribution.Client.HtPasswdDb Distribution.Client.ParseApacheLogs Distribution.Client.TagsFile Distribution.Client.UserAddressesDb Distribution.Server Distribution.Server.Prelude Distribution.Server.Framework Distribution.Server.Framework.Auth Distribution.Server.Framework.AuthTypes Distribution.Server.Framework.AuthCrypt Distribution.Server.Framework.BlobStorage Distribution.Server.Framework.Cache Distribution.Server.Framework.Cron Distribution.Server.Framework.Error Distribution.Server.Framework.Logging Distribution.Server.Framework.Feature Distribution.Server.Framework.Hook Distribution.Server.Framework.HtmlFormWrapper Distribution.Server.Framework.Instances Distribution.Server.Framework.MemState Distribution.Server.Framework.MemSize Distribution.Server.Framework.Resource Distribution.Server.Framework.RequestContentTypes Distribution.Server.Framework.ResponseContentTypes Distribution.Server.Framework.CacheControl Distribution.Server.Framework.BackupDump Distribution.Server.Framework.BackupRestore Distribution.Server.Framework.ServerEnv Distribution.Server.Framework.Templating Distribution.Server.Framework.HappstackUtils Distribution.Server.Packages.Index Distribution.Server.Packages.ModuleForest Distribution.Server.Packages.PackageIndex Distribution.Server.Packages.Types Distribution.Server.Packages.Unpack Distribution.Server.Packages.Render Distribution.Server.Packages.ChangeLog Distribution.Server.Packages.Readme Distribution.Server.Packages.Metadata Distribution.Server.Pages.Group Distribution.Server.Pages.Index Distribution.Server.Pages.Package Distribution.Server.Pages.PackageFromTemplate Distribution.Server.Pages.Package.HaddockHtml Distribution.Server.Pages.Package.HaddockParse Distribution.Server.Pages.Recent Distribution.Server.Pages.AdminLog Distribution.Server.Pages.Reverse Distribution.Server.Pages.Template Distribution.Server.Pages.Util Distribution.Server.Users.Group Distribution.Server.Users.State Distribution.Server.Users.Types Distribution.Server.Users.Backup Distribution.Server.Users.Users Distribution.Server.Users.AuthToken Distribution.Server.Users.UserIdSet Distribution.Server.Util.Histogram Distribution.Server.Util.CountingMap Distribution.Server.Util.CabalRevisions Distribution.Server.Util.DocMeta Distribution.Server.Util.Parse Distribution.Server.Util.ServeTarball Distribution.Server.Util.Validators Distribution.Server.Util.Validators.Internal Distribution.Server.Util.GZip Distribution.Server.Util.ContentType Distribution.Server.Util.SigTerm Distribution.Server.Util.ReadDigest Distribution.Server.Util.Nonce Distribution.Server.Util.Merge Distribution.Server.Util.ParseSpecVer Distribution.Server.Util.Markdown Distribution.Server.Util.Paging Distribution.Server.Features Distribution.Server.Features.Browse Distribution.Server.Features.Browse.ApplyFilter Distribution.Server.Features.Browse.Options Distribution.Server.Features.Browse.Parsers Distribution.Server.Features.Core Distribution.Server.Features.Core.State Distribution.Server.Features.Core.Backup Distribution.Server.Features.Security Distribution.Server.Features.Security.Backup Distribution.Server.Features.Security.FileInfo Distribution.Server.Features.Security.Layout Distribution.Server.Features.Security.MD5 Distribution.Server.Features.Security.Migration Distribution.Server.Features.Security.Orphans Distribution.Server.Features.Security.ResponseContentTypes Distribution.Server.Features.Security.SHA256 Distribution.Server.Features.Security.State Distribution.Server.Features.Mirror Distribution.Server.Features.Upload Distribution.Server.Features.Upload.State Distribution.Server.Features.Upload.Backup Distribution.Server.Features.Users Distribution.Server.Features.UserNotify Distribution.Server.Features.TarIndexCache Distribution.Server.Features.TarIndexCache.State Distribution.Server.Features.LegacyRedirects Distribution.Server.Features.LegacyPasswds Distribution.Server.Features.LegacyPasswds.Auth Distribution.Server.Features.PackageContents Distribution.Server.Features.AdminFrontend Distribution.Server.Features.AdminLog Distribution.Server.Features.BuildReports Distribution.Server.Features.BuildReports.BuildReport Distribution.Server.Features.BuildReports.BuildReports Distribution.Server.Features.BuildReports.Backup Distribution.Server.Features.BuildReports.Render Distribution.Server.Features.BuildReports.State Distribution.Server.Features.PackageCandidates Distribution.Server.Features.PackageCandidates.Types Distribution.Server.Features.PackageCandidates.State Distribution.Server.Features.PackageCandidates.Backup Distribution.Server.Features.PackageFeed Distribution.Server.Features.PackageList Distribution.Server.Features.Distro Distribution.Server.Features.Distro.Distributions Distribution.Server.Features.Distro.Backup Distribution.Server.Features.Distro.State Distribution.Server.Features.Distro.Types Distribution.Server.Features.Documentation Distribution.Server.Features.Documentation.State Distribution.Server.Features.DownloadCount Distribution.Server.Features.DownloadCount.State Distribution.Server.Features.DownloadCount.Backup Distribution.Server.Features.EditCabalFiles Distribution.Server.Features.Html Distribution.Server.Features.Html.HtmlUtilities Distribution.Server.Features.HoogleData Distribution.Server.Features.HaskellPlatform Distribution.Server.Features.HaskellPlatform.State Distribution.Server.Features.PackageInfoJSON Distribution.Server.Features.PackageInfoJSON.State Distribution.Server.Features.Search Distribution.Server.Features.Search.BM25F Distribution.Server.Features.Search.DocIdSet Distribution.Server.Features.Search.DocTermIds Distribution.Server.Features.Search.DocFeatVals Distribution.Server.Features.Search.ExtractDescriptionTerms Distribution.Server.Features.Search.ExtractNameTerms Distribution.Server.Features.Search.PkgSearch Distribution.Server.Features.Search.SearchEngine Distribution.Server.Features.Search.SearchIndex Distribution.Server.Features.Search.TermBag Distribution.Server.Features.Sitemap.Functions Distribution.Server.Features.Votes Distribution.Server.Features.Votes.State Distribution.Server.Features.Votes.Render Distribution.Server.Features.RecentPackages Distribution.Server.Features.PreferredVersions Distribution.Server.Features.PreferredVersions.State Distribution.Server.Features.PreferredVersions.Backup Distribution.Server.Features.ReverseDependencies Distribution.Server.Features.ReverseDependencies.State Distribution.Server.Features.Tags Distribution.Server.Features.Tags.Backup Distribution.Server.Features.Tags.State Distribution.Server.Features.AnalyticsPixels Distribution.Server.Features.AnalyticsPixels.State Distribution.Server.Features.UserDetails Distribution.Server.Features.UserSignup Distribution.Server.Features.StaticFiles Distribution.Server.Features.ServerIntrospect Distribution.Server.Features.Sitemap Distribution.Server.Util.NLP.Snowball -package-env - -package ghc -package-db /nix/store/6i58g7y5bx4vdjfjrf4gzwgcpjf0b1pk-ghc-9.0.2/lib/ghc-9.0.2/package.conf.d -package-db /home/peterbecich/haskell/libraries/hackage-server2/dist-newstyle/packagedb/ghc-9.0.2
[VERBOSE] [ThreadId 4] Running examples..
[DEBUG ] [ThreadId 4] Running examples in modules: Distribution.Server.Features.UserNotify, Distribution.Server.Util.Validators.Internal, Distribution.Server.Util.Markdown[DEBUG ] [ThreadId 243] Calling: /nix/store/6i58g7y5bx4vdjfjrf4gzwgcpjf0b1pk-ghc-9.0.2/bin/ghc-9.0.2 -XNoImplicitPrelude -package-env - -package ghc -package-db /nix/store/6i58g7y5bx4vdjfjrf4gzwgcpjf0b1pk-ghc-9.0.2/lib/ghc-9.0.2/package.conf.d -package-db /home/peterbecich/haskell/libraries/hackage-server2/dist-newstyle/packagedb/ghc-9.0.2 --interactive -fdiagnostics-color=never -fno-diagnostics-show-caret -ignore-dot-ghci -v0
[DEBUG ] [ThreadId 243] >>> import qualified System.IO
[DEBUG ] [ThreadId 243] >>> import qualified GHC.IO.Handle
[DEBUG ] [ThreadId 243] >>> GHC.IO.Handle.hDuplicateTo System.IO.stdout System.IO.stderr
[DEBUG ] [ThreadId 243] >>> GHC.IO.Handle.hSetBuffering System.IO.stdout GHC.IO.Handle.LineBuffering
[DEBUG ] [ThreadId 243] >>> GHC.IO.Handle.hSetBuffering System.IO.stderr GHC.IO.Handle.LineBuffering
[DEBUG ] [ThreadId 243] >>> GHC.IO.Handle.hSetEncoding System.IO.stdout System.IO.utf8
[DEBUG ] [ThreadId 243] >>> GHC.IO.Handle.hSetEncoding System.IO.stderr System.IO.utf8
[DEBUG ] [ThreadId 243] >>> :m - System.IO
[DEBUG ] [ThreadId 243] >>> :m - GHC.IO.Handle
[DEBUG ] [ThreadId 243] >>> :m +Distribution.Server.Features.UserNotify
[DEBUG ] [ThreadId 243]
[DEBUG ] [ThreadId 243] <no location info>: error:
[DEBUG ] [ThreadId 243] Could not load module ‘Distribution.Server.Features.UserNotify’
[DEBUG ] [ThreadId 243] It is a member of the package ‘hackage-server-0.5.1-inplace-lib-server’
[DEBUG ] [ThreadId 243] which is unusable due to missing dependencies:
[DEBUG ] [ThreadId 243] Cabal-3.8.1.0-1653dc03a4313209aa5826d7c716c3187e118ddfd0ffc9ffa422e14b251917c1 Cabal-syntax-3.8.1.0-cf1350b5314a78f57fadb750c550fee113fe7187b0eb15ad9c455965566839bc HStringTemplate-0.8.8-c4eb4b0aece85aa62fd142c0eb8dc358f5a3716750a0b49ffda8a915bd8b2df8 HTTP-4000.4.1-ccb5b3523b7b572396e0baf87337274772d30d0a28a894474cddc22bd6588ba1 QuickCheck-2.14.2-f22f5801e8064a2daf29fd98131633ac0e913d432ae5ccb45235a34e7340a676 acid-state-0.16.1.1-317fca0d540f17e8557eee617f61a3dd35a694df4b97e111060b9fbec3592445 aeson-2.1.1.0-f8ea56e60b941676fea4afc8e0d67777d1761e905c7f688e10ac54631b520089 async-2.2.4-ac2c599aec47922944271cce7d75247996579c1781356af1f55dafb5f52ef7e5 attoparsec-0.14.4-ef3e64c168012beaf180b3fc08c41c80de6524e910593f81f8f6231e7eaf6421 attoparsec-iso8601-1.1.0.0-1913abb29a7ff18f5241668c628b3f239ba4bdc8918d87a7ed7da2c5299a43b3 base16-bytestring-1.0.2.0-4e10200a267d2548364e08e5f8560623cc6545248448e64025418c3bc6ab0eb8 base64-bytestring-1.2.1.0-ae210fb078b49259e348d3646db19b355512ad5d2ad4810437a4e3c2e1385259 bimap-0.3.3-07857810aac46d813800d47c58f2be958d1d799402dd75f2ee2c8d735ce096df blaze-builder-0.4.2.2-722dfe4382546b22168c48d327864a223854b3b07ddea2e9936e1e56eda6f7e7 blaze-html-0.9.1.2-2c1360c2a077ff980b8b3970f03574dbd4a64802b8df4401c3546a45e66a6b4a cereal-0.5.8.3-c47a1e2e27c95b47f1eadc346da3fb98dc7654912919881600fe1826e4cae0f0 commonmark-0.2.2-e646db6c457943cd1e88b8b119fff907f3c36950c2be0545671e68052a1704d6 commonmark-extensions-0.2.3.3-ce577bc51d10ea1aa856cd42a08e236d324f5c11f352079286ad7685f945c4b7 cryptohash-md5-0.11.101.0-64057644efd3806a7a0bfcd6814fe8d46b21dfe9021c6a569f151a0dc6e29c6f cryptohash-sha256-0.11.102.1-9fbcf8973d5496147a5273679e8f72bb4142d1d7d9f903bf5fb846f560ba862c csv-0.1.2-093bb32e23926cb925e22a88023cdf2208cf648af3dcfbbc448f9f99a631aa45 ed25519-0.0.5.0-ddc6a1eea21b07526e59dda136c81478f90e28c2ba6510a03a4ab358e16a61ce fail-4.9.0.0-363ab5038f307578f1ba38996718dd6f6529e86e0f8f4bca1f20ce3dcbc96656 hackage-security-0.6.2.3-fbf81d86af6ef31842c270a9fb1ce307fe5f25c86f508e53902efc92ee2044e5 hackage-security-HTTP-0.1.1.1-8def025d0047ba2540b3ae400cb4087f0d4f95dcfe7c5ce4947e24b6f2cfbd1c haddock-library-1.11.0-dd7b4e25ab68d120f0d0e387a56e06709994c702cefd768739559e48b1b642d8 happstack-server-7.8.0.2-7693d94a0f3f54dff535747bc7e89f0b820517ee03b49ac1b2a8383869d29618 hashable-1.4.2.0-9d08b51b6b080f408909ae241e5a00da7270a6f7a2fa3f3564f9af8d3ac1ee40 hs-captcha-1.0-74cac225af8a3f34f99c87abeba8c7aecc797d1b80a79843d4fcdf728569b473 hslogger-1.3.1.0-134fe8107f2420953b716655c7445126d18a956b74b7d279674fdf25d35bfbd3 lifted-base-0.2.3.12-f1d590e4c59b3097354334129fab43ad3773b3a7755f0f7f9de15524fd191846 mime-mail-0.5.1-fb7f82305a305ae01a5dcb59e5f1b566f045615084324e35b4115c3bed236854 network-3.1.2.7-60fdab1bb56e9b5ee171ea80a4d7faff5cb48bd521dadfe36bfa3d3271b31444 network-bsd-2.8.1.0-d4482cad7a456b4e4fc78bbd79e425375a6bb2fecb4fc4517c6544d18dae1768 network-uri-2.6.4.2-ee37f9fd6e0ea913c4d15e738c4c6164e50852cac894944f479f2df55479ea8d random-1.2.1.1-1d0d773e7191b529301a87373b9e3bfd4fb129287276a30aeb72110602bbb70c rss-3000.2.0.7-aa399744a576fde403da7e859d1c4e79a4586b0b28e22eb3715bf644075cff73 safecopy-0.10.4.2-3f9c74e70cb9182bc0fcf5b109c2d16945b3a25bca379ce8706f1b2e671730f7 scientific-0.3.7.0-e03c5313e47c26dbf81b9b0b31fa5acc71813056dd97ac51bf38597612e31842 semigroups-0.20-16ffc52103d0675d2c529704bface123e6901132f816d9247bd8d77d2abb88b6 split-0.2.3.5-0c5cfbf6236d4fa34189cd250c1d859f688fee2e87b26ffc94d3aa5e5b832af6 stringsearch-0.3.6.6-bf827f9e836fc8c73b143fb48da2fb538b411604bdb6962418e5088cffaeffca tagged-0.8.6.1-a90fd22bc750bd481225d5f4ec0e07d9b47c86a6a655b51a578c7920938e1d87 tar-0.5.1.1-01c1a2b8d95f8cf12a011c196d18ab057c5085ebdf56f509d6c947ed215b7b3b tokenize-0.3.0-06158e00291f22bab3d82d20ab3ed5537244515f22f1fa8d6208936f48bb44ba unordered-containers-0.2.19.1-4d3b17ff053131e4f16d893c654d7acd03a60ab6c116219697c4758b7ef759c7 vector-0.13.0.0-9f9bf6b9f468015c2f75bc51ace7d920557c562dc759ce15aa5695c0e9e968d1 xmlgen-0.6.2.2-2885f3bfefe308e87ea0f4980b7f86d2d7176dd58e642e68ab08b895d57e1a4c xss-sanitize-0.3.7.1-a692519984a993b36aa9d566eab74af90a75525012db75e52be7f50b5f8a5b76 zlib-0.6.3.0-6d8324799a0419a532b1335de802e99ec925296ae0e436d772d518aef1eae00f
[ERROR ] [ThreadId 243] Could not import module: Distribution.Server.Features.UserNotify. This can be caused by a number of issues:
[ERROR ] [ThreadId 243] 1. A module found by GHC contained tests, but was not in 'exposed-modules'. If you want
[ERROR ] [ThreadId 243] to test non-exposed modules follow the instructions here:
[ERROR ] [ThreadId 243] https://github.com/martijnbastiaan/doctest-parallel#test-non-exposed-modules
[ERROR ] [ThreadId 243] 2. For Cabal users: Cabal did not generate a GHC environment file. Either:
[ERROR ] [ThreadId 243] * Run with '--write-ghc-environment-files=always'
[ERROR ] [ThreadId 243] * Add 'write-ghc-environment-files: always' to your cabal.project
[ERROR ] [ThreadId 243] 3. For Cabal users: Cabal did not generate a GHC environment file in time. This
[ERROR ] [ThreadId 243] can happen if you use 'cabal test' instead of 'cabal run doctests'. See
[ERROR ] [ThreadId 243] https://github.com/martijnbastiaan/doctest-parallel/issues/22.
[ERROR ] [ThreadId 243] 4. The testsuite executable does not have a dependency on your project library. Please
[ERROR ] [ThreadId 243] add it to the 'build-depends' section of the testsuite executable.
[ERROR ] [ThreadId 243] See the example project at https://github.com/martijnbastiaan/doctest-parallel/blob/main/example/README.md for more information.
[ERROR ] [ThreadId 243] The original reason given by GHCi was:
[ERROR ] [ThreadId 243] Error:
[ERROR ] [ThreadId 243]
[ERROR ] [ThreadId 243] <no location info>: error:
[ERROR ] [ThreadId 243] Could not load module ‘Distribution.Server.Features.UserNotify’
[ERROR ] [ThreadId 243] It is a member of the package ‘hackage-server-0.5.1-inplace-lib-server’
[ERROR ] [ThreadId 243] which is unusable due to missing dependencies:
[ERROR ] [ThreadId 243] Cabal-3.8.1.0-1653dc03a4313209aa5826d7c716c3187e118ddfd0ffc9ffa422e14b251917c1 Cabal-syntax-3.8.1.0-cf1350b5314a78f57fadb750c550fee113fe7187b0eb15ad9c455965566839bc HStringTemplate-0.8.8-c4eb4b0aece85aa62fd142c0eb8dc358f5a3716750a0b49ffda8a915bd8b2df8 HTTP-4000.4.1-ccb5b3523b7b572396e0baf87337274772d30d0a28a894474cddc22bd6588ba1 QuickCheck-2.14.2-f22f5801e8064a2daf29fd98131633ac0e913d432ae5ccb45235a34e7340a676 acid-state-0.16.1.1-317fca0d540f17e8557eee617f61a3dd35a694df4b97e111060b9fbec3592445 aeson-2.1.1.0-f8ea56e60b941676fea4afc8e0d67777d1761e905c7f688e10ac54631b520089 async-2.2.4-ac2c599aec47922944271cce7d75247996579c1781356af1f55dafb5f52ef7e5 attoparsec-0.14.4-ef3e64c168012beaf180b3fc08c41c80de6524e910593f81f8f6231e7eaf6421 attoparsec-iso8601-1.1.0.0-1913abb29a7ff18f5241668c628b3f239ba4bdc8918d87a7ed7da2c5299a43b3 base16-bytestring-1.0.2.0-4e10200a267d2548364e08e5f8560623cc6545248448e64025418c3bc6ab0eb8 base64-bytestring-1.2.1.0-ae210fb078b49259e348d3646db19b355512ad5d2ad4810437a4e3c2e1385259 bimap-0.3.3-07857810aac46d813800d47c58f2be958d1d799402dd75f2ee2c8d735ce096df blaze-builder-0.4.2.2-722dfe4382546b22168c48d327864a223854b3b07ddea2e9936e1e56eda6f7e7 blaze-html-0.9.1.2-2c1360c2a077ff980b8b3970f03574dbd4a64802b8df4401c3546a45e66a6b4a cereal-0.5.8.3-c47a1e2e27c95b47f1eadc346da3fb98dc7654912919881600fe1826e4cae0f0 commonmark-0.2.2-e646db6c457943cd1e88b8b119fff907f3c36950c2be0545671e68052a1704d6 commonmark-extensions-0.2.3.3-ce577bc51d10ea1aa856cd42a08e236d324f5c11f352079286ad7685f945c4b7 cryptohash-md5-0.11.101.0-64057644efd3806a7a0bfcd6814fe8d46b21dfe9021c6a569f151a0dc6e29c6f cryptohash-sha256-0.11.102.1-9fbcf8973d5496147a5273679e8f72bb4142d1d7d9f903bf5fb846f560ba862c csv-0.1.2-093bb32e23926cb925e22a88023cdf2208cf648af3dcfbbc448f9f99a631aa45 ed25519-0.0.5.0-ddc6a1eea21b07526e59dda136c81478f90e28c2ba6510a03a4ab358e16a61ce fail-4.9.0.0-363ab5038f307578f1ba38996718dd6f6529e86e0f8f4bca1f20ce3dcbc96656 hackage-security-0.6.2.3-fbf81d86af6ef31842c270a9fb1ce307fe5f25c86f508e53902efc92ee2044e5 hackage-security-HTTP-0.1.1.1-8def025d0047ba2540b3ae400cb4087f0d4f95dcfe7c5ce4947e24b6f2cfbd1c haddock-library-1.11.0-dd7b4e25ab68d120f0d0e387a56e06709994c702cefd768739559e48b1b642d8 happstack-server-7.8.0.2-7693d94a0f3f54dff535747bc7e89f0b820517ee03b49ac1b2a8383869d29618 hashable-1.4.2.0-9d08b51b6b080f408909ae241e5a00da7270a6f7a2fa3f3564f9af8d3ac1ee40 hs-captcha-1.0-74cac225af8a3f34f99c87abeba8c7aecc797d1b80a79843d4fcdf728569b473 hslogger-1.3.1.0-134fe8107f2420953b716655c7445126d18a956b74b7d279674fdf25d35bfbd3 lifted-base-0.2.3.12-f1d590e4c59b3097354334129fab43ad3773b3a7755f0f7f9de15524fd191846 mime-mail-0.5.1-fb7f82305a305ae01a5dcb59e5f1b566f045615084324e35b4115c3bed236854 network-3.1.2.7-60fdab1bb56e9b5ee171ea80a4d7faff5cb48bd521dadfe36bfa3d3271b31444 network-bsd-2.8.1.0-d4482cad7a456b4e4fc78bbd79e425375a6bb2fecb4fc4517c6544d18dae1768 network-uri-2.6.4.2-ee37f9fd6e0ea913c4d15e738c4c6164e50852cac894944f479f2df55479ea8d random-1.2.1.1-1d0d773e7191b529301a87373b9e3bfd4fb129287276a30aeb72110602bbb70c rss-3000.2.0.7-aa399744a576fde403da7e859d1c4e79a4586b0b28e22eb3715bf644075cff73 safecopy-0.10.4.2-3f9c74e70cb9182bc0fcf5b109c2d16945b3a25bca379ce8706f1b2e671730f7 scientific-0.3.7.0-e03c5313e47c26dbf81b9b0b31fa5acc71813056dd97ac51bf38597612e31842 semigroups-0.20-16ffc52103d0675d2c529704bface123e6901132f816d9247bd8d77d2abb88b6 split-0.2.3.5-0c5cfbf6236d4fa34189cd250c1d859f688fee2e87b26ffc94d3aa5e5b832af6 stringsearch-0.3.6.6-bf827f9e836fc8c73b143fb48da2fb538b411604bdb6962418e5088cffaeffca tagged-0.8.6.1-a90fd22bc750bd481225d5f4ec0e07d9b47c86a6a655b51a578c7920938e1d87 tar-0.5.1.1-01c1a2b8d95f8cf12a011c196d18ab057c5085ebdf56f509d6c947ed215b7b3b tokenize-0.3.0-06158e00291f22bab3d82d20ab3ed5537244515f22f1fa8d6208936f48bb44ba unordered-containers-0.2.19.1-4d3b17ff053131e4f16d893c654d7acd03a60ab6c116219697c4758b7ef759c7 vector-0.13.0.0-9f9bf6b9f468015c2f75bc51ace7d920557c562dc759ce15aa5695c0e9e968d1 xmlgen-0.6.2.2-2885f3bfefe308e87ea0f4980b7f86d2d7176dd58e642e68ab08b895d57e1a4c xss-sanitize-0.3.7.1-a692519984a993b36aa9d566eab74af90a75525012db75e52be7f50b5f8a5b76 zlib-0.6.3.0-6d8324799a0419a532b1335de802e99ec925296ae0e436d772d518aef1eae00f
[DEBUG ] [ThreadId 243] Calling: /nix/store/6i58g7y5bx4vdjfjrf4gzwgcpjf0b1pk-ghc-9.0.2/bin/ghc-9.0.2 -XNoImplicitPrelude -package-env - -package ghc -package-db /nix/store/6i58g7y5bx4vdjfjrf4gzwgcpjf0b1pk-ghc-9.0.2/lib/ghc-9.0.2/package.conf.d -package-db /home/peterbecich/haskell/libraries/hackage-server2/dist-newstyle/packagedb/ghc-9.0.2 --interactive -fdiagnostics-color=never -fno-diagnostics-show-caret -ignore-dot-ghci -v0
[DEBUG ] [ThreadId 243] >>> import qualified System.IO
[DEBUG ] [ThreadId 243] >>> import qualified GHC.IO.Handle
[DEBUG ] [ThreadId 243] >>> GHC.IO.Handle.hDuplicateTo System.IO.stdout System.IO.stderr
[DEBUG ] [ThreadId 243] >>> GHC.IO.Handle.hSetBuffering System.IO.stdout GHC.IO.Handle.LineBuffering
[DEBUG ] [ThreadId 243] >>> GHC.IO.Handle.hSetBuffering System.IO.stderr GHC.IO.Handle.LineBuffering
[DEBUG ] [ThreadId 243] >>> GHC.IO.Handle.hSetEncoding System.IO.stdout System.IO.utf8
[DEBUG ] [ThreadId 243] >>> GHC.IO.Handle.hSetEncoding System.IO.stderr System.IO.utf8
[DEBUG ] [ThreadId 243] >>> :m - System.IO
[DEBUG ] [ThreadId 243] >>> :m - GHC.IO.Handle
[DEBUG ] [ThreadId 243] >>> :m +Distribution.Server.Util.Validators.Internal
[DEBUG ] [ThreadId 243]
[DEBUG ] [ThreadId 243] <no location info>: error:
[DEBUG ] [ThreadId 243] Could not load module ‘Distribution.Server.Util.Validators.Internal’
[DEBUG ] [ThreadId 243] It is a member of the package ‘hackage-server-0.5.1-inplace-lib-server’
[DEBUG ] [ThreadId 243] which is unusable due to missing dependencies:
[DEBUG ] [ThreadId 243] Cabal-3.8.1.0-1653dc03a4313209aa5826d7c716c3187e118ddfd0ffc9ffa422e14b251917c1 Cabal-syntax-3.8.1.0-cf1350b5314a78f57fadb750c550fee113fe7187b0eb15ad9c455965566839bc HStringTemplate-0.8.8-c4eb4b0aece85aa62fd142c0eb8dc358f5a3716750a0b49ffda8a915bd8b2df8 HTTP-4000.4.1-ccb5b3523b7b572396e0baf87337274772d30d0a28a894474cddc22bd6588ba1 QuickCheck-2.14.2-f22f5801e8064a2daf29fd98131633ac0e913d432ae5ccb45235a34e7340a676 acid-state-0.16.1.1-317fca0d540f17e8557eee617f61a3dd35a694df4b97e111060b9fbec3592445 aeson-2.1.1.0-f8ea56e60b941676fea4afc8e0d67777d1761e905c7f688e10ac54631b520089 async-2.2.4-ac2c599aec47922944271cce7d75247996579c1781356af1f55dafb5f52ef7e5 attoparsec-0.14.4-ef3e64c168012beaf180b3fc08c41c80de6524e910593f81f8f6231e7eaf6421 attoparsec-iso8601-1.1.0.0-1913abb29a7ff18f5241668c628b3f239ba4bdc8918d87a7ed7da2c5299a43b3 base16-bytestring-1.0.2.0-4e10200a267d2548364e08e5f8560623cc6545248448e64025418c3bc6ab0eb8 base64-bytestring-1.2.1.0-ae210fb078b49259e348d3646db19b355512ad5d2ad4810437a4e3c2e1385259 bimap-0.3.3-07857810aac46d813800d47c58f2be958d1d799402dd75f2ee2c8d735ce096df blaze-builder-0.4.2.2-722dfe4382546b22168c48d327864a223854b3b07ddea2e9936e1e56eda6f7e7 blaze-html-0.9.1.2-2c1360c2a077ff980b8b3970f03574dbd4a64802b8df4401c3546a45e66a6b4a cereal-0.5.8.3-c47a1e2e27c95b47f1eadc346da3fb98dc7654912919881600fe1826e4cae0f0 commonmark-0.2.2-e646db6c457943cd1e88b8b119fff907f3c36950c2be0545671e68052a1704d6 commonmark-extensions-0.2.3.3-ce577bc51d10ea1aa856cd42a08e236d324f5c11f352079286ad7685f945c4b7 cryptohash-md5-0.11.101.0-64057644efd3806a7a0bfcd6814fe8d46b21dfe9021c6a569f151a0dc6e29c6f cryptohash-sha256-0.11.102.1-9fbcf8973d5496147a5273679e8f72bb4142d1d7d9f903bf5fb846f560ba862c csv-0.1.2-093bb32e23926cb925e22a88023cdf2208cf648af3dcfbbc448f9f99a631aa45 ed25519-0.0.5.0-ddc6a1eea21b07526e59dda136c81478f90e28c2ba6510a03a4ab358e16a61ce fail-4.9.0.0-363ab5038f307578f1ba38996718dd6f6529e86e0f8f4bca1f20ce3dcbc96656 hackage-security-0.6.2.3-fbf81d86af6ef31842c270a9fb1ce307fe5f25c86f508e53902efc92ee2044e5 hackage-security-HTTP-0.1.1.1-8def025d0047ba2540b3ae400cb4087f0d4f95dcfe7c5ce4947e24b6f2cfbd1c haddock-library-1.11.0-dd7b4e25ab68d120f0d0e387a56e06709994c702cefd768739559e48b1b642d8 happstack-server-7.8.0.2-7693d94a0f3f54dff535747bc7e89f0b820517ee03b49ac1b2a8383869d29618 hashable-1.4.2.0-9d08b51b6b080f408909ae241e5a00da7270a6f7a2fa3f3564f9af8d3ac1ee40 hs-captcha-1.0-74cac225af8a3f34f99c87abeba8c7aecc797d1b80a79843d4fcdf728569b473 hslogger-1.3.1.0-134fe8107f2420953b716655c7445126d18a956b74b7d279674fdf25d35bfbd3 lifted-base-0.2.3.12-f1d590e4c59b3097354334129fab43ad3773b3a7755f0f7f9de15524fd191846 mime-mail-0.5.1-fb7f82305a305ae01a5dcb59e5f1b566f045615084324e35b4115c3bed236854 network-3.1.2.7-60fdab1bb56e9b5ee171ea80a4d7faff5cb48bd521dadfe36bfa3d3271b31444 network-bsd-2.8.1.0-d4482cad7a456b4e4fc78bbd79e425375a6bb2fecb4fc4517c6544d18dae1768 network-uri-2.6.4.2-ee37f9fd6e0ea913c4d15e738c4c6164e50852cac894944f479f2df55479ea8d random-1.2.1.1-1d0d773e7191b529301a87373b9e3bfd4fb129287276a30aeb72110602bbb70c rss-3000.2.0.7-aa399744a576fde403da7e859d1c4e79a4586b0b28e22eb3715bf644075cff73 safecopy-0.10.4.2-3f9c74e70cb9182bc0fcf5b109c2d16945b3a25bca379ce8706f1b2e671730f7 scientific-0.3.7.0-e03c5313e47c26dbf81b9b0b31fa5acc71813056dd97ac51bf38597612e31842 semigroups-0.20-16ffc52103d0675d2c529704bface123e6901132f816d9247bd8d77d2abb88b6 split-0.2.3.5-0c5cfbf6236d4fa34189cd250c1d859f688fee2e87b26ffc94d3aa5e5b832af6 stringsearch-0.3.6.6-bf827f9e836fc8c73b143fb48da2fb538b411604bdb6962418e5088cffaeffca tagged-0.8.6.1-a90fd22bc750bd481225d5f4ec0e07d9b47c86a6a655b51a578c7920938e1d87 tar-0.5.1.1-01c1a2b8d95f8cf12a011c196d18ab057c5085ebdf56f509d6c947ed215b7b3b tokenize-0.3.0-06158e00291f22bab3d82d20ab3ed5537244515f22f1fa8d6208936f48bb44ba unordered-containers-0.2.19.1-4d3b17ff053131e4f16d893c654d7acd03a60ab6c116219697c4758b7ef759c7 vector-0.13.0.0-9f9bf6b9f468015c2f75bc51ace7d920557c562dc759ce15aa5695c0e9e968d1 xmlgen-0.6.2.2-2885f3bfefe308e87ea0f4980b7f86d2d7176dd58e642e68ab08b895d57e1a4c xss-sanitize-0.3.7.1-a692519984a993b36aa9d566eab74af90a75525012db75e52be7f50b5f8a5b76 zlib-0.6.3.0-6d8324799a0419a532b1335de802e99ec925296ae0e436d772d518aef1eae00f
[ERROR ] [ThreadId 243] Could not import module: Distribution.Server.Util.Validators.Internal. This can be caused by a number of issues:
[ERROR ] [ThreadId 243] 1. A module found by GHC contained tests, but was not in 'exposed-modules'. If you want
[ERROR ] [ThreadId 243] to test non-exposed modules follow the instructions here:
[ERROR ] [ThreadId 243] https://github.com/martijnbastiaan/doctest-parallel#test-non-exposed-modules
[ERROR ] [ThreadId 243] 2. For Cabal users: Cabal did not generate a GHC environment file. Either:
[ERROR ] [ThreadId 243] * Run with '--write-ghc-environment-files=always'
[ERROR ] [ThreadId 243] * Add 'write-ghc-environment-files: always' to your cabal.project
[ERROR ] [ThreadId 243] 3. For Cabal users: Cabal did not generate a GHC environment file in time. This
[ERROR ] [ThreadId 243] can happen if you use 'cabal test' instead of 'cabal run doctests'. See
[ERROR ] [ThreadId 243] https://github.com/martijnbastiaan/doctest-parallel/issues/22.
[ERROR ] [ThreadId 243] 4. The testsuite executable does not have a dependency on your project library. Please
[ERROR ] [ThreadId 243] add it to the 'build-depends' section of the testsuite executable.
[ERROR ] [ThreadId 243] See the example project at https://github.com/martijnbastiaan/doctest-parallel/blob/main/example/README.md for more information.
[ERROR ] [ThreadId 243] The original reason given by GHCi was:
[ERROR ] [ThreadId 243] Error:
[ERROR ] [ThreadId 243]
[ERROR ] [ThreadId 243] <no location info>: error:
[ERROR ] [ThreadId 243] Could not load module ‘Distribution.Server.Util.Validators.Internal’
[ERROR ] [ThreadId 243] It is a member of the package ‘hackage-server-0.5.1-inplace-lib-server’
[ERROR ] [ThreadId 243] which is unusable due to missing dependencies:
[ERROR ] [ThreadId 243] Cabal-3.8.1.0-1653dc03a4313209aa5826d7c716c3187e118ddfd0ffc9ffa422e14b251917c1 Cabal-syntax-3.8.1.0-cf1350b5314a78f57fadb750c550fee113fe7187b0eb15ad9c455965566839bc HStringTemplate-0.8.8-c4eb4b0aece85aa62fd142c0eb8dc358f5a3716750a0b49ffda8a915bd8b2df8 HTTP-4000.4.1-ccb5b3523b7b572396e0baf87337274772d30d0a28a894474cddc22bd6588ba1 QuickCheck-2.14.2-f22f5801e8064a2daf29fd98131633ac0e913d432ae5ccb45235a34e7340a676 acid-state-0.16.1.1-317fca0d540f17e8557eee617f61a3dd35a694df4b97e111060b9fbec3592445 aeson-2.1.1.0-f8ea56e60b941676fea4afc8e0d67777d1761e905c7f688e10ac54631b520089 async-2.2.4-ac2c599aec47922944271cce7d75247996579c1781356af1f55dafb5f52ef7e5 attoparsec-0.14.4-ef3e64c168012beaf180b3fc08c41c80de6524e910593f81f8f6231e7eaf6421 attoparsec-iso8601-1.1.0.0-1913abb29a7ff18f5241668c628b3f239ba4bdc8918d87a7ed7da2c5299a43b3 base16-bytestring-1.0.2.0-4e10200a267d2548364e08e5f8560623cc6545248448e64025418c3bc6ab0eb8 base64-bytestring-1.2.1.0-ae210fb078b49259e348d3646db19b355512ad5d2ad4810437a4e3c2e1385259 bimap-0.3.3-07857810aac46d813800d47c58f2be958d1d799402dd75f2ee2c8d735ce096df blaze-builder-0.4.2.2-722dfe4382546b22168c48d327864a223854b3b07ddea2e9936e1e56eda6f7e7 blaze-html-0.9.1.2-2c1360c2a077ff980b8b3970f03574dbd4a64802b8df4401c3546a45e66a6b4a cereal-0.5.8.3-c47a1e2e27c95b47f1eadc346da3fb98dc7654912919881600fe1826e4cae0f0 commonmark-0.2.2-e646db6c457943cd1e88b8b119fff907f3c36950c2be0545671e68052a1704d6 commonmark-extensions-0.2.3.3-ce577bc51d10ea1aa856cd42a08e236d324f5c11f352079286ad7685f945c4b7 cryptohash-md5-0.11.101.0-64057644efd3806a7a0bfcd6814fe8d46b21dfe9021c6a569f151a0dc6e29c6f cryptohash-sha256-0.11.102.1-9fbcf8973d5496147a5273679e8f72bb4142d1d7d9f903bf5fb846f560ba862c csv-0.1.2-093bb32e23926cb925e22a88023cdf2208cf648af3dcfbbc448f9f99a631aa45 ed25519-0.0.5.0-ddc6a1eea21b07526e59dda136c81478f90e28c2ba6510a03a4ab358e16a61ce fail-4.9.0.0-363ab5038f307578f1ba38996718dd6f6529e86e0f8f4bca1f20ce3dcbc96656 hackage-security-0.6.2.3-fbf81d86af6ef31842c270a9fb1ce307fe5f25c86f508e53902efc92ee2044e5 hackage-security-HTTP-0.1.1.1-8def025d0047ba2540b3ae400cb4087f0d4f95dcfe7c5ce4947e24b6f2cfbd1c haddock-library-1.11.0-dd7b4e25ab68d120f0d0e387a56e06709994c702cefd768739559e48b1b642d8 happstack-server-7.8.0.2-7693d94a0f3f54dff535747bc7e89f0b820517ee03b49ac1b2a8383869d29618 hashable-1.4.2.0-9d08b51b6b080f408909ae241e5a00da7270a6f7a2fa3f3564f9af8d3ac1ee40 hs-captcha-1.0-74cac225af8a3f34f99c87abeba8c7aecc797d1b80a79843d4fcdf728569b473 hslogger-1.3.1.0-134fe8107f2420953b716655c7445126d18a956b74b7d279674fdf25d35bfbd3 lifted-base-0.2.3.12-f1d590e4c59b3097354334129fab43ad3773b3a7755f0f7f9de15524fd191846 mime-mail-0.5.1-fb7f82305a305ae01a5dcb59e5f1b566f045615084324e35b4115c3bed236854 network-3.1.2.7-60fdab1bb56e9b5ee171ea80a4d7faff5cb48bd521dadfe36bfa3d3271b31444 network-bsd-2.8.1.0-d4482cad7a456b4e4fc78bbd79e425375a6bb2fecb4fc4517c6544d18dae1768 network-uri-2.6.4.2-ee37f9fd6e0ea913c4d15e738c4c6164e50852cac894944f479f2df55479ea8d random-1.2.1.1-1d0d773e7191b529301a87373b9e3bfd4fb129287276a30aeb72110602bbb70c rss-3000.2.0.7-aa399744a576fde403da7e859d1c4e79a4586b0b28e22eb3715bf644075cff73 safecopy-0.10.4.2-3f9c74e70cb9182bc0fcf5b109c2d16945b3a25bca379ce8706f1b2e671730f7 scientific-0.3.7.0-e03c5313e47c26dbf81b9b0b31fa5acc71813056dd97ac51bf38597612e31842 semigroups-0.20-16ffc52103d0675d2c529704bface123e6901132f816d9247bd8d77d2abb88b6 split-0.2.3.5-0c5cfbf6236d4fa34189cd250c1d859f688fee2e87b26ffc94d3aa5e5b832af6 stringsearch-0.3.6.6-bf827f9e836fc8c73b143fb48da2fb538b411604bdb6962418e5088cffaeffca tagged-0.8.6.1-a90fd22bc750bd481225d5f4ec0e07d9b47c86a6a655b51a578c7920938e1d87 tar-0.5.1.1-01c1a2b8d95f8cf12a011c196d18ab057c5085ebdf56f509d6c947ed215b7b3b tokenize-0.3.0-06158e00291f22bab3d82d20ab3ed5537244515f22f1fa8d6208936f48bb44ba unordered-containers-0.2.19.1-4d3b17ff053131e4f16d893c654d7acd03a60ab6c116219697c4758b7ef759c7 vector-0.13.0.0-9f9bf6b9f468015c2f75bc51ace7d920557c562dc759ce15aa5695c0e9e968d1 xmlgen-0.6.2.2-2885f3bfefe308e87ea0f4980b7f86d2d7176dd58e642e68ab08b895d57e1a4c xss-sanitize-0.3.7.1-a692519984a993b36aa9d566eab74af90a75525012db75e52be7f50b5f8a5b76 zlib-0.6.3.0-6d8324799a0419a532b1335de802e99ec925296ae0e436d772d518aef1eae00f
[INFO ] [ThreadId 4] Examples: 26 Tried: 0 Errors: 2 Unexpected output: 0
@peterbecich
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment