The build succeeded. 2 test suites succeeded, 0 failed.
Build log
> /tmp/stackage-build2454$ stack unpack c2hs-0.28.6@sha256:47e402d4cd79204afb72d69c945bc5cf02f70d7f29ffe5aefc07343fd47743fe
Unpacked c2hs-0.28.6 to /tmp/stackage-build2454/c2hs-0.28.6/
> /tmp/stackage-build2454/c2hs-0.28.6$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
[1 of 1] Compiling Main ( Setup.hs, Setup.o )
Linking Setup ...
> /tmp/stackage-build2454/c2hs-0.28.6$ ./Setup configure --package-db=clear --package-db=global --package-db=/home/circleci/project/builds/nightly/pkgdb --libdir=/home/circleci/project/builds/nightly/lib --bindir=/home/circleci/project/builds/nightly/bin --datadir=/home/circleci/project/builds/nightly/share --libexecdir=/home/circleci/project/builds/nightly/libexec --sysconfdir=/home/circleci/project/builds/nightly/etc --docdir=/home/circleci/project/builds/nightly/doc/c2hs-0.28.6 --htmldir=/home/circleci/project/builds/nightly/doc/c2hs-0.28.6 --haddockdir=/home/circleci/project/builds/nightly/doc/c2hs-0.28.6
Configuring c2hs-0.28.6...
> /tmp/stackage-build2454/c2hs-0.28.6$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2454/c2hs-0.28.6$ ./Setup build
Preprocessing executable 'c2hs' for c2hs-0.28.6..
Building executable 'c2hs' for c2hs-0.28.6..
<no location info>: warning: [-Wmissing-home-modules]
These modules are needed for compilation but not listed in your .cabal file's other-modules:
Paths_c2hs
[ 1 of 26] Compiling C2HS.C.Info ( src/C2HS/C/Info.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Info.o )
[ 2 of 26] Compiling C2HS.Config ( src/C2HS/Config.hs, dist/build/c2hs/c2hs-tmp/C2HS/Config.o )
[ 3 of 26] Compiling C2HS.Switches ( src/C2HS/Switches.hs, dist/build/c2hs/c2hs-tmp/C2HS/Switches.o )
[ 4 of 26] Compiling Control.StateTrans ( src/Control/StateTrans.hs, dist/build/c2hs/c2hs-tmp/Control/StateTrans.o )
src/Control/StateTrans.hs:80:1: warning: [-Wdodgy-imports]
Module ‘Prelude’ does not export ‘catch’
|
80 | import Prelude hiding (catch)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[ 5 of 26] Compiling Data.Errors ( src/Data/Errors.hs, dist/build/c2hs/c2hs-tmp/Data/Errors.o )
[ 6 of 26] Compiling Data.Attributes ( src/Data/Attributes.hs, dist/build/c2hs/c2hs-tmp/Data/Attributes.o )
[ 7 of 26] Compiling Control.StateBase ( src/Control/StateBase.hs, dist/build/c2hs/c2hs-tmp/Control/StateBase.o )
[ 8 of 26] Compiling Data.NameSpaces ( src/Data/NameSpaces.hs, dist/build/c2hs/c2hs-tmp/Data/NameSpaces.o )
[ 9 of 26] Compiling C2HS.C.Attrs ( src/C2HS/C/Attrs.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Attrs.o )
[10 of 26] Compiling C2HS.C.Builtin ( src/C2HS/C/Builtin.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Builtin.o )
[11 of 26] Compiling Paths_c2hs ( dist/build/c2hs/autogen/Paths_c2hs.hs, dist/build/c2hs/c2hs-tmp/Paths_c2hs.o )
[12 of 26] Compiling C2HS.Version ( src/C2HS/Version.hs, dist/build/c2hs/c2hs-tmp/C2HS/Version.o )
[13 of 26] Compiling System.CIO ( src/System/CIO.hs, dist/build/c2hs/c2hs-tmp/System/CIO.o )
[14 of 26] Compiling Control.State ( src/Control/State.hs, dist/build/c2hs/c2hs-tmp/Control/State.o )
[15 of 26] Compiling C2HS.State ( src/C2HS/State.hs, dist/build/c2hs/c2hs-tmp/C2HS/State.o )
[16 of 26] Compiling C2HS.C.Trav ( src/C2HS/C/Trav.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Trav.o )
[17 of 26] Compiling C2HS.C.Names ( src/C2HS/C/Names.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Names.o )
[18 of 26] Compiling C2HS.C ( src/C2HS/C.hs, dist/build/c2hs/c2hs-tmp/C2HS/C.o )
[19 of 26] Compiling Text.Lexers ( src/Text/Lexers.hs, dist/build/c2hs/c2hs-tmp/Text/Lexers.o )
[20 of 26] Compiling C2HS.CHS.Lexer ( src/C2HS/CHS/Lexer.hs, dist/build/c2hs/c2hs-tmp/C2HS/CHS/Lexer.o )
[21 of 26] Compiling C2HS.CHS ( src/C2HS/CHS.hs, dist/build/c2hs/c2hs-tmp/C2HS/CHS.o )
[22 of 26] Compiling C2HS.Gen.Monad ( src/C2HS/Gen/Monad.hs, dist/build/c2hs/c2hs-tmp/C2HS/Gen/Monad.o )
[23 of 26] Compiling C2HS.Gen.Wrapper ( src/C2HS/Gen/Wrapper.hs, dist/build/c2hs/c2hs-tmp/C2HS/Gen/Wrapper.o )
[24 of 26] Compiling C2HS.Gen.Header ( src/C2HS/Gen/Header.hs, dist/build/c2hs/c2hs-tmp/C2HS/Gen/Header.o )
[25 of 26] Compiling C2HS.Gen.Bind ( src/C2HS/Gen/Bind.hs, dist/build/c2hs/c2hs-tmp/C2HS/Gen/Bind.o )
[26 of 26] Compiling Main ( src/Main.hs, dist/build/c2hs/c2hs-tmp/Main.o )
<no location info>: warning: [-Wmissing-home-modules]
These modules are needed for compilation but not listed in your .cabal file's other-modules:
Paths_c2hs
Linking dist/build/c2hs/c2hs ...
> /tmp/stackage-build2454/c2hs-0.28.6$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2454/c2hs-0.28.6$ ./Setup copy
Installing executable c2hs in /home/circleci/project/builds/nightly/bin
> /tmp/stackage-build2454/c2hs-0.28.6$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2454/c2hs-0.28.6$ ./Setup register
Package contains no library to register: c2hs-0.28.6...
Test log
> /tmp/stackage-build2454/c2hs-0.28.6$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2454/c2hs-0.28.6$ ./Setup configure --enable-tests --package-db=clear --package-db=global --package-db=/home/circleci/project/builds/nightly/pkgdb --libdir=/home/circleci/project/builds/nightly/lib --bindir=/home/circleci/project/builds/nightly/bin --datadir=/home/circleci/project/builds/nightly/share --libexecdir=/home/circleci/project/builds/nightly/libexec --sysconfdir=/home/circleci/project/builds/nightly/etc --docdir=/home/circleci/project/builds/nightly/doc/c2hs-0.28.6 --htmldir=/home/circleci/project/builds/nightly/doc/c2hs-0.28.6 --haddockdir=/home/circleci/project/builds/nightly/doc/c2hs-0.28.6
Configuring c2hs-0.28.6...
> /tmp/stackage-build2454/c2hs-0.28.6$ ghc -clear-package-db -global-package-db -package-db=/home/circleci/project/builds/nightly/pkgdb Setup
> /tmp/stackage-build2454/c2hs-0.28.6$ ./Setup build
Preprocessing executable 'c2hs' for c2hs-0.28.6..
Building executable 'c2hs' for c2hs-0.28.6..
<no location info>: warning: [-Wmissing-home-modules]
These modules are needed for compilation but not listed in your .cabal file's other-modules:
Paths_c2hs
[ 1 of 26] Compiling C2HS.C.Info ( src/C2HS/C/Info.hs, dist/build/c2hs/c2hs-tmp/C2HS/C/Info.o ) [dist/build/c2hs/autogen/cabal_macros.h changed]
[11 of 26] Compiling System.CIO ( src/System/CIO.hs, dist/build/c2hs/c2hs-tmp/System/CIO.o ) [dist/build/c2hs/autogen/cabal_macros.h changed]
[19 of 26] Compiling Paths_c2hs ( dist/build/c2hs/autogen/Paths_c2hs.hs, dist/build/c2hs/c2hs-tmp/Paths_c2hs.o )
[25 of 26] Compiling C2HS.Gen.Bind ( src/C2HS/Gen/Bind.hs, dist/build/c2hs/c2hs-tmp/C2HS/Gen/Bind.o ) [dist/build/c2hs/autogen/cabal_macros.h changed]
<no location info>: warning: [-Wmissing-home-modules]
These modules are needed for compilation but not listed in your .cabal file's other-modules:
Paths_c2hs
Linking dist/build/c2hs/c2hs ...
Preprocessing test suite 'test-bugs' for c2hs-0.28.6..
Building test suite 'test-bugs' for c2hs-0.28.6..
<no location info>: warning: [-Wmissing-home-modules]
These modules are needed for compilation but not listed in your .cabal file's other-modules:
Paths_c2hs
[1 of 2] Compiling Paths_c2hs ( dist/build/test-bugs/autogen/Paths_c2hs.hs, dist/build/test-bugs/test-bugs-tmp/Paths_c2hs.o )
[2 of 2] Compiling Main ( tests/test-bugs.hs, dist/build/test-bugs/test-bugs-tmp/Main.o )
<no location info>: warning: [-Wmissing-home-modules]
These modules are needed for compilation but not listed in your .cabal file's other-modules:
Paths_c2hs
Linking dist/build/test-bugs/test-bugs ...
Preprocessing test suite 'test-system' for c2hs-0.28.6..
Building test suite 'test-system' for c2hs-0.28.6..
<no location info>: warning: [-Wmissing-home-modules]
These modules are needed for compilation but not listed in your .cabal file's other-modules:
Paths_c2hs
[1 of 2] Compiling Paths_c2hs ( dist/build/test-system/autogen/Paths_c2hs.hs, dist/build/test-system/test-system-tmp/Paths_c2hs.o )
[2 of 2] Compiling Main ( tests/test-system.hs, dist/build/test-system/test-system-tmp/Main.o )
<no location info>: warning: [-Wmissing-home-modules]
These modules are needed for compilation but not listed in your .cabal file's other-modules:
Paths_c2hs
Linking dist/build/test-system/test-system ...
> /tmp/stackage-build2454/c2hs-0.28.6$ dist/build/test-bugs/test-bugs
** Call hook for `C':
extractCompType: checking for alias
extractCompType: checking for alias
Imported function type: (IO ())
** Call hook for `c':
extractCompType: checking for alias
extractCompType: checking for alias
Imported function type: (IO ())
** Call hook for `C':
extractCompType: checking for alias
extractCompType: checking for alias
Imported function type: (IO ())
[1 of 1] Compiling Main ( Issue9.hs, Issue9.o )
Linking Issue9 ...
[1 of 1] Compiling Main ( Issue10.hs, Issue10.o )
Linking Issue10 ...
issue15.c: In function ‘tst_val’:
issue15.c:3:10: warning: multi-character character constant [-Wmultichar]
return 'drag';
^
[1 of 1] Compiling Main ( Issue15.hs, Issue15.o )
Linking Issue15 ...
[1 of 1] Compiling Main ( Issue16.hs, Issue16.o )
Linking Issue16 ...
[1 of 1] Compiling Main ( Issue19.hs, Issue19.o )
Linking Issue19 ...
[1 of 1] Compiling Main ( Issue20.hs, Issue20.o )
Linking Issue20 ...
[1 of 1] Compiling Main ( Issue22.hs, Issue22.o )
Linking Issue22 ...
[1 of 1] Compiling Main ( Issue23.hs, Issue23.o )
Linking Issue23 ...
[1 of 1] Compiling Main ( Issue25.hs, Issue25.o )
Linking Issue25 ...
[1 of 1] Compiling Main ( Issue31.hs, Issue31.o )
Linking Issue31 ...
[1 of 1] Compiling Main ( Issue32.hs, Issue32.o )
Linking Issue32 ...
[1 of 1] Compiling Main ( Issue36.hs, Issue36.o )
Linking Issue36 ...
[1 of 1] Compiling Main ( Issue38.hs, Issue38.o )
Linking Issue38 ...
[1 of 1] Compiling Main ( Issue43.hs, Issue43.o )
Linking Issue43 ...
[1 of 1] Compiling Main ( Issue44.hs, Issue44.o )
Linking Issue44 ...
[1 of 1] Compiling Main ( Issue45.hs, Issue45.o )
Linking Issue45 ...
[1 of 1] Compiling Main ( Issue46.hs, Issue46.o )
Linking Issue46 ...
[1 of 1] Compiling Main ( Issue47.hs, Issue47.o )
Linking Issue47 ...
[1 of 1] Compiling Main ( Issue51_nonGNU.hs, Issue51_nonGNU.o )
Linking Issue51_nonGNU ...
[1 of 1] Compiling Main ( Issue51_GNU.hs, Issue51_GNU.o )
Linking Issue51_GNU ...
[1 of 1] Compiling Main ( Issue54.hs, Issue54.o )
Linking Issue54 ...
[1 of 1] Compiling Main ( Issue60.hs, Issue60.o )
Linking Issue60 ...
[1 of 1] Compiling Main ( Issue62.hs, Issue62.o )
Linking Issue62 ...
[1 of 1] Compiling Main ( Issue65.hs, Issue65.o )
Linking Issue65 ...
[1 of 1] Compiling Main ( Issue69.hs, Issue69.o )
Linking Issue69 ...
[1 of 1] Compiling Foo ( Issue70.hs, Issue70.o )
[1 of 1] Compiling Main ( Issue73.hs, Issue73.o )
Linking Issue73 ...
[1 of 1] Compiling Main ( Issue75.hs, Issue75.o )
Linking Issue75 ...
[1 of 1] Compiling Main ( Issue79.hs, Issue79.o )
Linking Issue79 ...
[1 of 1] Compiling Main ( Issue80.hs, Issue80.o )
Linking Issue80 ...
[1 of 1] Compiling Main ( Issue82.hs, Issue82.o )
Linking Issue82 ...
[1 of 1] Compiling Main ( Issue93.hs, Issue93.o )
Linking Issue93 ...
[1 of 1] Compiling Main ( Issue95.hs, Issue95.o )
Linking Issue95 ...
[1 of 1] Compiling Main ( Issue96.hs, Issue96.o )
Linking Issue96 ...
[1 of 1] Compiling Main ( Issue98.hs, Issue98.o )
Linking Issue98 ...
[1 of 1] Compiling Main ( Issue107.hs, Issue107.o )
Linking Issue107 ...
[1 of 1] Compiling Main ( Issue113.hs, Issue113.o )
Linking Issue113 ...
[1 of 1] Compiling Main ( Issue115.hs, Issue115.o )
Linking Issue115 ...
[1 of 1] Compiling Main ( Issue116.hs, Issue116.o )
Linking Issue116 ...
[1 of 1] Compiling Main ( Issue123.hs, Issue123.o )
Linking Issue123 ...
[1 of 1] Compiling Main ( Issue127.hs, Issue127.o )
Linking Issue127 ...
c2hs__bool_size.c: In function ‘main’:
c2hs__bool_size.c:2:43: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
int main(int argc, char *argv[]) { printf("%u\n", sizeof(_Bool)); return 0; }
^
[1 of 1] Compiling Main ( Issue130.hs, Issue130.o )
Linking Issue130 ...
[1 of 1] Compiling Main ( Issue133.hs, Issue133.o )
Linking Issue133 ...
[1 of 1] Compiling Main ( Issue134.hs, Issue134.o )
Linking Issue134 ...
[1 of 1] Compiling Main ( Issue136.hs, Issue136.o )
Linking Issue136 ...
[1 of 1] Compiling Main ( Issue140.hs, Issue140.o )
Linking Issue140 ...
c2hs: Errors during expansion of binding hooks:
issue141.h:1: (column 9) [ERROR] >>> Illegal use of incomplete type!
Expected a fully defined structure or union tag; instead found incomplete type.
c2hs: Errors during expansion of binding hooks:
issue141.h:1: (column 9) [ERROR] >>> Illegal use of incomplete type!
Expected a fully defined structure or union tag; instead found incomplete type.
c2hs: Errors during expansion of binding hooks:
Issue141C.chs:7: (column 17) [ERROR] >>> Illegal use of incomplete type!
Expected a fully defined structure or union tag; instead found incomplete type.
c2hs: Errors during expansion of binding hooks:
Issue149.chs:5: (column 3) [ERROR] >>> Function arity mismatch!
Parameter marshallers are missing.
[1 of 1] Compiling Issue151 ( Issue151.hs, Issue151.o )
[1 of 1] Compiling Main ( Issue152.hs, Issue152.o )
Linking Issue152 ...
c2hs: Errors during expansion of binding hooks:
Issue180.chs:8: (column 18) [ERROR] >>> Function arity mismatch!
This parameter is in excess of the C arguments.
[1 of 1] Compiling Issue192 ( Issue192.hs, Issue192.o )
[1 of 1] Compiling Main ( Issue48.hs, Issue48.o )
Linking Issue48 ...
[1 of 1] Compiling Main ( Issue83.hs, Issue83.o )
Linking Issue83 ...
[1 of 1] Compiling Main ( Issue102.hs, Issue102.o )
Linking Issue102 ...
Bugs:
[1 of 1] Compiling Main ( Capital.hs, Capital.o )
Linking Capital ...
upper C();
lower c();
upper C();
call_capital (issue #??): [OK]
Issue #7: [OK]
PTA:8
AOP:32
(32,64)
64
OK
Issue #9: [OK]
SAME
SAME
SAME
SAME
SAME
Issue #10: [OK]
True
Issue #15: [OK]
Issue #16: [OK]
Did it!
Issue #19: [OK]
4
Issue #20: [OK]
abcdef
2
20
Issue #22: [OK]
H1
Issue #23: [OK]
-1
abcdef
Issue #25: [OK]
Issue #29: [OK]
[1 of 3] Compiling Issue30Aux1 ( Issue30Aux1.hs, Issue30Aux1.o )
[2 of 3] Compiling Issue30Aux2 ( Issue30Aux2.hs, Issue30Aux2.o )
[3 of 3] Compiling Main ( Issue30.hs, Issue30.o )
Linking Issue30 ...
3
2
4
Issue #30: [OK]
Enum OK
Pointer 1: 1 1
Pointer 2: 2
Foreign pointer: 3
Foreign newtype pointer: 4
Issue #31: [OK]
1234
1
523
Issue #32: [OK]
Issue #36: [OK]
Enum OK
Issue #38: [OK]
Test1A=0
Test1B=1
Test1C=5
Test1D=6
AnonA=8
AnonB=9
AnonC=15
AnonD=16
Issue #43: [OK]
Issue #44: [OK]
Issue #45: [OK]
(1,2.5)
Issue #46: [OK]
Issue #47: [OK]
0
1
Issue #51: [OK]
2
0.2
2
0.2
3
0.3
3
0.3
3
0.3
3
0.3
Issue #54: [OK]
Issue #60: [OK]
Issue #62: [OK]
123
3.14
"hello"
Issue #65: [OK]
Issue #69: [OK]
Issue #70: [OK]
Foreign pointer: 3
Foreign pointer: 3
Foreign newtype pointer: 4
Foreign newtype pointer: 4
Allocated struct3
Allocated struct3
Allocated struct4
Allocated struct4
Freeing struct3
Freeing struct4
Issue #73: [OK]
Issue #75: [OK]
A=1
B=2
C=2
D=3
Issue #79: [OK]
Issue #80: [OK]
Issue #82: [OK]
Issue #93: [OK]
Issue #95: [OK]
Issue #96: [OK]
[1 of 2] Compiling Issue97A ( Issue97A.hs, Issue97A.o )
[2 of 2] Compiling Main ( Issue97.hs, Issue97.o )
Linking Issue97 ...
42
Issue #97: [OK]
Issue #98: [OK]
[1 of 2] Compiling Issue103A ( Issue103A.hs, Issue103A.o )
[2 of 2] Compiling Main ( Issue103.hs, Issue103.o )
Linking Issue103 ...
1
2
3
Issue #103: [OK]
True
Issue #107: [OK]
Issue #113: [OK]
[8,43,94]
[7,42,93]
Issue #115: [OK]
Issue #116: [OK]
[1 of 1] Compiling Main ( Issue117.hs, Issue117.o )
Linking Issue117 ...
5
Issue #117: [OK]
[8,43,94]
[7,42,93]
[2,4,8]
[3,9,27]
Issue #123: [OK]
True
False
Issue #127: [OK]
[1 of 1] Compiling Main ( Issue128.hs, Issue128.o )
Linking Issue128 ...
5
3
True
False
10
False
12
True
7
False
8
True
Issue #128: [OK]
3
3
Issue #130: [OK]
[1 of 1] Compiling Main ( Issue131.hs, Issue131.o )
Linking Issue131 ...
5
3
True
False
Issue #131: [OK]
Issue #133: [OK]
Issue #134: [OK]
Issue #136: [OK]
123
456
789
Issue #140: [OK]
Issue #141: [OK]
Issue #149: [OK]
Issue #151: [OK]
Issue #152: [OK]
[1 of 2] Compiling Types ( Types.hs, Types.o )
[2 of 2] Compiling Main ( Issue155.hs, Issue155.o )
Linking Issue155 ...
OK
Issue #155: [OK]
Issue #180: [OK]
Issue #192: [OK]
2
5
Issue #48: [OK]
(True,True)
TEST_VAL
8415
8415
TESTING
Issue #83: [OK]
Unlocked
TST 1: 1234
TST 2: 13 47
TST 3: testing
Issue #102: [OK]
Test Cases Total
Passed 64 64
Failed 0 0
Total 64 64
> /tmp/stackage-build2454/c2hs-0.28.6$ dist/build/test-system/test-system
Enums.chs:47:1: warning: [-Wtabs]
Tab character found here, and in six further locations.
Please use spaces instead.
|
47 | main = do
| ^^^^^^^^
Marsh.chs:14:1: warning: [-Wtabs]
Tab character found here, and in 9 further locations.
Please use spaces instead.
|
14 | free mem
| ^^^^^^^^
Pointer.chs:14:1: warning: [-Wtabs]
Tab character found here, and in four further locations.
Please use spaces instead.
|
14 | withMyCString s2 $ \s2' -> {#call concat as _concat#} s1' s2'
| ^^^^^^^^
System:
Calls: [OK]
Cpp: [OK]
[1 of 1] Compiling Main ( Enums.hs, Enums.o )
Linking enums ...
Did it!
Enums: [OK]
[1 of 1] Compiling Main ( Marsh.hs, Marsh.o )
Linking marsh ...
Hello World!
[5,3,7]
Marsh: [OK]
[1 of 1] Compiling Main ( Pointer.hs, Pointer.o )
Linking pointer ...
Pointer: [OK]
I am the mighty foo!
Simple: [OK]
42 & -1 & 2 & 200 & ' '
Structs: [OK]
Test Cases Total
Passed 7 7
Failed 0 0
Total 7 7