Resolving dependencies... Configuring base-orphans-0.5.4... Configuring data-default-class-0.1.2.0... Building base-orphans-0.5.4... Building data-default-class-0.1.2.0... Installed base-orphans-0.5.4 Configuring dlist-0.8.0.2... Building dlist-0.8.0.2... Configuring mtl-2.2.1... Installed data-default-class-0.1.2.0 Building mtl-2.2.1... Configuring prelude-extras-0.4.0.3... Installed dlist-0.8.0.2 Building prelude-extras-0.4.0.3... Configuring primitive-0.6.1.0... Installed mtl-2.2.1 Building primitive-0.6.1.0... Configuring semigroups-0.18.2... Installed prelude-extras-0.4.0.3 Building semigroups-0.18.2... Configuring split-0.2.3.1... Installed semigroups-0.18.2 Building split-0.2.3.1... Configuring stm-2.4.4.1... Installed primitive-0.6.1.0 Building stm-2.4.4.1... Configuring text-1.2.2.1... Installed split-0.2.3.1 Building text-1.2.2.1... Configuring transformers-compat-0.5.1.4... Installed stm-2.4.4.1 Building transformers-compat-0.5.1.4... Installed transformers-compat-0.5.1.4 Configuring dlist-instances-0.1.1.1... Building dlist-instances-0.1.1.1... Configuring StateVar-1.1.0.4... Installed dlist-instances-0.1.1.1 Building StateVar-1.1.0.4... Configuring exceptions-0.8.3... Installed StateVar-1.1.0.4 Building exceptions-0.8.3... Configuring vector-0.11.0.0... Installed exceptions-0.8.3 Building vector-0.11.0.0... Configuring tagged-0.8.5... Installed text-1.2.2.1 Building tagged-0.8.5... Installed tagged-0.8.5 Configuring distributive-0.5.0.2... Building distributive-0.5.0.2... Configuring hashable-1.2.4.0... Installed distributive-0.5.0.2 Building hashable-1.2.4.0... Installed hashable-1.2.4.0 Configuring void-0.7.1... Building void-0.7.1... Configuring unordered-containers-0.2.7.1... Installed void-0.7.1 Building unordered-containers-0.2.7.1... Installed vector-0.11.0.0 Configuring vector-algorithms-0.7.0.1... Building vector-algorithms-0.7.0.1... Configuring contravariant-1.4... Installed unordered-containers-0.2.7.1 Building contravariant-1.4... Installed contravariant-1.4 Configuring comonad-5... Installed vector-algorithms-0.7.0.1 Building comonad-5... Installed comonad-5 Configuring bifunctors-5.4.1... Building bifunctors-5.4.1... Installed bifunctors-5.4.1 Configuring profunctors-5.2... Configuring semigroupoids-5.1... Building profunctors-5.2... Building semigroupoids-5.1... Installed profunctors-5.2 Installed semigroupoids-5.1 Configuring free-4.12.4... Building free-4.12.4... Installed free-4.12.4 Configuring keys-3.11... Configuring adjunctions-4.3... Building keys-3.11... Building adjunctions-4.3... Installed keys-3.11 Installed adjunctions-4.3 Configuring kan-extensions-5.0.1... Building kan-extensions-5.0.1... Installed kan-extensions-5.0.1 Configuring pointed-5... Building pointed-5... Installed pointed-5 Configuring vector-instances-3.3.1... Building vector-instances-3.3.1... Installed vector-instances-3.3.1 Configuring mono-traversable-0.10.1.1... Building mono-traversable-0.10.1.1... Failed to install mono-traversable-0.10.1.1 Build log ( /home/builder/.cabal/logs/mono-traversable-0.10.1.1.log ): cabal: Entering directory '/tmp/cabal-tmp-27145/mono-traversable-0.10.1.1' Configuring mono-traversable-0.10.1.1... Building mono-traversable-0.10.1.1... Preprocessing library mono-traversable-0.10.1.1... [1 of 7] Compiling Data.MonoTraversable ( src/Data/MonoTraversable.hs, dist/build/Data/MonoTraversable.o ) src/Data/MonoTraversable.hs:82:1: warning: [-Wdeprecations] Module ‘Control.Monad.Trans.Error’ is deprecated: Use Control.Monad.Trans.Except instead src/Data/MonoTraversable.hs:146:24: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Data/MonoTraversable.hs:223:36: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Data/MonoTraversable.hs:438:32: warning: [-Wdeprecations] In the use of ‘inlinePerformIO’ (imported from Data.ByteString.Internal): Deprecated: "If you think you know what you are doing, use 'unsafePerformIO'. If you are sure you know what you are doing, use 'unsafeDupablePerformIO'. If you enjoy sharing an address space with a malevolent agent of chaos, try 'accursedUnutterablePerformIO'." src/Data/MonoTraversable.hs:440:29: warning: [-Wdeprecations] In the use of ‘inlinePerformIO’ (imported from Data.ByteString.Internal): Deprecated: "If you think you know what you are doing, use 'unsafePerformIO'. If you are sure you know what you are doing, use 'unsafeDupablePerformIO'. If you enjoy sharing an address space with a malevolent agent of chaos, try 'accursedUnutterablePerformIO'." src/Data/MonoTraversable.hs:723:40: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Data/MonoTraversable.hs:831:50: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Data/MonoTraversable.hs:942:52: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Data/MonoTraversable.hs:1070:44: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Data/MonoTraversable.hs:1189:40: warning: [-Wdeprecations] In the use of type constructor or class ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" src/Data/MonoTraversable.hs:1190:14: warning: [-Wdeprecations] In the use of data constructor ‘ErrorT’ (imported from Control.Monad.Trans.Error): Deprecated: "Use Control.Monad.Trans.Except instead" [2 of 7] Compiling Data.GrowingAppend ( src/Data/GrowingAppend.hs, dist/build/Data/GrowingAppend.o ) [3 of 7] Compiling Data.Sequences ( src/Data/Sequences.hs, dist/build/Data/Sequences.o ) [4 of 7] Compiling Data.MinLen ( src/Data/MinLen.hs, dist/build/Data/MinLen.o ) src/Data/MinLen.hs:169:1: error: • Couldn't match type ‘mono’ with ‘MinLen nat mono’ arising from a use of ‘ghc-prim-0.5.0.0:GHC.Prim.coerce’ ‘mono’ is a rigid type variable bound by the instance declaration at src/Data/MinLen.hs:169:1 • In the expression: ghc-prim-0.5.0.0:GHC.Prim.coerce @(forall (f :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted) (b :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable mono, GHC.Base.Applicative f) => (Element mono -> f b) -> mono -> f ()) @(forall (f :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted) (b :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable (MinLen nat mono), GHC.Base.Applicative f) => (Element (MinLen nat mono) -> f b) -> MinLen nat mono -> f ()) otraverse_ In an equation for ‘otraverse_’: otraverse_ = ghc-prim-0.5.0.0:GHC.Prim.coerce @(forall (f :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted) (b :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable mono, GHC.Base.Applicative f) => (Element mono -> f b) -> mono -> f ()) @(forall (f :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted) (b :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable (MinLen nat mono), GHC.Base.Applicative f) => (Element (MinLen nat mono) -> f b) -> MinLen nat mono -> f ()) otraverse_ When typechecking the code for ‘otraverse_’ in a derived instance for ‘MonoFoldable (MinLen nat mono)’: To see the code I am typechecking, use -ddump-deriv In the instance declaration for ‘MonoFoldable (MinLen nat mono)’ • Relevant bindings include otraverse_ :: (Element (MinLen nat mono) -> f b) -> MinLen nat mono -> f () (bound at src/Data/MinLen.hs:169:1) src/Data/MinLen.hs:169:1: error: • Couldn't match type ‘mono’ with ‘MinLen nat mono’ arising from a use of ‘ghc-prim-0.5.0.0:GHC.Prim.coerce’ ‘mono’ is a rigid type variable bound by the instance declaration at src/Data/MinLen.hs:169:1 • In the expression: ghc-prim-0.5.0.0:GHC.Prim.coerce @(forall (f :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted) (b :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable mono, GHC.Base.Applicative f) => mono -> (Element mono -> f b) -> f ()) @(forall (f :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted) (b :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable (MinLen nat mono), GHC.Base.Applicative f) => MinLen nat mono -> (Element (MinLen nat mono) -> f b) -> f ()) ofor_ In an equation for ‘ofor_’: ofor_ = ghc-prim-0.5.0.0:GHC.Prim.coerce @(forall (f :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted) (b :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable mono, GHC.Base.Applicative f) => mono -> (Element mono -> f b) -> f ()) @(forall (f :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted) (b :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable (MinLen nat mono), GHC.Base.Applicative f) => MinLen nat mono -> (Element (MinLen nat mono) -> f b) -> f ()) ofor_ When typechecking the code for ‘ofor_’ in a derived instance for ‘MonoFoldable (MinLen nat mono)’: To see the code I am typechecking, use -ddump-deriv In the instance declaration for ‘MonoFoldable (MinLen nat mono)’ • Relevant bindings include ofor_ :: MinLen nat mono -> (Element (MinLen nat mono) -> f b) -> f () (bound at src/Data/MinLen.hs:169:1) src/Data/MinLen.hs:169:1: error: • Couldn't match type ‘mono’ with ‘MinLen nat mono’ arising from a use of ‘ghc-prim-0.5.0.0:GHC.Prim.coerce’ ‘mono’ is a rigid type variable bound by the instance declaration at src/Data/MinLen.hs:169:1 • In the expression: ghc-prim-0.5.0.0:GHC.Prim.coerce @(forall (m :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable mono, GHC.Base.Monad m) => (Element mono -> m ()) -> mono -> m ()) @(forall (m :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable (MinLen nat mono), GHC.Base.Monad m) => (Element (MinLen nat mono) -> m ()) -> MinLen nat mono -> m ()) omapM_ In an equation for ‘omapM_’: omapM_ = ghc-prim-0.5.0.0:GHC.Prim.coerce @(forall (m :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable mono, GHC.Base.Monad m) => (Element mono -> m ()) -> mono -> m ()) @(forall (m :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable (MinLen nat mono), GHC.Base.Monad m) => (Element (MinLen nat mono) -> m ()) -> MinLen nat mono -> m ()) omapM_ When typechecking the code for ‘omapM_’ in a derived instance for ‘MonoFoldable (MinLen nat mono)’: To see the code I am typechecking, use -ddump-deriv In the instance declaration for ‘MonoFoldable (MinLen nat mono)’ • Relevant bindings include omapM_ :: (Element (MinLen nat mono) -> m ()) -> MinLen nat mono -> m () (bound at src/Data/MinLen.hs:169:1) src/Data/MinLen.hs:169:1: error: • Couldn't match type ‘mono’ with ‘MinLen nat mono’ arising from a use of ‘ghc-prim-0.5.0.0:GHC.Prim.coerce’ ‘mono’ is a rigid type variable bound by the instance declaration at src/Data/MinLen.hs:169:1 • In the expression: ghc-prim-0.5.0.0:GHC.Prim.coerce @(forall (m :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable mono, GHC.Base.Monad m) => mono -> (Element mono -> m ()) -> m ()) @(forall (m :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable (MinLen nat mono), GHC.Base.Monad m) => MinLen nat mono -> (Element (MinLen nat mono) -> m ()) -> m ()) oforM_ In an equation for ‘oforM_’: oforM_ = ghc-prim-0.5.0.0:GHC.Prim.coerce @(forall (m :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable mono, GHC.Base.Monad m) => mono -> (Element mono -> m ()) -> m ()) @(forall (m :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable (MinLen nat mono), GHC.Base.Monad m) => MinLen nat mono -> (Element (MinLen nat mono) -> m ()) -> m ()) oforM_ When typechecking the code for ‘oforM_’ in a derived instance for ‘MonoFoldable (MinLen nat mono)’: To see the code I am typechecking, use -ddump-deriv In the instance declaration for ‘MonoFoldable (MinLen nat mono)’ • Relevant bindings include oforM_ :: MinLen nat mono -> (Element (MinLen nat mono) -> m ()) -> m () (bound at src/Data/MinLen.hs:169:1) src/Data/MinLen.hs:169:1: error: • Couldn't match type ‘mono’ with ‘MinLen nat mono’ arising from a use of ‘ghc-prim-0.5.0.0:GHC.Prim.coerce’ ‘mono’ is a rigid type variable bound by the instance declaration at src/Data/MinLen.hs:169:1 • In the expression: ghc-prim-0.5.0.0:GHC.Prim.coerce @(forall (m :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted) (a :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable mono, GHC.Base.Monad m) => (a -> Element mono -> m a) -> a -> mono -> m a) @(forall (m :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted) (a :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable (MinLen nat mono), GHC.Base.Monad m) => (a -> Element (MinLen nat mono) -> m a) -> a -> MinLen nat mono -> m a) ofoldlM In an equation for ‘ofoldlM’: ofoldlM = ghc-prim-0.5.0.0:GHC.Prim.coerce @(forall (m :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted) (a :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable mono, GHC.Base.Monad m) => (a -> Element mono -> m a) -> a -> mono -> m a) @(forall (m :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted -> TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted) (a :: TYPE ghc-prim-0.5.0.0:GHC.Types.PtrRepLifted). (MonoFoldable (MinLen nat mono), GHC.Base.Monad m) => (a -> Element (MinLen nat mono) -> m a) -> a -> MinLen nat mono -> m a) ofoldlM When typechecking the code for ‘ofoldlM’ in a derived instance for ‘MonoFoldable (MinLen nat mono)’: To see the code I am typechecking, use -ddump-deriv In the instance declaration for ‘MonoFoldable (MinLen nat mono)’ • Relevant bindings include ofoldlM :: (a -> Element (MinLen nat mono) -> m a) -> a -> MinLen nat mono -> m a (bound at src/Data/MinLen.hs:169:1) cabal: Leaving directory '/tmp/cabal-tmp-27145/mono-traversable-0.10.1.1' cabal: Error: some packages failed to install: mono-traversable-0.10.1.1 failed during the building phase. The exception was: ExitFailure 1