Build #2 for verilog-0.0.9
| Package | verilog-0.0.9 |
|---|
| Install | BuildFailed |
|---|---|
| Docs | NotTried |
| Tests | NotTried |
| Time submitted | 2015-10-20 23:59:37.939588 UTC |
|---|---|
| Compiler | ghc-7.10.2 |
| OS | linux |
| Arch | x86_64 |
| Dependencies | monadLib-3.7.3, base-4.8.1.0, array-0.5.1.0 |
| Flags | none |
Code Coverage
No Code Coverage was submitted for this report.
Build log
[view raw]
Resolving dependencies...
Configuring monadLib-3.7.3...
Building monadLib-3.7.3...
Preprocessing library monadLib-3.7.3...
[1 of 3] Compiling MonadLib ( src/MonadLib.hs, dist/build/MonadLib.o )
src/MonadLib.hs:5:14: Warning:
‘MonadLib’ is marked as Trustworthy but has been inferred as safe!
[2 of 3] Compiling MonadLib.Derive ( src/MonadLib/Derive.hs, dist/build/MonadLib/Derive.o )
[3 of 3] Compiling MonadLib.Monads ( src/MonadLib/Monads.hs, dist/build/MonadLib/Monads.o )
src/MonadLib/Monads.hs:18:1: Warning:
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
src/MonadLib/Monads.hs:20:1: Warning:
The import of ‘Data.Monoid’ is redundant
except perhaps to import instances from ‘Data.Monoid’
To import instances alone, use: import Data.Monoid()
In-place registering monadLib-3.7.3...
Running Haddock for monadLib-3.7.3...
Running hscolour for monadLib-3.7.3...
Preprocessing library monadLib-3.7.3...
Preprocessing library monadLib-3.7.3...
src/MonadLib.hs:5:14: Warning:
‘MonadLib’ is marked as Trustworthy but has been inferred as safe!
src/MonadLib/Monads.hs:18:1: Warning:
The import of ‘Control.Applicative’ is redundant
except perhaps to import instances from ‘Control.Applicative’
To import instances alone, use: import Control.Applicative()
src/MonadLib/Monads.hs:20:1: Warning:
The import of ‘Data.Monoid’ is redundant
except perhaps to import instances from ‘Data.Monoid’
To import instances alone, use: import Data.Monoid()
Haddock coverage:
97% ( 62 / 64) in 'MonadLib'
Missing documentation for:
MonadT (src/MonadLib.hs:234)
BaseM (src/MonadLib.hs:287)
92% ( 24 / 26) in 'MonadLib.Derive'
Missing documentation for:
derive_fail (src/MonadLib/Derive.hs:69)
derive_abort (src/MonadLib/Derive.hs:101)
17% ( 2 / 12) in 'MonadLib.Monads'
Missing documentation for:
Reader (src/MonadLib/Monads.hs:22)
Writer (src/MonadLib/Monads.hs:23)
State (src/MonadLib/Monads.hs:24)
Exception (src/MonadLib/Monads.hs:25)
Cont (src/MonadLib/Monads.hs:26)
runReader (src/MonadLib/Monads.hs:94)
runWriter (src/MonadLib/Monads.hs:95)
runState (src/MonadLib/Monads.hs:96)
runException (src/MonadLib/Monads.hs:97)
runCont (src/MonadLib/Monads.hs:98)
Documentation created: dist/doc/html/monadLib/index.html,
dist/doc/html/monadLib/monadLib.txt
Creating package registration file:
/tmp/pkgConf-monadLib-3.7278722862233665123.3
Installing library in
/home/builder/hackage-server/build-cache/tmp-install/lib/x86_64-linux-ghc-7.10.2/monadLib-3.7.3-JtyiEuBx8E8ExLbUWdxc6q
Registering monadLib-3.7.3...
Installed monadLib-3.7.3
Configuring verilog-0.0.9...
Building verilog-0.0.9...
Preprocessing library verilog-0.0.9...
[1 of 9] Compiling Language.Verilog.Parser.Tokens ( Language/Verilog/Parser/Tokens.hs, dist/build/Language/Verilog/Parser/Tokens.o )
[2 of 9] Compiling Language.Verilog.Parser.Preprocess ( Language/Verilog/Parser/Preprocess.hs, dist/build/Language/Verilog/Parser/Preprocess.o )
[3 of 9] Compiling Language.Verilog.Parser.Lex ( dist/build/Language/Verilog/Parser/Lex.hs, dist/build/Language/Verilog/Parser/Lex.o )
dist/build/Language/Verilog/Parser/Lex.hs:439:17:
Pattern bindings containing unlifted types should use an outermost bang pattern:
((I# (ord_c))) = fromIntegral c
In the expression:
let
(base) = alexIndexInt32OffAddr alex_base s
((I# (ord_c))) = fromIntegral c
(offset) = (base +# ord_c)
....
in
case new_s of {
-1# -> (new_acc, input)
_ -> alex_scan_tkn
user
orig_input
(if c < 128 || c >= 192 then (len +# 1#) else len)
new_input
new_s
new_acc }
In a case alternative:
Just (c, new_input)
-> let
(base) = alexIndexInt32OffAddr alex_base s
((I# (ord_c))) = fromIntegral c
....
in
case new_s of {
-1# -> (new_acc, input)
_ -> alex_scan_tkn
user
orig_input
(if c < 128 || c >= 192 then (len +# 1#) else len)
new_input
new_s
new_acc }
In the second argument of ‘seq’, namely
‘case alexGetByte input of {
Nothing -> (new_acc, input)
Just (c, new_input)
-> let
(base) = ...
....
in
case new_s of {
-1# -> ...
_ -> alex_scan_tkn
user
orig_input
(if c < 128 || c >= 192 then (len +# 1#) else len)
new_input
new_s
new_acc } }’
dist/build/Language/Verilog/Parser/Lex.hs:443:31:
Couldn't match expected type ‘Bool’ with actual type ‘Int#’
In the first argument of ‘(&&)’, namely ‘(offset >=# 0#)’
In the expression: (offset >=# 0#) && (check ==# ord_c)
In the expression:
if (offset >=# 0#) && (check ==# ord_c) then
alexIndexInt16OffAddr alex_table offset
else
alexIndexInt16OffAddr alex_deflt s
dist/build/Language/Verilog/Parser/Lex.hs:443:50:
Couldn't match expected type ‘Bool’ with actual type ‘Int#’
In the second argument of ‘(&&)’, namely ‘(check ==# ord_c)’
In the expression: (offset >=# 0#) && (check ==# ord_c)
In the expression:
if (offset >=# 0#) && (check ==# ord_c) then
alexIndexInt16OffAddr alex_table offset
else
alexIndexInt16OffAddr alex_deflt s
Failed to install verilog-0.0.9
cabal: Error: some packages failed to install:
verilog-0.0.9 failed during the building phase. The exception was:
ExitFailure 1
Test log
No test log was submitted for this report.