Build #3 for neural-0.3.0.1

[all reports]

Package neural-0.3.0.1
Install BuildFailed
Docs NotTried
Tests NotTried
Time submitted 2017-08-20 00:12:20.14995947 UTC
Compiler ghc-8.0.2
OS linux
Arch x86_64
Dependencies MonadRandom-0.5.1, STMonadTrans-0.4.3, ad-4.3.4, array-0.5.1.1, base-4.9.1.0, bytestring-0.10.8.1, containers-0.5.7.1, deepseq-1.4.2.0, directory-1.3.0.0, filepath-1.4.1.1, ghc-typelits-natnormalise-0.5.3, hspec-2.4.4, kan-extensions-5.0.2, lens-4.15.4, monad-par-0.3.4.8, monad-par-extras-0.3.3, mtl-2.2.1, parallel-3.2.1.1, pipes-4.2.0, pipes-bytestring-2.1.6, pipes-safe-2.2.4, profunctors-5.2.1, random-1.1, reflection-2.1.2, text-1.2.2.2, transformers-0.5.2.0, typelits-witnesses-0.2.3.0, vector-0.12.0.1, vector-sized-0.6.1.0, JuicyPixels-3.2.8.3, array-0.5.1.1, base-4.9.1.0, pipes-4.2.0, pipes-zlib-0.4.4.1, attoparsec-0.13.2.0, base-4.9.1.0, text-1.2.2.2, MonadRandom-0.5.1, ansi-terminal-0.7, array-0.5.1.1, base-4.9.1.0, MonadRandom-0.5.1, base-4.9.1.0
Flags none

Code Coverage

No Code Coverage was submitted for this report.

Build log

[view raw]

