Warning: The install command is a part of the legacy v1 style of cabal usage. Please switch to using either the new project style and the new-install command or the legacy v1-install alias as new-style projects will become the default in the next version of cabal-install. Please file a bug if you cannot replicate a working v1- use case with the new-style commands. For more information, see: https://wiki.haskell.org/Cabal/NewBuild Resolving dependencies... Starting StateVar-1.1.1.1 Starting cabal-doctest-1.0.6 Starting base-orphans-0.8 Starting hashable-1.2.7.0 Building StateVar-1.1.1.1 Building base-orphans-0.8 Building cabal-doctest-1.0.6 Building hashable-1.2.7.0 Completed base-orphans-0.8 Starting integer-logarithms-1.0.2.2 Completed StateVar-1.1.1.1 Starting network-2.8.0.0 Building integer-logarithms-1.0.2.2 Completed cabal-doctest-1.0.6 Starting primitive-0.6.4.0 Building primitive-0.6.4.0 Completed hashable-1.2.7.0 Starting random-1.1 Completed integer-logarithms-1.0.2.2 Starting semigroups-0.18.5 Building random-1.1 Building semigroups-0.18.5 Building network-2.8.0.0 Completed semigroups-0.18.5 Starting split-0.2.3.3 Building split-0.2.3.3 Completed random-1.1 Starting tagged-0.8.6 Building tagged-0.8.6 Completed split-0.2.3.3 Starting th-abstraction-0.2.10.0 Building th-abstraction-0.2.10.0 Completed tagged-0.8.6 Starting transformers-compat-0.6.2 Building transformers-compat-0.6.2 Completed th-abstraction-0.2.10.0 Starting unliftio-core-0.1.2.0 Building unliftio-core-0.1.2.0 Completed network-2.8.0.0 Starting zlib-0.6.2 Completed transformers-compat-0.6.2 Starting contravariant-1.5 Completed unliftio-core-0.1.2.0 Starting unordered-containers-0.2.10.0 Building zlib-0.6.2 Building contravariant-1.5 Building unordered-containers-0.2.10.0 Completed primitive-0.6.4.0 Starting async-2.2.1 Building async-2.2.1 Completed contravariant-1.5 Starting distributive-0.6 Completed async-2.2.1 Starting exceptions-0.10.0 Building exceptions-0.10.0 Completed zlib-0.6.2 Starting vector-0.12.0.2 Building distributive-0.6 Building vector-0.12.0.2 Completed distributive-0.6 Starting scientific-0.3.6.2 Completed exceptions-0.10.0 Starting typed-process-0.2.4.0 Building scientific-0.3.6.2 Building typed-process-0.2.4.0 Completed unordered-containers-0.2.10.0 Starting streaming-commons-0.2.1.0 Building streaming-commons-0.2.1.0 Completed typed-process-0.2.4.0 Starting comonad-5.0.4 Completed scientific-0.3.6.2 Starting resourcet-1.2.2 Building resourcet-1.2.2 Building comonad-5.0.4 Completed resourcet-1.2.2 Starting attoparsec-0.13.2.2 Completed streaming-commons-0.2.1.0 Building attoparsec-0.13.2.2 Completed comonad-5.0.4 Starting bifunctors-5.5.3 Building bifunctors-5.5.3 Completed attoparsec-0.13.2.2 Completed bifunctors-5.5.3 Downloading hw-kafka-client-2.5.0 Downloaded hw-kafka-client-2.5.0 Starting hw-kafka-client-2.5.0 Failed to install hw-kafka-client-2.5.0 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/hw-kafka-client-2.5.0-63Fjg8vomrcFd7S3K3N3Rc.log ): cabal: Entering directory '/tmp/cabal-tmp-13527/hw-kafka-client-2.5.0' Configuring hw-kafka-client-2.5.0... cabal: Missing dependency on a foreign library: * Missing (or bad) C library: rdkafka This problem can usually be solved by installing the system package that provides this library (you may need the "-dev" version). If the library is already installed but in a non-standard location then you can use the flags --extra-include-dirs= and --extra-lib-dirs= to specify where it is.If the library file does exist, it may contain errors that are caught by the C compiler at the preprocessing stage. In this case you can re-run configure with the verbosity flag -v3 to see the error messages. cabal: Leaving directory '/tmp/cabal-tmp-13527/hw-kafka-client-2.5.0' Completed vector-0.12.0.2 cabal: Error: some packages failed to install: hw-kafka-client-2.5.0-63Fjg8vomrcFd7S3K3N3Rc failed during the configure step. The exception was: ExitFailure 1 hw-kafka-conduit-2.6.0-JkIaQtoyxeSFIxWcuaT8Bv depends on hw-kafka-conduit-2.6.0 which failed to install.