Build #3 for plot-light-0.3.2.1

[all reports]

Package plot-light-0.3.2.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-03-18 03:34:47.588731031 UTC
Compiler ghc-8.2.2
OS linux
Arch x86_64
Dependencies base-4.10.1.0, blaze-svg-0.3.6.1, colour-2.3.4, containers-0.5.10.2, data-default-class-0.1.2.0, mtl-2.2.1, scientific-0.3.5.2, text-1.2.2.2, time-1.8.0.2
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring colour-2.3.4...
Configuring blaze-builder-0.4.1.0...
Building colour-2.3.4...
Building blaze-builder-0.4.1.0...
Installed blaze-builder-0.4.1.0
Configuring data-default-class-0.1.2.0...
Building data-default-class-0.1.2.0...
Installed data-default-class-0.1.2.0
Configuring blaze-markup-0.8.2.0...
Installed colour-2.3.4
Building blaze-markup-0.8.2.0...
Installed blaze-markup-0.8.2.0
Configuring blaze-svg-0.3.6.1...
Building blaze-svg-0.3.6.1...
Installed blaze-svg-0.3.6.1
Configuring plot-light-0.3.2.1...
Building plot-light-0.3.2.1...
Failed to install plot-light-0.3.2.1
Build log ( /home/builder/.cabal/logs/ghc-8.2.2/plot-light-0.3.2.1-w30jVqhYbb1TABHz0PKAl.log ):
cabal: Entering directory '/tmp/cabal-tmp-24694/plot-light-0.3.2.1'
Configuring plot-light-0.3.2.1...
Preprocessing library for plot-light-0.3.2.1..
Building library for plot-light-0.3.2.1..
[ 1 of 12] Compiling Graphics.Rendering.Plot.Light.Internal.Geometry ( src/Graphics/Rendering/Plot/Light/Internal/Geometry.hs, dist/build/Graphics/Rendering/Plot/Light/Internal/Geometry.o )

src/Graphics/Rendering/Plot/Light/Internal/Geometry.hs:28:34: warning: [-Wduplicate-exports]
    ‘moveLabeledPointBwFrames’ is exported by ‘moveLabeledPointBwFrames’ and ‘moveLabeledPointBwFrames’
   |
28 |   movePoint, moveLabeledPointV2, moveLabeledPointBwFrames, (-.), pointRange,
   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal/Geometry.hs:38:1: warning: [-Wunused-imports]
    The import of ‘Data.Monoid’ is redundant
      except perhaps to import instances from ‘Data.Monoid’
    To import instances alone, use: import Data.Monoid()
   |
38 | import Data.Monoid ((<>))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal/Geometry.hs:65:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘lift1Point’
   |
65 | lift1Point f (Point x y) = f x y
   | ^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal/Geometry.hs:81:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘norm2fromOrigin’
   |
81 | norm2fromOrigin p = norm2 $ p -. origin
   | ^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal/Geometry.hs:339:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘rotMtx’
    |
339 | rotMtx r = Mat2 (cos r) (- (sin r)) (sin r) (cos r)
    | ^^^^^^
[ 2 of 12] Compiling Graphics.Rendering.Plot.Light.Internal.Utils ( src/Graphics/Rendering/Plot/Light/Internal/Utils.hs, dist/build/Graphics/Rendering/Plot/Light/Internal/Utils.o )
[ 3 of 12] Compiling Graphics.Rendering.Plot.Light.Internal ( src/Graphics/Rendering/Plot/Light/Internal.hs, dist/build/Graphics/Rendering/Plot/Light/Internal.o )

src/Graphics/Rendering/Plot/Light/Internal.hs:10:1: warning: [-Wunused-imports]
    The import of ‘forM’ from module ‘Control.Monad’ is redundant
   |
10 | import Control.Monad (forM, forM_)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal.hs:11:1: warning: [-Wunused-imports]
    The import of ‘Control.Monad.State’ is redundant
      except perhaps to import instances from ‘Control.Monad.State’
    To import instances alone, use: import Control.Monad.State()
   |
