Resolving dependencies... Configuring colour-2.3.3... Configuring basement-0.0.4... Building colour-2.3.3... Building basement-0.0.4... Installed colour-2.3.3 Configuring mtl-2.2.1... Building mtl-2.2.1... Installed mtl-2.2.1 Configuring stm-2.4.4.1... Building stm-2.4.4.1... Configuring safe-0.3.15... Installed stm-2.4.4.1 Building safe-0.3.15... Configuring text-1.2.2.2... Installed safe-0.3.15 Building text-1.2.2.2... Configuring transformers-compat-0.5.1.4... Installed basement-0.0.4 Building transformers-compat-0.5.1.4... Configuring ansi-terminal-0.7.1.1... Installed transformers-compat-0.5.1.4 Building ansi-terminal-0.7.1.1... Installed text-1.2.2.2 Configuring mtl-compat-0.2.1.3... Building mtl-compat-0.2.1.3... Configuring async-2.1.1.1... Installed mtl-compat-0.2.1.3 Building async-2.1.1.1... Configuring foundation-0.0.17... Installed ansi-terminal-0.7.1.1 Building foundation-0.0.17... Configuring hashable-1.2.6.1... Installed async-2.1.1.1 Building hashable-1.2.6.1... Installed hashable-1.2.6.1 Configuring ansi-wl-pprint-0.6.8.1... Building ansi-wl-pprint-0.6.8.1... Configuring protolude-0.2... Installed ansi-wl-pprint-0.6.8.1 Building protolude-0.2... Installed protolude-0.2 Configuring optparse-applicative-0.14.0.0... Building optparse-applicative-0.14.0.0... Installed optparse-applicative-0.14.0.0 Installed foundation-0.0.17 Configuring memory-0.14.8... Building memory-0.14.8... Installed memory-0.14.8 Configuring cryptonite-0.24... Building cryptonite-0.24... Installed cryptonite-0.24 Configuring spake2-0.3.0... Building spake2-0.3.0... Failed to install spake2-0.3.0 Build log ( /home/builder/.cabal/logs/spake2-0.3.0.log ): cabal: Entering directory '/tmp/cabal-tmp-15161/spake2-0.3.0' Configuring spake2-0.3.0... Building spake2-0.3.0... Preprocessing library spake2-0.3.0... [1 of 7] Compiling Crypto.Spake2.Util ( src/Crypto/Spake2/Util.hs, dist/build/Crypto/Spake2/Util.o ) [2 of 7] Compiling Crypto.Spake2.Group ( src/Crypto/Spake2/Group.hs, dist/build/Crypto/Spake2/Group.o ) [3 of 7] Compiling Crypto.Spake2.Groups.Ed25519 ( src/Crypto/Spake2/Groups/Ed25519.hs, dist/build/Crypto/Spake2/Groups/Ed25519.o ) [4 of 7] Compiling Crypto.Spake2.Groups.IntegerGroup ( src/Crypto/Spake2/Groups/IntegerGroup.hs, dist/build/Crypto/Spake2/Groups/IntegerGroup.o ) [5 of 7] Compiling Crypto.Spake2.Groups ( src/Crypto/Spake2/Groups.hs, dist/build/Crypto/Spake2/Groups.o ) [6 of 7] Compiling Crypto.Spake2.Math ( src/Crypto/Spake2/Math.hs, dist/build/Crypto/Spake2/Math.o ) [7 of 7] Compiling Crypto.Spake2 ( src/Crypto/Spake2.hs, dist/build/Crypto/Spake2.o ) Preprocessing executable 'haskell-spake2-interop-entrypoint' for spake2-0.3.0... [1 of 1] Compiling Main ( cmd/interop-entrypoint/Main.hs, dist/build/haskell-spake2-interop-entrypoint/haskell-spake2-interop-entrypoint-tmp/Main.o ) cmd/interop-entrypoint/Main.hs:61:37: error: • Ambiguous type variable ‘a0’ arising from a use of ‘toS’ prevents the constraint ‘(StringConv a0 ByteString)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. These potential instances exist: instance StringConv ByteString ByteString -- Defined in ‘protolude-0.2:Conv’ instance StringConv Text ByteString -- Defined in ‘protolude-0.2:Conv’ instance StringConv GHC.Base.String ByteString -- Defined in ‘protolude-0.2:Conv’ ...plus two instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the second argument of ‘(.)’, namely ‘toS’ In the first argument of ‘(<$>)’, namely ‘makePassword . toS’ In the expression: makePassword . toS <$> str cmd/interop-entrypoint/Main.hs:61:45: error: • Ambiguous type variable ‘a0’ arising from a use of ‘str’ prevents the constraint ‘(IsString a0)’ from being solved. Probable fix: use a type annotation to specify what ‘a0’ should be. These potential instances exist: instance IsString ByteString -- Defined in ‘bytestring-0.10.8.1:Data.ByteString.Internal’ instance IsString Text -- Defined in ‘text-1.2.2.2:Data.Text’ instance a ~ Char => IsString [a] -- Defined in ‘Data.String’ ...plus five instances involving out-of-scope types (use -fprint-potential-instances to see them all) • In the second argument of ‘(<$>)’, namely ‘str’ In the expression: makePassword . toS <$> str In an equation for ‘passwordParser’: passwordParser = makePassword . toS <$> str cabal: Leaving directory '/tmp/cabal-tmp-15161/spake2-0.3.0' cabal: Error: some packages failed to install: spake2-0.3.0 failed during the building phase. The exception was: ExitFailure 1