Resolving dependencies... Starting base-orphans-0.8.6 Starting integer-logarithms-1.0.3.1 Starting primitive-0.7.4.0 Building base-orphans-0.8.6 Building integer-logarithms-1.0.3.1 Building primitive-0.7.4.0 Completed integer-logarithms-1.0.3.1 Completed base-orphans-0.8.6 Starting hashable-1.4.0.2 Building hashable-1.4.0.2 Completed hashable-1.4.0.2 Completed primitive-0.7.4.0 Starting scientific-0.3.7.0 Building scientific-0.3.7.0 Completed scientific-0.3.7.0 Starting ptr-poker-0.1.2.8 Building ptr-poker-0.1.2.8 Completed ptr-poker-0.1.2.8 Downloading jsonifier-0.2.1 Downloaded jsonifier-0.2.1 Starting jsonifier-0.2.1 Building jsonifier-0.2.1 Failed to install jsonifier-0.2.1 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/jsonifier-0.2.1-AshvtxRHmV0H1e2cZRrbcl.log ): cabal: Entering directory '/tmp/cabal-tmp-20777/jsonifier-0.2.1' Configuring jsonifier-0.2.1... Preprocessing library for jsonifier-0.2.1.. Building library for jsonifier-0.2.1.. [1 of 7] Compiling Jsonifier.Prelude ( library/Jsonifier/Prelude.hs, dist/build/Jsonifier/Prelude.o, dist/build/Jsonifier/Prelude.dyn_o ) [2 of 7] Compiling Jsonifier.Ffi ( library/Jsonifier/Ffi.hs, dist/build/Jsonifier/Ffi.o, dist/build/Jsonifier/Ffi.dyn_o ) [3 of 7] Compiling Jsonifier.Text ( library/Jsonifier/Text.hs, dist/build/Jsonifier/Text.o, dist/build/Jsonifier/Text.dyn_o ) [4 of 7] Compiling Jsonifier.Size ( library/Jsonifier/Size.hs, dist/build/Jsonifier/Size.o, dist/build/Jsonifier/Size.dyn_o ) [5 of 7] Compiling Jsonifier.Poke ( library/Jsonifier/Poke.hs, dist/build/Jsonifier/Poke.o, dist/build/Jsonifier/Poke.dyn_o ) [6 of 7] Compiling Jsonifier.Write ( library/Jsonifier/Write.hs, dist/build/Jsonifier/Write.o, dist/build/Jsonifier/Write.dyn_o ) [7 of 7] Compiling Jsonifier ( library/Jsonifier.hs, dist/build/Jsonifier.o, dist/build/Jsonifier.dyn_o ) library/Jsonifier.hs:94:3: error: " Couldn't match expected type Bool -> Json with actual type Json " Possible cause: write is applied to too many arguments In the expression: write 4 Poke.true In an equation for true: true = write 4 Poke.true | 94 | write 4 Poke.true | ^^^^^^^^^^^^^^^^^ library/Jsonifier.hs:101:3: error: " Couldn't match expected type Bool -> Json with actual type Json " Possible cause: write is applied to too many arguments In the expression: write 5 Poke.false In an equation for false: false = write 5 Poke.false | 101 | write 5 Poke.false | ^^^^^^^^^^^^^^^^^^ library/Jsonifier.hs:109:13: error: " Couldn't match expected type Json with actual type Bool -> Json " Probable cause: true is applied to too few arguments In the expression: true In a case alternative: True -> true In the expression: \case True -> true False -> false | 109 | True -> true | ^^^^ library/Jsonifier.hs:110:14: error: " Couldn't match expected type Json with actual type Bool -> Json " Probable cause: false is applied to too few arguments In the expression: false In a case alternative: False -> false In the expression: \case True -> true False -> false | 110 | False -> false | ^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-20777/jsonifier-0.2.1' cabal: Error: some packages failed to install: jsonifier-0.2.1-AshvtxRHmV0H1e2cZRrbcl failed during the building phase. The exception was: ExitFailure 1