Resolving dependencies... Configuring base64-bytestring-1.0.0.1... Configuring byteable-0.1.1... Building base64-bytestring-1.0.0.1... Building byteable-0.1.1... Installed byteable-0.1.1 Configuring cereal-0.5.4.0... Building cereal-0.5.4.0... Configuring data-default-class-0.1.2.0... Installed base64-bytestring-1.0.0.1 Building data-default-class-0.1.2.0... Configuring memory-0.11... Installed data-default-class-0.1.2.0 Building memory-0.11... Configuring hourglass-0.2.10... Installed cereal-0.5.4.0 Building hourglass-0.2.10... Configuring mtl-2.2.1... Installed memory-0.11 Building mtl-2.2.1... Configuring stm-2.4.4.1... Installed hourglass-0.2.10 Building stm-2.4.4.1... Configuring network-2.6.3.1... Installed mtl-2.2.1 Installed stm-2.4.4.1 Configuring asn1-types-0.3.2... Building network-2.6.3.1... Building asn1-types-0.3.2... Configuring cryptonite-0.20... Installed asn1-types-0.3.2 Building cryptonite-0.20... Configuring pem-0.2.2... Installed network-2.6.3.1 Building pem-0.2.2... Configuring async-2.1.1... Installed pem-0.2.2 Building async-2.1.1... Installed async-2.1.1 Configuring asn1-encoding-0.9.4... Building asn1-encoding-0.9.4... Installed asn1-encoding-0.9.4 Configuring asn1-parse-0.9.4... Building asn1-parse-0.9.4... Installed asn1-parse-0.9.4 Installed cryptonite-0.20 Configuring x509-1.6.4... Building x509-1.6.4... Installed x509-1.6.4 Configuring x509-store-1.6.2... Building x509-store-1.6.2... Installed x509-store-1.6.2 Configuring x509-validation-1.6.5... Building x509-validation-1.6.5... Installed x509-validation-1.6.5 Configuring tls-1.3.4... Building tls-1.3.4... Failed to install tls-1.3.4 Build log ( /home/builder/.cabal/logs/tls-1.3.4.log ): cabal: Entering directory '/tmp/cabal-tmp-4166/tls-1.3.4' Configuring tls-1.3.4... Building tls-1.3.4... Preprocessing library tls-1.3.4... [ 1 of 50] Compiling Network.TLS.X509 ( Network/TLS/X509.hs, dist/build/Network/TLS/X509.o ) [ 2 of 50] Compiling Network.TLS.Util.Serialization ( Network/TLS/Util/Serialization.hs, dist/build/Network/TLS/Util/Serialization.o ) [ 3 of 50] Compiling Network.TLS.Util.ASN1 ( Network/TLS/Util/ASN1.hs, dist/build/Network/TLS/Util/ASN1.o ) [ 4 of 50] Compiling Network.TLS.Types ( Network/TLS/Types.hs, dist/build/Network/TLS/Types.o ) [ 5 of 50] Compiling Network.TLS.Session ( Network/TLS/Session.hs, dist/build/Network/TLS/Session.o ) [ 6 of 50] Compiling Network.TLS.RNG ( Network/TLS/RNG.hs, dist/build/Network/TLS/RNG.o ) [ 7 of 50] Compiling Network.TLS.Measurement ( Network/TLS/Measurement.hs, dist/build/Network/TLS/Measurement.o ) [ 8 of 50] Compiling Network.TLS.Extension.EC ( Network/TLS/Extension/EC.hs, dist/build/Network/TLS/Extension/EC.o ) [ 9 of 50] Compiling Network.TLS.ErrT ( Network/TLS/ErrT.hs, dist/build/Network/TLS/ErrT.o ) [10 of 50] Compiling Network.TLS.Crypto.ECDH ( Network/TLS/Crypto/ECDH.hs, dist/build/Network/TLS/Crypto/ECDH.o ) Network/TLS/Crypto/ECDH.hs:60:26: error: • Couldn't match expected type ‘Integer’ with actual type ‘memory-0.11:Data.ByteArray.ScrubbedBytes.ScrubbedBytes’ • In the first argument of ‘i2osp’, namely ‘sk’ In the second argument of ‘($)’, namely ‘i2osp sk’ In the expression: Just $ i2osp sk cabal: Leaving directory '/tmp/cabal-tmp-4166/tls-1.3.4' cabal: Error: some packages failed to install: tls-1.3.4 failed during the building phase. The exception was: ExitFailure 1