Build #7 for hly-0.12

[all reports]

Package hly-0.12
Install DependencyFailed SG-1.0
Docs NotTried
Tests NotTried
Time submitted 2016-12-23 08:00:48.187192 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies base-4.9.0.0, directory-1.2.6.2, filepath-1.4.1.0, hmt-0.12, process-1.4.2.0
Flags none

Build log

[view raw]

Resolving dependencies...
Configuring colour-2.3.3...
Configuring mtl-2.2.1...
Building colour-2.3.3...
Building mtl-2.2.1...
Installed mtl-2.2.1
Configuring multiset-comb-0.2.4.1...
Building multiset-comb-0.2.4.1...
Configuring primes-0.2.1.0...
Installed colour-2.3.3
Building primes-0.2.1.0...
Installed multiset-comb-0.2.4.1
Configuring primitive-0.6.2.0...
Configuring random-1.1...
Installed primes-0.2.1.0
Building primitive-0.6.2.0...
Building random-1.1...
Configuring split-0.2.3.1...
Installed random-1.1
Building split-0.2.3.1...
Configuring text-1.2.2.1...
Installed split-0.2.3.1
Building text-1.2.2.1...
Configuring utf8-string-1.0.1.1...
Installed primitive-0.6.2.0
Building utf8-string-1.0.1.1...
Configuring SG-1.0...
Installed utf8-string-1.0.1.1
Building SG-1.0...
Configuring logict-0.6.0.2...
Failed to install SG-1.0
Build log ( /home/builder/.cabal/logs/SG-1.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-10255/SG-1.0'
Configuring SG-1.0...
Building SG-1.0...
Preprocessing library SG-1.0...
[1 of 8] Compiling Data.SG.Vector   ( Data/SG/Vector.hs, dist/build/Data/SG/Vector.o )
[2 of 8] Compiling Data.SG.Vector.Basic ( Data/SG/Vector/Basic.hs, dist/build/Data/SG/Vector/Basic.o )

Data/SG/Vector/Basic.hs:50:1: warning: [-Wunused-imports]
    The import of ‘Data.Foldable’ is redundant
      except perhaps to import instances from ‘Data.Foldable’
    To import instances alone, use: import Data.Foldable()
[3 of 8] Compiling Data.SG.Matrix   ( Data/SG/Matrix.hs, dist/build/Data/SG/Matrix.o )
[4 of 8] Compiling Data.SG.Geometry ( Data/SG/Geometry.hs, dist/build/Data/SG/Geometry.o )

Data/SG/Geometry.hs:64:13: error:
    • Could not deduce (Show a) arising from a use of ‘+’
      from the context: Num a
        bound by the type signature for:
                   plusDir :: Num a => Pair a -> Pair a -> Pair a
        at Data/SG/Geometry.hs:64:3-9
      Possible fix:
        add (Show a) to the context of
          the type signature for:
            plusDir :: Num a => Pair a -> Pair a -> Pair a
    • In the expression: (+)
      In an equation for ‘plusDir’: plusDir = (+)
      In the instance declaration for ‘Geometry Pair Pair LinePair’

Data/SG/Geometry.hs:65:12: error:
    • Could not deduce (Show a) arising from a use of ‘-’
      from the context: Num a
        bound by the type signature for:
                   fromPt :: Num a => Pair a -> Pair a -> Pair a
        at Data/SG/Geometry.hs:65:3-8
      Possible fix:
        add (Show a) to the context of
          the type signature for:
            fromPt :: Num a => Pair a -> Pair a -> Pair a
    • In the expression: (-)
      In an equation for ‘fromPt’: fromPt = (-)
      In the instance declaration for ‘Geometry Pair Pair LinePair’

Data/SG/Geometry.hs:70:13: error:
    • Could not deduce (Show a) arising from a use of ‘+’
      from the context: Num a
        bound by the type signature for:
                   plusDir :: Num a => Triple a -> Triple a -> Triple a
        at Data/SG/Geometry.hs:70:3-9
      Possible fix:
        add (Show a) to the context of
          the type signature for:
            plusDir :: Num a => Triple a -> Triple a -> Triple a
    • In the expression: (+)
      In an equation for ‘plusDir’: plusDir = (+)
      In the instance declaration for ‘Geometry Triple Triple LineTriple’

Data/SG/Geometry.hs:71:12: error:
    • Could not deduce (Show a) arising from a use of ‘-’
      from the context: Num a
        bound by the type signature for:
                   fromPt :: Num a => Triple a -> Triple a -> Triple a
        at Data/SG/Geometry.hs:71:3-8
      Possible fix:
        add (Show a) to the context of
          the type signature for:
            fromPt :: Num a => Triple a -> Triple a -> Triple a
    • In the expression: (-)
      In an equation for ‘fromPt’: fromPt = (-)
      In the instance declaration for ‘Geometry Triple Triple LineTriple’

Data/SG/Geometry.hs:164:5: error:
    • Could not deduce (Eq a) arising from a use of ‘==’
      from the context: (Geometry rel pt ln,
                         Coord2 rel,
                         Coord2 pt,
                         Fractional a)
        bound by the type signature for:
                   valueAtX :: (Geometry rel pt ln, Coord2 rel, Coord2 pt,
                                Fractional a) =>
                               ln a -> a -> Maybe a
        at Data/SG/Geometry.hs:(161,1)-(162,25)
      Possible fix:
        add (Eq a) to the context of
          the type signature for:
            valueAtX :: (Geometry rel pt ln, Coord2 rel, Coord2 pt,
                         Fractional a) =>
                        ln a -> a -> Maybe a
    • In the expression: xd == 0
      In a stmt of a pattern guard for
                     an equation for ‘valueAtX’:
        xd == 0
      In an equation for ‘valueAtX’:
          valueAtX l tgt
            | xd == 0 = Nothing
            | otherwise = let t = (tgt - x) / xd in Just t
            where
                x = getX $ getLineStart l
                xd = getX $ getLineDir l

Data/SG/Geometry.hs:177:5: error:
    • Could not deduce (Eq a) arising from a use of ‘==’
      from the context: (Geometry rel pt ln,
                         Coord2 rel,
                         Coord2 pt,
                         Fractional a)
        bound by the type signature for:
                   valueAtY :: (Geometry rel pt ln, Coord2 rel, Coord2 pt,
                                Fractional a) =>
                               ln a -> a -> Maybe a
        at Data/SG/Geometry.hs:(174,1)-(175,25)
      Possible fix:
        add (Eq a) to the context of
          the type signature for:
            valueAtY :: (Geometry rel pt ln, Coord2 rel, Coord2 pt,
                         Fractional a) =>
                        ln a -> a -> Maybe a
    • In the expression: yd == 0
      In a stmt of a pattern guard for
                     an equation for ‘valueAtY’:
        yd == 0
      In an equation for ‘valueAtY’:
          valueAtY l tgt
            | yd == 0 = Nothing
            | otherwise = let t = (tgt - y) / yd in Just t
            where
                y = getY $ getLineStart l
                yd = getY $ getLineDir l

Data/SG/Geometry.hs:190:5: error:
    • Could not deduce (Eq a) arising from a use of ‘==’
      from the context: (Geometry rel pt ln,
                         Coord3 rel,
                         Coord3 pt,
                         Fractional a)
        bound by the type signature for:
                   valueAtZ :: (Geometry rel pt ln, Coord3 rel, Coord3 pt,
                                Fractional a) =>
                               ln a -> a -> Maybe a
        at Data/SG/Geometry.hs:(187,1)-(188,25)
      Possible fix:
        add (Eq a) to the context of
          the type signature for:
            valueAtZ :: (Geometry rel pt ln, Coord3 rel, Coord3 pt,
                         Fractional a) =>
                        ln a -> a -> Maybe a
    • In the expression: zd == 0
      In a stmt of a pattern guard for
                     an equation for ‘valueAtZ’:
        zd == 0
      In an equation for ‘valueAtZ’:
          valueAtZ l tgt
            | zd == 0 = Nothing
            | otherwise = let t = (tgt - z) / zd in Just t
            where
                z = getZ $ getLineStart l
                zd = getZ $ getLineDir l
cabal: Leaving directory '/tmp/cabal-tmp-10255/SG-1.0'
Building logict-0.6.0.2...
Installed logict-0.6.0.2
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 text-1.2.2.1
Configuring xml-1.3.14...
Building xml-1.3.14...
Configuring parsec-3.1.11...
Installed xml-1.3.14
Building parsec-3.1.11...
Configuring html-minimalist-0.12...
Installed parsec-3.1.11
Building html-minimalist-0.12...
Installed html-minimalist-0.12
Installed QuickCheck-2.9.2
Configuring permutation-0.5.0.5...
Building permutation-0.5.0.5...
Installed permutation-0.5.0.5
cabal: Error: some packages failed to install:
SG-1.0 failed during the building phase. The exception was:
ExitFailure 1
hcg-minus-0.12 depends on SG-1.0 which failed to install.
hly-0.12 depends on SG-1.0 which failed to install.
hmt-0.12 depends on SG-1.0 which failed to install.