Resolving dependencies... Starting data-default-class-0.1.2.0 Starting fingertree-0.1.5.0 Starting dlist-1.0 Starting microlens-0.4.13.1 Downloading oo-prototypes-0.1.0.0 Starting integer-logarithms-1.0.3.1 Starting pointedlist-0.6.1 Starting os-string-2.0.3 Starting primitive-0.9.0.0 Starting regex-base-0.94.0.2 Starting th-abstraction-0.7.0.0 Starting utf8-string-1.0.2 Starting vector-stream-0.1.0.1 Starting xdg-basedir-0.2.2 Starting fmlist-0.9.4 Starting old-locale-1.0.0.7 Starting base-orphans-0.9.2 Starting split-0.2.5 Starting unix-compat-0.7.1 Starting transformers-compat-0.7.2 Downloaded oo-prototypes-0.1.0.0 Starting oo-prototypes-0.1.0.0 Building fingertree-0.1.5.0 Building dlist-1.0 Building integer-logarithms-1.0.3.1 Building data-default-class-0.1.2.0 Building os-string-2.0.3 Building microlens-0.4.13.1 Building pointedlist-0.6.1 Building vector-stream-0.1.0.1 Building regex-base-0.94.0.2 Building primitive-0.9.0.0 Building utf8-string-1.0.2 Building xdg-basedir-0.2.2 Building th-abstraction-0.7.0.0 Building fmlist-0.9.4 Building unix-compat-0.7.1 Building old-locale-1.0.0.7 Building transformers-compat-0.7.2 Building split-0.2.5 Building base-orphans-0.9.2 Building oo-prototypes-0.1.0.0 Completed integer-logarithms-1.0.3.1 Completed oo-prototypes-0.1.0.0 Completed data-default-class-0.1.2.0 Starting data-default-instances-containers-0.0.1 Completed old-locale-1.0.0.7 Starting data-default-instances-old-locale-0.0.1 Building data-default-instances-containers-0.0.1 Completed microlens-0.4.13.1 Starting microlens-ghc-0.4.14.3 Completed fmlist-0.9.4 Building data-default-instances-old-locale-0.0.1 Completed split-0.2.5 Completed dlist-1.0 Starting data-default-instances-dlist-0.0.1 Building microlens-ghc-0.4.14.3 Building data-default-instances-dlist-0.0.1 Completed unix-compat-0.7.1 Completed xdg-basedir-0.2.2 Completed pointedlist-0.6.1 Completed base-orphans-0.9.2 Completed regex-base-0.94.0.2 Starting regex-tdfa-1.3.2.2 Completed vector-stream-0.1.0.1 Completed utf8-string-1.0.2 Completed th-abstraction-0.7.0.0 Starting microlens-th-0.4.3.15 Building regex-tdfa-1.3.2.2 Starting generic-deriving-1.14.5 Completed transformers-compat-0.7.2 Starting transformers-base-0.4.6 Starting microlens-mtl-0.2.0.3 Completed data-default-instances-old-locale-0.0.1 Building microlens-th-0.4.3.15 Building generic-deriving-1.14.5 Completed data-default-instances-containers-0.0.1 Building microlens-mtl-0.2.0.3 Building transformers-base-0.4.6 Completed fingertree-0.1.5.0 Downloading yi-rope-0.11 Downloaded yi-rope-0.11 Starting yi-rope-0.11 Completed data-default-instances-dlist-0.0.1 Starting data-default-0.7.1.1 Building yi-rope-0.11 Building data-default-0.7.1.1 Completed os-string-2.0.3 Starting hashable-1.4.7.0 Building hashable-1.4.7.0 Completed microlens-ghc-0.4.14.3 Completed transformers-base-0.4.6 Completed microlens-mtl-0.2.0.3 Completed primitive-0.9.0.0 Starting vector-0.13.1.0 Building vector-0.13.1.0 Completed data-default-0.7.1.1 Completed microlens-th-0.4.3.15 Completed yi-rope-0.11 Completed hashable-1.4.7.0 Starting scientific-0.3.8.0 Starting unordered-containers-0.2.20 Building scientific-0.3.8.0 Building unordered-containers-0.2.20 Completed regex-tdfa-1.3.2.2 Completed generic-deriving-1.14.5 Completed scientific-0.3.8.0 Starting attoparsec-0.14.4 Building attoparsec-0.14.4 Completed unordered-containers-0.2.20 Downloading dynamic-state-0.3.1 Downloaded dynamic-state-0.3.1 Starting dynamic-state-0.3.1 Building dynamic-state-0.3.1 Completed dynamic-state-0.3.1 Completed attoparsec-0.14.4 Completed vector-0.13.1.0 Starting microlens-platform-0.4.3.5 Starting ListLike-4.7.8.2 Building microlens-platform-0.4.3.5 Building ListLike-4.7.8.2 Completed microlens-platform-0.4.3.5 Downloading yi-language-0.19.0 Downloaded yi-language-0.19.0 Starting yi-language-0.19.0 Building yi-language-0.19.0 Failed to install yi-language-0.19.0 Build log ( /home/builder/.cabal/logs/ghc-9.6.3/yi-language-0.19.0-1l5Oj2SNyAYD6fJsyhzQlT.log ): cabal: Entering directory '/tmp/cabal-tmp-460408/yi-language-0.19.0' Configuring yi-language-0.19.0... Preprocessing library for yi-language-0.19.0.. Building library for yi-language-0.19.0.. [ 1 of 10] Compiling Paths_yi_language ( dist/build/autogen/Paths_yi_language.hs, dist/build/Paths_yi_language.o, dist/build/Paths_yi_language.dyn_o ) [ 2 of 10] Compiling Yi.Style ( src/Yi/Style.hs, dist/build/Yi/Style.o, dist/build/Yi/Style.dyn_o ) [ 3 of 10] Compiling Yi.Style.Library ( src/Yi/Style/Library.hs, dist/build/Yi/Style/Library.o, dist/build/Yi/Style/Library.dyn_o ) [ 4 of 10] Compiling Yi.Utils ( src/Yi/Utils.hs, dist/build/Yi/Utils.o, dist/build/Yi/Utils.dyn_o ) [ 5 of 10] Compiling Yi.Buffer.Basic ( src/Yi/Buffer/Basic.hs, dist/build/Yi/Buffer/Basic.o, dist/build/Yi/Buffer/Basic.dyn_o ) [ 6 of 10] Compiling Yi.Region ( src/Yi/Region.hs, dist/build/Yi/Region.o, dist/build/Yi/Region.dyn_o ) [ 7 of 10] Compiling Yi.Syntax ( src/Yi/Syntax.hs, dist/build/Yi/Syntax.o, dist/build/Yi/Syntax.dyn_o ) [ 8 of 10] Compiling Yi.Lexer.Alex ( src/Yi/Lexer/Alex.hs, dist/build/Yi/Lexer/Alex.o, dist/build/Yi/Lexer/Alex.dyn_o ) [ 9 of 10] Compiling Yi.Regex ( src/Yi/Regex.hs, dist/build/Yi/Regex.o, dist/build/Yi/Regex.dyn_o ) src/Yi/Regex.hs:84:38-39: warning: [-Wunused-record-wildcards] No variables bound in the record wildcard match are used Possible fix: omit the .. | 84 | seOptions = opts, .. }) = do put re | ^^ src/Yi/Regex.hs:144:1-76: warning: [GHC-62161] [-Wincomplete-uni-patterns] Pattern match(es) are non-exhaustive In a pattern binding: Patterns of type Maybe Regex not matched: Nothing | 144 | Just emptyRegex = makeRegexOptsM defaultCompOpt defaultExecOpt "[[:empty:]]" | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [10 of 10] Compiling Yi.Lexer.Compilation ( dist/build/Yi/Lexer/Compilation.hs, dist/build/Yi/Lexer/Compilation.o, dist/build/Yi/Lexer/Compilation.dyn_o ) dist/build/Yi/Lexer/Compilation.hs:274:50-51: error: [GHC-83865] " Couldn't match expected type Int16# with actual type Int# " In the fifth argument of alex_scan_tkn, namely sc In the expression: alex_scan_tkn user__ input__ 0# input__ sc AlexNone In the expression: case alex_scan_tkn user__ input__ 0# input__ sc AlexNone of (AlexNone, input__') -> case alexGetByte input__ of Nothing -> AlexEOF Just _ -> AlexError input__' (AlexLastSkip input__'' len, _) -> AlexSkip input__'' len (AlexLastAcc k input__''' len, _) -> AlexToken input__''' len (alex_actions ! k) | 274 | = case alex_scan_tkn user__ input__ 0# input__ sc AlexNone of | ^^ dist/build/Yi/Lexer/Compilation.hs:(304,1)-(337,67): error: [GHC-83865] Couldn't match type Int# with Int16# Expected: t1 -> t2 -> Int# -> AlexInput -> Int16# -> AlexLastAcc -> (AlexLastAcc, (Char, [Byte], IndexedStr)) Actual: t1 -> t2 -> Int# -> (Char, [Byte], IndexedStr) -> Int# -> AlexLastAcc -> (AlexLastAcc, (Char, [Byte], IndexedStr)) | 304 | alex_scan_tkn user__ orig_input len input__ s last_acc = | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... dist/build/Yi/Lexer/Compilation.hs:319:27-30: error: [GHC-83865] " Couldn't match expected type Int# with actual type Int32# " In the first argument of (+#), namely base In the expression: base +# ord_c In an equation for offset: offset = (base +# ord_c) | 319 | offset = (base +# ord_c) | ^^^^ dist/build/Yi/Lexer/Compilation.hs:322:73-77: error: [GHC-83865] " Couldn't match expected type Int# with actual type Int16# " In the first argument of (==#), namely check In the first argument of tagToEnum#, namely (check ==# ord_c) In the second argument of (&&), namely (tagToEnum# (check ==# ord_c)) | 322 | new_s = if GTE(offset,0#) && EQ(check,ord_c) | ^^^^^ dist/build/Yi/Lexer/Compilation.hs:327:13-15: error: [GHC-83865] " Couldn't match expected type Int16# with actual type Int# " In the pattern: -1# In a case alternative: -1# -> (new_acc, input__) In the expression: case new_s of -1# -> (new_acc, input__) _ -> alex_scan_tkn user__ orig_input (if c < 0x80 || c >= 0xC0 then (len +# 1#) else len) new_input new_s new_acc | 327 | -1# -> (new_acc, input__) | ^^^ src/Yi/Lexer/common.hsinc:33:45-46: error: [GHC-83865] " Couldn't match expected type Int16# with actual type Int# " In the fifth argument of alex_scan_tkn', namely sc In the expression: alex_scan_tkn' user input 0# input sc AlexNone In the expression: case alex_scan_tkn' user input 0# input sc AlexNone of (AlexNone, input', lookahead) -> case alexGetByte input of Nothing -> (AlexEOF, lookahead) Just _ -> (AlexError input', lookahead) (AlexLastSkip input'' len, _, lookahead) -> (AlexSkip input'' len, lookahead) (AlexLastAcc k input'' len, _, lookahead) -> (AlexToken input'' len (alex_actions ! k), lookahead) | 33 | = case alex_scan_tkn' user input 0# input sc AlexNone of | ^^ src/Yi/Lexer/common.hsinc:(47,1)-(73,61): error: [GHC-83865] Couldn't match type Int# with Int16# Expected: t1 -> t2 -> Int# -> AlexInput -> Int16# -> AlexLastAcc -> (AlexLastAcc, (Char, [Byte], IndexedStr), Int) Actual: t1 -> t2 -> Int# -> (Char, [Byte], IndexedStr) -> Int# -> AlexLastAcc -> (AlexLastAcc, (Char, [Byte], IndexedStr), Int) | 47 | alex_scan_tkn' user orig_input len input s last_acc = | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^... src/Yi/Lexer/common.hsinc:56:25-28: error: [GHC-83865] " Couldn't match expected type Int# with actual type Int32# " In the first argument of (+#), namely base In the expression: base +# ord_c In an equation for offset: offset = (base +# ord_c) | 56 | offset = (base +# ord_c) | ^^^^ src/Yi/Lexer/common.hsinc:59:73-77: error: [GHC-83865] " Couldn't match expected type Int# with actual type Int16# " In the first argument of (==#), namely check In the first argument of tagToEnum#, namely (check ==# ord_c) In the second argument of (&&), namely (tagToEnum# (check ==# ord_c)) | 59 | new_s = if GEQ_(offset, 0#) && EQ_(check, ord_c) | ^^^^^ src/Yi/Lexer/common.hsinc:64:11-13: error: [GHC-83865] " Couldn't match expected type Int16# with actual type Int# " In the pattern: -1# In a case alternative: -1# -> (new_acc, input, (I# (new_len))) In the expression: case new_s of -1# -> (new_acc, input, (I# (new_len))) _ -> alex_scan_tkn' user orig_input new_len new_input new_s new_acc | 64 | -1# -> (new_acc, input, IBOX(new_len)) | ^^^ cabal: Leaving directory '/tmp/cabal-tmp-460408/yi-language-0.19.0' Completed ListLike-4.7.8.2 Error: cabal: Some packages failed to install: yi-core-0.19.3-FBIwf5XEKTl5m3Y0A4EHTa depends on yi-core-0.19.3 which failed to install. yi-language-0.19.0-1l5Oj2SNyAYD6fJsyhzQlT failed during the building phase. The exception was: ExitFailure 1