Resolving dependencies... Downloading resource-embed-0.1.0.0... Configuring resource-embed-0.1.0.0... Building resource-embed-0.1.0.0... Failed to install resource-embed-0.1.0.0 Build log ( /home/builder/.cabal/logs/resource-embed-0.1.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-6038/resource-embed-0.1.0.0' Configuring resource-embed-0.1.0.0... Building resource-embed-0.1.0.0... Preprocessing executable 'resource-embed' for resource-embed-0.1.0.0... [1 of 1] Compiling Main ( src/Main.hs, dist/build/resource-embed/resource-embed-tmp/Main.o ) src/Main.hs:107:19: error: • Could not deduce (Num a) arising from the literal ‘15’ from the context: Bits a bound by the type signature for: highNibble :: Bits a => a -> a at src/Main.hs:106:1-32 Possible fix: add (Num a) to the context of the type signature for: highNibble :: Bits a => a -> a • In the second argument of ‘(.&.)’, namely ‘15’ In the first argument of ‘(.)’, namely ‘(.&. 15)’ In the expression: (.&. 15) . (flip shiftR 4) src/Main.hs:110:18: error: • Could not deduce (Num a) arising from the literal ‘15’ from the context: Bits a bound by the type signature for: lowNibble :: Bits a => a -> a at src/Main.hs:109:1-31 Possible fix: add (Num a) to the context of the type signature for: lowNibble :: Bits a => a -> a • In the second argument of ‘(.&.)’, namely ‘15’ In the expression: (.&. 15) In an equation for ‘lowNibble’: lowNibble = (.&. 15) cabal: Leaving directory '/tmp/cabal-tmp-6038/resource-embed-0.1.0.0' cabal: Error: some packages failed to install: resource-embed-0.1.0.0 failed during the building phase. The exception was: ExitFailure 1