Resolving dependencies... Warning: The following packages are likely to be broken by the reinstalls: HTTP-4000.3.8 Continuing even though the plan contains dangerous reinstalls. Configuring cryptohash-md5-0.11.100.1... Configuring base-compat-0.9.3... Building cryptohash-md5-0.11.100.1... Building base-compat-0.9.3... Installed cryptohash-md5-0.11.100.1 Configuring cryptohash-sha1-0.11.100.1... Building cryptohash-sha1-0.11.100.1... Installed base-compat-0.9.3 Configuring dlist-0.8.0.4... Building dlist-0.8.0.4... Installed cryptohash-sha1-0.11.100.1 Configuring entropy-0.3.8... Installed dlist-0.8.0.4 Configuring generic-deriving-1.12.1... Building generic-deriving-1.12.1... Building entropy-0.3.8... Installed entropy-0.3.8 Configuring hxt-charproperties-9.2.0.1... Building hxt-charproperties-9.2.0.1... Installed hxt-charproperties-9.2.0.1 Configuring network-info-0.2.0.10... Building network-info-0.2.0.10... Installed network-info-0.2.0.10 Configuring safe-0.3.17... Building safe-0.3.17... Installed safe-0.3.17 Configuring th-abstraction-0.2.6.0... Installed generic-deriving-1.12.1 Configuring time-locale-compat-0.1.1.3... Building th-abstraction-0.2.6.0... Building time-locale-compat-0.1.1.3... Installed time-locale-compat-0.1.1.3 Configuring transformers-0.5.5.0... Building transformers-0.5.5.0... Installed th-abstraction-0.2.6.0 Configuring unexceptionalio-0.3.0... Building unexceptionalio-0.3.0... Installed unexceptionalio-0.3.0 Configuring utf8-string-1.0.1.1... Building utf8-string-1.0.1.1... Installed utf8-string-1.0.1.1 Configuring uuid-types-1.0.3... Building uuid-types-1.0.3... Installed transformers-0.5.5.0 Configuring hxt-unicode-9.0.2.4... Building hxt-unicode-9.0.2.4... Installed uuid-types-1.0.3 Configuring tostring-0.2.1.1... Building tostring-0.2.1.1... Installed hxt-unicode-9.0.2.4 Configuring transformers-compat-0.6.0.6... Building transformers-compat-0.6.0.6... Installed tostring-0.2.1.1 Configuring primitive-0.6.3.0... Building primitive-0.6.3.0... Installed transformers-compat-0.6.0.6 Configuring mtl-2.2.2... Building mtl-2.2.2... Installed mtl-2.2.2 Configuring uuid-1.3.13... Building uuid-1.3.13... Installed primitive-0.6.3.0 Configuring tagged-0.8.5... Building tagged-0.8.5... Installed uuid-1.3.13 Configuring parsec-3.1.13.0... Building parsec-3.1.13.0... Installed tagged-0.8.5 Configuring mtl-compat-0.2.1.3... Building mtl-compat-0.2.1.3... Installed mtl-compat-0.2.1.3 Configuring fclabels-2.0.3.3... Building fclabels-2.0.3.3... Installed parsec-3.1.13.0 Configuring exceptions-0.10.0... Building exceptions-0.10.0... Installed fclabels-2.0.3.3 Configuring vector-0.12.0.1... Building vector-0.12.0.1... Installed exceptions-0.10.0 Configuring scientific-0.3.5.3... Building scientific-0.3.5.3... Installed scientific-0.3.5.3 Configuring network-uri-2.6.1.0... Building network-uri-2.6.1.0... Installed network-uri-2.6.1.0 Configuring multipart-0.1.2... Building multipart-0.1.2... Installed multipart-0.1.2 Configuring hxt-regex-xmlschema-9.2.0.3... Building hxt-regex-xmlschema-9.2.0.3... Installed hxt-regex-xmlschema-9.2.0.3 Configuring errors-2.2.5... Building errors-2.2.5... Installed errors-2.2.5 Configuring attoparsec-0.13.2.2... Building attoparsec-0.13.2.2... Installed vector-0.12.0.1 Configuring uri-encode-1.5.0.5... Building uri-encode-1.5.0.5... Installed uri-encode-1.5.0.5 Configuring hxt-9.3.1.16... Building hxt-9.3.1.16... Installed attoparsec-0.13.2.2 Configuring aeson-1.2.4.0... Building aeson-1.2.4.0... Installed aeson-1.2.4.0 Configuring generic-aeson-0.2.0.9... Building generic-aeson-0.2.0.9... Installed generic-aeson-0.2.0.9 Configuring aeson-utils-0.3.0.2... Building aeson-utils-0.3.0.2... Installed aeson-utils-0.3.0.2 Configuring json-schema-0.7.4.1... Installed hxt-9.3.1.16 Configuring hxt-pickle-utils-0.1.0.3... Building json-schema-0.7.4.1... Building hxt-pickle-utils-0.1.0.3... Installed hxt-pickle-utils-0.1.0.3 Configuring generic-xmlpickler-0.1.0.5... Building generic-xmlpickler-0.1.0.5... Installed json-schema-0.7.4.1 Configuring rest-stringmap-0.2.0.7... Installed generic-xmlpickler-0.1.0.5 Building rest-stringmap-0.2.0.7... Installed rest-stringmap-0.2.0.7 Configuring rest-types-1.14.1.2... Building rest-types-1.14.1.2... Installed rest-types-1.14.1.2 Configuring rest-core-0.39.0.1... Building rest-core-0.39.0.1... Failed to install rest-core-0.39.0.1 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/rest-core-0.39.0.1-9m5miouuqgeIEWQnuUcrWR.log ): cabal: Entering directory '/tmp/cabal-tmp-5219/rest-core-0.39.0.1' Configuring rest-core-0.39.0.1... Preprocessing library for rest-core-0.39.0.1.. Building library for rest-core-0.39.0.1.. [ 1 of 18] Compiling Rest.Error ( src/Rest/Error.hs, dist/build/Rest/Error.o ) [ 2 of 18] Compiling Rest.Info ( src/Rest/Info.hs, dist/build/Rest/Info.o ) [ 3 of 18] Compiling Rest.Dictionary.Types ( src/Rest/Dictionary/Types.hs, dist/build/Rest/Dictionary/Types.o ) [ 4 of 18] Compiling Rest.Dictionary.Combinators ( src/Rest/Dictionary/Combinators.hs, dist/build/Rest/Dictionary/Combinators.o ) [ 5 of 18] Compiling Rest.Dictionary ( src/Rest/Dictionary.hs, dist/build/Rest/Dictionary.o ) [ 6 of 18] Compiling Rest.Handler ( src/Rest/Handler.hs, dist/build/Rest/Handler.o ) [ 7 of 18] Compiling Rest.Container ( src/Rest/Container.hs, dist/build/Rest/Container.o ) [ 8 of 18] Compiling Rest.Schema ( src/Rest/Schema.hs, dist/build/Rest/Schema.o ) [ 9 of 18] Compiling Rest.Resource ( src/Rest/Resource.hs, dist/build/Rest/Resource.o ) [10 of 18] Compiling Rest.Api ( src/Rest/Api.hs, dist/build/Rest/Api.o ) [11 of 18] Compiling Rest.Driver.Types ( src/Rest/Driver/Types.hs, dist/build/Rest/Driver/Types.o ) [12 of 18] Compiling Rest.Driver.Perform ( src/Rest/Driver/Perform.hs, dist/build/Rest/Driver/Perform.o ) [13 of 18] Compiling Rest.Driver.RestM ( src/Rest/Driver/RestM.hs, dist/build/Rest/Driver/RestM.o ) src/Rest/Driver/RestM.hs:53:10: error: Not in scope: type constructor or class ‘Semigroup’ | 53 | instance Semigroup RestOutput where | ^^^^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-5219/rest-core-0.39.0.1' cabal: Error: some packages failed to install: rest-core-0.39.0.1-9m5miouuqgeIEWQnuUcrWR failed during the building phase. The exception was: ExitFailure 1