Resolving dependencies... Configuring auto-update-0.1.4... Configuring base-compat-0.9.1... Building base-compat-0.9.1... Building auto-update-0.1.4... Installed auto-update-0.1.4 Configuring base-orphans-0.5.4... Building base-orphans-0.5.4... Installed base-compat-0.9.1 Configuring base64-bytestring-1.0.0.1... Configuring byteable-0.1.1... Installed base-orphans-0.5.4 Building base64-bytestring-1.0.0.1... Building byteable-0.1.1... Configuring bytestring-builder-0.10.8.1.0... Installed byteable-0.1.1 Building bytestring-builder-0.10.8.1.0... Configuring cereal-0.5.4.0... Installed base64-bytestring-1.0.0.1 Configuring clock-0.7.2... Installed bytestring-builder-0.10.8.1.0 Building cereal-0.5.4.0... Building clock-0.7.2... Configuring cmdargs-0.10.14... Installed clock-0.7.2 Building cmdargs-0.10.14... Configuring data-default-class-0.1.2.0... Installed cereal-0.5.4.0 Building data-default-class-0.1.2.0... Configuring dlist-0.8.0.2... Installed data-default-class-0.1.2.0 Building dlist-0.8.0.2... Configuring easy-file-0.2.1... Installed dlist-0.8.0.2 Building easy-file-0.2.1... Configuring generic-deriving-1.11.1... Installed easy-file-0.2.1 Building generic-deriving-1.11.1... Configuring hourglass-0.2.10... Installed cmdargs-0.10.14 Building hourglass-0.2.10... Configuring memory-0.13... Installed hourglass-0.2.10 Building memory-0.13... Configuring mtl-2.2.1... Installed generic-deriving-1.11.1 Building mtl-2.2.1... Configuring nats-1.1.1... Installed mtl-2.2.1 Configuring old-locale-1.0.0.7... Installed memory-0.13 Building nats-1.1.1... Building old-locale-1.0.0.7... Configuring network-2.6.3.1... Installed nats-1.1.1 Configuring primes-0.2.1.0... Installed old-locale-1.0.0.7 Building primes-0.2.1.0... Building network-2.6.3.1... Configuring random-1.1... Installed primes-0.2.1.0 Building random-1.1... Configuring regex-applicative-0.3.3... Installed random-1.1 Building regex-applicative-0.3.3... Configuring primitive-0.6.1.0... Installed regex-applicative-0.3.3 Configuring semigroups-0.18.2... Installed network-2.6.3.1 Building primitive-0.6.1.0... Building semigroups-0.18.2... Configuring stm-2.4.4.1... Installed semigroups-0.18.2 Building stm-2.4.4.1... Configuring th-lift-0.7.6... Installed primitive-0.6.1.0 Configuring time-locale-compat-0.1.1.3... Installed stm-2.4.4.1 Building th-lift-0.7.6... Building time-locale-compat-0.1.1.3... Configuring text-1.2.2.1... Installed time-locale-compat-0.1.1.3 Building text-1.2.2.1... Configuring time-units-1.0.0... Installed th-lift-0.7.6 Building time-units-1.0.0... Configuring transformers-compat-0.5.1.4... Installed time-units-1.0.0 Downloading time-interval-0.1.1... Building transformers-compat-0.5.1.4... Configuring utf8-string-1.0.1.1... Installed transformers-compat-0.5.1.4 Building utf8-string-1.0.1.1... Configuring zlib-0.6.1.2... Installed utf8-string-1.0.1.1 Building zlib-0.6.1.2... Installed text-1.2.2.1 Downloading irc-fun-types-0.1.0.0... Configuring libgit-0.3.1... Building libgit-0.3.1... Configuring pem-0.2.2... Installed zlib-0.6.1.2 Building pem-0.2.2... Installed pem-0.2.2 Configuring asn1-types-0.3.2... Installed libgit-0.3.1 Configuring cryptonite-0.20... Building asn1-types-0.3.2... Building cryptonite-0.20... Configuring old-time-1.1.0.3... Installed asn1-types-0.3.2 Building old-time-1.1.0.3... Configuring socks-0.5.5... Installed old-time-1.1.0.3 Building socks-0.5.5... Configuring StateVar-1.1.0.4... Installed socks-0.5.5 Building StateVar-1.1.0.4... Configuring async-2.1.1... Installed StateVar-1.1.0.4 Building async-2.1.1... Configuring time-interval-0.1.1... Installed async-2.1.1 Building time-interval-0.1.1... Configuring vector-0.11.0.0... Installed time-interval-0.1.1 Building vector-0.11.0.0... Configuring tagged-0.8.5... Installed cryptonite-0.20 Building tagged-0.8.5... Configuring exceptions-0.8.3... Installed tagged-0.8.5 Building exceptions-0.8.3... Configuring blaze-builder-0.4.0.2... Installed exceptions-0.8.3 Building blaze-builder-0.4.0.2... Configuring double-conversion-2.0.1.0... Installed vector-0.11.0.0 Configuring hashable-1.2.4.0... Installed blaze-builder-0.4.0.2 Building double-conversion-2.0.1.0... Building hashable-1.2.4.0... Configuring mime-types-0.1.0.7... Installed hashable-1.2.4.0 Building mime-types-0.1.0.7... Configuring parsec-3.1.11... Installed double-conversion-2.0.1.0 Building parsec-3.1.11... Configuring tagsoup-0.14... Installed mime-types-0.1.0.7 Building tagsoup-0.14... Configuring xml-1.3.14... Installed parsec-3.1.11 Building xml-1.3.14... Installed xml-1.3.14 Configuring irc-fun-types-0.1.0.0... Building irc-fun-types-0.1.0.0... Installed irc-fun-types-0.1.0.0 Downloading irc-fun-messages-0.3.0.0... Configuring asn1-encoding-0.9.4... Building asn1-encoding-0.9.4... Installed tagsoup-0.14 Configuring unix-time-0.3.7... Building unix-time-0.3.7... Configuring distributive-0.5.0.2... Installed asn1-encoding-0.9.4 Configuring monoid-subclasses-0.4.3... Installed unix-time-0.3.7 Building monoid-subclasses-0.4.3... Building distributive-0.5.0.2... Configuring cookie-0.4.2.1... Installed distributive-0.5.0.2 Building cookie-0.4.2.1... Configuring streaming-commons-0.1.16... Installed cookie-0.4.2.1 Building streaming-commons-0.1.16... Configuring case-insensitive-1.2.0.7... Installed monoid-subclasses-0.4.3 Configuring scientific-0.3.4.9... Installed streaming-commons-0.1.16 Building case-insensitive-1.2.0.7... Building scientific-0.3.4.9... Configuring unordered-containers-0.2.7.1... Installed case-insensitive-1.2.0.7 Building unordered-containers-0.2.7.1... Configuring void-0.7.1... Installed scientific-0.3.4.9 Building void-0.7.1... Configuring text-format-0.3.1.1... Installed void-0.7.1 Building text-format-0.3.1.1... Configuring network-uri-2.6.1.0... Installed text-format-0.3.1.1 Installed unordered-containers-0.2.7.1 Downloading settings-0.3.0.0... Configuring feed-0.3.11.1... Building network-uri-2.6.1.0... Building feed-0.3.11.1... Installed network-uri-2.6.1.0 Configuring irc-fun-messages-0.3.0.0... Building irc-fun-messages-0.3.0.0... Configuring asn1-parse-0.9.4... Installed irc-fun-messages-0.3.0.0 Building asn1-parse-0.9.4... Configuring fast-logger-2.4.7... Installed feed-0.3.11.1 Installed asn1-parse-0.9.4 Configuring http-types-0.9.1... Building fast-logger-2.4.7... Building http-types-0.9.1... Configuring attoparsec-0.13.1.0... Installed fast-logger-2.4.7 Building attoparsec-0.13.1.0... Configuring contravariant-1.4... Installed http-types-0.9.1 Building contravariant-1.4... Configuring formatting-6.2.4... Installed contravariant-1.4 Building formatting-6.2.4... Configuring settings-0.3.0.0... Installed attoparsec-0.13.1.0 Building settings-0.3.0.0... Configuring HTTP-4000.3.3... Installed formatting-6.2.4 Building HTTP-4000.3.3... Installed settings-0.3.0.0 Configuring x509-1.6.4... Building x509-1.6.4... Configuring comonad-5... Installed x509-1.6.4 Configuring http-client-0.5.4... Installed HTTP-4000.3.3 Downloading http-listen-0.1.0.0... Building http-client-0.5.4... Building comonad-5... Configuring timerep-2.0.0.2... Installed comonad-5 Building timerep-2.0.0.2... Configuring aeson-1.0.2.1... Installed timerep-2.0.0.2 Building aeson-1.0.2.1... Installed http-client-0.5.4 Configuring x509-store-1.6.2... Building x509-store-1.6.2... Configuring bifunctors-5.4.1... Installed x509-store-1.6.2 Building bifunctors-5.4.1... Configuring http-listen-0.1.0.0... Installed bifunctors-5.4.1 Building http-listen-0.1.0.0... Installed http-listen-0.1.0.0 Configuring x509-validation-1.6.5... Building x509-validation-1.6.5... Configuring x509-system-1.6.4... Installed x509-validation-1.6.5 Building x509-system-1.6.4... Configuring text-show-3.4.1.1... Installed aeson-1.0.2.1 Downloading funbot-ext-events-0.3.0.0... Downloading vcs-web-hook-parse-0.2.0.0... Building text-show-3.4.1.1... Installed x509-system-1.6.4 Configuring aeson-pretty-0.8.2... Building aeson-pretty-0.8.2... Configuring tls-1.3.8... Installed aeson-pretty-0.8.2 Building tls-1.3.8... Configuring vcs-web-hook-parse-0.2.0.0... Installed tls-1.3.8 Building vcs-web-hook-parse-0.2.0.0... Configuring funbot-ext-events-0.3.0.0... Installed vcs-web-hook-parse-0.2.0.0 Building funbot-ext-events-0.3.0.0... Installed funbot-ext-events-0.3.0.0 Configuring json-state-0.1.0.1... Building json-state-0.1.0.1... Configuring connection-0.2.6... Installed json-state-0.1.0.1 Building connection-0.2.6... Installed connection-0.2.6 Downloading irc-fun-client-0.5.0.0... Configuring http-client-tls-0.3.3... Building http-client-tls-0.3.3... Installed http-client-tls-0.3.3 Downloading feed-collect-0.2.0.2... Configuring irc-fun-client-0.5.0.0... Building irc-fun-client-0.5.0.0... Configuring feed-collect-0.2.0.2... Installed text-show-3.4.1.1 Downloading irc-fun-color-0.2.1.0... Building feed-collect-0.2.0.2... Configuring irc-fun-color-0.2.1.0... Installed irc-fun-client-0.5.0.0 Downloading irc-fun-bot-0.6.0.0... Building irc-fun-color-0.2.1.0... Configuring irc-fun-bot-0.6.0.0... Installed feed-collect-0.2.0.2 Building irc-fun-bot-0.6.0.0... Failed to install irc-fun-bot-0.6.0.0 Build log ( /home/builder/.cabal/logs/irc-fun-bot-0.6.0.0.log ): cabal: Entering directory '/tmp/cabal-tmp-22592/irc-fun-bot-0.6.0.0' Configuring irc-fun-bot-0.6.0.0... Building irc-fun-bot-0.6.0.0... Preprocessing library irc-fun-bot-0.6.0.0... [ 1 of 25] Compiling Network.IRC.Fun.Bot.Internal.Types ( src/Network/IRC/Fun/Bot/Internal/Types.hs, dist/build/Network/IRC/Fun/Bot/Internal/Types.o ) src/Network/IRC/Fun/Bot/Internal/Types.hs:164:32: warning: [-Wdeprecations] In the use of ‘time’ (imported from Data.Time.Interval): Deprecated: "Use 'fromTimeUnit' instead" src/Network/IRC/Fun/Bot/Internal/Types.hs:170:39: warning: [-Wdeprecations] In the use of ‘time’ (imported from Data.Time.Interval): Deprecated: "Use 'fromTimeUnit' instead" src/Network/IRC/Fun/Bot/Internal/Types.hs:171:32: warning: [-Wdeprecations] In the use of ‘time’ (imported from Data.Time.Interval): Deprecated: "Use 'fromTimeUnit' instead" src/Network/IRC/Fun/Bot/Internal/Types.hs:173:32: warning: [-Wdeprecations] In the use of ‘time’ (imported from Data.Time.Interval): Deprecated: "Use 'fromTimeUnit' instead" [ 2 of 25] Compiling Network.IRC.Fun.Bot.Types ( src/Network/IRC/Fun/Bot/Types.hs, dist/build/Network/IRC/Fun/Bot/Types.o ) [ 3 of 25] Compiling Network.IRC.Fun.Bot.Internal.Monad ( src/Network/IRC/Fun/Bot/Internal/Monad.hs, dist/build/Network/IRC/Fun/Bot/Internal/Monad.o ) [ 4 of 25] Compiling Network.IRC.Fun.Bot.Internal.State ( src/Network/IRC/Fun/Bot/Internal/State.hs, dist/build/Network/IRC/Fun/Bot/Internal/State.o ) [ 5 of 25] Compiling Network.IRC.Fun.Bot.Internal.Logger ( src/Network/IRC/Fun/Bot/Internal/Logger.hs, dist/build/Network/IRC/Fun/Bot/Internal/Logger.o ) [ 6 of 25] Compiling Network.IRC.Fun.Bot.Logger ( src/Network/IRC/Fun/Bot/Logger.hs, dist/build/Network/IRC/Fun/Bot/Logger.o ) [ 7 of 25] Compiling Network.IRC.Fun.Bot.Internal.IrcLog ( src/Network/IRC/Fun/Bot/Internal/IrcLog.hs, dist/build/Network/IRC/Fun/Bot/Internal/IrcLog.o ) [ 8 of 25] Compiling Network.IRC.Fun.Bot.IrcLog ( src/Network/IRC/Fun/Bot/IrcLog.hs, dist/build/Network/IRC/Fun/Bot/IrcLog.o ) [ 9 of 25] Compiling Network.IRC.Fun.Bot.Internal.Instances ( src/Network/IRC/Fun/Bot/Internal/Instances.hs, dist/build/Network/IRC/Fun/Bot/Internal/Instances.o ) src/Network/IRC/Fun/Bot/Internal/Instances.hs:1:1: warning: [-Worphans] Orphan instance: instance ToJSON Channel To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. src/Network/IRC/Fun/Bot/Internal/Instances.hs:1:1: warning: [-Worphans] Orphan instance: instance FromJSON Channel To avoid this move the instance declaration to the module of the class or of the type, or wrap the type with a newtype and declare the instance on the new type. [10 of 25] Compiling Network.IRC.Fun.Bot.Internal.Persist ( src/Network/IRC/Fun/Bot/Internal/Persist.hs, dist/build/Network/IRC/Fun/Bot/Internal/Persist.o ) src/Network/IRC/Fun/Bot/Internal/Persist.hs:72:10: error: • Overlapping instances for FromJSON (M.HashMap Channel a) arising from a use of ‘aeson-1.0.2.1:Data.Aeson.Types.FromJSON.$dmparseJSONList’ Matching instances: instance (FromJSON v, FromJSONKey k, Eq k, hashable-1.2.4.0:Data.Hashable.Class.Hashable k) => FromJSON (M.HashMap k v) -- Defined in ‘aeson-1.0.2.1:Data.Aeson.Types.FromJSON’ instance FromJSON a => FromJSON (M.HashMap Channel a) -- Defined at src/Network/IRC/Fun/Bot/Internal/Persist.hs:72:10 • In the expression: aeson-1.0.2.1:Data.Aeson.Types.FromJSON.$dmparseJSONList @M.HashMap Channel a In an equation for ‘parseJSONList’: parseJSONList = aeson-1.0.2.1:Data.Aeson.Types.FromJSON.$dmparseJSONList @M.HashMap Channel a In the instance declaration for ‘FromJSON (M.HashMap Channel a)’ src/Network/IRC/Fun/Bot/Internal/Persist.hs:77:10: error: • Overlapping instances for ToJSON (M.HashMap Channel a) arising from a use of ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoEncoding’ Matching instances: instance (ToJSON v, ToJSONKey k) => ToJSON (M.HashMap k v) -- Defined in ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON’ instance ToJSON a => ToJSON (M.HashMap Channel a) -- Defined at src/Network/IRC/Fun/Bot/Internal/Persist.hs:77:10 • In the expression: aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoEncoding @M.HashMap Channel a In an equation for ‘toEncoding’: toEncoding = aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoEncoding @M.HashMap Channel a In the instance declaration for ‘ToJSON (M.HashMap Channel a)’ src/Network/IRC/Fun/Bot/Internal/Persist.hs:77:10: error: • Overlapping instances for ToJSON (M.HashMap Channel a) arising from a use of ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoJSONList’ Matching instances: instance (ToJSON v, ToJSONKey k) => ToJSON (M.HashMap k v) -- Defined in ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON’ instance ToJSON a => ToJSON (M.HashMap Channel a) -- Defined at src/Network/IRC/Fun/Bot/Internal/Persist.hs:77:10 • In the expression: aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoJSONList @M.HashMap Channel a In an equation for ‘toJSONList’: toJSONList = aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoJSONList @M.HashMap Channel a In the instance declaration for ‘ToJSON (M.HashMap Channel a)’ src/Network/IRC/Fun/Bot/Internal/Persist.hs:77:10: error: • Overlapping instances for ToJSON (M.HashMap Channel a) arising from a use of ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoEncodingList’ Matching instances: instance (ToJSON v, ToJSONKey k) => ToJSON (M.HashMap k v) -- Defined in ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON’ instance ToJSON a => ToJSON (M.HashMap Channel a) -- Defined at src/Network/IRC/Fun/Bot/Internal/Persist.hs:77:10 • In the expression: aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoEncodingList @M.HashMap Channel a In an equation for ‘toEncodingList’: toEncodingList = aeson-1.0.2.1:Data.Aeson.Types.ToJSON.$dmtoEncodingList @M.HashMap Channel a In the instance declaration for ‘ToJSON (M.HashMap Channel a)’ src/Network/IRC/Fun/Bot/Internal/Persist.hs:104:9: error: • Overlapping instances for FromJSON (M.HashMap Channel ChanInfo) arising from a use of ‘.:’ Matching instances: instance (FromJSON v, FromJSONKey k, Eq k, hashable-1.2.4.0:Data.Hashable.Class.Hashable k) => FromJSON (M.HashMap k v) -- Defined in ‘aeson-1.0.2.1:Data.Aeson.Types.FromJSON’ instance FromJSON a => FromJSON (M.HashMap Channel a) -- Defined at src/Network/IRC/Fun/Bot/Internal/Persist.hs:72:10 • In the second argument of ‘(<$>)’, namely ‘o .: "chan-state"’ In the first argument of ‘(<*>)’, namely ‘BotStateJ <$> o .: "chan-state"’ In the expression: BotStateJ <$> o .: "chan-state" <*> o .: "chans-join" src/Network/IRC/Fun/Bot/Internal/Persist.hs:110:11: error: • Overlapping instances for ToJSON (M.HashMap Channel ChanInfo) arising from a use of ‘.=’ Matching instances: instance (ToJSON v, ToJSONKey k) => ToJSON (M.HashMap k v) -- Defined in ‘aeson-1.0.2.1:Data.Aeson.Types.ToJSON’ instance ToJSON a => ToJSON (M.HashMap Channel a) -- Defined at src/Network/IRC/Fun/Bot/Internal/Persist.hs:77:10 • In the expression: "chan-state" .= chans In the first argument of ‘object’, namely ‘["chan-state" .= chans, "chans-join" .= sel]’ In the expression: object ["chan-state" .= chans, "chans-join" .= sel] cabal: Leaving directory '/tmp/cabal-tmp-22592/irc-fun-bot-0.6.0.0' Installed irc-fun-color-0.2.1.0 cabal: Error: some packages failed to install: funbot-0.5 depends on irc-fun-bot-0.6.0.0 which failed to install. irc-fun-bot-0.6.0.0 failed during the building phase. The exception was: ExitFailure 1