Resolving dependencies...
Configuring abstract-par-0.3.3...
Configuring base-compat-0.9.3...
Building abstract-par-0.3.3...
Building base-compat-0.9.3...
Configuring base-orphans-0.6...
Installed abstract-par-0.3.3
Building base-orphans-0.6...
Configuring call-stack-0.1.0...
Installed base-compat-0.9.3
Building call-stack-0.1.0...
Configuring cereal-0.5.4.0...
Installed base-orphans-0.6
Building cereal-0.5.4.0...
Configuring cabal-doctest-1.0.2...
Installed call-stack-0.1.0
Building cabal-doctest-1.0.2...
Configuring data-reify-0.6.1...
Installed cabal-doctest-1.0.2
Building data-reify-0.6.1...
Configuring colour-2.3.3...
Installed cereal-0.5.4.0
Configuring fail-4.9.0.0...
Installed data-reify-0.6.1
Building colour-2.3.3...
Building fail-4.9.0.0...
Configuring erf-2.0.0.0...
Installed fail-4.9.0.0
Building erf-2.0.0.0...
Configuring finite-typelits-0.1.2.0...
Installed erf-2.0.0.0
Building finite-typelits-0.1.2.0...
Configuring ghc-tcplugins-extra-0.2.1...
Installed finite-typelits-0.1.2.0
Configuring hspec-discover-2.4.4...
Installed colour-2.3.3
Building ghc-tcplugins-extra-0.2.1...
Building hspec-discover-2.4.4...
Configuring integer-logarithms-1.0.2...
Installed ghc-tcplugins-extra-0.2.1
Configuring mtl-2.2.1...
Installed hspec-discover-2.4.4
Building integer-logarithms-1.0.2...
Building mtl-2.2.1...
Configuring nats-1.1.1...
Installed integer-logarithms-1.0.2
Building nats-1.1.1...
Configuring network-2.6.3.2...
Installed nats-1.1.1
Configuring parallel-3.2.1.1...
Installed mtl-2.2.1
Building parallel-3.2.1.1...
Building network-2.6.3.2...
Configuring prelude-extras-0.4.0.3...
Installed parallel-3.2.1.1
Building prelude-extras-0.4.0.3...
Configuring primitive-0.6.2.0...
Installed prelude-extras-0.4.0.3
Building primitive-0.6.2.0...
Configuring random-1.1...
Installed network-2.6.3.2
Building random-1.1...
Configuring reflection-2.1.2...
Installed random-1.1
Building reflection-2.1.2...
Configuring semigroups-0.18.3...
Installed primitive-0.6.2.0
Building semigroups-0.18.3...
Configuring setenv-0.1.1.3...
Installed semigroups-0.18.3
Building setenv-0.1.1.3...
Configuring stm-2.4.4.1...
Installed setenv-0.1.1.3
Configuring stringsearch-0.3.6.6...
Installed reflection-2.1.2
Building stm-2.4.4.1...
Building stringsearch-0.3.6.6...
Configuring text-1.2.2.2...
Installed stm-2.4.4.1
Building text-1.2.2.2...
Configuring th-abstraction-0.2.5.0...
Installed stringsearch-0.3.6.6
Building th-abstraction-0.2.5.0...
Configuring transformers-compat-0.5.1.4...
Installed th-abstraction-0.2.5.0
Building transformers-compat-0.5.1.4...
Configuring void-0.7.2...
Installed transformers-compat-0.5.1.4
Building void-0.7.2...
Configuring zlib-0.6.1.2...
Installed void-0.7.2
Building zlib-0.6.1.2...
Installed text-1.2.2.2
Configuring HUnit-1.6.0.0...
Configuring ansi-terminal-0.7...
Installed zlib-0.6.1.2
Building HUnit-1.6.0.0...
Building ansi-terminal-0.7...
Configuring ghc-typelits-natnormalise-0.5.3...
Installed HUnit-1.6.0.0
Configuring STMonadTrans-0.4.3...
Installed ansi-terminal-0.7
Building ghc-typelits-natnormalise-0.5.3...
Building STMonadTrans-0.4.3...
Installed STMonadTrans-0.4.3
Configuring monad-par-extras-0.3.3...
Building monad-par-extras-0.3.3...
Configuring abstract-deque-0.3...
Installed ghc-typelits-natnormalise-0.5.3
Building abstract-deque-0.3...
Configuring tf-random-0.5...
Installed monad-par-extras-0.3.3
Building tf-random-0.5...
Configuring vector-0.12.0.1...
Installed abstract-deque-0.3
Building vector-0.12.0.1...
Configuring StateVar-1.1.0.4...
Installed tf-random-0.5
Building StateVar-1.1.0.4...
Configuring async-2.1.1.1...
Installed StateVar-1.1.0.4
Building async-2.1.1.1...
Configuring MonadRandom-0.5.1...
Installed async-2.1.1.1
Building MonadRandom-0.5.1...
Configuring mmorph-1.0.9...
Installed MonadRandom-0.5.1
Building mmorph-1.0.9...
Configuring exceptions-0.8.3...
Installed mmorph-1.0.9
Building exceptions-0.8.3...
Configuring tagged-0.8.5...
Installed exceptions-0.8.3
Building tagged-0.8.5...
Configuring transformers-base-0.4.4...
Installed tagged-0.8.5
Building transformers-base-0.4.4...
Configuring blaze-builder-0.4.0.2...
Installed vector-0.12.0.1
Configuring hashable-1.2.6.1...
Installed transformers-base-0.4.4
Building blaze-builder-0.4.0.2...
Building hashable-1.2.6.1...
Installed blaze-builder-0.4.0.2
Configuring hspec-expectations-0.8.2...
Building hspec-expectations-0.8.2...
Installed hashable-1.2.6.1
Configuring contravariant-1.4...
Building contravariant-1.4...
Configuring QuickCheck-2.10.0.1...
Installed hspec-expectations-0.8.2
Building QuickCheck-2.10.0.1...
Configuring pipes-4.2.0...
Installed contravariant-1.4
Building pipes-4.2.0...
Configuring distributive-0.5.3...
Installed pipes-4.2.0
Building distributive-0.5.3...
Warning: /tmp/pkgConf-distributive-0.510125029541272469786.3: Unrecognized
field dynamic-library-dirs on line 22
Installed distributive-0.5.3
Configuring vector-th-unbox-0.2.1.6...
Building vector-th-unbox-0.2.1.6...
Configuring monad-control-1.0.2.2...
Installed vector-th-unbox-0.2.1.6
Building monad-control-1.0.2.2...
Configuring JuicyPixels-3.2.8.3...
Installed QuickCheck-2.10.0.1
Building JuicyPixels-3.2.8.3...
Configuring vector-sized-0.6.1.0...
Installed monad-control-1.0.2.2
Building vector-sized-0.6.1.0...
Configuring streaming-commons-0.1.18...
Installed vector-sized-0.6.1.0
Building streaming-commons-0.1.18...
Installed streaming-commons-0.1.18
Configuring constraints-0.9.1...
Building constraints-0.9.1...
Installed constraints-0.9.1
Configuring scientific-0.3.5.1...
Building scientific-0.3.5.1...
Configuring unordered-containers-0.2.8.0...
Installed scientific-0.3.5.1
Building unordered-containers-0.2.8.0...
Installed JuicyPixels-3.2.8.3
Configuring pipes-parse-3.0.8...
Building pipes-parse-3.0.8...
Installed pipes-parse-3.0.8
Configuring comonad-5.0.2...
Building comonad-5.0.2...
Installed unordered-containers-0.2.8.0
Configuring quickcheck-io-0.2.0...
Building quickcheck-io-0.2.0...
Configuring pipes-safe-2.2.4...
Installed quickcheck-io-0.2.0
Warning: /tmp/pkgConf-comonad-5.0707900973407487131.2: Unrecognized field
dynamic-library-dirs on line 29
Configuring math-functions-0.2.1.0...
Installed comonad-5.0.2
Building pipes-safe-2.2.4...
Building math-functions-0.2.1.0...
Configuring pipes-zlib-0.4.4.1...
Installed pipes-safe-2.2.4
Building pipes-zlib-0.4.4.1...
Configuring typelits-witnesses-0.2.3.0...
Installed pipes-zlib-0.4.4.1
Building typelits-witnesses-0.2.3.0...
Configuring attoparsec-0.13.2.0...
Installed typelits-witnesses-0.2.3.0
Building attoparsec-0.13.2.0...
Installed math-functions-0.2.1.0
Configuring hspec-core-2.4.4...
Building hspec-core-2.4.4...
Configuring bifunctors-5.4.2...
Installed attoparsec-0.13.2.0
Building bifunctors-5.4.2...
Configuring mwc-random-0.13.6.0...
Installed hspec-core-2.4.4
Building mwc-random-0.13.6.0...
Configuring hspec-2.4.4...
Installed mwc-random-0.13.6.0
Configuring monad-par-0.3.4.8...
Installed bifunctors-5.4.2
Building hspec-2.4.4...
Building monad-par-0.3.4.8...
Installed hspec-2.4.4
Configuring profunctors-5.2.1...
Building profunctors-5.2.1...
Configuring semigroupoids-5.2.1...
Installed monad-par-0.3.4.8
Building semigroupoids-5.2.1...
Installed profunctors-5.2.1
Warning: /tmp/pkgConf-semigroupoids-5.217998782061555319301.1: Unrecognized
field dynamic-library-dirs on line 60
Installed semigroupoids-5.2.1
Configuring free-4.12.4...
Building free-4.12.4...
Installed free-4.12.4
Configuring ad-4.3.4...
Configuring pipes-group-1.0.7...
Building pipes-group-1.0.7...
Configuring adjunctions-4.3...
Installed pipes-group-1.0.7
Building ad-4.3.4...
Building adjunctions-4.3...
Configuring pipes-bytestring-2.1.6...
Installed adjunctions-4.3
Building pipes-bytestring-2.1.6...
Configuring kan-extensions-5.0.2...
Installed pipes-bytestring-2.1.6
Building kan-extensions-5.0.2...
Installed kan-extensions-5.0.2
Configuring lens-4.15.4...
Building lens-4.15.4...
Warning: /tmp/pkgConf-ad-4.31046741222337739299.4: Unrecognized field
dynamic-library-dirs on line 83
Installed ad-4.3.4
Warning: /tmp/pkgConf-lens-4.1518963066401343606042.4: Unrecognized field
dynamic-library-dirs on line 122
Installed lens-4.15.4
Configuring neural-0.3.0.1...
Building neural-0.3.0.1...
Failed to install neural-0.3.0.1
Build log ( /home/builder/.cabal/logs/neural-0.3.0.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-31527/neural-0.3.0.1'
Configuring neural-0.3.0.1...
Building neural-0.3.0.1...
Preprocessing library neural-0.3.0.1...
[ 1 of 22] Compiling Data.Utils.Statistics ( src/Data/Utils/Statistics.hs, dist/build/Data/Utils/Statistics.o )
[ 2 of 22] Compiling Data.Utils.Arrow ( src/Data/Utils/Arrow.hs, dist/build/Data/Utils/Arrow.o )
[ 3 of 22] Compiling Data.MyPrelude   ( src/Data/MyPrelude.hs, dist/build/Data/MyPrelude.o )
[ 4 of 22] Compiling Data.Utils.Analytic ( src/Data/Utils/Analytic.hs, dist/build/Data/Utils/Analytic.o )
[ 5 of 22] Compiling Data.Utils.Cache ( src/Data/Utils/Cache.hs, dist/build/Data/Utils/Cache.o )
[ 6 of 22] Compiling Data.Utils.Stack ( src/Data/Utils/Stack.hs, dist/build/Data/Utils/Stack.o )
[ 7 of 22] Compiling Data.Utils.Traversable ( src/Data/Utils/Traversable.hs, dist/build/Data/Utils/Traversable.o )
[ 8 of 22] Compiling Data.Utils.List  ( src/Data/Utils/List.hs, dist/build/Data/Utils/List.o )
[ 9 of 22] Compiling Data.Utils.Pipes ( src/Data/Utils/Pipes.hs, dist/build/Data/Utils/Pipes.o )
[10 of 22] Compiling Data.Utils.Random ( src/Data/Utils/Random.hs, dist/build/Data/Utils/Random.o )
[11 of 22] Compiling Numeric.Neural.Model ( src/Numeric/Neural/Model.hs, dist/build/Numeric/Neural/Model.o )
[12 of 22] Compiling Data.FixedSize.Class ( src/Data/FixedSize/Class.hs, dist/build/Data/FixedSize/Class.o )
[13 of 22] Compiling Data.FixedSize.Vector ( src/Data/FixedSize/Vector.hs, dist/build/Data/FixedSize/Vector.o )

src/Data/FixedSize/Vector.hs:104:31: error:
    • Couldn't match type ‘1 + n’ with ‘n + 1’
      Expected type: VS.Vector (n + 1) a
        Actual type: VS.Vector (1 + n) a
      NB: ‘+’ is a type function, and may not be injective
    • In the second argument of ‘($)’, namely ‘VS.cons x xs’
      In the expression: Vector $ VS.cons x xs
      In an equation for ‘cons’:
          cons x (Vector xs) = Vector $ VS.cons x xs
    • Relevant bindings include
        xs :: VS.Vector n a (bound at src/Data/FixedSize/Vector.hs:104:16)
        cons :: a -> Vector n a -> Vector (n + 1) a
          (bound at src/Data/FixedSize/Vector.hs:104:1)

src/Data/FixedSize/Vector.hs:112:28: error:
    • Couldn't match type ‘n + 1’ with ‘1 + n0’
      Expected type: VS.Vector (1 + n0) a
        Actual type: VS.Vector (n + 1) a
      NB: ‘+’ is a type function, and may not be injective
      The type variable ‘n0’ is ambiguous
    • In the first argument of ‘VS.head’, namely ‘v’
      In the expression: VS.head v
      In an equation for ‘vhead’: vhead (Vector v) = VS.head v
    • Relevant bindings include
        v :: VS.Vector (n + 1) a
          (bound at src/Data/FixedSize/Vector.hs:112:15)
        vhead :: Vector (n + 1) a -> a
          (bound at src/Data/FixedSize/Vector.hs:112:1)

src/Data/FixedSize/Vector.hs:120:37: error:
    • Couldn't match type ‘n + 1’ with ‘1 + n’
      Expected type: VS.Vector (1 + n) a
        Actual type: VS.Vector (n + 1) a
      NB: ‘+’ is a type function, and may not be injective
    • In the first argument of ‘VS.tail’, namely ‘v’
      In the second argument of ‘($)’, namely ‘VS.tail v’
      In the expression: Vector $ VS.tail v
    • Relevant bindings include
        v :: VS.Vector (n + 1) a
          (bound at src/Data/FixedSize/Vector.hs:120:15)
        vtail :: Vector (n + 1) a -> Vector n a
          (bound at src/Data/FixedSize/Vector.hs:120:1)
cabal: Leaving directory '/tmp/cabal-tmp-31527/neural-0.3.0.1'
cabal: Error: some packages failed to install:
neural-0.3.0.1 failed during the building phase. The exception was:
ExitFailure 1

Test log

No test log was submitted for this report.