Resolving dependencies... Starting appar-0.1.8 Starting StateVar-1.2.2 Starting auto-update-0.1.6 Starting base-compat-0.12.1 Building auto-update-0.1.6 Building appar-0.1.8 Building StateVar-1.2.2 Building base-compat-0.12.1 Completed StateVar-1.2.2 Starting base-orphans-0.8.6 Completed appar-0.1.8 Starting base-unicode-symbols-0.2.4.2 Completed auto-update-0.1.6 Starting base64-bytestring-1.2.1.0 Building base-orphans-0.8.6 Building base-unicode-symbols-0.2.4.2 Building base64-bytestring-1.2.1.0 Completed base-unicode-symbols-0.2.4.2 Starting basement-0.0.12 Building basement-0.0.12 Completed base64-bytestring-1.2.1.0 Starting blaze-builder-0.4.2.2 Building blaze-builder-0.4.2.2 Completed base-compat-0.12.1 Starting bsb-http-chunked-0.0.0.4 Building bsb-http-chunked-0.0.0.4 Completed base-orphans-0.8.6 Starting byteorder-1.0.4 Completed bsb-http-chunked-0.0.0.4 Starting cabal-doctest-1.0.9 Building byteorder-1.0.4 Building cabal-doctest-1.0.9 Completed blaze-builder-0.4.2.2 Starting call-stack-0.4.0 Completed byteorder-1.0.4 Starting colour-2.3.6 Building call-stack-0.4.0 Building colour-2.3.6 Completed call-stack-0.4.0 Starting data-default-class-0.1.2.0 Completed cabal-doctest-1.0.9 Starting dlist-1.0 Building data-default-class-0.1.2.0 Building dlist-1.0 Completed data-default-class-0.1.2.0 Starting easy-file-0.2.2 Building easy-file-0.2.2 Completed dlist-1.0 Starting fail-4.9.0.0 Completed easy-file-0.2.2 Building fail-4.9.0.0 Starting haskell-src-exts-1.23.1 Completed fail-4.9.0.0 Starting hourglass-0.2.12 Completed colour-2.3.6 Starting hsyslog-5.0.2 Building hourglass-0.2.12 Building haskell-src-exts-1.23.1 Building hsyslog-5.0.2 Completed hsyslog-5.0.2 Starting indexed-traversable-0.1.2 Building indexed-traversable-0.1.2 Completed hourglass-0.2.12 Starting integer-logarithms-1.0.3.1 Completed indexed-traversable-0.1.2 Starting labels-0.3.3 Building integer-logarithms-1.0.3.1 Building labels-0.3.3 Completed integer-logarithms-1.0.3.1 Starting lift-type-0.1.0.1 Building lift-type-0.1.0.1 Completed lift-type-0.1.0.1 Starting monad-loops-0.4.3 Building monad-loops-0.4.3 Completed monad-loops-0.4.3 Starting nats-1.1.2 Building nats-1.1.2 Completed nats-1.1.2 Starting network-3.1.2.7 Building network-3.1.2.7 Completed basement-0.0.12 Starting network-byte-order-0.1.6 Building network-byte-order-0.1.6 Completed network-3.1.2.7 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Completed labels-0.3.3 Starting path-pieces-0.2.1 Completed network-byte-order-0.1.6 Starting persistent-template-2.12.0.0 Completed old-locale-1.0.0.7 Starting primitive-0.7.3.0 Building path-pieces-0.2.1 Building persistent-template-2.12.0.0 Building primitive-0.7.3.0 Completed persistent-template-2.12.0.0 Starting regex-base-0.94.0.2 Building regex-base-0.94.0.2 Completed path-pieces-0.2.1 Starting setlocale-1.0.0.10 Building setlocale-1.0.0.10 Completed setlocale-1.0.0.10 Starting silently-1.2.5.2 Completed regex-base-0.94.0.2 Starting split-0.2.3.4 Building silently-1.2.5.2 Building split-0.2.3.4 Completed silently-1.2.5.2 Starting splitmix-0.1.0.4 Building splitmix-0.1.0.4 Completed split-0.2.3.4 Starting stm-chans-3.0.0.6 Building stm-chans-3.0.0.6 Completed splitmix-0.1.0.4 Starting syb-0.7.2.1 Completed stm-chans-3.0.0.6 Building syb-0.7.2.1 Starting tagged-0.8.6.1 Building tagged-0.8.6.1 Completed tagged-0.8.6.1 Starting th-abstraction-0.4.3.0 Completed syb-0.7.2.1 Starting thread-local-storage-0.2 Completed primitive-0.7.3.0 Building th-abstraction-0.4.3.0 Starting transformers-compat-0.7.1 Building thread-local-storage-0.2 Building transformers-compat-0.7.1 Completed thread-local-storage-0.2 Starting unix-compat-0.5.4 Building unix-compat-0.5.4 Completed transformers-compat-0.7.1 Starting unliftio-core-0.2.0.1 Building unliftio-core-0.2.0.1 Completed unix-compat-0.5.4 Starting word8-0.1.3 Completed th-abstraction-0.4.3.0 Starting zlib-0.6.2.3 Building word8-0.1.3 Building zlib-0.6.2.3 Completed unliftio-core-0.2.0.1 Starting contravariant-1.5.5 Building contravariant-1.5.5 Completed word8-0.1.3 Starting time-manager-0.0.0 Building time-manager-0.0.0 Completed time-manager-0.0.0 Starting hashable-1.4.0.2 Building hashable-1.4.0.2 Completed contravariant-1.5.5 Starting blaze-markup-0.8.2.8 Building blaze-markup-0.8.2.8 Completed zlib-0.6.2.3 Starting HUnit-1.6.2.0 Building HUnit-1.6.2.0 Completed hashable-1.4.0.2 Starting data-default-instances-containers-0.0.1 Completed blaze-markup-0.8.2.8 Starting cookie-0.4.5 Completed HUnit-1.6.2.0 Starting data-default-instances-dlist-0.0.1 Building data-default-instances-containers-0.0.1 Building cookie-0.4.5 Building data-default-instances-dlist-0.0.1 Completed data-default-instances-containers-0.0.1 Starting ansi-terminal-0.11.1 Completed data-default-instances-dlist-0.0.1 Starting memory-0.16.0 Building ansi-terminal-0.11.1 Building memory-0.16.0 Completed cookie-0.4.5 Starting simple-sendfile-0.2.30 Building simple-sendfile-0.2.30 Completed simple-sendfile-0.2.30 Starting iproute-1.7.12 Building iproute-1.7.12 Completed ansi-terminal-0.11.1 Starting old-time-1.1.0.3 Building old-time-1.1.0.3 Completed iproute-1.7.12 Starting data-default-instances-old-locale-0.0.1 Completed memory-0.16.0 Starting regex-posix-0.96.0.1 Completed old-time-1.1.0.3 Starting random-1.2.1 Building data-default-instances-old-locale-0.0.1 Building regex-posix-0.96.0.1 Building random-1.2.1 Completed data-default-instances-old-locale-0.0.1 Starting distributive-0.6.2.1 Building distributive-0.6.2.1 Completed distributive-0.6.2.1 Starting dates-0.2.3.2 Completed regex-posix-0.96.0.1 Starting vector-0.12.3.1 Building dates-0.2.3.2 Building vector-0.12.3.1 Completed dates-0.2.3.2 Starting transformers-base-0.4.6 Completed random-1.2.1 Starting Glob-0.10.2 Building transformers-base-0.4.6 Building Glob-0.10.2 Completed transformers-base-0.4.6 Starting th-lift-0.8.2 Building th-lift-0.8.2 Completed Glob-0.10.2 Starting resourcet-1.2.4.3 Completed th-lift-0.8.2 Starting unordered-containers-0.2.16.0 Building resourcet-1.2.4.3 Building unordered-containers-0.2.16.0 Completed resourcet-1.2.4.3 Starting time-compat-1.9.6.1 Building time-compat-1.9.6.1 Completed time-compat-1.9.6.1 Starting text-short-0.1.5 Building text-short-0.1.5 Completed unordered-containers-0.2.16.0 Starting scientific-0.3.7.0 Building scientific-0.3.7.0 Completed text-short-0.1.5 Starting psqueues-0.2.7.3 Building psqueues-0.2.7.3 Completed haskell-src-exts-1.23.1 Starting data-fix-0.3.2 Building data-fix-0.3.2 Completed scientific-0.3.7.0 Starting case-insensitive-1.2.1.0 Building case-insensitive-1.2.1.0 Completed data-fix-0.3.2 Starting async-2.2.4 Building async-2.2.4 Completed case-insensitive-1.2.1.0 Starting OneTuple-0.3.1 Building OneTuple-0.3.1 Completed psqueues-0.2.7.3 Starting blaze-html-0.9.1.2 Completed async-2.2.4 Starting pem-0.2.4 Building blaze-html-0.9.1.2 Building pem-0.2.4 Completed OneTuple-0.3.1 Starting cryptonite-0.29 Building cryptonite-0.29 Completed pem-0.2.4 Starting asn1-types-0.3.4 Building asn1-types-0.3.4 Completed vector-0.12.3.1 Starting unix-time-0.4.7 Completed asn1-types-0.3.4 Starting data-default-0.7.1.1 Building data-default-0.7.1.1 Building unix-time-0.4.7 Completed data-default-0.7.1.1 Starting comonad-5.0.8 Building comonad-5.0.8 Completed unix-time-0.4.7 Starting regex-compat-0.95.2.1 Building regex-compat-0.95.2.1 Completed regex-compat-0.95.2.1 Starting uuid-types-1.0.5 Completed comonad-5.0.8 Starting QuickCheck-2.14.2 Building uuid-types-1.0.5 Building QuickCheck-2.14.2 Completed uuid-types-1.0.5 Starting monad-control-1.0.3.1 Building monad-control-1.0.3.1 Completed blaze-html-0.9.1.2 Starting vault-0.3.1.5 Building vault-0.3.1.5 Completed monad-control-1.0.3.1 Starting uniplate-1.6.13 Building uniplate-1.6.13 Completed vault-0.3.1.5 Starting attoparsec-0.14.4 Building attoparsec-0.14.4 Completed uniplate-1.6.13 Starting http-types-0.12.3 Building http-types-0.12.3 Completed attoparsec-0.14.4 Starting unliftio-0.2.20.1 Completed http-types-0.12.3 Starting typed-process-0.2.8.0 Building unliftio-0.2.20.1 Building typed-process-0.2.8.0 Completed QuickCheck-2.14.2 Starting streaming-commons-0.2.2.4 Building streaming-commons-0.2.2.4 Completed typed-process-0.2.8.0 Starting base-compat-batteries-0.12.1 Building base-compat-batteries-0.12.1 Completed streaming-commons-0.2.2.4 Starting vector-algorithms-0.8.0.4 Building vector-algorithms-0.8.0.4 Completed unliftio-0.2.20.1 Starting th-lift-instances-0.1.19 Completed base-compat-batteries-0.12.1 Starting indexed-traversable-instances-0.1.1 Building th-lift-instances-0.1.19 Building indexed-traversable-instances-0.1.1 Completed indexed-traversable-instances-0.1.1 Starting asn1-encoding-0.9.6 Completed th-lift-instances-0.1.19 Starting fast-logger-3.1.1 Building asn1-encoding-0.9.6 Building fast-logger-3.1.1 Completed fast-logger-3.1.1 Starting bifunctors-5.5.11 Completed asn1-encoding-0.9.6 Starting resource-pool-0.2.3.2 Building bifunctors-5.5.11 Building resource-pool-0.2.3.2 Completed vector-algorithms-0.8.0.4 Starting lifted-base-0.2.3.12 Building lifted-base-0.2.3.12 Completed resource-pool-0.2.3.2 Starting haskell-gettext-0.1.2.0 Building haskell-gettext-0.1.2.0 Completed lifted-base-0.2.3.12 Starting http-date-0.0.11 Building http-date-0.0.11 Completed haskell-gettext-0.1.2.0 Starting wai-3.2.3 Building wai-3.2.3 Completed http-date-0.0.11 Starting http2-3.0.3 Building http2-3.0.3 Completed wai-3.2.3 Starting attoparsec-iso8601-1.0.2.1 Building attoparsec-iso8601-1.0.2.1 Completed bifunctors-5.5.11 Starting witherable-0.4.2 Building witherable-0.4.2 Completed attoparsec-iso8601-1.0.2.1 Starting text-format-heavy-0.1.5.3 Building text-format-heavy-0.1.5.3 Completed cryptonite-0.29 Starting asn1-parse-0.9.5 Building asn1-parse-0.9.5 Completed witherable-0.4.2 Starting mono-traversable-1.0.15.3 Building mono-traversable-1.0.15.3 Completed text-format-heavy-0.1.5.3 Starting wai-logger-2.4.0 Completed asn1-parse-0.9.5 Starting semigroupoids-5.3.7 Building semigroupoids-5.3.7 Building wai-logger-2.4.0 Completed wai-logger-2.4.0 Starting assoc-1.0.2 Building assoc-1.0.2 Completed assoc-1.0.2 Starting http-api-data-0.4.3 Completed http2-3.0.3 Starting localize-0.2.0.1 Building http-api-data-0.4.3 Building localize-0.2.0.1 Completed localize-0.2.0.1 Starting x509-1.7.6 Building x509-1.7.6 Completed semigroupoids-5.3.7 Starting these-1.1.1.1 Building these-1.1.1.1 Completed http-api-data-0.4.3 Completed mono-traversable-1.0.15.3 Starting conduit-1.3.4.2 Building conduit-1.3.4.2 Completed these-1.1.1.1 Starting strict-0.4.0.1 Starting semialign-1.2.0.1 Building semialign-1.2.0.1 Building strict-0.4.0.1 Completed x509-1.7.6 Starting warp-3.3.19 Building warp-3.3.19 Completed semialign-1.2.0.1 Completed strict-0.4.0.1 Starting aeson-2.0.3.0 Building aeson-2.0.3.0 Completed warp-3.3.19 Completed conduit-1.3.4.2 Starting libyaml-0.1.2 Starting conduit-extra-1.3.5 Building conduit-extra-1.3.5 Building libyaml-0.1.2 Completed conduit-extra-1.3.5 Starting monad-logger-0.3.36 Building monad-logger-0.3.36 Completed libyaml-0.1.2 Completed monad-logger-0.3.36 Starting heavy-logger-0.3.2.2 Building heavy-logger-0.3.2.2 Completed heavy-logger-0.3.2.2 Completed aeson-2.0.3.0 Starting yaml-0.11.7.0 Starting wai-extra-3.1.8 Starting persistent-2.13.3.0 Building wai-extra-3.1.8 Building yaml-0.11.7.0 Building persistent-2.13.3.0 Completed yaml-0.11.7.0 Completed wai-extra-3.1.8 Starting scotty-0.12 Building scotty-0.12 Completed scotty-0.12 Completed persistent-2.13.3.0 Starting batchd-core-0.1.0.0 Building batchd-core-0.1.0.0 Failed to install batchd-core-0.1.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.10.2/batchd-core-0.1.0.0-4kL8ZwAaaGQGKzY7oudK3f.log ): cabal: Entering directory '/tmp/cabal-tmp-13527/batchd-core-0.1.0.0' Configuring batchd-core-0.1.0.0... Preprocessing library for batchd-core-0.1.0.0.. Building library for batchd-core-0.1.0.0.. [1 of 6] Compiling Batchd.Core.Common.Localize ( src/Batchd/Core/Common/Localize.hs, dist/build/Batchd/Core/Common/Localize.o, dist/build/Batchd/Core/Common/Localize.dyn_o ) [2 of 6] Compiling Batchd.Core.Common.Types ( src/Batchd/Core/Common/Types.hs, dist/build/Batchd/Core/Common/Types.o, dist/build/Batchd/Core/Common/Types.dyn_o ) src/Batchd/Core/Common/Types.hs:137:29: error: " Couldn't match expected type T.Text with actual type Key " In the hController field of a record In the second argument of ($), namely Host {hName = name, hHostName = host_name, hControllerId = controller_id, hPublicKey = public_key, hPrivateKey = private_key, hPassphrase = passphrase, hUserName = user_name, hPort = port, hMaxJobs = max_jobs, hController = controller, hStartupTime = startup_time, hShutdownTimeout = shutdown_timeout, hInputDirectory = input_directory, hOutputDirectory = output_directory, hScriptsDirectory = scripts_directory, hStartupHostCommands = startup_host_commands, hStartupDispatcherCommands = startup_dispatcher_commands, hVariables = variables, hControllerSpecific = specific} In a stmt of a 'do' block: return $ Host {hName = name, hHostName = host_name, hControllerId = controller_id, hPublicKey = public_key, hPrivateKey = private_key, hPassphrase = passphrase, hUserName = user_name, hPort = port, hMaxJobs = max_jobs, hController = controller, hStartupTime = startup_time, hShutdownTimeout = shutdown_timeout, hInputDirectory = input_directory, hOutputDirectory = output_directory, hScriptsDirectory = scripts_directory, hStartupHostCommands = startup_host_commands, hStartupDispatcherCommands = startup_dispatcher_commands, hVariables = variables, hControllerSpecific = specific} | 137 | , hController = controller | ^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-13527/batchd-core-0.1.0.0' cabal: Error: some packages failed to install: batchd-core-0.1.0.0-4kL8ZwAaaGQGKzY7oudK3f failed during the building phase. The exception was: ExitFailure 1