The build succeeded. 11 test suites succeeded, 0 failed.

Build log

> /tmp/stackage-build2454$ stack unpack leancheck-0.7.7@sha256:59e37e7b4e0450289df473cee4cb204a61c20bc59c5b96fdbdec496e39fff859
Unpacked leancheck-0.7.7 to /tmp/stackage-build2454/leancheck-0.7.7/
> /tmp/stackage-build2454/leancheck-0.7.7$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking Setup ...
> /tmp/stackage-build2454/leancheck-0.7.7$ ./Setup configure --package-db=clear --package-db=global --package-db=/home/circleci/project/builds/nightly/pkgdb --libdir=/home/circleci/project/builds/nightly/lib --bindir=/home/circleci/project/builds/nightly/bin --datadir=/home/circleci/project/builds/nightly/share --libexecdir=/home/circleci/project/builds/nightly/libexec --sysconfdir=/home/circleci/project/builds/nightly/etc --docdir=/home/circleci/project/builds/nightly/doc/leancheck-0.7.7 --htmldir=/home/circleci/project/builds/nightly/doc/leancheck-0.7.7 --haddockdir=/home/circleci/project/builds/nightly/doc/leancheck-0.7.7
Configuring leancheck-0.7.7...
> /tmp/stackage-build2454/leancheck-0.7.7$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2454/leancheck-0.7.7$ ./Setup build
Preprocessing library for leancheck-0.7.7..
Building library for leancheck-0.7.7..
[ 1 of 25] Compiling Test.LeanCheck.Core ( src/Test/LeanCheck/Core.hs, dist/build/Test/LeanCheck/Core.o )
[ 2 of 25] Compiling Test.LeanCheck.Basic ( src/Test/LeanCheck/Basic.hs, dist/build/Test/LeanCheck/Basic.o )
[ 3 of 25] Compiling Test.LeanCheck.Derive ( src/Test/LeanCheck/Derive.hs, dist/build/Test/LeanCheck/Derive.o )
[ 4 of 25] Compiling Test.LeanCheck.Function.Eq ( src/Test/LeanCheck/Function/Eq.hs, dist/build/Test/LeanCheck/Function/Eq.o )
[ 5 of 25] Compiling Test.LeanCheck.Generic ( src/Test/LeanCheck/Generic.hs, dist/build/Test/LeanCheck/Generic.o )
[ 6 of 25] Compiling Test.LeanCheck.IO ( src/Test/LeanCheck/IO.hs, dist/build/Test/LeanCheck/IO.o )
[ 7 of 25] Compiling Test.LeanCheck.Stats ( src/Test/LeanCheck/Stats.hs, dist/build/Test/LeanCheck/Stats.o )
[ 8 of 25] Compiling Test.LeanCheck.Tiers ( src/Test/LeanCheck/Tiers.hs, dist/build/Test/LeanCheck/Tiers.o )
[ 9 of 25] Compiling Test.LeanCheck   ( src/Test/LeanCheck.hs, dist/build/Test/LeanCheck.o )
[10 of 25] Compiling Test.LeanCheck.Function.ListsOfPairs ( src/Test/LeanCheck/Function/ListsOfPairs.hs, dist/build/Test/LeanCheck/Function/ListsOfPairs.o )
[11 of 25] Compiling Test.LeanCheck.Function.Listable.ListsOfPairs ( src/Test/LeanCheck/Function/Listable/ListsOfPairs.hs, dist/build/Test/LeanCheck/Function/Listable/ListsOfPairs.o )
[12 of 25] Compiling Test.LeanCheck.Function.Listable ( src/Test/LeanCheck/Function/Listable.hs, dist/build/Test/LeanCheck/Function/Listable.o )
[13 of 25] Compiling Test.LeanCheck.Function.Listable.Periodic ( src/Test/LeanCheck/Function/Listable/Periodic.hs, dist/build/Test/LeanCheck/Function/Listable/Periodic.o )
[14 of 25] Compiling Test.LeanCheck.Error ( src/Test/LeanCheck/Error.hs, dist/build/Test/LeanCheck/Error.o )
[15 of 25] Compiling Test.LeanCheck.Utils.Operators ( src/Test/LeanCheck/Utils/Operators.hs, dist/build/Test/LeanCheck/Utils/Operators.o )
[16 of 25] Compiling Test.LeanCheck.Utils.Types ( src/Test/LeanCheck/Utils/Types.hs, dist/build/Test/LeanCheck/Utils/Types.o )
[17 of 25] Compiling Test.LeanCheck.Utils.TypeBinding ( src/Test/LeanCheck/Utils/TypeBinding.hs, dist/build/Test/LeanCheck/Utils/TypeBinding.o )
[18 of 25] Compiling Test.LeanCheck.Utils ( src/Test/LeanCheck/Utils.hs, dist/build/Test/LeanCheck/Utils.o )
[19 of 25] Compiling Test.LeanCheck.Function.Listable.FunListable ( src/Test/LeanCheck/Function/Listable/FunListable.hs, dist/build/Test/LeanCheck/Function/Listable/FunListable.o )
[20 of 25] Compiling Test.LeanCheck.Function.CoListable ( src/Test/LeanCheck/Function/CoListable.hs, dist/build/Test/LeanCheck/Function/CoListable.o )
[21 of 25] Compiling Test.LeanCheck.Function.Listable.Mixed ( src/Test/LeanCheck/Function/Listable/Mixed.hs, dist/build/Test/LeanCheck/Function/Listable/Mixed.o )
[22 of 25] Compiling Test.LeanCheck.Function.Listable.CoListable ( src/Test/LeanCheck/Function/Listable/CoListable.hs, dist/build/Test/LeanCheck/Function/Listable/CoListable.o )
[23 of 25] Compiling Test.LeanCheck.Function.ShowFunction ( src/Test/LeanCheck/Function/ShowFunction.hs, dist/build/Test/LeanCheck/Function/ShowFunction.o )
[24 of 25] Compiling Test.LeanCheck.Function.Show ( src/Test/LeanCheck/Function/Show.hs, dist/build/Test/LeanCheck/Function/Show.o )
[25 of 25] Compiling Test.LeanCheck.Function ( src/Test/LeanCheck/Function.hs, dist/build/Test/LeanCheck/Function.o )
> /tmp/stackage-build2454/leancheck-0.7.7$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2454/leancheck-0.7.7$ ./Setup copy
Installing library in /home/circleci/project/builds/nightly/lib/x86_64-linux-ghc-8.7.20181117/leancheck-0.7.7-Li9uLZU2PD06DpLwnYhN2f
> /tmp/stackage-build2454/leancheck-0.7.7$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2454/leancheck-0.7.7$ ./Setup register
Registering library for leancheck-0.7.7..

