head.hackage nightly failures due to containers-0.7
head.hackage
currently fails on nightly CI jobs (example) with:
Total packages built: 866
11 had no valid install plan:
doctest 0.22.0
ghc-tcplugins-extra 0.4.4
ghc-typelits-extra 0.4.5
ghc-typelits-knownnat 0.7.8
ghc-typelits-natnormalise 0.7.8
ghcide 2.0.0.1
hie-bios 0.12.0
hie-compat 0.3.1.1
hiedb 0.4.3.0
hint 0.9.0.7
inspection-testing 0.5.0.2
1 packages failed to build:
Agda 2.6.3
0 packages failed to build (expected):
12 target packages failed to build:
Agda 2.6.3
doctest 0.22.0
ghc-tcplugins-extra 0.4.4
ghc-typelits-extra 0.4.5
ghc-typelits-knownnat 0.7.8
ghc-typelits-natnormalise 0.7.8
ghcide 2.0.0.1
hie-bios 0.12.0
hie-compat 0.3.1.1
hiedb 0.4.3.0
hint 0.9.0.7
inspection-testing 0.5.0.2
1 packages failed to build due to unbuildable dependencies.
0 testsuites failed build.
0 testsuites failed.
Most of the errors look like this:
Error: cabal: Could not resolve dependencies:
[__0] trying: test-doctest-1.0 (user goal)
[__1] next goal: doctest (dependency of test-doctest)
[__1] rejecting: doctest-0.22.2 (conflict: test-doctest => doctest==0.22.0)
[__1] skipping: doctest-0.22.1 (has the same characteristics that caused the
previous version to fail: excluded by constraint '==0.22.0' from
'test-doctest')
[__1] trying: doctest-0.22.0
[__2] trying: ghc-9.9/installed-inplace (dependency of doctest)
[__3] next goal: containers (dependency of ghc)
[__3] rejecting: containers-0.7/installed-inplace, containers-0.7 (constraint
from project config
/builds/ghc/head.hackage/ci/run/test-doctest-0.22.0/cabal.project requires
==0.6.7 || ==0.6.8)
[__3] rejecting: containers-0.6.8, containers-0.6.7 (conflict: ghc =>
containers==0.7/installed-inplace)
[__3] rejecting: containers-0.6.6, containers-0.6.5.1, containers-0.6.4.1,
containers-0.6.3.1, containers-0.6.2.1, containers-0.6.1.1, containers-0.6.0.1
(constraint from project config
/builds/ghc/head.hackage/ci/run/test-doctest-0.22.0/cabal.project requires
==0.6.7 || ==0.6.8)
[__3] rejecting: containers-0.5.11.0, containers-0.5.10.2,
containers-0.5.10.1, containers-0.5.9.2, containers-0.5.8.2,
containers-0.5.7.1, containers-0.5.7.0, containers-0.5.6.3,
containers-0.5.6.2, containers-0.5.6.1, containers-0.5.6.0,
containers-0.5.5.1, containers-0.5.5.0, containers-0.5.4.0,
containers-0.5.3.1, containers-0.5.3.0, containers-0.5.2.1,
containers-0.5.2.0, containers-0.5.1.0, containers-0.5.0.0,
containers-0.4.2.1, containers-0.4.2.0, containers-0.4.1.0,
containers-0.4.0.0, containers-0.3.0.0, containers-0.2.0.1,
containers-0.2.0.0, containers-0.1.0.1, containers-0.1.0.0,
containers-0.5.9.1, containers-0.5.8.1 (constraint from project config
/builds/ghc/head.hackage/ci/run/test-doctest-0.22.0/cabal.project requires
>=0.6)
[__3] fail (backjumping, conflict set: containers, ghc)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: containers, ghc, doctest, test-doctest
Try running with --minimize-conflict-set to improve the error message.
Most likely, we need to add an empty patch for containers-0.7
, similar to the existing empty patch for containers-0.6.8
.