[all reports]
Install 
DependencyFailed SG1.0 
Docs 
NotTried 
Tests 
NotTried 
Time submitted 
20161223 08:00:48.187192 UTC

Compiler 
ghc8.0.1.20161018 
OS 
linux 
Arch 
x86_64 
Dependencies 
base4.9.0.0, directory1.2.6.2, filepath1.4.1.0, hmt0.12, process1.4.2.0 
Flags 
none

Build log
[view raw]
Resolving dependencies...
Configuring colour2.3.3...
Configuring mtl2.2.1...
Building colour2.3.3...
Building mtl2.2.1...
Installed mtl2.2.1
Configuring multisetcomb0.2.4.1...
Building multisetcomb0.2.4.1...
Configuring primes0.2.1.0...
Installed colour2.3.3
Building primes0.2.1.0...
Installed multisetcomb0.2.4.1
Configuring primitive0.6.2.0...
Configuring random1.1...
Installed primes0.2.1.0
Building primitive0.6.2.0...
Building random1.1...
Configuring split0.2.3.1...
Installed random1.1
Building split0.2.3.1...
Configuring text1.2.2.1...
Installed split0.2.3.1
Building text1.2.2.1...
Configuring utf8string1.0.1.1...
Installed primitive0.6.2.0
Building utf8string1.0.1.1...
Configuring SG1.0...
Installed utf8string1.0.1.1
Building SG1.0...
Configuring logict0.6.0.2...
Failed to install SG1.0
Build log ( /home/builder/.cabal/logs/SG1.0.log ):
cabal: Entering directory '/tmp/cabaltmp10255/SG1.0'
Configuring SG1.0...
Building SG1.0...
Preprocessing library SG1.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: [Wunusedimports]
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:39
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:38
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:39
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:38
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/cabaltmp10255/SG1.0'
Building logict0.6.0.2...
Installed logict0.6.0.2
Configuring tfrandom0.5...
Building tfrandom0.5...
Installed tfrandom0.5
Configuring QuickCheck2.9.2...
Building QuickCheck2.9.2...
Installed text1.2.2.1
Configuring xml1.3.14...
Building xml1.3.14...
Configuring parsec3.1.11...
Installed xml1.3.14
Building parsec3.1.11...
Configuring htmlminimalist0.12...
Installed parsec3.1.11
Building htmlminimalist0.12...
Installed htmlminimalist0.12
Installed QuickCheck2.9.2
Configuring permutation0.5.0.5...
Building permutation0.5.0.5...
Installed permutation0.5.0.5
cabal: Error: some packages failed to install:
SG1.0 failed during the building phase. The exception was:
ExitFailure 1
hcgminus0.12 depends on SG1.0 which failed to install.
hly0.12 depends on SG1.0 which failed to install.
hmt0.12 depends on SG1.0 which failed to install.