Resolving dependencies... Configuring primitive-0.6.1.0... Configuring random-1.1... Building random-1.1... Building primitive-0.6.1.0... Installed random-1.1 Installed primitive-0.6.1.0 Configuring vector-0.11.0.0... Building vector-0.11.0.0... Installed vector-0.11.0.0 Configuring hw-prim-0.0.0.7... Building hw-prim-0.0.0.7... Failed to install hw-prim-0.0.0.7 Build log ( /home/builder/.cabal/logs/hw-prim-0.0.0.7.log ): cabal: Entering directory '/tmp/cabal-tmp-1495/hw-prim-0.0.0.7' Configuring hw-prim-0.0.0.7... Warning: 'ghc-options: -rtsopts' has no effect for libraries. It should only be used for executables. Warning: 'ghc-options: -with-rtsopts' has no effect for libraries. It should only be used for executables. Building hw-prim-0.0.0.7... Preprocessing library hw-prim-0.0.0.7... [1 of 9] Compiling HaskellWorks.Data.Vector.StorableVectorLike ( src/HaskellWorks/Data/Vector/StorableVectorLike.hs, dist/build/HaskellWorks/Data/Vector/StorableVectorLike.o ) src/HaskellWorks/Data/Vector/StorableVectorLike.hs:14:3: error: • Could not deduce (StorableVectorLike v e0) from the context: (StorableVectorLike v e, Storable a, Storable b) bound by the type signature for: sImap :: (StorableVectorLike v e, Storable a, Storable b) => (Int -> a -> b) -> v a -> v b at src/HaskellWorks/Data/Vector/StorableVectorLike.hs:14:3-68 The type variable ‘e0’ is ambiguous • In the ambiguity check for ‘sImap’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: sImap :: forall (v :: * -> *) e. StorableVectorLike v e => forall a b. (Storable a, Storable b) => (Int -> a -> b) -> v a -> v b In the class declaration for ‘StorableVectorLike’ src/HaskellWorks/Data/Vector/StorableVectorLike.hs:15:3: error: • Could not deduce (StorableVectorLike v e0) from the context: (StorableVectorLike v e, Storable a, Storable b) bound by the type signature for: sMap :: (StorableVectorLike v e, Storable a, Storable b) => (a -> b) -> v a -> v b at src/HaskellWorks/Data/Vector/StorableVectorLike.hs:15:3-60 The type variable ‘e0’ is ambiguous • In the ambiguity check for ‘sMap’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: sMap :: forall (v :: * -> *) e. StorableVectorLike v e => forall a b. (Storable a, Storable b) => (a -> b) -> v a -> v b In the class declaration for ‘StorableVectorLike’ src/HaskellWorks/Data/Vector/StorableVectorLike.hs:16:3: error: • Could not deduce (StorableVectorLike v e0) from the context: (StorableVectorLike v e, Storable a) bound by the type signature for: sUnfoldr :: (StorableVectorLike v e, Storable a) => (b -> Maybe (a, b)) -> b -> v a at src/HaskellWorks/Data/Vector/StorableVectorLike.hs:16:3-61 The type variable ‘e0’ is ambiguous • In the ambiguity check for ‘sUnfoldr’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: sUnfoldr :: forall (v :: * -> *) e. StorableVectorLike v e => forall a b. Storable a => (b -> Maybe (a, b)) -> b -> v a In the class declaration for ‘StorableVectorLike’ src/HaskellWorks/Data/Vector/StorableVectorLike.hs:17:3: error: • Could not deduce (StorableVectorLike v e0) from the context: (StorableVectorLike v e, Storable a) bound by the type signature for: sUnfoldrN :: (StorableVectorLike v e, Storable a) => Int -> (b -> Maybe (a, b)) -> b -> v a at src/HaskellWorks/Data/Vector/StorableVectorLike.hs:17:3-69 The type variable ‘e0’ is ambiguous • In the ambiguity check for ‘sUnfoldrN’ To defer the ambiguity check to use sites, enable AllowAmbiguousTypes When checking the class method: sUnfoldrN :: forall (v :: * -> *) e. StorableVectorLike v e => forall a b. Storable a => Int -> (b -> Maybe (a, b)) -> b -> v a In the class declaration for ‘StorableVectorLike’ cabal: Leaving directory '/tmp/cabal-tmp-1495/hw-prim-0.0.0.7' cabal: Error: some packages failed to install: hw-prim-0.0.0.7 failed during the building phase. The exception was: ExitFailure 1