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... Downloading symbols-0.2.0.0 Downloaded symbols-0.2.0.0 Starting symbols-0.2.0.0 Building symbols-0.2.0.0 Failed to install symbols-0.2.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.1/symbols-0.2.0.0-7w0QWFm9oznG5kUBzP3kvw.log ): cabal: Entering directory '/tmp/cabal-tmp-2927/symbols-0.2.0.0' Configuring symbols-0.2.0.0... Preprocessing library for symbols-0.2.0.0.. Building library for symbols-0.2.0.0.. [1 of 3] Compiling Data.Symbol.Ascii ( src/Data/Symbol/Ascii.hs, dist/build/Data/Symbol/Ascii.o ) src/Data/Symbol/Ascii.hs:136:41: error: • Expected kind ‘* -> Nat -> Nat’, but ‘acc’ has kind ‘Nat’ • In the first argument of ‘(+)’, namely ‘acc * 10’ In the second argument of ‘ReadNat1’, namely ‘(acc * 10 + ReadDigit x)’ In the type ‘ReadNat1 xs (acc * 10 + ReadDigit x)’ | 136 | ReadNat1 (x ': xs) acc = ReadNat1 xs (acc * 10 + ReadDigit x) | ^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-2927/symbols-0.2.0.0' cabal: Error: some packages failed to install: symbols-0.2.0.0-7w0QWFm9oznG5kUBzP3kvw failed during the building phase. The exception was: ExitFailure 1