Build #8 for hcg-minus-0.11

[all reports]

Package hcg-minus-0.11
Install DependencyFailed SG-1.0
Docs NotTried
Tests NotTried
Time submitted 2016-12-26 10:25:16.610227 UTC
Compiler ghc-8.0.1.20161018
OS linux
Arch x86_64
Dependencies SG-1.0, base-4.9.0.0, cairo-0.13.3.1, colour-2.3.3
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring colour-2.3.3...
Configuring mtl-2.2.1...
Building mtl-2.2.1...
Building colour-2.3.3...
Installed mtl-2.2.1
Configuring primitive-0.6.1.0...
Building primitive-0.6.1.0...
Configuring random-1.1...
Installed colour-2.3.3
Building random-1.1...
Configuring utf8-string-1.0.1.1...
Installed primitive-0.6.1.0
Configuring text-1.2.2.1...
Installed random-1.1
Building utf8-string-1.0.1.1...
Building text-1.2.2.1...
Configuring SG-1.0...
Installed utf8-string-1.0.1.1
Building SG-1.0...
Failed to install SG-1.0
Build log ( /home/builder/.cabal/logs/SG-1.0.log ):
cabal: Entering directory '/tmp/cabal-tmp-12383/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-12383/SG-1.0'
Configuring vector-0.11.0.0...
Building vector-0.11.0.0...
Installed text-1.2.2.1
Configuring hashable-1.2.4.0...
Building hashable-1.2.4.0...
Installed hashable-1.2.4.0
Installed vector-0.11.0.0
Configuring hashtables-1.2.1.0...
Building hashtables-1.2.1.0...
Installed hashtables-1.2.1.0
Configuring gtk2hs-buildtools-0.13.2.1...
Building gtk2hs-buildtools-0.13.2.1...
Installed gtk2hs-buildtools-0.13.2.1
Configuring cairo-0.13.3.1...
Building cairo-0.13.3.1...
Installed cairo-0.13.3.1
cabal: Error: some packages failed to install:
SG-1.0 failed during the building phase. The exception was:
ExitFailure 1
hcg-minus-0.11 depends on SG-1.0 which failed to install.

Test log

No test log was submitted for this report.