Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting hashable-1.3.0.0 Starting syb-0.7.1 Building syb-0.7.1 Building hashable-1.3.0.0 Completed hashable-1.3.0.0 Starting unordered-containers-0.2.10.0 Completed syb-0.7.1 Building unordered-containers-0.2.10.0 Completed unordered-containers-0.2.10.0 Starting uniplate-1.6.12 Building uniplate-1.6.12 Completed uniplate-1.6.12 Starting ghc-lib-parser-ex-8.10.0.1 Building ghc-lib-parser-ex-8.10.0.1 Failed to install ghc-lib-parser-ex-8.10.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/ghc-lib-parser-ex-8.10.0.1-Ei7kuaP67Vt9bGTZNwZ8RF.log ): cabal: Entering directory '/tmp/cabal-tmp-16599/ghc-lib-parser-ex-8.10.0.1' Configuring ghc-lib-parser-ex-8.10.0.1... Preprocessing library for ghc-lib-parser-ex-8.10.0.1.. Building library for ghc-lib-parser-ex-8.10.0.1.. In file included from src/Language/Haskell/GhclibParserEx/Config.hs:7:0: error: cbits/ghclib_api.h:28:10: error: error: #error Unsupported GHC API version # error Unsupported GHC API version ^~~~~ | 28 | # error Unsupported GHC API version | ^ `gcc' failed in phase `C pre-processor'. (Exit code: 1) cabal: Leaving directory '/tmp/cabal-tmp-16599/ghc-lib-parser-ex-8.10.0.1' cabal: Error: some packages failed to install: ghc-lib-parser-ex-8.10.0.1-Ei7kuaP67Vt9bGTZNwZ8RF failed during the building phase. The exception was: ExitFailure 1