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 StateVar-1.2 Starting hashable-1.3.0.0 Starting dlist-0.8.0.7 Starting blaze-builder-0.4.1.0 Building StateVar-1.2 Building hashable-1.3.0.0 Building dlist-0.8.0.7 Building blaze-builder-0.4.1.0 Completed StateVar-1.2 Starting integer-logarithms-1.0.3 Building integer-logarithms-1.0.3 Completed dlist-0.8.0.7 Starting microlens-0.4.10 Building microlens-0.4.10 Completed blaze-builder-0.4.1.0 Starting parallel-3.2.2.0 Completed hashable-1.3.0.0 Starting parser-combinators-1.2.0 Building parallel-3.2.2.0 Completed integer-logarithms-1.0.3 Starting primitive-0.7.0.0 Building parser-combinators-1.2.0 Building primitive-0.7.0.0 Completed microlens-0.4.10 Starting random-1.1 Building random-1.1 Completed parser-combinators-1.2.0 Starting th-abstraction-0.3.1.0 Completed parallel-3.2.2.0 Starting transformers-compat-0.6.5 Building th-abstraction-0.3.1.0 Building transformers-compat-0.6.5 Completed random-1.1 Starting utf8-string-1.0.1.1 Building utf8-string-1.0.1.1 Completed transformers-compat-0.6.5 Starting validity-0.9.0.1 Building validity-0.9.0.1 Completed th-abstraction-0.3.1.0 Starting word-wrap-0.4.1 Building word-wrap-0.4.1 Completed validity-0.9.0.1 Starting contravariant-1.5.2 Completed word-wrap-0.4.1 Starting unordered-containers-0.2.10.0 Building contravariant-1.5.2 Building unordered-containers-0.2.10.0 Completed utf8-string-1.0.1.1 Starting case-insensitive-1.2.1.0 Building case-insensitive-1.2.1.0 Completed primitive-0.7.0.0 Starting splitmix-0.0.3 Completed contravariant-1.5.2 Starting microlens-mtl-0.2.0.1 Completed case-insensitive-1.2.1.0 Starting microlens-th-0.4.3.2 Building splitmix-0.0.3 Building microlens-mtl-0.2.0.1 Building microlens-th-0.4.3.2 Completed splitmix-0.0.3 Starting validity-text-0.3.1.0 Building validity-text-0.3.1.0 Completed microlens-mtl-0.2.0.1 Starting validity-containers-0.3.1.0 Building validity-containers-0.3.1.0 Completed microlens-th-0.4.3.2 Starting vector-0.12.0.3 Completed validity-text-0.3.1.0 Starting scientific-0.3.6.2 Building vector-0.12.0.3 Building scientific-0.3.6.2 Completed validity-containers-0.3.1.0 Starting QuickCheck-2.13.2 Building QuickCheck-2.13.2 Completed unordered-containers-0.2.10.0 Downloading cursor-0.0.0.1 Downloaded cursor-0.0.0.1 Starting cursor-0.0.0.1 Building cursor-0.0.0.1 Completed scientific-0.3.6.2 Starting megaparsec-7.0.5 Building megaparsec-7.0.5 Completed cursor-0.0.0.1 Completed megaparsec-7.0.5 Starting config-ini-0.2.4.0 Building config-ini-0.2.4.0 Completed QuickCheck-2.13.2 Starting data-clist-0.1.2.3 Building data-clist-0.1.2.3 Completed config-ini-0.2.4.0 Completed data-clist-0.1.2.3 Completed vector-0.12.0.3 Starting text-zipper-0.10.1 Starting vty-5.25.1 Building text-zipper-0.10.1 Building vty-5.25.1 Completed text-zipper-0.10.1 Completed vty-5.25.1 Starting brick-0.47.1 Building brick-0.47.1 Completed brick-0.47.1 Downloading cursor-brick-0.0.0.0 Downloaded cursor-brick-0.0.0.0 Starting cursor-brick-0.0.0.0 Building cursor-brick-0.0.0.0 Failed to install cursor-brick-0.0.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/cursor-brick-0.0.0.0-Gw2KNUN4eFGDqVuvJMkbRg.log ): cabal: Entering directory '/tmp/cabal-tmp-15858/cursor-brick-0.0.0.0' Configuring cursor-brick-0.0.0.0... Preprocessing library for cursor-brick-0.0.0.0.. Building library for cursor-brick-0.0.0.0.. [1 of 8] Compiling Cursor.Brick.List ( src/Cursor/Brick/List.hs, dist/build/Cursor/Brick/List.o ) src/Cursor/Brick/List.hs:11:21: error: • Variable not in scope: foldListCursor :: ([a] -> [a] -> m (Widget n)) -> ListCursor a -> m (Widget n) • Perhaps you meant one of these: data constructor ‘ListCursor’ (imported from Cursor.List), ‘makeListCursor’ (imported from Cursor.List) | 11 | listCursorWidgetM = foldListCursor | ^^^^^^^^^^^^^^ src/Cursor/Brick/List.hs:14:20: error: • Variable not in scope: foldListCursor :: ([a] -> [a] -> Widget n) -> ListCursor a -> Widget n • Perhaps you meant one of these: data constructor ‘ListCursor’ (imported from Cursor.List), ‘makeListCursor’ (imported from Cursor.List) | 14 | listCursorWidget = foldListCursor | ^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-15858/cursor-brick-0.0.0.0' cabal: Error: some packages failed to install: cursor-brick-0.0.0.0-Gw2KNUN4eFGDqVuvJMkbRg failed during the building phase. The exception was: ExitFailure 1