GithubHelp home page GithubHelp logo

bert's Introduction

bert's People

Contributors

mariusae avatar mhitza avatar sergv avatar solidsnack avatar unkindpartition avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

bert's Issues

Broken example from README

It seems there is a broken example in README.md (or broken readBERT):

*Data.BERT> readBERT . showBERT $ ("hello", 123)
*** Exception: Invalid integer type
*Data.BERT> showBERT $ ("hello", 123)
TupleTerm [BytelistTerm "hello",BigbigintTerm 123]
*Data.BERT> showBERT $ (123)
BigbigintTerm 123
*Data.BERT> readBERT . showBERT $ (123)
Right 123
*Data.BERT> readBERT . showBERT $ 123
Right 123

Wrap exceptions

Catch and re-throw exceptions e.g. in tcpClient so that it's more clear where they come from.

Test failures for 1.2.1

I'm trying to package bert for NixOS, and we currently run tests by default. bert is failing to compile because of test failures. Here is the entire build log:

ollie@io ~/nixpkgs> nix-build -A haskellPackages.bert
these derivations will be built:
  /nix/store/3jq80w8yhrhspk0fm6kf832l4in9wr3p-haskell-binary-conduit-ghc7.6.3-1.2.drv
  /nix/store/v1a8dsgwxz6blfhyllsbg3mjprsl8x67-haskell-quickcheck-assertions-ghc7.6.3-0.1.1.drv
  /nix/store/wpmblb9wriqhcgfkvxhbc9nvp3w1mr99-haskell-bert-ghc7.6.3-1.2.1.drv
these paths will be fetched (0.47 MiB download, 5.76 MiB unpacked):
  /nix/store/7ri3acmpphwym9aqn5dax5a8f35rvxfn-haskell-network-conduit-ghc7.6.3-1.0.0
  /nix/store/ngs062n0sa4fwigph4ssd57knkj19arh-haskell-ieee754-ghc7.6.3-0.7.3
  /nix/store/y33cyz9n5cg6wqvk9hldqyw9glmmp5vk-haskell-resourcet-ghc7.6.3-0.4.9
  /nix/store/zzdvwxiwh68r42cd77bay403kcg8i8wg-haskell-conduit-ghc7.6.3-1.0.9
fetching path `/nix/store/y33cyz9n5cg6wqvk9hldqyw9glmmp5vk-haskell-resourcet-ghc7.6.3-0.4.9'...

*** Downloading ‘http://cache.nixos.org/nar/0584n4zz6cvwxbcj60djh88x8rl3h2is22mylw6lkcb6l6fml0iy.nar.xz’ to ‘/nix/store/y33cyz9n5cg6wqvk9hldqyw9glmmp5vk-haskell-resourcet-ghc7.6.3-0.4.9’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  116k  100  116k    0     0   146k      0 --:--:-- --:--:-- --:--:--  146k

fetching path `/nix/store/ngs062n0sa4fwigph4ssd57knkj19arh-haskell-ieee754-ghc7.6.3-0.7.3'...

*** Downloading ‘http://cache.nixos.org/nar/0wvw2x3ggycwin5gwx9sqxc2gjha5w86ryhafka2nfb847wfq0vp.nar.xz’ to ‘/nix/store/ngs062n0sa4fwigph4ssd57knkj19arh-haskell-ieee754-ghc7.6.3-0.7.3’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 91512  100 91512    0     0   246k      0 --:--:-- --:--:-- --:--:--  247k

