Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI fails with a confusing error message #681

Open
mitchellwrosen opened this issue Sep 25, 2023 · 1 comment
Open

CI fails with a confusing error message #681

mitchellwrosen opened this issue Sep 25, 2023 · 1 comment

Comments

@mitchellwrosen
Copy link

Hi all,

I've recently regenerated a .github/workflows/ci.yaml with haskell-ci and I'm puzzled by the error message.

You can see the run here:

https://github.com/awkward-squad/text-ansi/actions/runs/6305291765/job/17118430899

Here's the failure log of the dump install plan step:

Resolving dependencies...
Error: cabal-3.10.1.0: Could not resolve dependencies:
[__0] trying: text-ansi-0.3.0 (user goal)
[__1] trying: text-builder-linear-0.1.1.1 (dependency of text-ansi)
[__2] next goal: text (dependency of text-ansi)
[__2] rejecting: text-1.2.5.0/installed-1.2.5.0 (conflict: text-builder-linear => text>=2.0 && <2.2)
[__2] rejecting: text-2.1, text-2.0.2, text-2.0.1, text-2.0, text-1.2.5.0, text-1.2.4.1, text-1.2.4.0, text-1.2.3.2, text-1.2.3.1, text-1.2.3.0, text-1.2.2.2, text-1.2.2.1, text-1.2.2.0, text-1.2.1.3, text-1.2.1.2, text-1.2.1.1, text-1.2.1.0, text-1.2.0.6, text-1.2.0.5, text-1.2.0.4, text-1.2.0.3, text-1.2.0.2, text-1.2.0.0, text-1.1.1.4, text-1.1.1.3, text-1.1.1.2, text-1.1.1.1, text-1.1.1.0, text-1.1.0.1, text-1.1.0.0, text-1.0.0.1, text-1.0.0.0, text-0.11.3.1, text-0.11.3.0, text-0.11.2.3, text-0.11.2.2, text-0.11.2.1, text-0.11.2.0, text-0.11.1.13, text-0.11.1.12, text-0.11.1.11, text-0.11.1.10, text-0.11.1.9, text-0.11.1.8, text-0.11.1.7, text-0.11.1.6, text-0.11.1.5, text-0.11.1.3, text-0.11.1.2, text-0.11.1.1, text-0.11.1.0, text-0.11.0.8, text-0.11.0.7, text-0.11.0.6, text-0.11.0.5, text-0.11.0.4, text-0.11.0.3, text-0.11.0.2, text-0.11.0.1, text-0.11.0.0, text-0.10.0.2, text-0.10.0.1, text-0.10.0.0, text-0.9.1.0, text-0.9.0.1, text-0.9.0.0, text-0.8.1.0, text-0.8.0.0, text-0.7.2.1, text-0.7.1.0, text-0.7.0.1, text-0.7, text-0.6, text-0.5, text-0.4, text-0.3, text-0.2, text-0.1 (constraint from project config /__w/text-ansi/text-ansi/cabal.project.local requires installed instance)
[__2] fail (backjumping, conflict set: text, text-ansi, text-builder-linear)
After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: text, text-ansi, text-builder-linear

It's a bit difficult for me to debug what's going on here, as I'm not sure what

constraint from project config /__w/text-ansi/text-ansi/cabal.project.local requires installed instance

means.

For what it's worth, I tried building this package at the command like with cabal build -w ghc-9.2.8, and it also failed, though due to a GHC panic. So, it seems to have gotten farther than CI did ;)

Any help understanding this issue would be appreciated. Thanks.

@phadej
Copy link
Collaborator

phadej commented Sep 26, 2023

See if #677 answers your question

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

No branches or pull requests

2 participants