Build #7 for pathtype-0.5.1

[all reports]

Package pathtype-0.5.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2016-12-29 03:39:52.822311 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies QuickCheck-2.9.2, base-4.9.0.0, directory-1.2.6.2, old-time-1.1.0.3
Flags none

Build log

[view raw]

Resolving dependencies...
Configuring old-locale-1.0.0.7...
Configuring primitive-0.6.2.0...
Building old-locale-1.0.0.7...
Building primitive-0.6.2.0...
Configuring random-1.1...
Installed old-locale-1.0.0.7
Building random-1.1...
Configuring old-time-1.1.0.3...
Installed random-1.1
Building old-time-1.1.0.3...
Installed primitive-0.6.2.0
Configuring tf-random-0.5...
Building tf-random-0.5...
Installed old-time-1.1.0.3
Installed tf-random-0.5
Configuring QuickCheck-2.9.2...
Building QuickCheck-2.9.2...
Installed QuickCheck-2.9.2
Configuring pathtype-0.5.1...
Building pathtype-0.5.1...
Failed to install pathtype-0.5.1
Build log ( /home/builder/.cabal/logs/pathtype-0.5.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-10905/pathtype-0.5.1'
Configuring pathtype-0.5.1...
Building pathtype-0.5.1...
Preprocessing library pathtype-0.5.1...
[1 of 5] Compiling System.Path.Windows ( System/Path/Windows.hs, dist/build/System/Path/Windows.o )

System/Path/Internal.hs:930: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:938: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-10905/pathtype-0.5.1'
cabal: Error: some packages failed to install:
pathtype-0.5.1 failed during the building phase. The exception was:
ExitFailure 1