Skip to content

Instantly share code, notes, and snippets.

@perlpunk
Last active August 1, 2020 19:29
Show Gist options
  • Save perlpunk/86d8701d971bcb423b7d821954e4da52 to your computer and use it in GitHub Desktop.
Save perlpunk/86d8701d971bcb423b7d821954e4da52 to your computer and use it in GitHub Desktop.
Configuring executable 'yaml2yeast' for YamlReference-0.10.0..
Preprocessing executable 'yaml2yeast' for YamlReference-0.10.0..
Building executable 'yaml2yeast' for YamlReference-0.10.0..
[1 of 2] Compiling Text.Yaml.Reference ( Text/Yaml/Reference.hs, /tmp/yamlreference-master/dist-newstyle/build/x86_64-linux/ghc-8.8.3/YamlReference-0.10.0/x/yaml2yeast/build/yaml2yeast/yaml2yeast-tmp/Text/Yaml/Reference.o )
Text/Yaml/Reference.hs:711:3: error:
‘fail’ is not a (visible) method of class ‘Monad’
|
711 | fail message = Parser $ \ state -> failReply state message
| ^^^^
+ unzip v0.2.1.0.zip
Archive: v0.2.1.0.zip
creating: HsYAML-0.2.1.0/
inflating: HsYAML-0.2.1.0/.gitignore
inflating: HsYAML-0.2.1.0/.travis.yml
inflating: HsYAML-0.2.1.0/CONTRIBUTING.md
inflating: HsYAML-0.2.1.0/ChangeLog.md
inflating: HsYAML-0.2.1.0/HsYAML.cabal
inflating: HsYAML-0.2.1.0/LICENSE.GPLv2
inflating: HsYAML-0.2.1.0/LICENSE.GPLv3
inflating: HsYAML-0.2.1.0/README.md
inflating: HsYAML-0.2.1.0/Setup.hs
inflating: HsYAML-0.2.1.0/cabal.project
creating: HsYAML-0.2.1.0/src-test/
inflating: HsYAML-0.2.1.0/src-test/Main.hs
inflating: HsYAML-0.2.1.0/src-test/TML.hs
creating: HsYAML-0.2.1.0/src/
creating: HsYAML-0.2.1.0/src/Data/
inflating: HsYAML-0.2.1.0/src/Data/DList.hs
inflating: HsYAML-0.2.1.0/src/Data/YAML.hs
creating: HsYAML-0.2.1.0/src/Data/YAML/
inflating: HsYAML-0.2.1.0/src/Data/YAML/Dumper.hs
inflating: HsYAML-0.2.1.0/src/Data/YAML/Event.hs
creating: HsYAML-0.2.1.0/src/Data/YAML/Event/
inflating: HsYAML-0.2.1.0/src/Data/YAML/Event/Internal.hs
inflating: HsYAML-0.2.1.0/src/Data/YAML/Event/Writer.hs
inflating: HsYAML-0.2.1.0/src/Data/YAML/Internal.hs
inflating: HsYAML-0.2.1.0/src/Data/YAML/Loader.hs
inflating: HsYAML-0.2.1.0/src/Data/YAML/Pos.hs
inflating: HsYAML-0.2.1.0/src/Data/YAML/Schema.hs
creating: HsYAML-0.2.1.0/src/Data/YAML/Schema/
inflating: HsYAML-0.2.1.0/src/Data/YAML/Schema/Internal.hs
inflating: HsYAML-0.2.1.0/src/Data/YAML/Token.hs
creating: HsYAML-0.2.1.0/src/Data/YAML/Token/
inflating: HsYAML-0.2.1.0/src/Data/YAML/Token/Encoding.hs
inflating: HsYAML-0.2.1.0/src/Util.hs
creating: HsYAML-0.2.1.0/tests/
inflating: HsYAML-0.2.1.0/tests/Tests.hs
+ cd HsYAML-0.2.1.0
+ cabal update
Config file path source is default config file.
Config file /tmp/home/.cabal/config not found.
Writing default configuration to /tmp/home/.cabal/config
Downloading the latest package list from hackage.haskell.org
+ cabal new-build exe:yaml-test
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: HsYAML-0.2.1.0 (user goal)
[__1] rejecting: HsYAML:-exe (constraint from config file, command line flag,
or user target requires opposite flag selection)
[__1] trying: HsYAML:+exe
[__2] next goal: megaparsec (dependency of HsYAML +exe)
[__2] rejecting: megaparsec-8.0.0, megaparsec-7.0.5, megaparsec-7.0.4,
megaparsec-7.0.3, megaparsec-7.0.2, megaparsec-7.0.1, megaparsec-7.0.0
(conflict: HsYAML +exe => megaparsec>=6.5.0 && <6.6)
[__2] trying: megaparsec-6.5.0
[__3] next goal: base (dependency of HsYAML)
[__3] rejecting: base-4.13.0.0/installed-4.13.0.0 (conflict: megaparsec =>
base>=4.7 && <4.13)
[__3] skipping: base-4.14.0.0, base-4.13.0.0 (has the same characteristics
that caused the previous version to fail: excluded by constraint '>=4.7 &&
<4.13' from 'megaparsec')
[__3] rejecting: base-4.12.0.0, base-4.11.1.0, base-4.11.0.0, base-4.10.1.0,
base-4.10.0.0, base-4.9.1.0, base-4.9.0.0, base-4.8.2.0, base-4.8.1.0,
base-4.8.0.0, base-4.7.0.2, base-4.7.0.1, base-4.7.0.0, base-4.6.0.1,
base-4.6.0.0, base-4.5.1.0, base-4.5.0.0, base-4.4.1.0, base-4.4.0.0,
base-4.3.1.0, base-4.3.0.0, base-4.2.0.2, base-4.2.0.1, base-4.2.0.0,
base-4.1.0.0, base-4.0.0.0, base-3.0.3.2, base-3.0.3.1 (constraint from
non-upgradeable package requires installed instance)
[__3] fail (backjumping, conflict set: HsYAML, base, megaparsec)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: base, HsYAML, megaparsec, HsYAML:exe
Try running with --minimize-conflict-set to improve the error message.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment