Resolving dependencies... Configuring primitive-0.6.2.0... Configuring random-1.1... Building primitive-0.6.2.0... Building random-1.1... Installed random-1.1 Installed primitive-0.6.2.0 Configuring tf-random-0.5... Building tf-random-0.5... Installed tf-random-0.5 Configuring QuickCheck-2.9.2... Building QuickCheck-2.9.2... Installed QuickCheck-2.9.2 Configuring pathtype-0.5.3... Building pathtype-0.5.3... Failed to install pathtype-0.5.3 Build log ( /home/builder/.cabal/logs/pathtype-0.5.3.log ): cabal: Entering directory '/tmp/cabal-tmp-30172/pathtype-0.5.3' Configuring pathtype-0.5.3... Building pathtype-0.5.3... Preprocessing library pathtype-0.5.3... [1 of 5] Compiling System.Path.Windows ( System/Path/Windows.hs, dist/build/System/Path/Windows.o ) System/Path/Internal.hs:855:28: error: • No instance for (Integral (NonNegative Int)) arising from a use of ‘arbitrarySizedIntegral’ • In a stmt of a 'do' block: (NonNegative numDirs) <- arbitrarySizedIntegral In the expression: do { (NonNegative numDirs) <- arbitrarySizedIntegral; pcs <- vectorOf numDirs qcDirComponent; pc <- qcFileComponent; return $ mkPathFromComponents (pcs ++ [pc]) } In an equation for ‘qcFilePath’: qcFilePath = do { (NonNegative numDirs) <- arbitrarySizedIntegral; pcs <- vectorOf numDirs qcDirComponent; pc <- qcFileComponent; .... } System/Path/Internal.hs:863:28: error: • No instance for (Integral (NonNegative Int)) arising from a use of ‘arbitrarySizedIntegral’ • In a stmt of a 'do' block: (NonNegative numDirs) <- arbitrarySizedIntegral In the expression: do { (NonNegative numDirs) <- arbitrarySizedIntegral; pcs <- vectorOf numDirs qcDirComponent; pc <- qcDirComponent; return $ mkPathFromComponents (pcs ++ [pc]) } In an equation for ‘qcDirPath’: qcDirPath = do { (NonNegative numDirs) <- arbitrarySizedIntegral; pcs <- vectorOf numDirs qcDirComponent; pc <- qcDirComponent; .... } cabal: Leaving directory '/tmp/cabal-tmp-30172/pathtype-0.5.3' cabal: Error: some packages failed to install: pathtype-0.5.3 failed during the building phase. The exception was: ExitFailure 1