Configuring ImperativeHaskell-2.0.0.0... Dependency base ==4.6.0.1: using base-4.6.0.1 Dependency mtl ==2.1.2: using mtl-2.1.2 Dependency template-haskell ==2.8.0.0: using template-haskell-2.8.0.0 Using Cabal-1.16.0.3 compiled by ghc-7.6 Using compiler: ghc-7.6.3 Using install prefix: /srv/hackage/var/build/cache/inst Binaries installed in: /srv/hackage/var/build/cache/inst/bin Libraries installed in: /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3 Private binaries installed in: /srv/hackage/var/build/cache/inst/libexec Data files installed in: /srv/hackage/var/build/cache/inst/share/ImperativeHaskell-2.0.0.0 Documentation installed in: /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0 Using alex version 3.0.1 found on system at: /usr/bin/alex Using ar found on system at: /usr/bin/ar No c2hs found No cpphs found No ffihugs found Using gcc version 4.7 found on system at: /usr/bin/gcc Using ghc version 7.6.3 found on system at: /usr/local/bin/ghc Using ghc-pkg version 7.6.3 found on system at: /usr/local/bin/ghc-pkg No greencard found Using haddock version 2.13.2 found on system at: /usr/local/bin/haddock Using happy version 1.18.9 found on system at: /usr/bin/happy No hmake found Using hpc version 0.6 found on system at: /usr/local/bin/hpc Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs Using hscolour version 1.19 found on system at: /usr/bin/HsColour No hugs found No jhc found Using ld found on system at: /usr/bin/ld No lhc found No lhc-pkg found No nhc98 found No pkg-config found Using ranlib found on system at: /usr/bin/ranlib Using strip found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found creating dist/build creating dist/build/autogen Building ImperativeHaskell-2.0.0.0... Preprocessing library ImperativeHaskell-2.0.0.0... Building library... creating dist/build /usr/local/bin/ghc --make -fbuilding-cabal-package -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -package-name ImperativeHaskell-2.0.0.0 -hide-all-packages -package-db /srv/hackage/var/build/cache/inst/local.conf.d -package-db dist/package.conf.inplace -package-id base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57 -package-id mtl-2.1.2-94c72af955e94b8d7b2f359dadd0cb62 -package-id template-haskell-2.8.0.0-a3012803fde1dc362e555b35a1a78e6d -XHaskell98 -XGADTs -XEmptyDataDecls -XGeneralizedNewtypeDeriving -XMultiParamTypeClasses -XFlexibleInstances -XFlexibleContexts -XTemplateHaskell -XUndecidableInstances -XTypeFamilies -XFunctionalDependencies Control.Monad.Imperative Control.Monad.Imperative.Internals Control.Monad.Imperative.Operators Control.Monad.Imperative.FunctionFactory -O0 [1 of 4] Compiling Control.Monad.Imperative.Internals ( Control/Monad/Imperative/Internals.hs, dist/build/Control/Monad/Imperative/Internals.o ) [2 of 4] Compiling Control.Monad.Imperative.Operators ( Control/Monad/Imperative/Operators.hs, dist/build/Control/Monad/Imperative/Operators.o ) [3 of 4] Compiling Control.Monad.Imperative.FunctionFactory ( Control/Monad/Imperative/FunctionFactory.hs, dist/build/Control/Monad/Imperative/FunctionFactory.o ) [4 of 4] Compiling Control.Monad.Imperative ( Control/Monad/Imperative.hs, dist/build/Control/Monad/Imperative.o ) Linking... /usr/bin/ar -r dist/build/libHSImperativeHaskell-2.0.0.0.a dist/build/Control/Monad/Imperative.o dist/build/Control/Monad/Imperative/Internals.o dist/build/Control/Monad/Imperative/Operators.o dist/build/Control/Monad/Imperative/FunctionFactory.o /usr/bin/ar: creating dist/build/libHSImperativeHaskell-2.0.0.0.a In-place registering ImperativeHaskell-2.0.0.0... /usr/local/bin/ghc-pkg update - --global --user --package-db=/srv/hackage/var/build/cache/inst/local.conf.d --package-db=dist/package.conf.inplace --no-user-package-conf Running Haddock for ImperativeHaskell-2.0.0.0... /usr/local/bin/haddock --ghc-version --built-in-themes creating dist/build creating dist/build/autogen Running hscolour for ImperativeHaskell-2.0.0.0... creating dist/doc/html/ImperativeHaskell creating dist/doc/html creating dist/doc creating dist/doc/html creating dist/doc/html/ImperativeHaskell Preprocessing library ImperativeHaskell-2.0.0.0... creating dist/doc/html/ImperativeHaskell/src /usr/bin/HsColour -print-css -odist/doc/html/ImperativeHaskell/src/hscolour.css /usr/bin/HsColour -css -anchor -odist/doc/html/ImperativeHaskell/src/Control-Monad-Imperative.html Control/Monad/Imperative.hs /usr/bin/HsColour -css -anchor -odist/doc/html/ImperativeHaskell/src/Control-Monad-Imperative-Internals.html Control/Monad/Imperative/Internals.hs /usr/bin/HsColour -css -anchor -odist/doc/html/ImperativeHaskell/src/Control-Monad-Imperative-Operators.html Control/Monad/Imperative/Operators.hs /usr/bin/HsColour -css -anchor -odist/doc/html/ImperativeHaskell/src/Control-Monad-Imperative-FunctionFactory.html Control/Monad/Imperative/FunctionFactory.hs /usr/local/bin/ghc --print-libdir -O0 Preprocessing library ImperativeHaskell-2.0.0.0... Warning: The documentation for the following packages are not installed. No links will be generated to these packages: rts-1.0, mtl-2.1.2, transformers-0.3.0.0 copy Control/Monad/Imperative.hs to dist/build/tmp-12483/Control/Monad/Imperative.hs copy Control/Monad/Imperative/Internals.hs to dist/build/tmp-12483/Control/Monad/Imperative/Internals.hs copy Control/Monad/Imperative/Operators.hs to dist/build/tmp-12483/Control/Monad/Imperative/Operators.hs copy Control/Monad/Imperative/FunctionFactory.hs to dist/build/tmp-12483/Control/Monad/Imperative/FunctionFactory.hs creating dist/doc/html/ImperativeHaskell /usr/local/bin/haddock --prologue=dist/doc/html/ImperativeHaskell/haddock-prolog12483.txt --dump-interface=dist/doc/html/ImperativeHaskell/ImperativeHaskell.haddock --optghc=-package-name --optghc=ImperativeHaskell-2.0.0.0 --source-module=src/%{MODULE/./-}.html --source-entity=src/%{MODULE/./-}.html#%{NAME} --use-contents=/package/ImperativeHaskell-2.0.0.0 --verbosity=1 --html --read-interface=/package/array-0.4.0.1/docs,/usr/local/share/doc/ghc/html/libraries/array-0.4.0.1/array.haddock --read-interface=/package/base-4.6.0.1/docs,/usr/local/share/doc/ghc/html/libraries/base-4.6.0.1/base.haddock --read-interface=/package/containers-0.5.0.0/docs,/usr/local/share/doc/ghc/html/libraries/containers-0.5.0.0/containers.haddock --read-interface=/package/deepseq-1.3.0.1/docs,/usr/local/share/doc/ghc/html/libraries/deepseq-1.3.0.1/deepseq.haddock --read-interface=/package/ghc-prim-0.3.0.0/docs,/usr/local/share/doc/ghc/html/libraries/ghc-prim-0.3.0.0/ghc-prim.haddock --read-interface=/package/integer-gmp-0.5.0.0/docs,/usr/local/share/doc/ghc/html/libraries/integer-gmp-0.5.0.0/integer-gmp.haddock --read-interface=/package/pretty-1.1.1.0/docs,/usr/local/share/doc/ghc/html/libraries/pretty-1.1.1.0/pretty.haddock --read-interface=/package/template-haskell-2.8.0.0/docs,/usr/local/share/doc/ghc/html/libraries/template-haskell-2.8.0.0/template-haskell.haddock --odir=dist/doc/html/ImperativeHaskell/ --title=ImperativeHaskell-2.0.0.0: A library for writing Imperative style haskell. --optghc=-fbuilding-cabal-package --optghc=-odir --optghc=dist/build/tmp-12483 --optghc=-hidir --optghc=dist/build/tmp-12483 --optghc=-stubdir --optghc=dist/build/tmp-12483 --optghc=-i --optghc=-idist/build --optghc=-i. --optghc=-idist/build/autogen --optghc=-Idist/build/autogen --optghc=-Idist/build --optghc=-optP-include --optghc=-optPdist/build/autogen/cabal_macros.h --optghc=-hide-all-packages --optghc=-package-db --optghc=/srv/hackage/var/build/cache/inst/local.conf.d --optghc=-package-id --optghc=base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57 --optghc=-package-id --optghc=mtl-2.1.2-94c72af955e94b8d7b2f359dadd0cb62 --optghc=-package-id --optghc=template-haskell-2.8.0.0-a3012803fde1dc362e555b35a1a78e6d --optghc=-XHaskell98 --optghc=-XGADTs --optghc=-XEmptyDataDecls --optghc=-XGeneralizedNewtypeDeriving --optghc=-XMultiParamTypeClasses --optghc=-XFlexibleInstances --optghc=-XFlexibleContexts --optghc=-XTemplateHaskell --optghc=-XUndecidableInstances --optghc=-XTypeFamilies --optghc=-XFunctionalDependencies -B/usr/local/lib/ghc-7.6.3 dist/build/tmp-12483/Control/Monad/Imperative.hs dist/build/tmp-12483/Control/Monad/Imperative/Internals.hs dist/build/tmp-12483/Control/Monad/Imperative/Operators.hs dist/build/tmp-12483/Control/Monad/Imperative/FunctionFactory.hs --built-in-themes Haddock coverage: Warning: Control.Monad.Imperative.Internals: We do not support associated types in instances yet. These instances are affected: Control.Monad.Imperative.Internals.CState Control.Monad.Imperative.Internals.TyInFunc, Control.Monad.Imperative.Internals.CState Control.Monad.Imperative.Internals.TyInLoop 67% ( 16 / 24) in 'Control.Monad.Imperative.Internals' 11% ( 2 / 19) in 'Control.Monad.Imperative.Operators' doc comment parse failed: @'liftOp' nm@ is a function factory producer which uses template to infer the type of its argument and output an impure function factory. The argument @nm@ must be a quoted name with type already known. Examples: > liftSomeFoo (v :: a -> ((a,b),b) -> c) = $(liftOp 'v) > > plus = $(liftOp '(+)) > > letBound = let f a = a * 5 in $(liftOp 'f) > > argument n = $(liftOp 'mod) 4 n If the function factories produce will be used in the same file that produced them the output type needs to be known before 'liftOp' is called, such as in the definition of 'liftOp2'. Currently 'liftOp' does not support unboxed tuples. 50% ( 1 / 2) in 'Control.Monad.Imperative.FunctionFactory' Warning: ImperativeHaskell-2.0.0.0:Control.Monad.Imperative: Could not find documentation for exported module: X 100% ( 1 / 1) in 'Control.Monad.Imperative' Warning: Control.Monad.Imperative.Internals: could not find link destinations for: Control.Monad.IO.Class.MonadIO Control.Monad.Cont.Class.MonadCont Control.Monad.Imperative.Internals.RetTy Documentation created: dist/doc/html/ImperativeHaskell/index.html directory dist/doc/html/ImperativeHaskell does exist: True creating /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html creating /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0 creating /srv/hackage/var/build/cache/inst/share/doc creating /srv/hackage/var/build/cache/inst/share creating /srv/hackage/var/build/cache/inst/share/doc creating /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0 creating /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html copy directory 'dist/doc/html/ImperativeHaskell' to '/srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html'. creating /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html creating /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/src Installing dist/doc/html/ImperativeHaskell/ImperativeHaskell.haddock to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/ImperativeHaskell.haddock Installing dist/doc/html/ImperativeHaskell/doc-index.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/doc-index.html Installing dist/doc/html/ImperativeHaskell/Control-Monad-Imperative-Internals.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/Control-Monad-Imperative-Internals.html Installing dist/doc/html/ImperativeHaskell/mini_Control-Monad-Imperative-Internals.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/mini_Control-Monad-Imperative-Internals.html Installing dist/doc/html/ImperativeHaskell/Control-Monad-Imperative-Operators.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/Control-Monad-Imperative-Operators.html Installing dist/doc/html/ImperativeHaskell/mini_Control-Monad-Imperative-Operators.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/mini_Control-Monad-Imperative-Operators.html Installing dist/doc/html/ImperativeHaskell/Control-Monad-Imperative-FunctionFactory.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/Control-Monad-Imperative-FunctionFactory.html Installing dist/doc/html/ImperativeHaskell/mini_Control-Monad-Imperative-FunctionFactory.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/mini_Control-Monad-Imperative-FunctionFactory.html Installing dist/doc/html/ImperativeHaskell/Control-Monad-Imperative.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/Control-Monad-Imperative.html Installing dist/doc/html/ImperativeHaskell/mini_Control-Monad-Imperative.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/mini_Control-Monad-Imperative.html Installing dist/doc/html/ImperativeHaskell/hslogo-16.png to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/hslogo-16.png Installing dist/doc/html/ImperativeHaskell/minus.gif to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/minus.gif Installing dist/doc/html/ImperativeHaskell/ocean.css to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/ocean.css Installing dist/doc/html/ImperativeHaskell/plus.gif to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/plus.gif Installing dist/doc/html/ImperativeHaskell/synopsis.png to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/synopsis.png Installing dist/doc/html/ImperativeHaskell/haskell_icon.gif to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/haskell_icon.gif Installing dist/doc/html/ImperativeHaskell/xhaddock.css to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/xhaddock.css Installing dist/doc/html/ImperativeHaskell/haddock-util.js to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/haddock-util.js Installing dist/doc/html/ImperativeHaskell/frames.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/frames.html Installing dist/doc/html/ImperativeHaskell/src/hscolour.css to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/src/hscolour.css Installing dist/doc/html/ImperativeHaskell/src/Control-Monad-Imperative.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/src/Control-Monad-Imperative.html Installing dist/doc/html/ImperativeHaskell/src/Control-Monad-Imperative-Internals.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/src/Control-Monad-Imperative-Internals.html Installing dist/doc/html/ImperativeHaskell/src/Control-Monad-Imperative-Operators.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/src/Control-Monad-Imperative-Operators.html Installing dist/doc/html/ImperativeHaskell/src/Control-Monad-Imperative-FunctionFactory.html to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/src/Control-Monad-Imperative-FunctionFactory.html creating /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html Installing dist/doc/html/ImperativeHaskell/ImperativeHaskell.haddock to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/html/ImperativeHaskell.haddock creating /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0 Installing LICENSE to /srv/hackage/var/build/cache/inst/share/doc/ImperativeHaskell-2.0.0.0/LICENSE Installing library in /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3 creating /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3/Control/Monad creating /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3/Control creating /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3 creating /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0 creating /srv/hackage/var/build/cache/inst/lib creating /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0 creating /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3 creating /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3/Control creating /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3/Control/Monad creating /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3/Control/Monad/Imperative Installing dist/build/Control/Monad/Imperative.hi to /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3/Control/Monad/Imperative.hi Installing dist/build/Control/Monad/Imperative/Internals.hi to /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3/Control/Monad/Imperative/Internals.hi Installing dist/build/Control/Monad/Imperative/Operators.hi to /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3/Control/Monad/Imperative/Operators.hi Installing dist/build/Control/Monad/Imperative/FunctionFactory.hi to /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3/Control/Monad/Imperative/FunctionFactory.hi creating /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3 Installing dist/build/libHSImperativeHaskell-2.0.0.0.a to /srv/hackage/var/build/cache/inst/lib/ImperativeHaskell-2.0.0.0/ghc-7.6.3/libHSImperativeHaskell-2.0.0.0.a /usr/local/bin/ghc --abi-hash -fbuilding-cabal-package -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -package-name ImperativeHaskell-2.0.0.0 -hide-all-packages -package-db /srv/hackage/var/build/cache/inst/local.conf.d -package-id base-4.6.0.1-8aa5d403c45ea59dcd2c39f123e27d57 -package-id mtl-2.1.2-94c72af955e94b8d7b2f359dadd0cb62 -package-id template-haskell-2.8.0.0-a3012803fde1dc362e555b35a1a78e6d -XHaskell98 -XGADTs -XEmptyDataDecls -XGeneralizedNewtypeDeriving -XMultiParamTypeClasses -XFlexibleInstances -XFlexibleContexts -XTemplateHaskell -XUndecidableInstances -XTypeFamilies -XFunctionalDependencies Control.Monad.Imperative Control.Monad.Imperative.Internals Control.Monad.Imperative.Operators Control.Monad.Imperative.FunctionFactory -O0 Registering ImperativeHaskell-2.0.0.0... /usr/local/bin/ghc-pkg update - --global --user --package-db=/srv/hackage/var/build/cache/inst/local.conf.d --no-user-package-conf