fetching path `/nix/store/zzdvwxiwh68r42cd77bay403kcg8i8wg-haskell-conduit-ghc7.6.3-1.0.9'...

*** Downloading ‘http://cache.nixos.org/nar/1k8ax03pn4fyxixa45hj7cmr3qihkfvbh8yw84jgzfz7fwgywh3n.nar.xz’ to ‘/nix/store/zzdvwxiwh68r42cd77bay403kcg8i8wg-haskell-conduit-ghc7.6.3-1.0.9’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  209k  100  209k    0     0   343k      0 --:--:-- --:--:-- --:--:--  343k

building path(s) `/nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1'
building /nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1
unpacking sources
unpacking source archive /nix/store/jggf8bgjkclcsn9z787khfv9nvq604mq-quickcheck-assertions-0.1.1.tar.gz
source root is quickcheck-assertions-0.1.1
patching sources
configuring
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking Setup ...
configure flags: --enable-split-objs --disable-library-profiling --disable-shared --disable-executable-dynamic --enable-tests 
Configuring quickcheck-assertions-0.1.1...
Dependency QuickCheck >=2.3: using QuickCheck-2.6
Dependency base ==4.*: using base-4.6.0.1
Dependency hspec -any: using hspec-1.7.2.1
Dependency ieee754 -any: using ieee754-0.7.3
Dependency quickcheck-assertions -any: using quickcheck-assertions-0.1.1
Using Cabal-1.16.0 compiled by ghc-7.6
Using compiler: ghc-7.6.3
Using install prefix:
/nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1
Binaries installed in:
/nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1/bin
Libraries installed in:
/nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1/lib/ghc-7.6.3/quickcheck-assertions-0.1.1
Private binaries installed in:
/nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1/libexec
Data files installed in:
/nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1/share/quickcheck-assertions-0.1.1
Documentation installed in:
/nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1/share/doc/quickcheck-assertions-0.1.1
No alex found
Using ar found on system at:
/nix/store/46595bx2k3yjznihv898592qnzirbvgm-binutils-2.23.1/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.6.3 found on system at:
/nix/store/imgyva7wqc81w91q1agfrqk77b827hqv-gcc-wrapper-4.6.3/bin/gcc
Using ghc version 7.6.3 found on system at:
/nix/store/8jahygmb98mpxzziwf3facnp3z3v1m2h-ghc-7.6.3-wrapper/bin/ghc
Using ghc-pkg version 7.6.3 found on system at:
/nix/store/8jahygmb98mpxzziwf3facnp3z3v1m2h-ghc-7.6.3-wrapper/bin/ghc-pkg
No greencard found
Using haddock version 2.13.2 found on system at:
/nix/store/p01hdsfn3hhkwynwa32zi2y01sch2pa7-ghc-7.6.3/bin/haddock
No happy found
No hmake found
Using hpc version 0.6 found on system at:
/nix/store/8jahygmb98mpxzziwf3facnp3z3v1m2h-ghc-7.6.3-wrapper/bin/hpc
Using hsc2hs version 0.67 found on system at:
/nix/store/8jahygmb98mpxzziwf3facnp3z3v1m2h-ghc-7.6.3-wrapper/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at:
/nix/store/imgyva7wqc81w91q1agfrqk77b827hqv-gcc-wrapper-4.6.3/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
No pkg-config found
Using ranlib found on system at:
/nix/store/46595bx2k3yjznihv898592qnzirbvgm-binutils-2.23.1/bin/ranlib
Using strip found on system at:
/nix/store/46595bx2k3yjznihv898592qnzirbvgm-binutils-2.23.1/bin/strip
Using tar found on system at:
/nix/store/db7c4cg09100f927jw73qrg5nnvqpvc9-gnutar-1.26/bin/tar
No uhc found
building
Building quickcheck-assertions-0.1.1...
Preprocessing library quickcheck-assertions-0.1.1...
[1 of 1] Compiling Test.QuickCheck.Assertions ( Test/QuickCheck/Assertions.hs, dist/build/Test/QuickCheck/Assertions.o )
In-place registering quickcheck-assertions-0.1.1...
Preprocessing test suite 'main' for quickcheck-assertions-0.1.1...
[1 of 1] Compiling Main             ( tests/main.hs, dist/build/main/main-tmp/Main.o )
Linking dist/build/main/main ...
Running Haddock for quickcheck-assertions-0.1.1...
Preprocessing library quickcheck-assertions-0.1.1...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Haddock coverage:
  94% ( 15 / 16) in 'Test.QuickCheck.Assertions'