11 | import Control.Monad.State
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal.hs:13:1: warning: [-Wunused-imports]
    The import of ‘toRealFloat’
    from module ‘Data.Scientific’ is redundant
   |
13 | import Data.Scientific (Scientific, toRealFloat)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal.hs:23:1: warning: [-Wunused-imports]
    The import of ‘Text.Blaze.Svg.Renderer.String’ is redundant
      except perhaps to import instances from ‘Text.Blaze.Svg.Renderer.String’
    To import instances alone, use: import Text.Blaze.Svg.Renderer.String()
   |
23 | import Text.Blaze.Svg.Renderer.String (renderSvg)
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal.hs:125:21: warning: [-Wunused-top-binds]
    Defined but not used: ‘unCol’
    |
125 | newtype Col = Col { unCol :: C.Colour Double} deriving (Eq, Show, Generic)
    |                     ^^^^^

src/Graphics/Rendering/Plot/Light/Internal.hs:130:5: warning: [-Wunused-top-binds]
    Defined but not used: ‘loStrokeWidth’
    |
130 |     loStrokeWidth :: a            -- ^ Stroke width 
    |     ^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal.hs:131:5: warning: [-Wunused-top-binds]
    Defined but not used: ‘loStrokeType’
    |
131 |   , loStrokeType :: LineStroke_ a -- ^ Stroke type
    |     ^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal.hs:132:5: warning: [-Wunused-top-binds]
    Defined but not used: ‘loColour’
    |
132 |   , loColour :: Col               -- ^ Stroke colour
    |     ^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal.hs:137:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘lineOptionCycle’
    |
137 | lineOptionCycle lw =
    | ^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal.hs:144:5: warning: [-Wunused-local-binds]
    Defined but not used: ‘nc’
    |
144 |     nc = length cols
    |     ^^

src/Graphics/Rendering/Plot/Light/Internal.hs:212:30: warning: [-Wunused-matches]
    Defined but not used: ‘y’
    |
212 | crossGlyph w sw col (Point x y) = do
    |                              ^

src/Graphics/Rendering/Plot/Light/Internal.hs:354:5: warning: [-Wunused-local-binds]
    Defined but not used: ‘fontsize’
    |
354 |     fontsize = figLabelFontSize fd
    |     ^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal.hs:646:5: warning: [-Wunused-local-binds]
    Defined but not used: ‘wrect’
    |
646 |     wrect = 0.95 * (1 - figRightMFrac fdat) * figWidth fdat
    |     ^^^^^

src/Graphics/Rendering/Plot/Light/Internal.hs:647:5: warning: [-Wunused-local-binds]
    Defined but not used: ‘hrect’
    |
647 |     hrect = 1.5 * legh
    |     ^^^^^

src/Graphics/Rendering/Plot/Light/Internal.hs:648:5: warning: [-Wunused-local-binds]
    Defined but not used: ‘prect’
    |
648 |     prect = movePoint (V2 (-0.5 * w) (-0.5 * w)) p2
    |     ^^^^^
[ 4 of 12] Compiling Graphics.Rendering.Plot.Light.Internal.Layout ( src/Graphics/Rendering/Plot/Light/Internal/Layout.hs, dist/build/Graphics/Rendering/Plot/Light/Internal/Layout.o )

src/Graphics/Rendering/Plot/Light/Internal/Layout.hs:4:1: warning: [-Wunused-imports]
    The qualified import of ‘Data.IntMap’ is redundant
      except perhaps to import instances from ‘Data.IntMap’
    To import instances alone, use: import Data.IntMap()
  |
4 | import qualified Data.IntMap as IM
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal/Layout.hs:6:1: warning: [-Wunused-imports]
    The import of ‘Graphics.Rendering.Plot.Light.Internal.Geometry’ is redundant
      except perhaps to import instances from ‘Graphics.Rendering.Plot.Light.Internal.Geometry’
    To import instances alone, use: import Graphics.Rendering.Plot.Light.Internal.Geometry()
  |