Test log

> /tmp/stackage-build2454/leancheck-0.7.7$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2454/leancheck-0.7.7$ ./Setup configure --enable-tests --package-db=clear --package-db=global --package-db=/home/circleci/project/builds/nightly/pkgdb --libdir=/home/circleci/project/builds/nightly/lib --bindir=/home/circleci/project/builds/nightly/bin --datadir=/home/circleci/project/builds/nightly/share --libexecdir=/home/circleci/project/builds/nightly/libexec --sysconfdir=/home/circleci/project/builds/nightly/etc --docdir=/home/circleci/project/builds/nightly/doc/leancheck-0.7.7 --htmldir=/home/circleci/project/builds/nightly/doc/leancheck-0.7.7 --haddockdir=/home/circleci/project/builds/nightly/doc/leancheck-0.7.7
Configuring leancheck-0.7.7...
> /tmp/stackage-build2454/leancheck-0.7.7$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2454/leancheck-0.7.7$ ./Setup build
Preprocessing library for leancheck-0.7.7..
Building library for leancheck-0.7.7..
[ 3 of 25] Compiling Test.LeanCheck.Derive ( src/Test/LeanCheck/Derive.hs, dist/build/Test/LeanCheck/Derive.o ) [dist/build/autogen/cabal_macros.h changed]
[ 6 of 25] Compiling Test.LeanCheck.IO ( src/Test/LeanCheck/IO.hs, dist/build/Test/LeanCheck/IO.o ) [dist/build/autogen/cabal_macros.h changed]
[ 7 of 25] Compiling Test.LeanCheck.Stats ( src/Test/LeanCheck/Stats.hs, dist/build/Test/LeanCheck/Stats.o ) [dist/build/autogen/cabal_macros.h changed]
[14 of 25] Compiling Test.LeanCheck.Error ( src/Test/LeanCheck/Error.hs, dist/build/Test/LeanCheck/Error.o ) [dist/build/autogen/cabal_macros.h changed]
Preprocessing test suite 'funshow' for leancheck-0.7.7..
Building test suite 'funshow' for leancheck-0.7.7..
[1 of 2] Compiling Test             ( tests/Test.hs, dist/build/funshow/funshow-tmp/Test.o )
[2 of 2] Compiling Main             ( tests/test-funshow.hs, dist/build/funshow/funshow-tmp/Main.o )
Linking dist/build/funshow/funshow ...
Preprocessing test suite 'operators' for leancheck-0.7.7..
Building test suite 'operators' for leancheck-0.7.7..
[1 of 2] Compiling Test             ( tests/Test.hs, dist/build/operators/operators-tmp/Test.o )
[2 of 2] Compiling Main             ( tests/test-operators.hs, dist/build/operators/operators-tmp/Main.o )
Linking dist/build/operators/operators ...
Preprocessing test suite 'tiers' for leancheck-0.7.7..
Building test suite 'tiers' for leancheck-0.7.7..
[1 of 2] Compiling Test             ( tests/Test.hs, dist/build/tiers/tiers-tmp/Test.o )
[2 of 2] Compiling Main             ( tests/test-tiers.hs, dist/build/tiers/tiers-tmp/Main.o )
Linking dist/build/tiers/tiers ...
Preprocessing test suite 'derive' for leancheck-0.7.7..
Building test suite 'derive' for leancheck-0.7.7..
[1 of 2] Compiling Test             ( tests/Test.hs, dist/build/derive/derive-tmp/Test.o )
[2 of 2] Compiling Main             ( tests/test-derive.hs, dist/build/derive/derive-tmp/Main.o )
Linking dist/build/derive/derive ...
Preprocessing test suite 'stats' for leancheck-0.7.7..
Building test suite 'stats' for leancheck-0.7.7..
[1 of 2] Compiling Test             ( tests/Test.hs, dist/build/stats/stats-tmp/Test.o )
[2 of 2] Compiling Main             ( tests/test-stats.hs, dist/build/stats/stats-tmp/Main.o )
Linking dist/build/stats/stats ...
Preprocessing test suite 'error' for leancheck-0.7.7..
Building test suite 'error' for leancheck-0.7.7..
[1 of 2] Compiling Test             ( tests/Test.hs, dist/build/error/error-tmp/Test.o )
[2 of 2] Compiling Main             ( tests/test-error.hs, dist/build/error/error-tmp/Main.o )
Linking dist/build/error/error ...
Preprocessing test suite 'io' for leancheck-0.7.7..
Building test suite 'io' for leancheck-0.7.7..
[1 of 2] Compiling Test             ( tests/Test.hs, dist/build/io/io-tmp/Test.o )
[2 of 2] Compiling Main             ( tests/test-io.hs, dist/build/io/io-tmp/Main.o )
Linking dist/build/io/io ...
Preprocessing test suite 'generic' for leancheck-0.7.7..
Building test suite 'generic' for leancheck-0.7.7..
[1 of 2] Compiling Test             ( tests/Test.hs, dist/build/generic/generic-tmp/Test.o )
[2 of 2] Compiling Main             ( tests/test-generic.hs, dist/build/generic/generic-tmp/Main.o )
Linking dist/build/generic/generic ...
Preprocessing test suite 'types' for leancheck-0.7.7..
Building test suite 'types' for leancheck-0.7.7..
[1 of 2] Compiling Test             ( tests/Test.hs, dist/build/types/types-tmp/Test.o )
[2 of 2] Compiling Main             ( tests/test-types.hs, dist/build/types/types-tmp/Main.o )
Linking dist/build/types/types ...
Preprocessing test suite 'main' for leancheck-0.7.7..
Building test suite 'main' for leancheck-0.7.7..
[1 of 2] Compiling Test             ( tests/Test.hs, dist/build/main/main-tmp/Test.o )
[2 of 2] Compiling Main             ( tests/test-main.hs, dist/build/main/main-tmp/Main.o )
Linking dist/build/main/main ...
Preprocessing test suite 'fun' for leancheck-0.7.7..
Building test suite 'fun' for leancheck-0.7.7..
[1 of 2] Compiling Test             ( tests/Test.hs, dist/build/fun/fun-tmp/Test.o )
[2 of 2] Compiling Main             ( tests/test-fun.hs, dist/build/fun/fun-tmp/Main.o )
Linking dist/build/fun/fun ...
> /tmp/stackage-build2454/leancheck-0.7.7$ dist/build/main/main
Tests passed!
> /tmp/stackage-build2454/leancheck-0.7.7$ dist/build/types/types
Tests passed!
> /tmp/stackage-build2454/leancheck-0.7.7$ dist/build/tiers/tiers
Tests passed!
> /tmp/stackage-build2454/leancheck-0.7.7$ dist/build/operators/operators
Tests passed!
> /tmp/stackage-build2454/leancheck-0.7.7$ dist/build/derive/derive
Tests passed!
> /tmp/stackage-build2454/leancheck-0.7.7$ dist/build/error/error
Tests passed!
> /tmp/stackage-build2454/leancheck-0.7.7$ dist/build/generic/generic
Tests passed!
> /tmp/stackage-build2454/leancheck-0.7.7$ dist/build/io/io
+++ OK, passed 200 tests.
> /tmp/stackage-build2454/leancheck-0.7.7$ dist/build/fun/fun
Tests passed!
> /tmp/stackage-build2454/leancheck-0.7.7$ dist/build/funshow/funshow
Tests passed!
> /tmp/stackage-build2454/leancheck-0.7.7$ dist/build/stats/stats
sum :: [Int] -> Bool
 0: 23/100 23%
 1: 21/100 21%
