Resolving dependencies... Starting fail-4.9.0.0 Building fail-4.9.0.0 Completed fail-4.9.0.0 Starting arrow-list-0.7.1 Building arrow-list-0.7.1 Failed to install arrow-list-0.7.1 Build log ( /home/builder/.cabal/logs/ghc-8.6.3/arrow-list-0.7.1-8lm7dyoinyn6rCqLgfOIYa.log ): cabal: Entering directory '/tmp/cabal-tmp-21746/arrow-list-0.7.1' Configuring arrow-list-0.7.1... Preprocessing library for arrow-list-0.7.1.. Building library for arrow-list-0.7.1.. [1 of 6] Compiling Control.Arrow.Kleisli.Class ( src/Control/Arrow/Kleisli/Class.hs, dist/build/Control/Arrow/Kleisli/Class.o ) [2 of 6] Compiling Control.Arrow.List.Class ( src/Control/Arrow/List/Class.hs, dist/build/Control/Arrow/List/Class.o ) [3 of 6] Compiling Control.Arrow.ListLike.Class ( src/Control/Arrow/ListLike/Class.hs, dist/build/Control/Arrow/ListLike/Class.o ) [4 of 6] Compiling Control.Arrow.List ( src/Control/Arrow/List.hs, dist/build/Control/Arrow/List.o ) src/Control/Arrow/List.hs:21:68: warning: [-Wdeprecations] In the use of type constructor or class ‘ListT’ (imported from Control.Monad.List, but defined in transformers-0.5.5.0:Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 21 | newtype ListTArrow m a b = ListTArrow { runListTArrow' :: Kleisli (ListT m) a b } | ^^^^^ src/Control/Arrow/List.hs:32:33: warning: [-Wdeprecations] In the use of data constructor ‘ListT’ (imported from Control.Monad.List, but defined in transformers-0.5.5.0:Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 32 | arrM a = ListTArrow (Kleisli (ListT . (liftM return . a))) | ^^^^^ src/Control/Arrow/List.hs:35:19: warning: [-Wdeprecations] In the use of ‘runListT’ (imported from Control.Monad.List, but defined in transformers-0.5.5.0:Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 35 | runListTArrow a = runListT . runKleisli (runListTArrow' a) | ^^^^^^^^ src/Control/Arrow/List.hs:45:35: warning: [-Wdeprecations] In the use of data constructor ‘ListT’ (imported from Control.Monad.List, but defined in transformers-0.5.5.0:Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 45 | arrL a = ListTArrow (Kleisli (ListT . return . a)) | ^^^^^ src/Control/Arrow/List.hs:49:36: warning: [-Wdeprecations] In the use of data constructor ‘ListT’ (imported from Control.Monad.List, but defined in transformers-0.5.5.0:Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 49 | embed = ListTArrow (Kleisli (ListT . return)) | ^^^^^ src/Control/Arrow/List.hs:50:44: warning: [-Wdeprecations] In the use of data constructor ‘ListT’ (imported from Control.Monad.List, but defined in transformers-0.5.5.0:Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 50 | observe f = ListTArrow . Kleisli $ \a -> ListT $ | ^^^^^ src/Control/Arrow/List.hs:51:32: warning: [-Wdeprecations] In the use of ‘runListT’ (imported from Control.Monad.List, but defined in transformers-0.5.5.0:Control.Monad.Trans.List): Deprecated: "This transformer is invalid on most monads" | 51 | return `liftM` runListT (runKleisli (runListTArrow' f) a) | ^^^^^^^^ [5 of 6] Compiling Control.Monad.Sequence ( src/Control/Monad/Sequence.hs, dist/build/Control/Monad/Sequence.o ) src/Control/Monad/Sequence.hs:60:3: error: parse error on input ‘#’ | 60 | #if !MIN_VERSION_base(4,13,0) | ^ cabal: Leaving directory '/tmp/cabal-tmp-21746/arrow-list-0.7.1' cabal: Error: some packages failed to install: arrow-list-0.7.1-8lm7dyoinyn6rCqLgfOIYa failed during the building phase. The exception was: ExitFailure 1