6 | import Graphics.Rendering.Plot.Light.Internal.Geometry
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal/Layout.hs:7:1: warning: [-Wunused-imports]
    The import of ‘Graphics.Rendering.Plot.Light.Internal’ is redundant
      except perhaps to import instances from ‘Graphics.Rendering.Plot.Light.Internal’
    To import instances alone, use: import Graphics.Rendering.Plot.Light.Internal()
  |
7 | import Graphics.Rendering.Plot.Light.Internal
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal/Layout.hs:9:1: warning: [-Wunused-imports]
    The qualified import of ‘Data.Colour’ is redundant
      except perhaps to import instances from ‘Data.Colour’
    To import instances alone, use: import Data.Colour()
  |
9 | import qualified Data.Colour as C
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal/Layout.hs:10:1: warning: [-Wunused-imports]
    The qualified import of ‘Data.Text’ is redundant
      except perhaps to import instances from ‘Data.Text’
    To import instances alone, use: import Data.Text()
   |
10 | import qualified Data.Text as T
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/Internal/Layout.hs:99:10: warning: [-Wmissing-methods]
    • No explicit implementation for
        either ‘<*>’ or ‘GHC.Base.liftA2’
    • In the instance declaration for ‘Applicative (Free f)’
   |
99 | instance Functor f => Applicative (Free f) where
   |          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 5 of 12] Compiling Data.TimeSeries  ( src/Data/TimeSeries.hs, dist/build/Data/TimeSeries.o )
[ 6 of 12] Compiling Graphics.Rendering.Plot.Light.PlotTypes.Heatmap ( src/Graphics/Rendering/Plot/Light/PlotTypes/Heatmap.hs, dist/build/Graphics/Rendering/Plot/Light/PlotTypes/Heatmap.o )

src/Graphics/Rendering/Plot/Light/PlotTypes/Heatmap.hs:4:1: warning: [-Wunused-imports]
    The import of ‘Control.Monad.State’ is redundant
      except perhaps to import instances from ‘Control.Monad.State’
    To import instances alone, use: import Control.Monad.State()
  |
4 | import Control.Monad.State
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Heatmap.hs:5:1: warning: [-Wunused-imports]
    The import of ‘toRealFloat’
    from module ‘Data.Scientific’ is redundant
  |
5 | import Data.Scientific (Scientific, toRealFloat)
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Heatmap.hs:10:1: warning: [-Wunused-imports]
    The import of ‘***’ from module ‘Control.Arrow’ is redundant
   |
10 | import Control.Arrow ((***), (&&&))
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Heatmap.hs:22:5: warning: [-Wunused-top-binds]
    Defined but not used: ‘mgFrame’
   |
22 |     mgFrame :: Frame a
   |     ^^^^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Heatmap.hs:23:5: warning: [-Wunused-top-binds]
    Defined but not used: ‘mgNx’
   |
23 |   , mgNx :: Int
   |     ^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Heatmap.hs:24:5: warning: [-Wunused-top-binds]
    Defined but not used: ‘mgNy’
   |
24 |   , mgNy :: Int
   |     ^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Heatmap.hs:28:5: warning: [-Wunused-top-binds]
    Defined but not used: ‘hmMesh’
   |
28 |     hmMesh :: MeshGrid2d a
   |     ^^^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Heatmap.hs:29:5: warning: [-Wunused-top-binds]
    Defined but not used: ‘hmPalette’
   |
29 |   , hmPalette :: [C.Colour Double]
   |     ^^^^^^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Heatmap.hs:30:5: warning: [-Wunused-top-binds]
    Defined but not used: ‘hmValMin’
   |
30 |   , hmValMin :: a
   |     ^^^^^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Heatmap.hs:31:5: warning: [-Wunused-top-binds]
    Defined but not used: ‘hmValMax’
   |
31 |   , hmValMax :: a
   |     ^^^^^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Heatmap.hs:35:1: warning: [-Wunused-top-binds]
    Defined but not used: ‘heatmapDefaults’
   |
35 | heatmapDefaults = Heatmap mesh pal 0 1
   | ^^^^^^^^^^^^^^^