-1: 14/100 14%
 2: 27/100 27%
-2:  7/100  7%
 3:  8/100  8%

length :: [Int] -> Int
0:  1/100  1%
1:  6/100  6%
2: 16/100 16%
3: 25/100 25%
4: 26/100 26%
5: 18/100 18%
6:  7/100  7%
7:  1/100  1%

take 1 :: [Int] -> [Int]
  []:  1/100  1%
 [0]: 64/100 64%
 [1]: 20/100 20%
[-1]:  8/100  8%
 [2]:  4/100  4%
[-2]:  2/100  2%
 [3]:  1/100  1%

 odd: 500/1000 50%
even: 500/1000 50%

          ordered: 131/1000 13%
ordered . reverse: 130/1000 13%

sum :: [Int] -> Bool
      tot   0  1  2  3  4   5

tot:   32   1  1  2  4  8  16
  0:    8   1  1  1  1  1   3
  1:   10   0  0  1  2  3   4
 -1:    6   0  0  0  1  2   3
  2:    7   0  0  0  0  2   5
 -2:    1   0  0  0  0  0   1

length :: [Int] -> Int
      tot   0  1  2  3  4   5

tot:   32   1  1  2  4  8  16
  0:    1   1  0  0  0  0   0
  1:    5   0  1  1  1  1   1
  2:   10   0  0  1  2  3   4
  3:   10   0  0  0  1  3   6
  4:    5   0  0  0  0  1   4
  5:    1   0  0  0  0  0   1

take 1 :: [Int] -> [Int]
       tot   0  1  2  3  4   5

 tot:   32   1  1  2  4  8  16
  []:    1   1  0  0  0  0   0
 [0]:   16   0  1  1  2  4   8
 [1]:    8   0  0  1  1  2   4
[-1]:    4   0  0  0  1  1   2
 [2]:    2   0  0  0  0  1   1
[-2]:    1   0  0  0  0  0   1

Tests passed!