You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My guess is that they were never part of CI, and sure enough they bitrotted. I don't think it would be hard to make them pass.
Assuming you have doctest installed and available in the path, this should be easy to reproduce.
For Cabal-described:
$ cabal repl --with-ghc=doctest --build-depends=QuickCheck --build-depe
nds=template-haskell --repl-options="-w" --project-file="cabal.project.libonly" Cabal-described
Warning: The package list for 'hackage.haskell.org' is 69 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
Build profile: -w ghc-9.4.4 -O1
In order, the following will be built (use -v for more details):
- Cabal-syntax-3.9.0.0 (lib) (configuration changed)
- Cabal-3.9.0.0 (lib) (configuration changed)
- Cabal-described-3.9.0.0 (lib) (dependency rebuilt)
Configuring library for Cabal-syntax-3.9.0.0..
Preprocessing library for Cabal-syntax-3.9.0.0..
Building library for Cabal-syntax-3.9.0.0..
Configuring library for Cabal-3.9.0.0..
Preprocessing library for Cabal-3.9.0.0..
Building library for Cabal-3.9.0.0..
Preprocessing library for Cabal-described-3.9.0.0..
src/Distribution/Utils/CharSet.hs:90: failure in expression `length $ toList $ fromIntervalList [('a','f'), ('0','9')]'
expected: 16
but got:
^
<interactive>:43:1: error:
Variable not in scope: length :: String -> b
src/Distribution/Utils/CharSet.hs:176: failure in expression `toIntervalList $ union "01234" "56789"'
expected: [('0','9')]
but got:
^
<interactive>:49:24: error:
- Couldn't match type '[Char]' with 'CharSet'
Expected: CharSet
Actual: String
- In the first argument of 'union', namely '"01234"'
In the second argument of '($)', namely 'union "01234" "56789"'
In the expression: toIntervalList $ union "01234" "56789"
<interactive>:49:32: error:
- Couldn't match type '[Char]' with 'CharSet'
Expected: CharSet
Actual: String
- In the second argument of 'union', namely '"56789"'
In the second argument of '($)', namely 'union "01234" "56789"'
In the expression: toIntervalList $ union "01234" "56789"
Examples: 9 Tried: 9 Errors: 0 Failures: 2
Error: cabal: repl failed for Cabal-described-3.9.0.0.
For cabal-install:
$ cabal repl --with-ghc=doctest --build-depends=QuickCheck --build-depends=template-haskell --repl-options="-w" --project-file="cabal.project.validate" cabal-install
Warning: The package list for 'hackage.haskell.org' is 70 days old.
Run 'cabal update' to get the latest list of available packages.
Resolving dependencies...
Build profile: -w ghc-9.4.4 -O1
In order, the following will be built (use -v for more details):
- Cabal-syntax-3.9.0.0 (lib) (configuration changed)
- hackage-security-0.6.2.3 (lib) (dependency rebuilt)
- Cabal-3.9.0.0 (lib) (configuration changed)
- cabal-install-solver-3.9.0.0 (lib) (configuration changed)
- cabal-install-3.9.0.0 (lib) (configuration changed)
Configuring library for Cabal-syntax-3.9.0.0..
Preprocessing library for Cabal-syntax-3.9.0.0..
Building library for Cabal-syntax-3.9.0.0..
Configuring library for Cabal-3.9.0.0..
Preprocessing library for hackage-security-0.6.2.3..
Building library for hackage-security-0.6.2.3..
Preprocessing library for Cabal-3.9.0.0..
Building library for Cabal-3.9.0.0..
Configuring library for cabal-install-solver-3.9.0.0..
Preprocessing library for cabal-install-solver-3.9.0.0..
Building library for cabal-install-solver-3.9.0.0..
[ 1 of 50] Compiling Distribution.Client.Utils.Assertion ( src-assertion/Distribution/Client/Utils/Assertion.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Client/Utils/Assertion.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Client/Utils/Assertion.dyn_o ) [Optimisation flags changed]
[ 2 of 50] Compiling Distribution.Solver.Compat.Prelude ( src/Distribution/Solver/Compat/Prelude.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Compat/Prelude.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Compat/Prelude.dyn_o ) [Optimisation flags changed]
[ 3 of 50] Compiling Distribution.Solver.Modular.LabeledGraph ( src/Distribution/Solver/Modular/LabeledGraph.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/LabeledGraph.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/LabeledGraph.dyn_o ) [Optimisation flags changed]
[ 4 of 50] Compiling Distribution.Solver.Modular.MessageUtils ( src/Distribution/Solver/Modular/MessageUtils.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/MessageUtils.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/MessageUtils.dyn_o ) [Optimisation flags changed]
[ 5 of 50] Compiling Distribution.Solver.Modular.PSQ ( src/Distribution/Solver/Modular/PSQ.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/PSQ.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/PSQ.dyn_o ) [Optimisation flags changed]
[ 6 of 50] Compiling Distribution.Solver.Modular.Version ( src/Distribution/Solver/Modular/Version.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Version.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Version.dyn_o ) [Optimisation flags changed]
[ 7 of 50] Compiling Distribution.Solver.Modular.WeightedPSQ ( src/Distribution/Solver/Modular/WeightedPSQ.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/WeightedPSQ.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/WeightedPSQ.dyn_o ) [Optimisation flags changed]
[ 8 of 50] Compiling Distribution.Solver.Types.ComponentDeps ( src/Distribution/Solver/Types/ComponentDeps.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/ComponentDeps.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/ComponentDeps.dyn_o ) [Optimisation flags changed]
[ 9 of 50] Compiling Distribution.Solver.Types.ConstraintSource ( src/Distribution/Solver/Types/ConstraintSource.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/ConstraintSource.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/ConstraintSource.dyn_o ) [Optimisation flags changed]
[10 of 50] Compiling Distribution.Solver.Types.Flag ( src/Distribution/Solver/Types/Flag.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/Flag.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/Flag.dyn_o ) [Optimisation flags changed]
[11 of 50] Compiling Distribution.Solver.Types.InstalledPreference ( src/Distribution/Solver/Types/InstalledPreference.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/InstalledPreference.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/InstalledPreference.dyn_o ) [Optimisation flags changed]
[12 of 50] Compiling Distribution.Solver.Types.OptionalStanza ( src/Distribution/Solver/Types/OptionalStanza.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/OptionalStanza.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/OptionalStanza.dyn_o ) [Optimisation flags changed]
[13 of 50] Compiling Distribution.Solver.Types.PackageFixedDeps ( src/Distribution/Solver/Types/PackageFixedDeps.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/PackageFixedDeps.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/PackageFixedDeps.dyn_o ) [Optimisation flags changed]
[14 of 50] Compiling Distribution.Solver.Types.PackageIndex ( src/Distribution/Solver/Types/PackageIndex.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/PackageIndex.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/PackageIndex.dyn_o ) [Optimisation flags changed]
[15 of 50] Compiling Distribution.Solver.Types.PackagePath ( src/Distribution/Solver/Types/PackagePath.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/PackagePath.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/PackagePath.dyn_o ) [Optimisation flags changed]
[16 of 50] Compiling Distribution.Solver.Types.PackageConstraint ( src/Distribution/Solver/Types/PackageConstraint.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/PackageConstraint.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/PackageConstraint.dyn_o ) [Optimisation flags changed]
[17 of 50] Compiling Distribution.Solver.Types.LabeledPackageConstraint ( src/Distribution/Solver/Types/LabeledPackageConstraint.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/LabeledPackageConstraint.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/LabeledPackageConstraint.dyn_o ) [Optimisation flags changed]
[18 of 50] Compiling Distribution.Solver.Modular.Package ( src/Distribution/Solver/Modular/Package.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Package.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Package.dyn_o ) [Optimisation flags changed]
[19 of 50] Compiling Distribution.Solver.Modular.Configured ( src/Distribution/Solver/Modular/Configured.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Configured.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Configured.dyn_o ) [Optimisation flags changed]
[20 of 50] Compiling Distribution.Solver.Modular.Flag ( src/Distribution/Solver/Modular/Flag.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Flag.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Flag.dyn_o ) [Optimisation flags changed]
[21 of 50] Compiling Distribution.Solver.Modular.Var ( src/Distribution/Solver/Modular/Var.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Var.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Var.dyn_o ) [Optimisation flags changed]
[22 of 50] Compiling Distribution.Solver.Modular.ConflictSet ( src/Distribution/Solver/Modular/ConflictSet.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/ConflictSet.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/ConflictSet.dyn_o ) [Optimisation flags changed]
[23 of 50] Compiling Distribution.Solver.Modular.Dependency ( src/Distribution/Solver/Modular/Dependency.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Dependency.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Dependency.dyn_o ) [Optimisation flags changed]
[24 of 50] Compiling Distribution.Solver.Modular.Tree ( src/Distribution/Solver/Modular/Tree.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Tree.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Tree.dyn_o ) [Optimisation flags changed]
[25 of 50] Compiling Distribution.Solver.Modular.Index ( src/Distribution/Solver/Modular/Index.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Index.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Index.dyn_o ) [Optimisation flags changed]
[26 of 50] Compiling Distribution.Solver.Modular.Cycles ( src/Distribution/Solver/Modular/Cycles.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Cycles.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Cycles.dyn_o ) [Optimisation flags changed]
[27 of 50] Compiling Distribution.Solver.Modular.Assignment ( src/Distribution/Solver/Modular/Assignment.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Assignment.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Assignment.dyn_o ) [Optimisation flags changed]
[28 of 50] Compiling Distribution.Solver.Modular.Linking ( src/Distribution/Solver/Modular/Linking.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Linking.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Linking.dyn_o ) [Optimisation flags changed]
[29 of 50] Compiling Distribution.Solver.Types.PackagePreferences ( src/Distribution/Solver/Types/PackagePreferences.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/PackagePreferences.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/PackagePreferences.dyn_o ) [Optimisation flags changed]
[30 of 50] Compiling Distribution.Solver.Types.PkgConfigDb ( src/Distribution/Solver/Types/PkgConfigDb.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/PkgConfigDb.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/PkgConfigDb.dyn_o ) [Optimisation flags changed]
[31 of 50] Compiling Distribution.Solver.Modular.Validate ( src/Distribution/Solver/Modular/Validate.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Validate.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Validate.dyn_o ) [Optimisation flags changed]
[32 of 50] Compiling Distribution.Solver.Types.Progress ( src/Distribution/Solver/Types/Progress.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/Progress.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/Progress.dyn_o ) [Optimisation flags changed]
[33 of 50] Compiling Distribution.Solver.Modular.Message ( src/Distribution/Solver/Modular/Message.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Message.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Message.dyn_o ) [Optimisation flags changed]
[34 of 50] Compiling Distribution.Solver.Modular.RetryLog ( src/Distribution/Solver/Modular/RetryLog.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/RetryLog.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/RetryLog.dyn_o ) [Optimisation flags changed]
[35 of 50] Compiling Distribution.Solver.Modular.Log ( src/Distribution/Solver/Modular/Log.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Log.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Log.dyn_o ) [Optimisation flags changed]
[36 of 50] Compiling Distribution.Solver.Types.Settings ( src/Distribution/Solver/Types/Settings.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/Settings.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/Settings.dyn_o ) [Optimisation flags changed]
[37 of 50] Compiling Distribution.Solver.Modular.Explore ( src/Distribution/Solver/Modular/Explore.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Explore.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Explore.dyn_o ) [Optimisation flags changed]
[38 of 50] Compiling Distribution.Solver.Modular.Builder ( src/Distribution/Solver/Modular/Builder.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Builder.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Builder.dyn_o ) [Optimisation flags changed]
[39 of 50] Compiling Distribution.Solver.Types.SolverId ( src/Distribution/Solver/Types/SolverId.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/SolverId.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/SolverId.dyn_o ) [Optimisation flags changed]
[40 of 50] Compiling Distribution.Solver.Types.InstSolverPackage ( src/Distribution/Solver/Types/InstSolverPackage.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/InstSolverPackage.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/InstSolverPackage.dyn_o ) [Optimisation flags changed]
[41 of 50] Compiling Distribution.Solver.Types.SourcePackage ( src/Distribution/Solver/Types/SourcePackage.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/SourcePackage.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/SourcePackage.dyn_o ) [Optimisation flags changed]
[42 of 50] Compiling Distribution.Solver.Types.SolverPackage ( src/Distribution/Solver/Types/SolverPackage.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/SolverPackage.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/SolverPackage.dyn_o ) [Optimisation flags changed]
[43 of 50] Compiling Distribution.Solver.Types.ResolverPackage ( src/Distribution/Solver/Types/ResolverPackage.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/ResolverPackage.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/ResolverPackage.dyn_o ) [Optimisation flags changed]
[44 of 50] Compiling Distribution.Solver.Types.DependencyResolver ( src/Distribution/Solver/Types/DependencyResolver.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/DependencyResolver.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/DependencyResolver.dyn_o ) [Optimisation flags changed]
[45 of 50] Compiling Distribution.Solver.Modular.IndexConversion ( src/Distribution/Solver/Modular/IndexConversion.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/IndexConversion.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/IndexConversion.dyn_o ) [Optimisation flags changed]
[46 of 50] Compiling Distribution.Solver.Modular.ConfiguredConversion ( src/Distribution/Solver/Modular/ConfiguredConversion.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/ConfiguredConversion.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/ConfiguredConversion.dyn_o ) [Optimisation flags changed]
[47 of 50] Compiling Distribution.Solver.Types.Variable ( src/Distribution/Solver/Types/Variable.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/Variable.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Types/Variable.dyn_o ) [Optimisation flags changed]
[48 of 50] Compiling Distribution.Solver.Modular.Preference ( src/Distribution/Solver/Modular/Preference.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Preference.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Preference.dyn_o ) [Optimisation flags changed]
[49 of 50] Compiling Distribution.Solver.Modular.Solver ( src/Distribution/Solver/Modular/Solver.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Solver.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular/Solver.dyn_o ) [Optimisation flags changed]
[50 of 50] Compiling Distribution.Solver.Modular ( src/Distribution/Solver/Modular.hs, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular.o, /data/artem/cabal/t8504-fix-doctest/dist-newstyle/build/x86_64-linux/ghc-9.4.4/cabal-install-solver-3.9.0.0/build/Distribution/Solver/Modular.dyn_o ) [Optimisation flags changed]
Configuring library for cabal-install-3.9.0.0..
Preprocessing library for cabal-install-3.9.0.0..
src/Distribution/Client/IndexUtils/ActiveRepos.hs:71: failure in expression `simpleParsec "hackage.haskell.org, :rest, head.hackage:override" :: Maybe ActiveRepos'
expected: Just (ActiveRepos [ActiveRepo (RepoName "hackage.haskell.org") CombineStrategyMerge,ActiveRepoRest CombineStrategyMerge,ActiveRepo (RepoName "head.hackage") CombineStrategyOverride])
but got: Just (ActiveRepos [ActiveRepo (RepoName {unRepoName = "hackage.haskell.org"}) CombineStrategyMerge,ActiveRepoRest CombineStrategyMerge,ActiveRepo (RepoName {unRepoName = "head.hackage"}) CombineStrategyOverride])
^
src/Distribution/Client/IndexUtils/ActiveRepos.hs:142: failure in expression `organizeByRepos (ActiveRepos [ActiveRepoRest CombineStrategyMerge]) id repos'
expected: Right [(RepoName "a",CombineStrategyMerge),(RepoName "b",CombineStrategyMerge),(RepoName "c",CombineStrategyMerge)]
but got: Right [(RepoName {unRepoName = "a"},CombineStrategyMerge),(RepoName {unRepoName = "b"},CombineStrategyMerge),(RepoName {unRepoName = "c"},CombineStrategyMerge)]
^
src/Distribution/Client/IndexUtils/IndexState.hs:66: failure in expression `simpleParsec "2020-02-04T12:34:56Z, hackage.haskell.org HEAD" :: Maybe TotalIndexState'
expected: Just (TIS (IndexStateTime (TS 1580819696)) (fromList [(RepoName "hackage.haskell.org",IndexStateHead)]))
but got: Just (TIS (IndexStateTime (TS 1580819696)) (fromList [(RepoName {unRepoName = "hackage.haskell.org"},IndexStateHead)]))
^
src/Distribution/Client/Types/RepoName.hs:31: failure in expression `simpleParsec "hackage.haskell.org" :: Maybe RepoName'
expected: Just (RepoName "hackage.haskell.org")
but got: Just (RepoName {unRepoName = "hackage.haskell.org"})
^
Examples: 27 Tried: 22 Errors: 0 Failures: 4
Error: cabal: repl failed for cabal-install-3.9.0.0.
The text was updated successfully, but these errors were encountered:
My guess is that they were never part of CI, and sure enough they bitrotted. I don't think it would be hard to make them pass.
Assuming you have
doctest
installed and available in the path, this should be easy to reproduce.For Cabal-described:
For cabal-install:
The text was updated successfully, but these errors were encountered: