Resolving dependencies... Configuring mtl-2.2.1... Configuring base-orphans-0.5.4... Building mtl-2.2.1... Building base-orphans-0.5.4... Configuring syb-0.6... Installed base-orphans-0.5.4 Building syb-0.6... Installed mtl-2.2.1 Configuring TypeCompose-0.9.12... Building TypeCompose-0.9.12... Installed syb-0.6 Configuring haskell-src-1.0.2.0... Building haskell-src-1.0.2.0... Installed TypeCompose-0.9.12 Installed haskell-src-1.0.2.0 Configuring DeepArrow-0.4.0... Building DeepArrow-0.4.0... Installed DeepArrow-0.4.0 Downloading TV-0.2... Configuring TV-0.2... Building TV-0.2... Failed to install TV-0.2 Build log ( /home/builder/.cabal/logs/TV-0.2.log ): cabal: Entering directory '/tmp/cabal-tmp-2177/TV-0.2' [1 of 1] Compiling Main ( /tmp/cabal-tmp-2177/TV-0.2/dist/setup/setup.hs, /tmp/cabal-tmp-2177/TV-0.2/dist/setup/Main.o ) Linking /tmp/cabal-tmp-2177/TV-0.2/dist/setup/setup ... Configuring TV-0.2... Warning: No 'build-type' specified. If you do not need a custom Setup.hs or ./configure script then use 'build-type: Simple'. Building TV-0.2... Preprocessing library TV-0.2... src/Interface/TV.hs:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Interface/TV/Input.hs:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Interface/TV/Output.hs:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Interface/TV/Tangible.hs:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Interface/TV/Present.hs:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Interface/TV/OFun.hs:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Interface/TV/Common.hs:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Interface/TV/Defaults.hs:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Interface/TV/Kleisli.hs:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Interface/TV/IO.hs:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead src/Interface/TV/Misc.hs:1:12: warning: -fglasgow-exts is deprecated: Use individual extensions instead [ 1 of 11] Compiling Interface.TV.Misc ( src/Interface/TV/Misc.hs, dist/build/Interface/TV/Misc.o ) src/Interface/TV/Misc.hs:34:26: error: Unexpected type ‘(~>)’ In the class declaration for ‘ToIO’ A class declaration should have form class ToIO a where ... cabal: Leaving directory '/tmp/cabal-tmp-2177/TV-0.2' cabal: Error: some packages failed to install: TV-0.2 failed during the building phase. The exception was: ExitFailure 1