[ 7 of 12] Compiling Graphics.Rendering.Plot.Light.PlotTypes.Histogram ( src/Graphics/Rendering/Plot/Light/PlotTypes/Histogram.hs, dist/build/Graphics/Rendering/Plot/Light/PlotTypes/Histogram.o )

src/Graphics/Rendering/Plot/Light/PlotTypes/Histogram.hs:3:1: warning: [-Wunused-imports]
    The import of ‘Graphics.Rendering.Plot.Light.Internal’ is redundant
      except perhaps to import instances from ‘Graphics.Rendering.Plot.Light.Internal’
    To import instances alone, use: import Graphics.Rendering.Plot.Light.Internal()
  |
3 | import Graphics.Rendering.Plot.Light.Internal
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Histogram.hs:5:1: warning: [-Wunused-imports]
    The import of ‘Control.Monad’ is redundant
      except perhaps to import instances from ‘Control.Monad’
    To import instances alone, use: import Control.Monad()
  |
5 | import Control.Monad (forM_)
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Histogram.hs:6:1: warning: [-Wunused-imports]
    The import of ‘Text.Blaze.Svg’ is redundant
      except perhaps to import instances from ‘Text.Blaze.Svg’
    To import instances alone, use: import Text.Blaze.Svg()
  |
6 | import Text.Blaze.Svg
  | ^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Histogram.hs:7:1: warning: [-Wunused-imports]
    The qualified import of ‘Data.Colour’ is redundant
      except perhaps to import instances from ‘Data.Colour’
    To import instances alone, use: import Data.Colour()
  |
7 | import qualified Data.Colour as C
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Histogram.hs:9:1: warning: [-Wunused-imports]
    The qualified import of ‘Data.Colour.Names’ is redundant
      except perhaps to import instances from ‘Data.Colour.Names’
    To import instances alone, use: import Data.Colour.Names()
  |
9 | import qualified Data.Colour.Names as C
  | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/Graphics/Rendering/Plot/Light/PlotTypes/Histogram.hs:12:11: warning: [-Wunused-matches]
    Defined but not used: ‘figdata’
   |
12 | histogram figdata = undefined 
   |           ^^^^^^^
[ 8 of 12] Compiling Graphics.Rendering.Plot.Light.PlotTypes.Scatter ( src/Graphics/Rendering/Plot/Light/PlotTypes/Scatter.hs, dist/build/Graphics/Rendering/Plot/Light/PlotTypes/Scatter.o )

src/Graphics/Rendering/Plot/Light/PlotTypes/Scatter.hs:12:1: warning: [-Wunused-imports]
    The qualified import of ‘Data.Colour.Names’ is redundant
      except perhaps to import instances from ‘Data.Colour.Names’
    To import instances alone, use: import Data.Colour.Names()
   |
12 | import qualified Data.Colour.Names as C
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 9 of 12] Compiling Graphics.Rendering.Plot.Light.PlotTypes.TimeSeries ( src/Graphics/Rendering/Plot/Light/PlotTypes/TimeSeries.hs, dist/build/Graphics/Rendering/Plot/Light/PlotTypes/TimeSeries.o )
[10 of 12] Compiling Graphics.Rendering.Plot.Light.PlotTypes ( src/Graphics/Rendering/Plot/Light/PlotTypes.hs, dist/build/Graphics/Rendering/Plot/Light/PlotTypes.o )

src/Graphics/Rendering/Plot/Light/PlotTypes.hs:8:1: error:
    Could not find module ‘Data.Parsers’
    Use -v to see a list of the files searched for.
  |
8 | import Data.Parsers as X
  | ^^^^^^^^^^^^^^^^^^^^^^^^
cabal: Leaving directory '/tmp/cabal-tmp-24694/plot-light-0.3.2.1'
cabal: Error: some packages failed to install:
plot-light-0.3.2.1-w30jVqhYbb1TABHz0PKAl failed during the building phase. The
exception was:
ExitFailure 1

Test log

No test log was submitted for this report.