Documentation created: dist/doc/html/quickcheck-assertions/index.html
Preprocessing test suite 'main' for quickcheck-assertions-0.1.1...
running tests
Running 1 test suites...
Test suite main: RUNNING...
Test suite main: PASS
Test suite logged to: dist/test/quickcheck-assertions-0.1.1-main.log
1 of 1 test suites (1 of 1 test cases) passed.
installing
Installing library in
/nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1/lib/ghc-7.6.3/quickcheck-assertions-0.1.1
Creating package registration file:
/nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1/lib/ghc-7.6.3/package.conf.d/quickcheck-assertions-0.1.1.conf
Reading package info from "/nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1/lib/ghc-7.6.3/package.conf.d/quickcheck-assertions-0.1.1.conf" ... done.
quickcheck-assertions-0.1.1: dependency "QuickCheck-2.6-c06e5fbf1618f5b9be48e90a28909634" doesn't exist (ignoring)
quickcheck-assertions-0.1.1: dependency "base-4.6.0.1-02ac91ff7de681afee6a8fa62f0c87f3" doesn't exist (ignoring)
quickcheck-assertions-0.1.1: dependency "ieee754-0.7.3-5ac1cad6d38b2c072469cdd82faf6d01" doesn't exist (ignoring)
Writing new package config file... done.
post-installation fixup
stripping (with flags -S) in  /nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1/lib  /nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1/bin 
strip:/nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1/lib/ghc-7.6.3/quickcheck-assertions-0.1.1/Test/QuickCheck/Assertions.hi: File format not recognized
strip:/nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1/lib/ghc-7.6.3/package.conf.d/quickcheck-assertions-0.1.1.conf: File format not recognized
strip:/nix/store/6567zfm65f7ajqd8zxrjq7qfdj269kiz-haskell-quickcheck-assertions-ghc7.6.3-0.1.1/lib/ghc-7.6.3/package.conf.d/quickcheck-assertions-0.1.1.installedconf: File format not recognized
patching ELF executables and libraries
patching script interpreter paths
fetching path `/nix/store/7ri3acmpphwym9aqn5dax5a8f35rvxfn-haskell-network-conduit-ghc7.6.3-1.0.0'...

*** Downloading ‘http://cache.nixos.org/nar/0x5zsajkjjqnvwpnr73d9zrrv2z87w55471fin3q44mbpsrfjfx8.nar.xz’ to ‘/nix/store/7ri3acmpphwym9aqn5dax5a8f35rvxfn-haskell-network-conduit-ghc7.6.3-1.0.0’...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 69332  100 69332    0     0   108k      0 --:--:-- --:--:-- --:--:--  108k

building path(s) `/nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2'
building /nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2
unpacking sources
unpacking source archive /nix/store/jqfqflmlgdgqzq592740z06lh248acfz-binary-conduit-1.2.tar.gz
source root is binary-conduit-1.2
patching sources
configuring
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking Setup ...
configure flags: --enable-split-objs --disable-library-profiling --disable-shared --disable-executable-dynamic --enable-tests 
Configuring binary-conduit-1.2...
Dependency QuickCheck -any: using QuickCheck-2.6
Dependency base ==4.*: using base-4.6.0.1
Dependency binary >=0.6 && <0.8: using binary-0.7.1.0
Dependency binary-conduit -any: using binary-conduit-1.2
Dependency bytestring >=0.9 && <10.3: using bytestring-0.10.0.2
Dependency conduit ==1.0.*: using conduit-1.0.9
Dependency hspec -any: using hspec-1.7.2.1
Dependency quickcheck-assertions -any: using quickcheck-assertions-0.1.1
Dependency vector >=0.10: using vector-0.10.0.1
Using Cabal-1.16.0 compiled by ghc-7.6
Using compiler: ghc-7.6.3
Using install prefix:
/nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2
Binaries installed in:
/nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2/bin
Libraries installed in:
/nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2/lib/ghc-7.6.3/binary-conduit-1.2
Private binaries installed in:
/nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2/libexec
Data files installed in:
/nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2/share/binary-conduit-1.2
Documentation installed in:
/nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2/share/doc/binary-conduit-1.2
No alex found
Using ar found on system at:
/nix/store/46595bx2k3yjznihv898592qnzirbvgm-binutils-2.23.1/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.6.3 found on system at:
/nix/store/imgyva7wqc81w91q1agfrqk77b827hqv-gcc-wrapper-4.6.3/bin/gcc
Using ghc version 7.6.3 found on system at:
/nix/store/8jahygmb98mpxzziwf3facnp3z3v1m2h-ghc-7.6.3-wrapper/bin/ghc
Using ghc-pkg version 7.6.3 found on system at:
/nix/store/8jahygmb98mpxzziwf3facnp3z3v1m2h-ghc-7.6.3-wrapper/bin/ghc-pkg
No greencard found
Using haddock version 2.13.2 found on system at:
/nix/store/p01hdsfn3hhkwynwa32zi2y01sch2pa7-ghc-7.6.3/bin/haddock
No happy found
No hmake found
Using hpc version 0.6 found on system at:
/nix/store/8jahygmb98mpxzziwf3facnp3z3v1m2h-ghc-7.6.3-wrapper/bin/hpc
Using hsc2hs version 0.67 found on system at:
/nix/store/8jahygmb98mpxzziwf3facnp3z3v1m2h-ghc-7.6.3-wrapper/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at:
/nix/store/imgyva7wqc81w91q1agfrqk77b827hqv-gcc-wrapper-4.6.3/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
No pkg-config found
Using ranlib found on system at:
/nix/store/46595bx2k3yjznihv898592qnzirbvgm-binutils-2.23.1/bin/ranlib
Using strip found on system at:
/nix/store/46595bx2k3yjznihv898592qnzirbvgm-binutils-2.23.1/bin/strip
Using tar found on system at:
/nix/store/db7c4cg09100f927jw73qrg5nnvqpvc9-gnutar-1.26/bin/tar
No uhc found
building
Building binary-conduit-1.2...
Preprocessing library binary-conduit-1.2...
[1 of 1] Compiling Data.Conduit.Serialization.Binary ( Data/Conduit/Serialization/Binary.hs, dist/build/Data/Conduit/Serialization/Binary.o )
In-place registering binary-conduit-1.2...
Preprocessing test suite 'test-binary-conduit' for binary-conduit-1.2...
[1 of 1] Compiling Main             ( test/Main.hs, dist/build/test-binary-conduit/test-binary-conduit-tmp/Main.o )
Linking dist/build/test-binary-conduit/test-binary-conduit ...
Running Haddock for binary-conduit-1.2...
Preprocessing library binary-conduit-1.2...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Haddock coverage:
  82% (  9 / 11) in 'Data.Conduit.Serialization.Binary'
