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.2 Starting base-orphans-0.8.2 Starting SHA-1.6.4.4 Starting base-compat-0.11.1 Building StateVar-1.2 Building base-orphans-0.8.2 Building base-compat-0.11.1 Building SHA-1.6.4.4 Completed StateVar-1.2 Starting base64-bytestring-1.0.0.3 Building base64-bytestring-1.0.0.3 Completed base-orphans-0.8.2 Starting basement-0.0.11 Completed base64-bytestring-1.0.0.3 Starting blaze-builder-0.4.1.0 Building basement-0.0.11 Building blaze-builder-0.4.1.0 Completed base-compat-0.11.1 Starting bytestring-builder-0.10.8.2.0 Completed SHA-1.6.4.4 Starting cabal-doctest-1.0.8 Building bytestring-builder-0.10.8.2.0 Completed blaze-builder-0.4.1.0 Starting cereal-0.5.8.1 Building cabal-doctest-1.0.8 Completed bytestring-builder-0.10.8.2.0 Starting clock-0.8 Building cereal-0.5.8.1 Building clock-0.8 Completed clock-0.8 Starting data-default-class-0.1.2.0 Completed cabal-doctest-1.0.8 Starting dlist-0.8.0.8 Building data-default-class-0.1.2.0 Building dlist-0.8.0.8 Completed data-default-class-0.1.2.0 Starting entropy-0.4.1.6 Completed dlist-0.8.0.8 Starting exceptions-0.10.4 Building exceptions-0.10.4 Completed cereal-0.5.8.1 Starting hashable-1.3.0.0 Building entropy-0.4.1.6 Building hashable-1.3.0.0 Completed exceptions-0.10.4 Starting hourglass-0.2.12 Building hourglass-0.2.12 Completed entropy-0.4.1.6 Starting integer-logarithms-1.0.3 Completed hashable-1.3.0.0 Starting iso8601-time-0.1.5 Building integer-logarithms-1.0.3 Building iso8601-time-0.1.5 Completed iso8601-time-0.1.5 Starting mime-types-0.1.0.9 Completed integer-logarithms-1.0.3 Starting network-3.1.1.1 Building mime-types-0.1.0.9 Building network-3.1.1.1 Completed hourglass-0.2.12 Starting network-uri-2.6.3.0 Building network-uri-2.6.3.0 Completed mime-types-0.1.0.9 Starting old-locale-1.0.0.7 Building old-locale-1.0.0.7 Completed old-locale-1.0.0.7 Starting parser-combinators-1.2.1 Completed network-uri-2.6.3.0 Starting primitive-0.7.0.1 Building parser-combinators-1.2.1 Building primitive-0.7.0.1 Completed parser-combinators-1.2.1 Starting random-1.1 Completed network-3.1.1.1 Starting reflection-2.1.5 Building random-1.1 Building reflection-2.1.5 Completed random-1.1 Starting tagged-0.8.6 Building tagged-0.8.6 Completed reflection-2.1.5 Starting th-abstraction-0.3.2.0 Building th-abstraction-0.3.2.0 Completed tagged-0.8.6 Starting transformers-compat-0.6.5 Building transformers-compat-0.6.5 Completed basement-0.0.11 Starting zlib-0.6.2.1 Building zlib-0.6.2.1 Completed primitive-0.7.0.1 Starting contravariant-1.5.2 Building contravariant-1.5.2 Completed th-abstraction-0.3.2.0 Starting time-compat-1.9.3 Completed transformers-compat-0.6.5 Starting base-compat-batteries-0.11.1 Building time-compat-1.9.3 Building base-compat-batteries-0.11.1 Completed contravariant-1.5.2 Starting data-default-instances-containers-0.0.1 Building data-default-instances-containers-0.0.1 Completed zlib-0.6.2.1 Starting cookie-0.4.5 Completed data-default-instances-containers-0.0.1 Starting data-default-instances-dlist-0.0.1 Building cookie-0.4.5 Completed time-compat-1.9.3 Starting safe-exceptions-0.1.7.0 Building data-default-instances-dlist-0.0.1 Building safe-exceptions-0.1.7.0 Completed data-default-instances-dlist-0.0.1 Starting unordered-containers-0.2.10.0 Completed base-compat-batteries-0.11.1 Starting case-insensitive-1.2.1.0 Completed cookie-0.4.5 Starting async-2.2.2 Building unordered-containers-0.2.10.0 Building case-insensitive-1.2.1.0 Building async-2.2.2 Completed safe-exceptions-0.1.7.0 Starting data-default-instances-old-locale-0.0.1 Building data-default-instances-old-locale-0.0.1 Completed case-insensitive-1.2.1.0 Starting uuid-types-1.0.3 Completed data-default-instances-old-locale-0.0.1 Starting splitmix-0.0.4 Building uuid-types-1.0.3 Completed async-2.2.2 Starting retry-0.8.1.2 Building splitmix-0.0.4 Building retry-0.8.1.2 Completed splitmix-0.0.4 Starting distributive-0.6.2 Completed uuid-types-1.0.3 Starting crypto-api-0.13.3 Completed retry-0.8.1.2 Starting socks-0.6.1 Building crypto-api-0.13.3 Building socks-0.6.1 Building distributive-0.6.2 Completed unordered-containers-0.2.10.0 Starting memory-0.15.0 Building memory-0.15.0 Completed distributive-0.6.2 Starting vector-0.12.1.2 Completed socks-0.6.1 Starting scientific-0.3.6.2 Building vector-0.12.1.2 Building scientific-0.3.6.2 Completed crypto-api-0.13.3 Starting transformers-base-0.4.5.2 Building transformers-base-0.4.5.2 Completed transformers-base-0.4.5.2 Starting MonadRandom-0.5.1.2 Completed scientific-0.3.6.2 Starting http-types-0.12.3 Building MonadRandom-0.5.1.2 Building http-types-0.12.3 Completed memory-0.15.0 Starting data-default-0.7.1.1 Building data-default-0.7.1.1 Completed MonadRandom-0.5.1.2 Starting streaming-commons-0.2.1.2 Completed http-types-0.12.3 Starting QuickCheck-2.14 Completed data-default-0.7.1.1 Starting comonad-5.0.6 Building streaming-commons-0.2.1.2 Building QuickCheck-2.14 Building comonad-5.0.6 Completed comonad-5.0.6 Starting monad-control-1.0.2.3 Completed streaming-commons-0.2.1.2 Starting megaparsec-8.0.0 Building monad-control-1.0.2.3 Building megaparsec-8.0.0 Completed monad-control-1.0.2.3 Starting attoparsec-0.13.2.4 Building attoparsec-0.13.2.4 Completed attoparsec-0.13.2.4 Starting pem-0.2.4 Completed megaparsec-8.0.0 Starting cryptonite-0.26 Building pem-0.2.4 Completed QuickCheck-2.14 Starting asn1-types-0.3.4 Building cryptonite-0.26 Building asn1-types-0.3.4 Completed pem-0.2.4 Starting bifunctors-5.5.7 Building bifunctors-5.5.7 Completed vector-0.12.1.2 Starting http-client-0.6.4.1 Completed asn1-types-0.3.4 Starting websockets-0.12.7.0 Building http-client-0.6.4.1 Building websockets-0.12.7.0 Completed websockets-0.12.7.0 Starting attoparsec-iso8601-1.0.1.0 Building attoparsec-iso8601-1.0.1.0 Completed bifunctors-5.5.7 Starting aeson-1.4.7.1 Completed attoparsec-iso8601-1.0.1.0 Starting JuicyPixels-3.3.5 Building aeson-1.4.7.1 Building JuicyPixels-3.3.5 Completed http-client-0.6.4.1 Starting asn1-encoding-0.9.6 Building asn1-encoding-0.9.6 Completed asn1-encoding-0.9.6 Starting profunctors-5.5.2 Building profunctors-5.5.2 Completed profunctors-5.5.2 Starting http-api-data-0.4.1.1 Building http-api-data-0.4.1.1 Completed http-api-data-0.4.1.1 Starting crypto-pubkey-types-0.4.3 Building crypto-pubkey-types-0.4.3 Completed aeson-1.4.7.1 Starting asn1-parse-0.9.5 Completed crypto-pubkey-types-0.4.3 Starting modern-uri-0.3.2.0 Building asn1-parse-0.9.5 Building modern-uri-0.3.2.0 Completed asn1-parse-0.9.5 Starting emoji-0.1.0.2 Building emoji-0.1.0.2 Completed JuicyPixels-3.3.5 Starting RSA-2.4.1 Building RSA-2.4.1 Completed RSA-2.4.1 Starting authenticate-oauth-1.6.0.1 Building authenticate-oauth-1.6.0.1 Completed modern-uri-0.3.2.0 Completed authenticate-oauth-1.6.0.1 Completed cryptonite-0.26 Starting x509-1.7.5 Completed emoji-0.1.0.2 Building x509-1.7.5 Completed x509-1.7.5 Starting x509-store-1.6.7 Building x509-store-1.6.7 Completed x509-store-1.6.7 Starting x509-system-1.6.6 Starting x509-validation-1.6.11 Building x509-system-1.6.6 Building x509-validation-1.6.11 Completed x509-system-1.6.6 Completed x509-validation-1.6.11 Starting tls-1.5.4 Building tls-1.5.4 Completed tls-1.5.4 Starting connection-0.3.1 Building connection-0.3.1 Completed connection-0.3.1 Starting wuss-1.1.16 Starting http-client-tls-0.3.5.3 Building http-client-tls-0.3.5.3 Building wuss-1.1.16 Completed wuss-1.1.16 Completed http-client-tls-0.3.5.3 Starting req-3.1.0 Building req-3.1.0 Completed req-3.1.0 Starting discord-haskell-1.5.1 Building discord-haskell-1.5.1 Failed to install discord-haskell-1.5.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/discord-haskell-1.5.1-9erux3VE29r3tbvaBHppe2.log ): cabal: Entering directory '/tmp/cabal-tmp-22161/discord-haskell-1.5.1' Configuring discord-haskell-1.5.1... Preprocessing library for discord-haskell-1.5.1.. Building library for discord-haskell-1.5.1.. [ 1 of 25] Compiling Discord.Internal.Types.Embed ( src/Discord/Internal/Types/Embed.hs, dist/build/Discord/Internal/Types/Embed.o ) [ 2 of 25] Compiling Discord.Internal.Types.Prelude ( src/Discord/Internal/Types/Prelude.hs, dist/build/Discord/Internal/Types/Prelude.o ) [ 3 of 25] Compiling Discord.Internal.Types.User ( src/Discord/Internal/Types/User.hs, dist/build/Discord/Internal/Types/User.o ) [ 4 of 25] Compiling Discord.Internal.Types.Channel ( src/Discord/Internal/Types/Channel.hs, dist/build/Discord/Internal/Types/Channel.o ) [ 5 of 25] Compiling Discord.Internal.Types.Guild ( src/Discord/Internal/Types/Guild.hs, dist/build/Discord/Internal/Types/Guild.o ) [ 6 of 25] Compiling Discord.Internal.Types.Events ( src/Discord/Internal/Types/Events.hs, dist/build/Discord/Internal/Types/Events.o ) [ 7 of 25] Compiling Discord.Internal.Types.Gateway ( src/Discord/Internal/Types/Gateway.hs, dist/build/Discord/Internal/Types/Gateway.o ) [ 8 of 25] Compiling Discord.Internal.Types ( src/Discord/Internal/Types.hs, dist/build/Discord/Internal/Types.o ) [ 9 of 25] Compiling Discord.Internal.Rest.Prelude ( src/Discord/Internal/Rest/Prelude.hs, dist/build/Discord/Internal/Rest/Prelude.o ) [10 of 25] Compiling Discord.Internal.Rest.Webhook ( src/Discord/Internal/Rest/Webhook.hs, dist/build/Discord/Internal/Rest/Webhook.o ) [11 of 25] Compiling Discord.Internal.Rest.Voice ( src/Discord/Internal/Rest/Voice.hs, dist/build/Discord/Internal/Rest/Voice.o ) [12 of 25] Compiling Discord.Internal.Rest.User ( src/Discord/Internal/Rest/User.hs, dist/build/Discord/Internal/Rest/User.o ) [13 of 25] Compiling Discord.Internal.Rest.Invite ( src/Discord/Internal/Rest/Invite.hs, dist/build/Discord/Internal/Rest/Invite.o ) [14 of 25] Compiling Discord.Internal.Rest.HTTP ( src/Discord/Internal/Rest/HTTP.hs, dist/build/Discord/Internal/Rest/HTTP.o ) [15 of 25] Compiling Discord.Internal.Rest.Guild ( src/Discord/Internal/Rest/Guild.hs, dist/build/Discord/Internal/Rest/Guild.o ) [16 of 25] Compiling Discord.Internal.Rest.Emoji ( src/Discord/Internal/Rest/Emoji.hs, dist/build/Discord/Internal/Rest/Emoji.o ) [17 of 25] Compiling Discord.Internal.Rest.Channel ( src/Discord/Internal/Rest/Channel.hs, dist/build/Discord/Internal/Rest/Channel.o ) [18 of 25] Compiling Discord.Internal.Rest ( src/Discord/Internal/Rest.hs, dist/build/Discord/Internal/Rest.o ) [19 of 25] Compiling Discord.Internal.Gateway.EventLoop ( src/Discord/Internal/Gateway/EventLoop.hs, dist/build/Discord/Internal/Gateway/EventLoop.o ) [20 of 25] Compiling Discord.Internal.Gateway.Cache ( src/Discord/Internal/Gateway/Cache.hs, dist/build/Discord/Internal/Gateway/Cache.o ) [21 of 25] Compiling Discord.Internal.Gateway ( src/Discord/Internal/Gateway.hs, dist/build/Discord/Internal/Gateway.o ) [22 of 25] Compiling Discord.Handle ( src/Discord/Handle.hs, dist/build/Discord/Handle.o ) [23 of 25] Compiling Discord ( src/Discord.hs, dist/build/Discord.o ) [24 of 25] Compiling Discord.Requests ( src/Discord/Requests.hs, dist/build/Discord/Requests.o ) [25 of 25] Compiling Discord.Types ( src/Discord/Types.hs, dist/build/Discord/Types.o ) Preprocessing executable 'ping-pong' for discord-haskell-1.5.1.. Building executable 'ping-pong' for discord-haskell-1.5.1.. [1 of 1] Compiling Main ( examples/ping-pong.hs, dist/build/ping-pong/ping-pong-tmp/Main.o ) examples/ping-pong.hs:7:1: error: Could not load module ‘Data.ByteString’ It is a member of the hidden package ‘bytestring-0.10.8.2’. Perhaps you need to add ‘bytestring’ to the build-depends in your .cabal file. Use -v to see a list of the files searched for. | 7 | import qualified Data.ByteString as B | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-22161/discord-haskell-1.5.1' cabal: Error: some packages failed to install: discord-haskell-1.5.1-9erux3VE29r3tbvaBHppe2 failed during the building phase. The exception was: ExitFailure 1