Resolving dependencies... Configuring atomic-primops-0.8.1.1... Configuring base-orphans-0.6... Building base-orphans-0.6... Building atomic-primops-0.8.1.1... Installed base-orphans-0.6 Configuring cabal-doctest-1.0.6... Installed atomic-primops-0.8.1.1 Configuring leancheck-0.7.0... Building cabal-doctest-1.0.6... Building leancheck-0.7.0... Installed cabal-doctest-1.0.6 Configuring ref-fd-0.4.0.1... Building ref-fd-0.4.0.1... Installed ref-fd-0.4.0.1 Configuring semigroups-0.18.4... Building semigroups-0.18.4... Installed semigroups-0.18.4 Configuring th-abstraction-0.2.6.0... Building th-abstraction-0.2.6.0... Installed th-abstraction-0.2.6.0 Configuring transformers-compat-0.6.0.5... Installed leancheck-0.7.0 Building transformers-compat-0.6.0.5... Installed transformers-compat-0.6.0.5 Configuring tagged-0.8.5... Configuring transformers-base-0.4.4... Building transformers-base-0.4.4... Building tagged-0.8.5... Installed transformers-base-0.4.4 Configuring exceptions-0.9.0... Building exceptions-0.9.0... Installed tagged-0.8.5 Configuring contravariant-1.4.1... Building contravariant-1.4.1... Installed exceptions-0.9.0 Configuring monad-control-1.0.2.3... Building monad-control-1.0.2.3... Installed contravariant-1.4.1 Configuring distributive-0.5.3... Installed monad-control-1.0.2.3 Configuring concurrency-1.4.0.1... Building concurrency-1.4.0.1... Building distributive-0.5.3... Installed distributive-0.5.3 Configuring comonad-5.0.3... Building comonad-5.0.3... Installed concurrency-1.4.0.1 Installed comonad-5.0.3 Configuring bifunctors-5.5.2... Building bifunctors-5.5.2... Installed bifunctors-5.5.2 Configuring profunctors-5.2.2... Building profunctors-5.2.2... Installed profunctors-5.2.2 Configuring dejafu-1.2.0.0... Building dejafu-1.2.0.0... Failed to install dejafu-1.2.0.0 Build log ( /home/builder/.cabal/logs/ghc-8.2.2/dejafu-1.2.0.0-PkbP9VU9lnJTYO1qXpfZB.log ): cabal: Entering directory '/tmp/cabal-tmp-6925/dejafu-1.2.0.0' Configuring dejafu-1.2.0.0... Preprocessing library for dejafu-1.2.0.0.. Building library for dejafu-1.2.0.0.. [ 1 of 17] Compiling Test.DejaFu.Types ( Test/DejaFu/Types.hs, dist/build/Test/DejaFu/Types.o ) [ 2 of 17] Compiling Test.DejaFu.Internal ( Test/DejaFu/Internal.hs, dist/build/Test/DejaFu/Internal.o ) [ 3 of 17] Compiling Test.DejaFu.Settings ( Test/DejaFu/Settings.hs, dist/build/Test/DejaFu/Settings.o ) [ 4 of 17] Compiling Test.DejaFu.Defaults ( Test/DejaFu/Defaults.hs, dist/build/Test/DejaFu/Defaults.o ) [ 5 of 17] Compiling Test.DejaFu.Schedule ( Test/DejaFu/Schedule.hs, dist/build/Test/DejaFu/Schedule.o ) [ 6 of 17] Compiling Test.DejaFu.SCT.Internal.Weighted ( Test/DejaFu/SCT/Internal/Weighted.hs, dist/build/Test/DejaFu/SCT/Internal/Weighted.o ) [ 7 of 17] Compiling Test.DejaFu.Conc.Internal.STM ( Test/DejaFu/Conc/Internal/STM.hs, dist/build/Test/DejaFu/Conc/Internal/STM.o ) [ 8 of 17] Compiling Test.DejaFu.Conc.Internal.Common ( Test/DejaFu/Conc/Internal/Common.hs, dist/build/Test/DejaFu/Conc/Internal/Common.o ) [ 9 of 17] Compiling Test.DejaFu.Conc.Internal.Threading ( Test/DejaFu/Conc/Internal/Threading.hs, dist/build/Test/DejaFu/Conc/Internal/Threading.o ) [10 of 17] Compiling Test.DejaFu.Conc.Internal.Memory ( Test/DejaFu/Conc/Internal/Memory.hs, dist/build/Test/DejaFu/Conc/Internal/Memory.o ) [11 of 17] Compiling Test.DejaFu.Conc.Internal ( Test/DejaFu/Conc/Internal.hs, dist/build/Test/DejaFu/Conc/Internal.o ) [12 of 17] Compiling Test.DejaFu.Utils ( Test/DejaFu/Utils.hs, dist/build/Test/DejaFu/Utils.o ) [13 of 17] Compiling Test.DejaFu.SCT.Internal.DPOR ( Test/DejaFu/SCT/Internal/DPOR.hs, dist/build/Test/DejaFu/SCT/Internal/DPOR.o ) [14 of 17] Compiling Test.DejaFu.Conc ( Test/DejaFu/Conc.hs, dist/build/Test/DejaFu/Conc.o ) Test/DejaFu/Conc.hs:137:48: error: • Variable not in scope: mask :: ((ConcT r n b -> t0) -> ConcT r n b0) -> ConcT r n b • Perhaps you meant one of these: ‘Ca.mask’ (imported from Control.Monad.Catch), ‘C.mask’ (imported from Control.Monad.Conc.Class), ‘C.mask_’ (imported from Control.Monad.Conc.Class) Perhaps you want to add ‘mask’ to one of these import lists: ‘Control.Exception’ (Test/DejaFu/Conc.hs:59:1-71) ‘Test.DejaFu.Conc.Internal.Threading’ (Test/DejaFu/Conc.hs:(76,1)-(77,62)) | 137 | generalBracket acquire release cleanup use = mask $ \unmasked -> do | ^^^^ Test/DejaFu/Conc.hs:139:39: error: • Variable not in scope: catch :: t0 -> (Ca.SomeException -> ConcT r n b1) -> ConcT r n b0 • Perhaps you meant one of these: ‘Ca.catch’ (imported from Control.Monad.Catch), ‘C.catch’ (imported from Control.Monad.Conc.Class) Perhaps you want to add ‘catch’ to the import list in the import of ‘Control.Exception’ (Test/DejaFu/Conc.hs:59:1-71). | 139 | result <- unmasked (use resource) `catch` (\e -> cleanup resource e >> throwM e) | ^^^^^^^ Test/DejaFu/Conc.hs:139:76: error: • Variable not in scope: throwM :: Ca.SomeException -> ConcT r n b1 • Perhaps you meant one of these: ‘Ca.throwM’ (imported from Control.Monad.Catch), ‘C.throw’ (imported from Control.Monad.Conc.Class), data constructor ‘Throw’ (imported from Test.DejaFu.Types) | 139 | result <- unmasked (use resource) `catch` (\e -> cleanup resource e >> throwM e) | ^^^^^^ cabal: Leaving directory '/tmp/cabal-tmp-6925/dejafu-1.2.0.0' cabal: Error: some packages failed to install: dejafu-1.2.0.0-PkbP9VU9lnJTYO1qXpfZB failed during the building phase. The exception was: ExitFailure 1