Documentation created: dist/doc/html/binary-conduit/index.html
Preprocessing test suite 'test-binary-conduit' for binary-conduit-1.2...
running tests
Running 1 test suites...
Test suite test-binary-conduit: RUNNING...
Test suite test-binary-conduit: PASS
Test suite logged to: dist/test/binary-conduit-1.2-test-binary-conduit.log
1 of 1 test suites (1 of 1 test cases) passed.
installing
Installing library in
/nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2/lib/ghc-7.6.3/binary-conduit-1.2
Creating package registration file:
/nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2/lib/ghc-7.6.3/package.conf.d/binary-conduit-1.2.conf
Reading package info from "/nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2/lib/ghc-7.6.3/package.conf.d/binary-conduit-1.2.conf" ... done.
binary-conduit-1.2: dependency "base-4.6.0.1-02ac91ff7de681afee6a8fa62f0c87f3" doesn't exist (ignoring)
binary-conduit-1.2: dependency "binary-0.7.1.0-cbc9fa8a02534eb5af53e63514db50d9" doesn't exist (ignoring)
binary-conduit-1.2: dependency "bytestring-0.10.0.2-af9d348ce49438db8d6083fb479dbb53" doesn't exist (ignoring)
binary-conduit-1.2: dependency "conduit-1.0.9-e6795b3ceafe8ab11bba31332d429a3b" doesn't exist (ignoring)
binary-conduit-1.2: dependency "vector-0.10.0.1-1628893bf21b5de411139a46f60f0a37" doesn't exist (ignoring)
Writing new package config file... done.
post-installation fixup
stripping (with flags -S) in  /nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2/lib  /nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2/bin 
strip:/nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2/lib/ghc-7.6.3/binary-conduit-1.2/Data/Conduit/Serialization/Binary.hi: File format not recognized
strip:/nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2/lib/ghc-7.6.3/package.conf.d/binary-conduit-1.2.installedconf: File format not recognized
strip:/nix/store/qz9mx0c7s94kjy12kcdrwmzwciqq98q3-haskell-binary-conduit-ghc7.6.3-1.2/lib/ghc-7.6.3/package.conf.d/binary-conduit-1.2.conf: File format not recognized
patching ELF executables and libraries
patching script interpreter paths
building path(s) `/nix/store/v9cg7cqm674sjp05karpg8divsbqd6v2-haskell-bert-ghc7.6.3-1.2.1'
building /nix/store/v9cg7cqm674sjp05karpg8divsbqd6v2-haskell-bert-ghc7.6.3-1.2.1
unpacking sources
unpacking source archive /nix/store/v7n1hk2nn7zilhcd3ijbw5wx4w4hs3gr-bert-1.2.1.tar.gz
source root is bert-1.2.1
patching sources
configuring
[1 of 1] Compiling Main             ( Setup.hs, Setup.o )
Linking Setup ...
configure flags: --enable-split-objs --disable-library-profiling --disable-shared --disable-executable-dynamic --enable-tests 
Configuring bert-1.2.1...
Dependency async -any: using async-2.0.1.4
Dependency base ==4.*: using base-4.6.0.1
Dependency bert -any: using bert-1.2.1
Dependency binary >=0.5: using binary-0.7.1.0
Dependency binary-conduit >=1.2: using binary-conduit-1.2
Dependency bytestring >=0.9: using bytestring-0.10.0.2
Dependency conduit >=1.0: using conduit-1.0.9
Dependency containers >=0.2: using containers-0.5.0.0
Dependency mtl >=1.1: using mtl-2.1.2
Dependency network >=2.2: using network-2.4.1.2
Dependency network-conduit >=1.0: using network-conduit-1.0.0
Dependency parsec >=2.0: using parsec-3.1.3
Dependency smallcheck -any: using smallcheck-1.1
Dependency tasty >=0.4: using tasty-0.4.0.1
Dependency tasty-hunit -any: using tasty-hunit-0.2
Dependency tasty-smallcheck -any: using tasty-smallcheck-0.2
Dependency time >=1.1: using time-1.4.0.1
Dependency unix >=2.0: using unix-2.6.0.1
Dependency void -any: using void-0.6.1
Using Cabal-1.16.0 compiled by ghc-7.6
Using compiler: ghc-7.6.3
Using install prefix:
/nix/store/v9cg7cqm674sjp05karpg8divsbqd6v2-haskell-bert-ghc7.6.3-1.2.1
Binaries installed in:
/nix/store/v9cg7cqm674sjp05karpg8divsbqd6v2-haskell-bert-ghc7.6.3-1.2.1/bin
Libraries installed in:
/nix/store/v9cg7cqm674sjp05karpg8divsbqd6v2-haskell-bert-ghc7.6.3-1.2.1/lib/ghc-7.6.3/bert-1.2.1
Private binaries installed in:
/nix/store/v9cg7cqm674sjp05karpg8divsbqd6v2-haskell-bert-ghc7.6.3-1.2.1/libexec
Data files installed in:
/nix/store/v9cg7cqm674sjp05karpg8divsbqd6v2-haskell-bert-ghc7.6.3-1.2.1/share/bert-1.2.1
Documentation installed in:
/nix/store/v9cg7cqm674sjp05karpg8divsbqd6v2-haskell-bert-ghc7.6.3-1.2.1/share/doc/bert-1.2.1
No alex found
Using ar found on system at:
/nix/store/46595bx2k3yjznihv898592qnzirbvgm-binutils-2.23.1/bin/ar
No c2hs found
No cpphs found
No ffihugs found
Using gcc version 4.6.3 found on system at:
/nix/store/imgyva7wqc81w91q1agfrqk77b827hqv-gcc-wrapper-4.6.3/bin/gcc
Using ghc version 7.6.3 found on system at:
/nix/store/8jahygmb98mpxzziwf3facnp3z3v1m2h-ghc-7.6.3-wrapper/bin/ghc
Using ghc-pkg version 7.6.3 found on system at:
/nix/store/8jahygmb98mpxzziwf3facnp3z3v1m2h-ghc-7.6.3-wrapper/bin/ghc-pkg
No greencard found
Using haddock version 2.13.2 found on system at:
/nix/store/p01hdsfn3hhkwynwa32zi2y01sch2pa7-ghc-7.6.3/bin/haddock
No happy found
No hmake found
Using hpc version 0.6 found on system at:
/nix/store/8jahygmb98mpxzziwf3facnp3z3v1m2h-ghc-7.6.3-wrapper/bin/hpc
Using hsc2hs version 0.67 found on system at:
/nix/store/8jahygmb98mpxzziwf3facnp3z3v1m2h-ghc-7.6.3-wrapper/bin/hsc2hs
No hscolour found
No hugs found
No jhc found
Using ld found on system at:
/nix/store/imgyva7wqc81w91q1agfrqk77b827hqv-gcc-wrapper-4.6.3/bin/ld
No lhc found
No lhc-pkg found
No nhc98 found
No pkg-config found
Using ranlib found on system at:
/nix/store/46595bx2k3yjznihv898592qnzirbvgm-binutils-2.23.1/bin/ranlib
Using strip found on system at:
/nix/store/46595bx2k3yjznihv898592qnzirbvgm-binutils-2.23.1/bin/strip
Using tar found on system at:
/nix/store/db7c4cg09100f927jw73qrg5nnvqpvc9-gnutar-1.26/bin/tar
No uhc found
building
Building bert-1.2.1...
Preprocessing library bert-1.2.1...
[1 of 9] Compiling Data.BERT.Types  ( src/Data/BERT/Types.hs, dist/build/Data/BERT/Types.o )
[2 of 9] Compiling Data.BERT.Parser ( src/Data/BERT/Parser.hs, dist/build/Data/BERT/Parser.o )
[3 of 9] Compiling Data.BERT.Term   ( src/Data/BERT/Term.hs, dist/build/Data/BERT/Term.o )
[4 of 9] Compiling Data.BERT.Packet ( src/Data/BERT/Packet.hs, dist/build/Data/BERT/Packet.o )
[5 of 9] Compiling Data.BERT        ( src/Data/BERT.hs, dist/build/Data/BERT.o )
[6 of 9] Compiling Network.BERT.Transport ( src/Network/BERT/Transport.hs, dist/build/Network/BERT/Transport.o )
[7 of 9] Compiling Network.BERT.Client ( src/Network/BERT/Client.hs, dist/build/Network/BERT/Client.o )
[8 of 9] Compiling Network.BERT.Server ( src/Network/BERT/Server.hs, dist/build/Network/BERT/Server.o )
[9 of 9] Compiling Network.BERT     ( src/Network/BERT.hs, dist/build/Network/BERT.o )
In-place registering bert-1.2.1...
Preprocessing test suite 'test' for bert-1.2.1...
[1 of 1] Compiling Main             ( tests/test.hs, dist/build/test/test-tmp/Main.o )
Linking dist/build/test/test ...
Running Haddock for bert-1.2.1...
Preprocessing library bert-1.2.1...
Warning: The documentation for the following packages are not installed. No
links will be generated to these packages: rts-1.0
Haddock coverage:
 100% (  2 /  2) in 'Data.BERT.Types'
 100% (  2 /  2) in 'Data.BERT.Parser'
  50% (  1 /  2) in 'Data.BERT.Term'
  67% (  2 /  3) in 'Data.BERT.Packet'
 100% (  4 /  4) in 'Data.BERT'
Warning: Network.BERT.Transport: We do not support associated types in instances yet. These instances are affected:
Network.BERT.Transport.Server Network.BERT.Transport.TCPServer
  94% ( 16 / 17) in 'Network.BERT.Transport'
  86% (  6 /  7) in 'Network.BERT.Client'
  83% (  5 /  6) in 'Network.BERT.Server'
 100% (  4 /  4) in 'Network.BERT'
Documentation created: dist/doc/html/bert/index.html
Preprocessing test suite 'test' for bert-1.2.1...
running tests
Running 1 test suites...
Test suite test: RUNNING...
Tests
  Serialization
    Simple terms
      Bool:                       OK
        2 tests completed
      Integer:                    OK
        9 tests completed
      String:                     OK
        41 tests completed
      (String, String):           OK
        100 tests completed
      (String, [String]):         OK
        70 tests completed
      [String]:                   OK
        71 tests completed
      (Map String String):        OK
        19 tests completed
      (String, Int, Int, Int):    FAIL
        there exists ("",0,0,-1) such that
          condition is false
      (Int, Int, Int, Int):       FAIL
        there exists (0,0,0,-1) such that
          condition is false
    Simple packets
      Bool:                       OK
        2 tests completed
      Integer:                    OK
        9 tests completed
      String:                     OK
        41 tests completed
      (String, String):           OK
        100 tests completed
      (String, [String]):         OK
        70 tests completed
      [String]:                   OK
        71 tests completed
      (Map String String):        OK
        19 tests completed
      (String, Int, Int, Int):    FAIL
        there exists ("",0,0,-1) such that
          condition is false
  Network
    Simple call:                  OK
    5 calls per connection:       OK
    5 sequential connections:     OK
    100 simultaneous connections: OK

3 out of 21 tests failed
Test suite test: FAIL
Test suite logged to: dist/test/bert-1.2.1-test.log
0 of 1 test suites (0 of 1 test cases) passed.
builder for `/nix/store/wpmblb9wriqhcgfkvxhbc9nvp3w1mr99-haskell-bert-ghc7.6.3-1.2.1.drv' failed with exit code 1
error: build of `/nix/store/wpmblb9wriqhcgfkvxhbc9nvp3w1mr99-haskell-bert-ghc7.6.3-1.2.1.drv' failed

conduit update breaks build

Ambiguous occurrence ‘connect’
It could refer to either ‘Network.Socket.connect’,
                         imported from ‘Network.Socket’ at src/Network/BERT/Transport.hs:24:1-21
                      or ‘Data.Conduit.connect’,
                         imported from ‘Data.Conduit’ at src/Network/BERT/Transport.hs:25:1-19

A complete log file is at http://hydra.cryp.to/build/246535/nixlog/1/raw.

Port to Windows

Right now bert uses the unix package in order to ignore SIGPIPE. This has to be made conditional in order to port the package to Windows.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.