Resolving dependencies... Starting Diff-0.4.1 Starting StateVar-1.2.2 Starting appar-0.1.8 Starting base-compat-0.12.1 Building appar-0.1.8 Building Diff-0.4.1 Building StateVar-1.2.2 Building base-compat-0.12.1 Completed StateVar-1.2.2 Starting base-orphans-0.8.6 Completed appar-0.1.8 Starting base16-bytestring-1.0.2.0 Building base-orphans-0.8.6 Building base16-bytestring-1.0.2.0 Completed Diff-0.4.1 Starting base64-bytestring-1.2.1.0 Building base64-bytestring-1.2.1.0 Completed base16-bytestring-1.0.2.0 Starting basement-0.0.14 Building basement-0.0.14 Completed base64-bytestring-1.2.1.0 Starting blaze-builder-0.4.2.2 Building blaze-builder-0.4.2.2 Completed base-compat-0.12.1 Starting byteorder-1.0.4 Building byteorder-1.0.4 Completed base-orphans-0.8.6 Starting cabal-doctest-1.0.9 Completed byteorder-1.0.4 Starting call-stack-0.4.0 Building cabal-doctest-1.0.9 Building call-stack-0.4.0 Completed blaze-builder-0.4.2.2 Starting cereal-0.5.8.2 Completed call-stack-0.4.0 Starting cmdargs-0.10.21 Building cereal-0.5.8.2 Building cmdargs-0.10.21 Completed cabal-doctest-1.0.9 Starting colour-2.3.6 Building colour-2.3.6 Completed cereal-0.5.8.2 Starting cryptohash-md5-0.11.101.0 Building cryptohash-md5-0.11.101.0 Completed colour-2.3.6 Starting cryptohash-sha1-0.11.101.0 Building cryptohash-sha1-0.11.101.0 Completed cryptohash-md5-0.11.101.0 Starting cryptohash-sha256-0.11.102.1 Building cryptohash-sha256-0.11.102.1 Completed cryptohash-sha1-0.11.101.0 Starting data-default-class-0.1.2.0 Building data-default-class-0.1.2.0 Completed cryptohash-sha256-0.11.102.1 Starting dlist-1.0 Building dlist-1.0 Completed data-default-class-0.1.2.0 Starting dotgen-0.4.3 Building dotgen-0.4.3 Completed dotgen-0.4.3 Starting entropy-0.4.1.7 Completed dlist-1.0 Starting half-0.3.1 Building half-0.3.1 Building entropy-0.4.1.7 Completed cmdargs-0.10.21 Starting hashable-1.3.5.0 Building hashable-1.3.5.0 Completed half-0.3.1 Starting hourglass-0.2.12 Building hourglass-0.2.12 Completed entropy-0.4.1.7 Starting indexed-traversable-0.1.2 Building indexed-traversable-0.1.2 Completed hashable-1.3.5.0 Starting integer-logarithms-1.0.3.1 Building integer-logarithms-1.0.3.1 Completed integer-logarithms-1.0.3.1 Starting lens-family-core-2.1.0 Building lens-family-core-2.1.0 Completed indexed-traversable-0.1.2 Starting mime-types-0.1.0.9 Completed hourglass-0.2.12 Starting network-3.1.2.7 Building mime-types-0.1.0.9 Completed lens-family-core-2.1.0 Starting network-info-0.2.1 Building network-info-0.2.1 Building network-3.1.2.7 Completed network-info-0.2.1 Starting old-locale-1.0.0.7 Completed basement-0.0.14 Starting parallel-3.2.2.0 Building old-locale-1.0.0.7 Building parallel-3.2.2.0 Completed mime-types-0.1.0.9 Starting parser-combinators-1.3.0 Completed old-locale-1.0.0.7 Starting prettyprinter-1.7.1 Building parser-combinators-1.3.0 Building prettyprinter-1.7.1 Completed parallel-3.2.2.0 Starting primitive-0.7.3.0 Building primitive-0.7.3.0 Completed parser-combinators-1.3.0 Starting reflection-2.1.6 Building reflection-2.1.6 Completed prettyprinter-1.7.1 Starting repline-0.4.0.0 Completed network-3.1.2.7 Starting rope-utf16-splay-0.3.2.0 Building repline-0.4.0.0 Building rope-utf16-splay-0.3.2.0 Completed reflection-2.1.6 Starting semigroups-0.20 Building semigroups-0.20 Completed repline-0.4.0.0 Starting some-1.0.3 Building some-1.0.3 Completed rope-utf16-splay-0.3.2.0 Starting sorted-list-0.2.1.0 Completed semigroups-0.20 Starting splitmix-0.1.0.4 Building sorted-list-0.2.1.0 Building splitmix-0.1.0.4 Completed sorted-list-0.2.1.0 Starting tagged-0.8.6.1 Completed some-1.0.3 Starting text-manipulate-0.3.0.0 Building tagged-0.8.6.1 Completed splitmix-0.1.0.4 Starting th-abstraction-0.4.3.0 Building text-manipulate-0.3.0.0 Building th-abstraction-0.4.3.0 Completed primitive-0.7.3.0 Starting th-compat-0.1.3 Building th-compat-0.1.3 Completed text-manipulate-0.3.0.0 Starting transformers-compat-0.7.1 Building transformers-compat-0.7.1 Completed tagged-0.8.6.1 Starting unix-compat-0.5.4 Building unix-compat-0.5.4 Completed th-compat-0.1.3 Starting unliftio-core-0.2.0.1 Building unliftio-core-0.2.0.1 Completed unix-compat-0.5.4 Starting utf8-string-1.0.2 Completed th-abstraction-0.4.3.0 Starting void-0.7.3 Building utf8-string-1.0.2 Completed unliftio-core-0.2.0.1 Starting zlib-0.6.2.3 Building void-0.7.3 Completed transformers-compat-0.7.1 Starting contravariant-1.5.5 Building zlib-0.6.2.3 Building contravariant-1.5.5 Completed void-0.7.3 Starting ansi-terminal-0.11.1 Building ansi-terminal-0.11.1 Completed contravariant-1.5.5 Starting data-default-instances-containers-0.0.1 Completed utf8-string-1.0.2 Starting cookie-0.4.5 Building data-default-instances-containers-0.0.1 Building cookie-0.4.5 Completed ansi-terminal-0.11.1 Starting data-default-instances-dlist-0.0.1 Completed data-default-instances-containers-0.0.1 Starting unordered-containers-0.2.17.0 Completed zlib-0.6.2.3 Starting time-compat-1.9.6.1 Building data-default-instances-dlist-0.0.1 Building unordered-containers-0.2.17.0 Building time-compat-1.9.6.1 Completed cookie-0.4.5 Starting data-fix-0.3.2 Completed data-default-instances-dlist-0.0.1 Starting case-insensitive-1.2.1.0 Building data-fix-0.3.2 Building case-insensitive-1.2.1.0 Completed data-fix-0.3.2 Starting async-2.2.4 Completed case-insensitive-1.2.1.0 Starting OneTuple-0.3.1 Building async-2.2.4 Building OneTuple-0.3.1 Completed time-compat-1.9.6.1 Starting memory-0.16.0 Building memory-0.16.0 Completed async-2.2.4 Starting data-default-instances-old-locale-0.0.1 Completed OneTuple-0.3.1 Starting socks-0.6.1 Building data-default-instances-old-locale-0.0.1 Building socks-0.6.1 Completed data-default-instances-old-locale-0.0.1 Starting network-bsd-2.8.1.0 Building network-bsd-2.8.1.0 Completed unordered-containers-0.2.17.0 Starting iproute-1.7.12 Completed socks-0.6.1 Starting random-1.2.1 Completed network-bsd-2.8.1.0 Starting vector-0.12.3.1 Building iproute-1.7.12 Building random-1.2.1 Building vector-0.12.3.1 Completed memory-0.16.0 Starting scientific-0.3.7.0 Building scientific-0.3.7.0 Completed iproute-1.7.12 Starting cborg-0.2.6.0 Building cborg-0.2.6.0 Completed scientific-0.3.7.0 Starting distributive-0.6.2.1 Building distributive-0.6.2.1 Completed random-1.2.1 Starting network-uri-2.6.4.1 Building network-uri-2.6.4.1 Completed distributive-0.6.2.1 Starting th-lift-0.8.2 Building th-lift-0.8.2 Completed th-lift-0.8.2 Starting transformers-base-0.4.6 Building transformers-base-0.4.6 Completed network-uri-2.6.4.1 Starting mmorph-1.2.0 Building mmorph-1.2.0 Completed transformers-base-0.4.6 Starting prettyprinter-ansi-terminal-1.1.3 Building prettyprinter-ansi-terminal-1.1.3 Completed mmorph-1.2.0 Starting ansi-wl-pprint-0.6.9 Completed prettyprinter-ansi-terminal-1.1.3 Starting http-types-0.12.3 Building ansi-wl-pprint-0.6.9 Building http-types-0.12.3 Completed ansi-wl-pprint-0.6.9 Starting base-compat-batteries-0.12.1 Building base-compat-batteries-0.12.1 Completed http-types-0.12.3 Starting data-default-0.7.1.1 Building data-default-0.7.1.1 Completed data-default-0.7.1.1 Starting charset-0.3.9 Building charset-0.3.9 Completed base-compat-batteries-0.12.1 Starting hslogger-1.3.1.0 Building hslogger-1.3.1.0 Completed charset-0.3.9 Starting pem-0.2.4 Building pem-0.2.4 Completed pem-0.2.4 Starting cryptonite-0.29 Completed hslogger-1.3.1.0 Starting asn1-types-0.3.4 Building cryptonite-0.29 Building asn1-types-0.3.4 Completed asn1-types-0.3.4 Starting megaparsec-9.2.0 Building megaparsec-9.2.0 Completed vector-0.12.3.1 Starting attoparsec-0.14.4 Building attoparsec-0.14.4 Completed attoparsec-0.14.4 Starting uuid-types-1.0.5 Building uuid-types-1.0.5 Completed megaparsec-9.2.0 Starting temporary-1.3 Building temporary-1.3 Completed cborg-0.2.6.0 Starting streaming-commons-0.2.2.4 Completed temporary-1.3 Starting comonad-5.0.8 Completed uuid-types-1.0.5 Starting uri-encode-1.5.0.7 Building streaming-commons-0.2.2.4 Building comonad-5.0.8 Building uri-encode-1.5.0.7 Completed uri-encode-1.5.0.7 Starting pretty-simple-4.0.0.0 Completed comonad-5.0.8 Starting optparse-applicative-0.17.0.0 Building pretty-simple-4.0.0.0 Building optparse-applicative-0.17.0.0 Completed streaming-commons-0.2.2.4 Starting semirings-0.6 Building semirings-0.6 Completed pretty-simple-4.0.0.0 Starting asn1-encoding-0.9.6 Building asn1-encoding-0.9.6 Completed optparse-applicative-0.17.0.0 Starting th-lift-instances-0.1.19 Building th-lift-instances-0.1.19 Completed th-lift-instances-0.1.19 Starting indexed-traversable-instances-0.1.1 Completed asn1-encoding-0.9.6 Starting parsers-0.12.10 Building indexed-traversable-instances-0.1.1 Completed semirings-0.6 Starting atomic-write-0.2.0.7 Building parsers-0.12.10 Building atomic-write-0.2.0.7 Completed indexed-traversable-instances-0.1.1 Starting uuid-1.3.15 Building uuid-1.3.15 Completed atomic-write-0.2.0.7 Starting bifunctors-5.5.11 Building bifunctors-5.5.11 Completed uuid-1.3.15 Starting http-client-0.7.11 Building http-client-0.7.11 Completed parsers-0.12.10 Starting asn1-parse-0.9.5 Building asn1-parse-0.9.5 Completed asn1-parse-0.9.5 Starting mod-0.1.2.2 Building mod-0.1.2.2 Completed bifunctors-5.5.11 Starting semigroupoids-5.3.7 Building semigroupoids-5.3.7 Completed mod-0.1.2.2 Starting profunctors-5.6.2 Completed http-client-0.7.11 Starting assoc-1.0.2 Building profunctors-5.6.2 Building assoc-1.0.2 Completed assoc-1.0.2 Starting these-1.1.1.1 Building these-1.1.1.1 Completed these-1.1.1.1 Starting strict-0.4.0.1 Building strict-0.4.0.1 Completed profunctors-5.6.2 Starting invariant-0.5.5 Completed cryptonite-0.29 Starting x509-1.7.6 Building invariant-0.5.5 Building x509-1.7.6 Completed semigroupoids-5.3.7 Starting free-5.1.7 Completed strict-0.4.0.1 Starting either-5.0.1.1 Building free-5.1.7 Building either-5.0.1.1 Completed either-5.0.1.1 Starting serialise-0.2.4.0 Building serialise-0.2.4.0 Completed invariant-0.5.5 Starting aeson-1.5.6.0 Building aeson-1.5.6.0 Completed x509-1.7.6 Starting x509-store-1.6.9 Building x509-store-1.6.9 Completed x509-store-1.6.9 Starting x509-validation-1.6.12 Building x509-validation-1.6.12 Completed serialise-0.2.4.0 Starting x509-system-1.6.7 Building x509-system-1.6.7 Completed x509-system-1.6.7 Completed x509-validation-1.6.12 Starting tls-1.5.7 Building tls-1.5.7 Completed free-5.1.7 Starting adjunctions-4.4 Building adjunctions-4.4 Completed adjunctions-4.4 Starting kan-extensions-5.2.3 Building kan-extensions-5.2.3 Completed kan-extensions-5.2.3 Starting lens-5.1 Building lens-5.1 Completed aeson-1.5.6.0 Starting aeson-yaml-1.1.0.1 Starting aeson-pretty-0.8.9 Building aeson-yaml-1.1.0.1 Building aeson-pretty-0.8.9 Completed aeson-yaml-1.1.0.1 Completed tls-1.5.7 Starting connection-0.3.1 Building connection-0.3.1 Completed aeson-pretty-0.8.9 Starting cborg-json-0.2.3.0 Building cborg-json-0.2.3.0 Completed connection-0.3.1 Starting http-client-tls-0.3.6.1 Completed cborg-json-0.2.3.0 Building http-client-tls-0.3.6.1 Completed http-client-tls-0.3.6.1 Starting dhall-1.41.1 Building dhall-1.41.1 Completed lens-5.1 Starting lsp-types-1.4.0.1 Building lsp-types-1.4.0.1 Completed dhall-1.41.1 Starting dhall-json-1.7.10 Building dhall-json-1.7.10 Completed dhall-json-1.7.10 Completed lsp-types-1.4.0.1 Starting lsp-1.4.0.0 Building lsp-1.4.0.0 Completed lsp-1.4.0.0 Downloading dhall-lsp-server-1.1.0 Downloaded dhall-lsp-server-1.1.0 Starting dhall-lsp-server-1.1.0 Building dhall-lsp-server-1.1.0 Failed to install dhall-lsp-server-1.1.0 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/dhall-lsp-server-1.1.0-770I9RSVL464qcONhShjAl.log ): cabal: Entering directory '/tmp/cabal-tmp-25829/dhall-lsp-server-1.1.0' Configuring dhall-lsp-server-1.1.0... Preprocessing library for dhall-lsp-server-1.1.0.. Building library for dhall-lsp-server-1.1.0.. [ 1 of 14] Compiling Dhall.LSP.Backend.Dhall ( src/Dhall/LSP/Backend/Dhall.hs, dist/build/Dhall/LSP/Backend/Dhall.o, dist/build/Dhall/LSP/Backend/Dhall.dyn_o ) [ 2 of 14] Compiling Dhall.LSP.Backend.Formatting ( src/Dhall/LSP/Backend/Formatting.hs, dist/build/Dhall/LSP/Backend/Formatting.o, dist/build/Dhall/LSP/Backend/Formatting.dyn_o ) [ 3 of 14] Compiling Dhall.LSP.Backend.Parsing ( src/Dhall/LSP/Backend/Parsing.hs, dist/build/Dhall/LSP/Backend/Parsing.o, dist/build/Dhall/LSP/Backend/Parsing.dyn_o ) [ 4 of 14] Compiling Dhall.LSP.Backend.ToJSON ( src/Dhall/LSP/Backend/ToJSON.hs, dist/build/Dhall/LSP/Backend/ToJSON.o, dist/build/Dhall/LSP/Backend/ToJSON.dyn_o ) [ 5 of 14] Compiling Dhall.LSP.State ( src/Dhall/LSP/State.hs, dist/build/Dhall/LSP/State.o, dist/build/Dhall/LSP/State.dyn_o ) [ 6 of 14] Compiling Dhall.LSP.Util ( src/Dhall/LSP/Util.hs, dist/build/Dhall/LSP/Util.o, dist/build/Dhall/LSP/Util.dyn_o ) [ 7 of 14] Compiling Dhall.LSP.Backend.Diagnostics ( src/Dhall/LSP/Backend/Diagnostics.hs, dist/build/Dhall/LSP/Backend/Diagnostics.o, dist/build/Dhall/LSP/Backend/Diagnostics.dyn_o ) [ 8 of 14] Compiling Dhall.LSP.Backend.Typing ( src/Dhall/LSP/Backend/Typing.hs, dist/build/Dhall/LSP/Backend/Typing.o, dist/build/Dhall/LSP/Backend/Typing.dyn_o ) [ 9 of 14] Compiling Dhall.LSP.Backend.Linting ( src/Dhall/LSP/Backend/Linting.hs, dist/build/Dhall/LSP/Backend/Linting.o, dist/build/Dhall/LSP/Backend/Linting.dyn_o ) [10 of 14] Compiling Dhall.LSP.Backend.Freezing ( src/Dhall/LSP/Backend/Freezing.hs, dist/build/Dhall/LSP/Backend/Freezing.o, dist/build/Dhall/LSP/Backend/Freezing.dyn_o ) [11 of 14] Compiling Dhall.LSP.Backend.Completion ( src/Dhall/LSP/Backend/Completion.hs, dist/build/Dhall/LSP/Backend/Completion.o, dist/build/Dhall/LSP/Backend/Completion.dyn_o ) [12 of 14] Compiling Dhall.LSP.Handlers ( src/Dhall/LSP/Handlers.hs, dist/build/Dhall/LSP/Handlers.o, dist/build/Dhall/LSP/Handlers.dyn_o ) src/Dhall/LSP/Handlers.hs:128:31: error: " Couldn't match expected type UInt with actual type Int " In the first argument of Position, namely x1 In the first argument of LSP.Types.Range, namely (Position x1 y1) In the expression: LSP.Types.Range (Position x1 y1) (Position x2 y2) | 128 | LSP.Types.Range (Position x1 y1) (Position x2 y2) | ^^ src/Dhall/LSP/Handlers.hs:128:34: error: " Couldn't match expected type UInt with actual type Int " In the second argument of Position, namely y1 In the first argument of LSP.Types.Range, namely (Position x1 y1) In the expression: LSP.Types.Range (Position x1 y1) (Position x2 y2) | 128 | LSP.Types.Range (Position x1 y1) (Position x2 y2) | ^^ src/Dhall/LSP/Handlers.hs:128:48: error: " Couldn't match expected type UInt with actual type Int " In the first argument of Position, namely x2 In the second argument of LSP.Types.Range, namely (Position x2 y2) In the expression: LSP.Types.Range (Position x1 y1) (Position x2 y2) | 128 | LSP.Types.Range (Position x1 y1) (Position x2 y2) | ^^ src/Dhall/LSP/Handlers.hs:128:51: error: " Couldn't match expected type UInt with actual type Int " In the second argument of Position, namely y2 In the second argument of LSP.Types.Range, namely (Position x2 y2) In the expression: LSP.Types.Range (Position x1 y1) (Position x2 y2) | 128 | LSP.Types.Range (Position x1 y1) (Position x2 y2) | ^^ src/Dhall/LSP/Handlers.hs:145:30: error: " Couldn't match expected type Int with actual type UInt " In the expression: _line In the first argument of typeAt, namely (_line, _character) In the expression: typeAt (_line, _character) welltyped | 145 | case typeAt (_line, _character) welltyped of | ^^^^^ src/Dhall/LSP/Handlers.hs:145:37: error: " Couldn't match expected type Int with actual type UInt " In the expression: _character In the first argument of typeAt, namely (_line, _character) In the expression: typeAt (_line, _character) welltyped | 145 | case typeAt (_line, _character) welltyped of | ^^^^^^^^^^ src/Dhall/LSP/Handlers.hs:154:34: error: " Couldn't match expected type Int with actual type UInt " In the expression: _line In the second argument of (<=), namely (_line, _character) In the first argument of (&&), namely left <= (_line, _character) | 154 | left <= (_line, _character) && (_line, _character) <= right | ^^^^^ src/Dhall/LSP/Handlers.hs:154:41: error: " Couldn't match expected type Int with actual type UInt " In the expression: _character In the second argument of (<=), namely (_line, _character) In the first argument of (&&), namely left <= (_line, _character) | 154 | left <= (_line, _character) && (_line, _character) <= right | ^^^^^^^^^^ src/Dhall/LSP/Handlers.hs:154:79: error: " Couldn't match type Int with UInt Expected type: (UInt, UInt) Actual type: Dhall.LSP.Backend.Diagnostics.Position " In the second argument of (<=), namely right In the second argument of (&&), namely (_line, _character) <= right In the expression: left <= (_line, _character) && (_line, _character) <= right | 154 | left <= (_line, _character) && (_line, _character) <= right | ^^^^^ src/Dhall/LSP/Handlers.hs:306:63: error: " Couldn't match expected type UInt with actual type Int " In the first argument of Position, namely numLines In the second argument of LSP.Types.Range, namely (Position numLines 0) In the expression: LSP.Types.Range (Position 0 0) (Position numLines 0) | 306 | let _range = LSP.Types.Range (Position 0 0) (Position numLines 0) | ^^^^^^^^ src/Dhall/LSP/Handlers.hs:360:57: error: " Couldn't match expected type UInt with actual type Int " In the first argument of Position, namely numLines In the second argument of LSP.Types.Range, namely (Position numLines 0) In the expression: LSP.Types.Range (Position 0 0) (Position numLines 0) | 360 | let _range = LSP.Types.Range (Position 0 0) (Position numLines 0) | ^^^^^^^^ src/Dhall/LSP/Handlers.hs:394:26: error: " Couldn't match expected type Int with actual type UInt " In the expression: line_ In the first argument of annotateLet, namely (line_, col_) In the expression: annotateLet (line_, col_) welltyped | 394 | <- case annotateLet (line_, col_) welltyped of | ^^^^^ src/Dhall/LSP/Handlers.hs:394:33: error: " Couldn't match expected type Int with actual type UInt " In the expression: col_ In the first argument of annotateLet, namely (line_, col_) In the expression: annotateLet (line_, col_) welltyped | 394 | <- case annotateLet (line_, col_) welltyped of | ^^^^ src/Dhall/LSP/Handlers.hs:398:43: error: " Couldn't match expected type UInt with actual type Int " In the first argument of Position, namely (unPos x1 - 1) In the first argument of LSP.Types.Range, namely (Position (unPos x1 - 1) (unPos y1 - 1)) In the expression: LSP.Types.Range (Position (unPos x1 - 1) (unPos y1 - 1)) (Position (unPos x2 - 1) (unPos y2 - 1)) | 398 | let _range = LSP.Types.Range (Position (unPos x1 - 1) (unPos y1 - 1)) | ^^^^^^^^^^^^ src/Dhall/LSP/Handlers.hs:398:58: error: " Couldn't match expected type UInt with actual type Int " In the second argument of Position, namely (unPos y1 - 1) In the first argument of LSP.Types.Range, namely (Position (unPos x1 - 1) (unPos y1 - 1)) In the expression: LSP.Types.Range (Position (unPos x1 - 1) (unPos y1 - 1)) (Position (unPos x2 - 1) (unPos y2 - 1)) | 398 | let _range = LSP.Types.Range (Position (unPos x1 - 1) (unPos y1 - 1)) | ^^^^^^^^^^^^ src/Dhall/LSP/Handlers.hs:399:34: error: " Couldn't match expected type UInt with actual type Int " In the first argument of Position, namely (unPos x2 - 1) In the second argument of LSP.Types.Range, namely (Position (unPos x2 - 1) (unPos y2 - 1)) In the expression: LSP.Types.Range (Position (unPos x1 - 1) (unPos y1 - 1)) (Position (unPos x2 - 1) (unPos y2 - 1)) | 399 | (Position (unPos x2 - 1) (unPos y2 - 1)) | ^^^^^^^^^^^^ src/Dhall/LSP/Handlers.hs:399:49: error: " Couldn't match expected type UInt with actual type Int " In the second argument of Position, namely (unPos y2 - 1) In the second argument of LSP.Types.Range, namely (Position (unPos x2 - 1) (unPos y2 - 1)) In the expression: LSP.Types.Range (Position (unPos x1 - 1) (unPos y1 - 1)) (Position (unPos x2 - 1) (unPos y2 - 1)) | 399 | (Position (unPos x2 - 1) (unPos y2 - 1)) | ^^^^^^^^^^^^ src/Dhall/LSP/Handlers.hs:438:44: error: " Couldn't match expected type UInt with actual type Int " In the first argument of Position, namely x1 In the first argument of LSP.Types.Range, namely (Position x1 y1) In the expression: LSP.Types.Range (Position x1 y1) (Position x2 y2) | 438 | let _range = LSP.Types.Range (Position x1 y1) (Position x2 y2) | ^^ src/Dhall/LSP/Handlers.hs:438:47: error: " Couldn't match expected type UInt with actual type Int " In the second argument of Position, namely y1 In the first argument of LSP.Types.Range, namely (Position x1 y1) In the expression: LSP.Types.Range (Position x1 y1) (Position x2 y2) | 438 | let _range = LSP.Types.Range (Position x1 y1) (Position x2 y2) | ^^ src/Dhall/LSP/Handlers.hs:438:61: error: " Couldn't match expected type UInt with actual type Int " In the first argument of Position, namely x2 In the second argument of LSP.Types.Range, namely (Position x2 y2) In the expression: LSP.Types.Range (Position x1 y1) (Position x2 y2) | 438 | let _range = LSP.Types.Range (Position x1 y1) (Position x2 y2) | ^^ src/Dhall/LSP/Handlers.hs:438:64: error: " Couldn't match expected type UInt with actual type Int " In the second argument of Position, namely y2 In the second argument of LSP.Types.Range, namely (Position x2 y2) In the expression: LSP.Types.Range (Position x1 y1) (Position x2 y2) | 438 | let _range = LSP.Types.Range (Position x1 y1) (Position x2 y2) | ^^ src/Dhall/LSP/Handlers.hs:469:21: error: " Couldn't match expected type Int with actual type UInt " In the expression: line_ In the first argument of exprAt, namely (line_, col_) In the expression: exprAt (line_, col_) expr | 469 | <- case exprAt (line_, col_) expr of | ^^^^^ src/Dhall/LSP/Handlers.hs:469:28: error: " Couldn't match expected type Int with actual type UInt " In the expression: col_ In the first argument of exprAt, namely (line_, col_) In the expression: exprAt (line_, col_) expr | 469 | <- case exprAt (line_, col_) expr of | ^^^^ src/Dhall/LSP/Handlers.hs:487:42: error: " Couldn't match expected type UInt with actual type Int " In the first argument of Position, namely x1 In the first argument of LSP.Types.Range, namely (Position x1 y1) In the expression: LSP.Types.Range (Position x1 y1) (Position x2 y2) | 487 | let _range = LSP.Types.Range (Position x1 y1) (Position x2 y2) | ^^ src/Dhall/LSP/Handlers.hs:487:45: error: " Couldn't match expected type UInt with actual type Int " In the second argument of Position, namely y1 In the first argument of LSP.Types.Range, namely (Position x1 y1) In the expression: LSP.Types.Range (Position x1 y1) (Position x2 y2) | 487 | let _range = LSP.Types.Range (Position x1 y1) (Position x2 y2) | ^^ src/Dhall/LSP/Handlers.hs:487:59: error: " Couldn't match expected type UInt with actual type Int " In the first argument of Position, namely x2 In the second argument of LSP.Types.Range, namely (Position x2 y2) In the expression: LSP.Types.Range (Position x1 y1) (Position x2 y2) | 487 | let _range = LSP.Types.Range (Position x1 y1) (Position x2 y2) | ^^ src/Dhall/LSP/Handlers.hs:487:62: error: " Couldn't match expected type UInt with actual type Int " In the second argument of Position, namely y2 In the second argument of LSP.Types.Range, namely (Position x2 y2) In the expression: LSP.Types.Range (Position x1 y1) (Position x2 y2) | 487 | let _range = LSP.Types.Range (Position x1 y1) (Position x2 y2) | ^^ src/Dhall/LSP/Handlers.hs:510:71: error: " Couldn't match expected type Int with actual type UInt " In the expression: line_ In the second argument of completionQueryAt, namely (line_, col_) In the expression: completionQueryAt txt (line_, col_) | 510 | let (completionLeadup, completionPrefix) = completionQueryAt txt (line_, col_) | ^^^^^ src/Dhall/LSP/Handlers.hs:510:78: error: " Couldn't match expected type Int with actual type UInt " In the expression: col_ In the second argument of completionQueryAt, namely (line_, col_) In the expression: completionQueryAt txt (line_, col_) | 510 | let (completionLeadup, completionPrefix) = completionQueryAt txt (line_, col_) | ^^^^ cabal: Leaving directory '/tmp/cabal-tmp-25829/dhall-lsp-server-1.1.0' cabal: Error: some packages failed to install: dhall-lsp-server-1.1.0-770I9RSVL464qcONhShjAl failed during the building phase. The exception was: ExitFailure 1