Build #8 for hichi-0.0.1
| Package | hichi-0.0.1 |
|---|
| Install | BuildFailed |
|---|---|
| Docs | NotTried |
| Tests | NotTried |
| Time submitted | 2017-01-02 07:27:27.433081 UTC |
|---|---|
| Compiler | ghc-8.0.1.20161018 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | array-0.5.1.1, base-4.9.0.0, bytestring-0.10.8.1, mtl-2.2.1, network-2.6.3.1 |
| Flags | -test |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Configuring mtl-2.2.1...
Configuring network-2.6.3.1...
Building mtl-2.2.1...
Building network-2.6.3.1...
Installed mtl-2.2.1
Installed network-2.6.3.1
Configuring hichi-0.0.1...
Building hichi-0.0.1...
Failed to install hichi-0.0.1
Build log ( /home/builder/.cabal/logs/hichi-0.0.1.log ):
cabal: Entering directory '/tmp/cabal-tmp-19921/hichi-0.0.1'
Configuring hichi-0.0.1...
Warning: 'ghc-options: -prof' is not necessary and will lead to problems when
used on a library. Use the configure flag --enable-library-profiling and/or
--enable-profiling.
Building hichi-0.0.1...
Preprocessing executable 'hichi' for hichi-0.0.1...
Network/IChat/Error.hs:1:12: warning:
-fglasgow-exts is deprecated: Use individual extensions instead
[ 1 of 12] Compiling Network.IChat.Error ( Network/IChat/Error.hs, dist/build/hichi/hichi-tmp/Network/IChat/Error.o )
[ 2 of 12] Compiling Network.IChat.Aux ( Network/IChat/Aux.hs, dist/build/hichi/hichi-tmp/Network/IChat/Aux.o )
[ 3 of 12] Compiling Network.IChat.Command ( Network/IChat/Command.hs, dist/build/hichi/hichi-tmp/Network/IChat/Command.o )
[ 4 of 12] Compiling Network.IChat.IO ( Network/IChat/IO.hs, dist/build/hichi/hichi-tmp/Network/IChat/IO.o )
[ 5 of 12] Compiling Network.IChat.Message ( Network/IChat/Message.hs, dist/build/hichi/hichi-tmp/Network/IChat/Message.o )
[ 6 of 12] Compiling Codec.RC4 ( Codec/RC4.hs, dist/build/hichi/hichi-tmp/Codec/RC4.o )
Codec/RC4.hs:15:1: warning: [-Wunused-imports]
The import of ‘Control.Monad’ is redundant
except perhaps to import instances from ‘Control.Monad’
To import instances alone, use: import Control.Monad()
[ 7 of 12] Compiling Network.IChat.C2S ( Network/IChat/C2S.hs, dist/build/hichi/hichi-tmp/Network/IChat/C2S.o )
[ 8 of 12] Compiling Network.IChat.S2C ( Network/IChat/S2C.hs, dist/build/hichi/hichi-tmp/Network/IChat/S2C.o )
[ 9 of 12] Compiling Network.IChat ( Network/IChat.hs, dist/build/hichi/hichi-tmp/Network/IChat.o )
[10 of 12] Compiling Hichi.State ( Hichi/State.hs, dist/build/hichi/hichi-tmp/Hichi/State.o )
[11 of 12] Compiling Hichi.IChatMain ( Hichi/IChatMain.hs, dist/build/hichi/hichi-tmp/Hichi/IChatMain.o )
Hichi/IChatMain.hs:41:12: error:
• Non type-variable argument
in the constraint: MonadState (BotState s) m
(Use FlexibleContexts to permit this)
• When checking the inferred type
u_put :: forall (m :: * -> *) s.
MonadState (BotState s) m =>
s -> m ()
In the expression:
do { let log_m msg = ...
u_get = bs_user_state `fmap` get
....;
u_up $ \ (MyBotState cnt) -> MyBotState (cnt + 1);
case cmd of {
Refresh _line _login _nick _away_msg _receiver _version _status
-> return ()
Board _chunk _text -> log_m $ (take 70 $ show cmd) ++ "..."
IChatCommand_Junk _raw_data -> do { ... }
_ -> log_m $ show cmd };
bot_state <- u_get;
.... }
In an equation for ‘bot_react’:
bot_react
(IChatS2C _s_cmd m@(IChatMessage _tag _counter sender cmd))
= do { let log_m msg = ...
....;
u_up $ \ (MyBotState cnt) -> MyBotState (cnt + 1);
case cmd of {
Refresh _line _login _nick _away_msg _receiver _version _status
-> return ()
Board _chunk _text -> log_m $ (take 70 $ show cmd) ++ "..."
IChatCommand_Junk _raw_data -> ...
_ -> log_m $ show cmd };
.... }
cabal: Leaving directory '/tmp/cabal-tmp-19921/hichi-0.0.1'
cabal: Error: some packages failed to install:
hichi-0.0.1 failed during the building phase. The exception was:
ExitFailure 1
Test log
No test log was submitted for this report.