Resolving dependencies... Starting exceptions-0.10.4 Building exceptions-0.10.4 Completed exceptions-0.10.4 Starting ghc-lib-parser-0.20200801 Building ghc-lib-parser-0.20200801 Failed to install ghc-lib-parser-0.20200801 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/ghc-lib-parser-0.20200801-7ntZ6M0YU04L8KBrGaOmOW.log ): cabal: Entering directory '/tmp/cabal-tmp-14745/ghc-lib-parser-0.20200801' Configuring ghc-lib-parser-0.20200801... Preprocessing library for ghc-lib-parser-0.20200801.. Building library for ghc-lib-parser-0.20200801.. [ 1 of 267] Compiling GHC.BaseDir ( libraries/ghc-boot/GHC/BaseDir.hs, dist/build/GHC/BaseDir.o ) [ 2 of 267] Compiling GHC.Exts.Heap.ClosureTypes ( libraries/ghc-heap/GHC/Exts/Heap/ClosureTypes.hs, dist/build/GHC/Exts/Heap/ClosureTypes.o ) [ 3 of 267] Compiling GHC.Exts.Heap.Constants ( dist/build/GHC/Exts/Heap/Constants.hs, dist/build/GHC/Exts/Heap/Constants.o ) [ 4 of 267] Compiling GHC.Exts.Heap.InfoTable.Types ( dist/build/GHC/Exts/Heap/InfoTable/Types.hs, dist/build/GHC/Exts/Heap/InfoTable/Types.o ) [ 5 of 267] Compiling GHC.Exts.Heap.InfoTable ( dist/build/GHC/Exts/Heap/InfoTable.hs, dist/build/GHC/Exts/Heap/InfoTable.o ) [ 6 of 267] Compiling GHC.Exts.Heap.InfoTableProf ( dist/build/GHC/Exts/Heap/InfoTableProf.hs, dist/build/GHC/Exts/Heap/InfoTableProf.o ) [ 7 of 267] Compiling GHC.Exts.Heap.Closures ( libraries/ghc-heap/GHC/Exts/Heap/Closures.hs, dist/build/GHC/Exts/Heap/Closures.o ) [ 8 of 267] Compiling GHC.Exts.Heap.Utils ( dist/build/GHC/Exts/Heap/Utils.hs, dist/build/GHC/Exts/Heap/Utils.o ) [ 9 of 267] Compiling GHC.Exts.Heap ( libraries/ghc-heap/GHC/Exts/Heap.hs, dist/build/GHC/Exts/Heap.o ) [ 10 of 267] Compiling GHC.ForeignSrcLang.Type ( libraries/ghc-boot-th/GHC/ForeignSrcLang/Type.hs, dist/build/GHC/ForeignSrcLang/Type.o ) [ 11 of 267] Compiling GHC.ForeignSrcLang ( libraries/ghc-boot/GHC/ForeignSrcLang.hs, dist/build/GHC/ForeignSrcLang.o ) [ 12 of 267] Compiling GHC.Iface.Type[boot] ( compiler/GHC/Iface/Type.hs-boot, dist/build/GHC/Iface/Type.o-boot ) [ 13 of 267] Compiling GHC.LanguageExtensions.Type ( libraries/ghc-boot-th/GHC/LanguageExtensions/Type.hs, dist/build/GHC/LanguageExtensions/Type.o ) [ 14 of 267] Compiling GHC.LanguageExtensions ( libraries/ghc-boot/GHC/LanguageExtensions.hs, dist/build/GHC/LanguageExtensions.o ) [ 15 of 267] Compiling GHC.Lexeme ( libraries/ghc-boot-th/GHC/Lexeme.hs, dist/build/GHC/Lexeme.o ) [ 16 of 267] Compiling GHC.Platform.ArchOS ( libraries/ghc-boot/GHC/Platform/ArchOS.hs, dist/build/GHC/Platform/ArchOS.o ) [ 17 of 267] Compiling GHC.Platform.Constants ( ghc-lib/stage0/compiler/build/GHC/Platform/Constants.hs, dist/build/GHC/Platform/Constants.o ) [ 18 of 267] Compiling GHC.Platform ( compiler/GHC/Platform.hs, dist/build/GHC/Platform.o ) [ 19 of 267] Compiling GHC.Prelude ( compiler/GHC/Prelude.hs, dist/build/GHC/Prelude.o ) [ 20 of 267] Compiling GHC.Driver.Plugins[boot] ( compiler/GHC/Driver/Plugins.hs-boot, dist/build/GHC/Driver/Plugins.o-boot ) [ 21 of 267] Compiling GHC.Driver.Hooks[boot] ( compiler/GHC/Driver/Hooks.hs-boot, dist/build/GHC/Driver/Hooks.o-boot ) [ 22 of 267] Compiling GHC.Driver.Backend ( compiler/GHC/Driver/Backend.hs, dist/build/GHC/Driver/Backend.o ) [ 23 of 267] Compiling GHC.Data.Stream ( compiler/GHC/Data/Stream.hs, dist/build/GHC/Data/Stream.o ) [ 24 of 267] Compiling GHC.Data.FiniteMap ( compiler/GHC/Data/FiniteMap.hs, dist/build/GHC/Data/FiniteMap.o ) [ 25 of 267] Compiling GHC.Data.FastMutInt ( compiler/GHC/Data/FastMutInt.hs, dist/build/GHC/Data/FastMutInt.o ) [ 26 of 267] Compiling GHC.Data.EnumSet ( compiler/GHC/Data/EnumSet.hs, dist/build/GHC/Data/EnumSet.o ) [ 27 of 267] Compiling GHC.Cmm.Dataflow.Collections ( compiler/GHC/Cmm/Dataflow/Collections.hs, dist/build/GHC/Cmm/Dataflow/Collections.o ) [ 28 of 267] Compiling GHC.Cmm.Dataflow.Block ( compiler/GHC/Cmm/Dataflow/Block.hs, dist/build/GHC/Cmm/Dataflow/Block.o ) [ 29 of 267] Compiling GHC.Builtin.PrimOps[boot] ( compiler/GHC/Builtin/PrimOps.hs-boot, dist/build/GHC/Builtin/PrimOps.o-boot ) [ 30 of 267] Compiling GHC.Serialized ( libraries/ghc-boot/GHC/Serialized.hs, dist/build/GHC/Serialized.o ) [ 31 of 267] Compiling GHC.SysTools.Terminal ( compiler/GHC/SysTools/Terminal.hs, dist/build/GHC/SysTools/Terminal.o ) [ 32 of 267] Compiling GHC.Tc.Errors.Hole.FitTypes[boot] ( compiler/GHC/Tc/Errors/Hole/FitTypes.hs-boot, dist/build/GHC/Tc/Errors/Hole/FitTypes.o-boot ) [ 33 of 267] Compiling GHC.Types.Name[boot] ( compiler/GHC/Types/Name.hs-boot, dist/build/GHC/Types/Name.o-boot ) [ 34 of 267] Compiling GHC.Types.Name.Occurrence[boot] ( compiler/GHC/Types/Name/Occurrence.hs-boot, dist/build/GHC/Types/Name/Occurrence.o-boot ) [ 35 of 267] Compiling GHC.Types.Var[boot] ( compiler/GHC/Types/Var.hs-boot, dist/build/GHC/Types/Var.o-boot ) [ 36 of 267] Compiling GHC.Unit.Database ( libraries/ghc-boot/GHC/Unit/Database.hs, dist/build/GHC/Unit/Database.o ) [ 37 of 267] Compiling GHC.Unit.Module.Name[boot] ( compiler/GHC/Unit/Module/Name.hs-boot, dist/build/GHC/Unit/Module/Name.o-boot ) [ 38 of 267] Compiling GHC.Utils.CliOption ( compiler/GHC/Utils/CliOption.hs, dist/build/GHC/Utils/CliOption.o ) [ 39 of 267] Compiling GHC.Utils.Encoding ( compiler/GHC/Utils/Encoding.hs, dist/build/GHC/Utils/Encoding.o ) [ 40 of 267] Compiling GHC.Utils.Exception ( compiler/GHC/Utils/Exception.hs, dist/build/GHC/Utils/Exception.o ) [ 41 of 267] Compiling GHC.Utils.Fingerprint ( compiler/GHC/Utils/Fingerprint.hs, dist/build/GHC/Utils/Fingerprint.o ) [ 42 of 267] Compiling GHC.Settings ( compiler/GHC/Settings.hs, dist/build/GHC/Settings.o ) [ 43 of 267] Compiling GHC.Utils.IO.Unsafe ( compiler/GHC/Utils/IO/Unsafe.hs, dist/build/GHC/Utils/IO/Unsafe.o ) [ 44 of 267] Compiling GHC.Utils.Monad ( compiler/GHC/Utils/Monad.hs, dist/build/GHC/Utils/Monad.o ) [ 45 of 267] Compiling GHC.Utils.Outputable[boot] ( compiler/GHC/Utils/Outputable.hs-boot, dist/build/GHC/Utils/Outputable.o-boot ) [ 46 of 267] Compiling GHC.Unit.Types[boot] ( compiler/GHC/Unit/Types.hs-boot, dist/build/GHC/Unit/Types.o-boot ) [ 47 of 267] Compiling GHC.Version ( ghc-lib/stage0/libraries/ghc-boot/build/GHC/Version.hs, dist/build/GHC/Version.o ) [ 48 of 267] Compiling GHC.UniqueSubdir ( libraries/ghc-boot/GHC/UniqueSubdir.hs, dist/build/GHC/UniqueSubdir.o ) [ 49 of 267] Compiling GHC.Settings.Config ( ghc-lib/stage0/compiler/build/GHC/Settings/Config.hs, dist/build/GHC/Settings/Config.o ) [ 50 of 267] Compiling GHC.Utils.Panic.Plain ( compiler/GHC/Utils/Panic/Plain.hs, dist/build/GHC/Utils/Panic/Plain.o ) [ 51 of 267] Compiling GHC.Utils.Panic ( compiler/GHC/Utils/Panic.hs, dist/build/GHC/Utils/Panic.o ) [ 52 of 267] Compiling GHC.SysTools.BaseDir ( compiler/GHC/SysTools/BaseDir.hs, dist/build/GHC/SysTools/BaseDir.o ) [ 53 of 267] Compiling GHC.Parser.CharClass ( compiler/GHC/Parser/CharClass.hs, dist/build/GHC/Parser/CharClass.o ) [ 54 of 267] Compiling GHC.Utils.Misc ( compiler/GHC/Utils/Misc.hs, dist/build/GHC/Utils/Misc.o ) [ 55 of 267] Compiling GHC.Utils.Ppr.Colour ( compiler/GHC/Utils/Ppr/Colour.hs, dist/build/GHC/Utils/Ppr/Colour.o ) [ 56 of 267] Compiling GHC.Data.Maybe ( compiler/GHC/Data/Maybe.hs, dist/build/GHC/Data/Maybe.o ) [ 57 of 267] Compiling GHC.Data.FastString ( compiler/GHC/Data/FastString.hs, dist/build/GHC/Data/FastString.o ) [ 58 of 267] Compiling GHC.Utils.Lexeme ( compiler/GHC/Utils/Lexeme.hs, dist/build/GHC/Utils/Lexeme.o ) [ 59 of 267] Compiling GHC.Utils.BufHandle ( compiler/GHC/Utils/BufHandle.hs, dist/build/GHC/Utils/BufHandle.o ) [ 60 of 267] Compiling GHC.Utils.Ppr ( compiler/GHC/Utils/Ppr.hs, dist/build/GHC/Utils/Ppr.o ) [ 61 of 267] Compiling GHC.Unit.State[boot] ( compiler/GHC/Unit/State.hs-boot, dist/build/GHC/Unit/State.o-boot ) [ 62 of 267] Compiling GHC.Driver.Session[boot] ( compiler/GHC/Driver/Session.hs-boot, dist/build/GHC/Driver/Session.o-boot ) [ 63 of 267] Compiling GHC.Utils.Outputable ( compiler/GHC/Utils/Outputable.hs, dist/build/GHC/Utils/Outputable.o ) [ 64 of 267] Compiling GHC.Utils.Json ( compiler/GHC/Utils/Json.hs, dist/build/GHC/Utils/Json.o ) [ 65 of 267] Compiling GHC.Types.Id.Info[boot] ( compiler/GHC/Types/Id/Info.hs-boot, dist/build/GHC/Types/Id/Info.o-boot ) [ 66 of 267] Compiling GHC.Tc.Utils.TcType[boot] ( compiler/GHC/Tc/Utils/TcType.hs-boot, dist/build/GHC/Tc/Utils/TcType.o-boot ) [ 67 of 267] Compiling GHC.Driver.Flags ( compiler/GHC/Driver/Flags.hs, dist/build/GHC/Driver/Flags.o ) [ 68 of 267] Compiling GHC.Platform.Ways ( compiler/GHC/Platform/Ways.hs, dist/build/GHC/Platform/Ways.o ) [ 69 of 267] Compiling GHC.Platform.Profile ( compiler/GHC/Platform/Profile.hs, dist/build/GHC/Platform/Profile.o ) [ 70 of 267] Compiling GHC.Data.Pair ( compiler/GHC/Data/Pair.hs, dist/build/GHC/Data/Pair.o ) [ 71 of 267] Compiling GHC.Data.OrdList ( compiler/GHC/Data/OrdList.hs, dist/build/GHC/Data/OrdList.o ) [ 72 of 267] Compiling GHC.Data.List.SetOps ( compiler/GHC/Data/List/SetOps.hs, dist/build/GHC/Data/List/SetOps.o ) [ 73 of 267] Compiling GHC.Data.Bag ( compiler/GHC/Data/Bag.hs, dist/build/GHC/Data/Bag.o ) [ 74 of 267] Compiling GHC.HsToCore.PmCheck.Types[boot] ( compiler/GHC/HsToCore/PmCheck/Types.hs-boot, dist/build/GHC/HsToCore/PmCheck/Types.o-boot ) [ 75 of 267] Compiling GHC.Core.TyCo.Rep[boot] ( compiler/GHC/Core/TyCo/Rep.hs-boot, dist/build/GHC/Core/TyCo/Rep.o-boot ) [ 76 of 267] Compiling GHC.Core.TyCo.Ppr[boot] ( compiler/GHC/Core/TyCo/Ppr.hs-boot, dist/build/GHC/Core/TyCo/Ppr.o-boot ) [ 77 of 267] Compiling GHC.Unit.Ppr ( compiler/GHC/Unit/Ppr.hs, dist/build/GHC/Unit/Ppr.o ) [ 78 of 267] Compiling GHC.Types.SrcLoc ( compiler/GHC/Types/SrcLoc.hs, dist/build/GHC/Types/SrcLoc.o ) [ 79 of 267] Compiling GHC.Utils.Error[boot] ( compiler/GHC/Utils/Error.hs-boot, dist/build/GHC/Utils/Error.o-boot ) [ 80 of 267] Compiling GHC.Driver.CmdLine ( compiler/GHC/Driver/CmdLine.hs, dist/build/GHC/Driver/CmdLine.o ) [ 81 of 267] Compiling GHC.Types.Basic ( compiler/GHC/Types/Basic.hs, dist/build/GHC/Types/Basic.o ) [ 82 of 267] Compiling GHC.Types.Unique ( compiler/GHC/Types/Unique.hs, dist/build/GHC/Types/Unique.o ) [ 83 of 267] Compiling GHC.Types.Unique.Supply ( compiler/GHC/Types/Unique/Supply.hs, dist/build/GHC/Types/Unique/Supply.o ) compiler/GHC/Types/Unique/Supply.hs:299:10: error: Not in scope: type constructor or class ‘MonadFail’ Perhaps you meant ‘MonadFix’ (imported from GHC.Utils.Monad) | 299 | instance MonadFail UniqSM where | ^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-14745/ghc-lib-parser-0.20200801' cabal: Error: some packages failed to install: ghc-lib-parser-0.20200801-7ntZ6M0YU04L8KBrGaOmOW failed during the building phase. The exception was: ExitFailure 1