Build #2 for perf-analysis-0.0.1.0

[all reports]

Package perf-analysis-0.0.1.0
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2018-05-31 06:15:31.437216306 UTC
Compiler ghc-8.2.2
OS linux
Arch x86_64
Dependencies base-4.10.1.0, deepseq-1.4.3.0, formatting-6.3.4, perf-0.4.0.1, protolude-0.2.2, scientific-0.3.5.2, tdigest-0.2, text-1.2.2.2, vector-0.12.0.1, base-4.10.1.0, containers-0.5.10.2, deepseq-1.4.3.0, formatting-6.3.4, optparse-generic-1.3.0, perf-0.4.0.1, protolude-0.2.2, scientific-0.3.5.2, tdigest-0.2, text-1.2.2.2, vector-0.12.0.1
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring Only-0.1...
Configuring base-compat-0.10.1...
Building Only-0.1...
Building base-compat-0.10.1...
Installed Only-0.1
Configuring base-orphans-0.7...
Building base-orphans-0.7...
Installed base-orphans-0.7
Configuring base-prelude-1.2.1...
Building base-prelude-1.2.1...
Installed base-compat-0.10.1
Configuring cabal-doctest-1.0.6...
Installed base-prelude-1.2.1
Configuring clock-0.7.2...
Building cabal-doctest-1.0.6...
Building clock-0.7.2...
Installed clock-0.7.2
Configuring colour-2.3.4...
Installed cabal-doctest-1.0.6
Configuring fingertree-0.1.4.1...
Building colour-2.3.4...
Building fingertree-0.1.4.1...
Installed colour-2.3.4
Configuring mtl-compat-0.2.1.3...
Building mtl-compat-0.2.1.3...
Installed fingertree-0.1.4.1
Configuring old-locale-1.0.0.7...
Installed mtl-compat-0.2.1.3
Configuring rdtsc-1.3.0.1...
Building old-locale-1.0.0.7...
Building rdtsc-1.3.0.1...
Installed old-locale-1.0.0.7
Configuring semigroups-0.18.4...
Installed rdtsc-1.3.0.1
Configuring system-filepath-0.4.14...
Building semigroups-0.18.4...
Installed semigroups-0.18.4
Configuring th-abstraction-0.2.6.0...
Building system-filepath-0.4.14...
Building th-abstraction-0.2.6.0...
Installed system-filepath-0.4.14
Configuring transformers-compat-0.6.2...
Building transformers-compat-0.6.2...
Installed th-abstraction-0.2.6.0
Configuring vector-algorithms-0.7.0.1...
Building vector-algorithms-0.7.0.1...
Installed transformers-compat-0.6.2
Configuring vector-th-unbox-0.2.1.6...
Building vector-th-unbox-0.2.1.6...
Installed vector-th-unbox-0.2.1.6
Configuring void-0.7.2...
Building void-0.7.2...
Installed void-0.7.2
Configuring ansi-terminal-0.8.0.4...
Building ansi-terminal-0.8.0.4...
Installed vector-algorithms-0.7.0.1
Configuring vector-builder-0.3.4.1...
Building vector-builder-0.3.4.1...
Installed ansi-terminal-0.8.0.4
Configuring formatting-6.3.4...
Installed vector-builder-0.3.4.1
Configuring tagged-0.8.5...
Building formatting-6.3.4...
Building tagged-0.8.5...
Installed tagged-0.8.5
Configuring protolude-0.2.2...
Building protolude-0.2.2...
Installed formatting-6.3.4
Configuring contravariant-1.4.1...
Building contravariant-1.4.1...
Installed protolude-0.2.2
Configuring math-functions-0.2.1.0...
Building math-functions-0.2.1.0...
Installed contravariant-1.4.1
Configuring ansi-wl-pprint-0.6.8.2...
Building ansi-wl-pprint-0.6.8.2...
Installed ansi-wl-pprint-0.6.8.2
Configuring distributive-0.5.3...
Building distributive-0.5.3...
Installed distributive-0.5.3
Configuring optparse-applicative-0.14.2.0...
Installed math-functions-0.2.1.0
Configuring comonad-5.0.3...
Building optparse-applicative-0.14.2.0...
Building comonad-5.0.3...
Installed comonad-5.0.3
Configuring mwc-random-0.13.6.0...
Installed optparse-applicative-0.14.2.0
Configuring bifunctors-5.5.2...
Building mwc-random-0.13.6.0...
Building bifunctors-5.5.2...
Installed mwc-random-0.13.6.0
Configuring optparse-generic-1.3.0...
Building optparse-generic-1.3.0...
Installed bifunctors-5.5.2
Configuring semigroupoids-5.2.2...
Building semigroupoids-5.2.2...
Installed optparse-generic-1.3.0
Configuring profunctors-5.2.2...
Building profunctors-5.2.2...
Installed semigroupoids-5.2.2
Configuring reducers-3.12.2...
Building reducers-3.12.2...
Installed profunctors-5.2.2
Configuring foldl-1.4.0...
Building foldl-1.4.0...
Installed reducers-3.12.2
Configuring tdigest-0.2...
Installed foldl-1.4.0
Configuring perf-0.4.0.1...
Building perf-0.4.0.1...
Building tdigest-0.2...
Installed perf-0.4.0.1
Installed tdigest-0.2
Configuring perf-analysis-0.0.1.0...
Building perf-analysis-0.0.1.0...
Failed to install perf-analysis-0.0.1.0
Build log ( /home/builder/.cabal/logs/ghc-8.2.2/perf-analysis-0.0.1.0-4XRlyRE7dg1DrziNGOAjqv.log ):
cabal: Entering directory '/tmp/cabal-tmp-31337/perf-analysis-0.0.1.0'
Configuring perf-analysis-0.0.1.0...
Preprocessing library for perf-analysis-0.0.1.0..
Building library for perf-analysis-0.0.1.0..
[1 of 2] Compiling Paths_perf_analysis ( dist/build/autogen/Paths_perf_analysis.hs, dist/build/Paths_perf_analysis.o )
[2 of 2] Compiling Perf.Analysis    ( src/Perf/Analysis.hs, dist/build/Perf/Analysis.o )

src/Perf/Analysis.hs:77:30: error:
    • Couldn't match type ‘a’ with ‘Cycle’
      ‘a’ is a rigid type variable bound by
        the type signature for:
          formatRun :: forall a. Integral a => Text -> Int -> [a] -> Text
        at src/Perf/Analysis.hs:66:1-55
      Expected type: [Cycle]
        Actual type: [a]
    • In the first argument of ‘average’, namely ‘xs’
      In the second argument of ‘($)’, namely ‘average xs’
      In the fifth argument of ‘sformat’, namely
        ‘(fromFloatDigits $ average xs)’
    • Relevant bindings include
        xs :: [a] (bound at src/Perf/Analysis.hs:67:19)
        formatRun :: Text -> Int -> [a] -> Text
          (bound at src/Perf/Analysis.hs:67:1)
   |
77 |   (fromFloatDigits $ average xs)
   |                              ^^
cabal: Leaving directory '/tmp/cabal-tmp-31337/perf-analysis-0.0.1.0'
cabal: Error: some packages failed to install:
perf-analysis-0.0.1.0-4XRlyRE7dg1DrziNGOAjqv failed during the building phase.
The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.