FailedConsole Output

Started by GitHub push by bandurvp
Building on master in workspace /var/lib/jenkins/workspace/vdm2c-vdmlib
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/bin/git config remote.origin.url https://github.com/overturetool/vdm2c.git # timeout=10
Fetching upstream changes from https://github.com/overturetool/vdm2c.git
 > /usr/bin/git --version # timeout=10
 > /usr/bin/git -c core.askpass=true fetch --tags --progress https://github.com/overturetool/vdm2c.git +refs/heads/development:refs/remotes/origin/development
 > /usr/bin/git rev-parse refs/remotes/origin/development^{commit} # timeout=10
 > /usr/bin/git rev-parse refs/remotes/origin/refs/heads/development^{commit} # timeout=10
Checking out Revision ec870cb29abbf8905c0f13cbd002bf4e696ef0b1 (refs/remotes/origin/development)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f ec870cb29abbf8905c0f13cbd002bf4e696ef0b1
 > /usr/bin/git rev-list c3ca0bd0bc7d5ed11395256fb37c3f6168cd4575 # timeout=10
 > /usr/bin/git remote # timeout=10
 > /usr/bin/git submodule init # timeout=10
 > /usr/bin/git submodule sync # timeout=10
 > /usr/bin/git config --get remote.origin.url # timeout=10
 > /usr/bin/git submodule update --init --recursive
[vdm2c-vdmlib] $ /bin/sh -xe /tmp/hudson7439743111097258694.sh
+ cd c
+ cmake .
-- Configuring done
-- Generating done
-- Build files have been written to: /var/lib/jenkins/workspace/vdm2c-vdmlib/c
+ make -j4
/usr/bin/cmake -H/var/lib/jenkins/workspace/vdm2c-vdmlib/c -B/var/lib/jenkins/workspace/vdm2c-vdmlib/c --check-build-system CMakeFiles/Makefile.cmake 0
/usr/bin/cmake -E cmake_progress_start /var/lib/jenkins/workspace/vdm2c-vdmlib/c/CMakeFiles /var/lib/jenkins/workspace/vdm2c-vdmlib/c/CMakeFiles/progress.marks
make -f CMakeFiles/Makefile2 all
make[1]: Entering directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
make -f third_party/googletest/googletest/CMakeFiles/gtest.dir/build.make third_party/googletest/googletest/CMakeFiles/gtest.dir/depend
make[2]: Entering directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
cd /var/lib/jenkins/workspace/vdm2c-vdmlib/c && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/lib/jenkins/workspace/vdm2c-vdmlib/c /var/lib/jenkins/workspace/vdm2c-vdmlib/c/third_party/googletest/googletest /var/lib/jenkins/workspace/vdm2c-vdmlib/c /var/lib/jenkins/workspace/vdm2c-vdmlib/c/third_party/googletest/googletest /var/lib/jenkins/workspace/vdm2c-vdmlib/c/third_party/googletest/googletest/CMakeFiles/gtest.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
make -f third_party/googletest/googletest/CMakeFiles/gtest.dir/build.make third_party/googletest/googletest/CMakeFiles/gtest.dir/build
make[2]: Entering directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
make[2]: Nothing to be done for `third_party/googletest/googletest/CMakeFiles/gtest.dir/build'.
make[2]: Leaving directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/workspace/vdm2c-vdmlib/c/CMakeFiles  1
[  2%] Built target gtest
make -f third_party/googletest/googletest/CMakeFiles/gtest_main.dir/build.make third_party/googletest/googletest/CMakeFiles/gtest_main.dir/depend
make[2]: Entering directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
cd /var/lib/jenkins/workspace/vdm2c-vdmlib/c && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/lib/jenkins/workspace/vdm2c-vdmlib/c /var/lib/jenkins/workspace/vdm2c-vdmlib/c/third_party/googletest/googletest /var/lib/jenkins/workspace/vdm2c-vdmlib/c /var/lib/jenkins/workspace/vdm2c-vdmlib/c/third_party/googletest/googletest /var/lib/jenkins/workspace/vdm2c-vdmlib/c/third_party/googletest/googletest/CMakeFiles/gtest_main.dir/DependInfo.cmake --color=
make[2]: Leaving directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
make -f third_party/googletest/googletest/CMakeFiles/gtest_main.dir/build.make third_party/googletest/googletest/CMakeFiles/gtest_main.dir/build
make[2]: Entering directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
make[2]: Nothing to be done for `third_party/googletest/googletest/CMakeFiles/gtest_main.dir/build'.
make[2]: Leaving directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/workspace/vdm2c-vdmlib/c/CMakeFiles  2
[  5%] Built target gtest_main
make -f vdmclib/src/CMakeFiles/vdmclib.dir/build.make vdmclib/src/CMakeFiles/vdmclib.dir/depend
make[2]: Entering directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
cd /var/lib/jenkins/workspace/vdm2c-vdmlib/c && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /var/lib/jenkins/workspace/vdm2c-vdmlib/c /var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src /var/lib/jenkins/workspace/vdm2c-vdmlib/c /var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src /var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/CMakeFiles/vdmclib.dir/DependInfo.cmake --color=
Scanning dependencies of target vdmclib
make[2]: Leaving directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
make -f vdmclib/src/CMakeFiles/vdmclib.dir/build.make vdmclib/src/CMakeFiles/vdmclib.dir/build
make[2]: Entering directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/workspace/vdm2c-vdmlib/c/CMakeFiles 7
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/workspace/vdm2c-vdmlib/c/CMakeFiles 9
/usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/workspace/vdm2c-vdmlib/c/CMakeFiles 10
[  7%] /usr/bin/cmake -E cmake_progress_report /var/lib/jenkins/workspace/vdm2c-vdmlib/c/CMakeFiles 11
Building C object vdmclib/src/CMakeFiles/vdmclib.dir/VdmMap.c.o
[ 10%] [ 12%] cd /var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src && /usr/bin/cc   -fmessage-length=0 -std=c11 -I/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src -I/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/classes -I/var/lib/jenkins/workspace/vdm2c-vdmlib/c/third_party/googletest/googletest/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    -o CMakeFiles/vdmclib.dir/VdmMap.c.o   -c /var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/VdmMap.c
[ 15%] Building C object vdmclib/src/CMakeFiles/vdmclib.dir/VdmBasicTypes.c.o
Building C object vdmclib/src/CMakeFiles/vdmclib.dir/MATHLib.c.o
cd /var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src && /usr/bin/cc   -fmessage-length=0 -std=c11 -I/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src -I/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/classes -I/var/lib/jenkins/workspace/vdm2c-vdmlib/c/third_party/googletest/googletest/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    -o CMakeFiles/vdmclib.dir/VdmBasicTypes.c.o   -c /var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/VdmBasicTypes.c
cd /var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src && /usr/bin/cc   -fmessage-length=0 -std=c11 -I/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src -I/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/classes -I/var/lib/jenkins/workspace/vdm2c-vdmlib/c/third_party/googletest/googletest/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    -o CMakeFiles/vdmclib.dir/MATHLib.c.o   -c /var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/MATHLib.c
Building C object vdmclib/src/CMakeFiles/vdmclib.dir/IOLib.c.o
cd /var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src && /usr/bin/cc   -fmessage-length=0 -std=c11 -I/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src -I/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/classes -I/var/lib/jenkins/workspace/vdm2c-vdmlib/c/third_party/googletest/googletest/include -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include    -o CMakeFiles/vdmclib.dir/IOLib.c.o   -c /var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/IOLib.c
/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/VdmMap.c: In function ‘ht_set’:
/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/VdmMap.c:570:2: warning: implicit declaration of function ‘strcmp’ [-Wimplicit-function-declaration]
  while( next != NULL && next->key != NULL && strcmp( key, next->key ) > 0 ) {
  ^
/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/VdmMap.c: In function ‘vdmMapAdd’:
/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/VdmMap.c:650:2: warning: implicit declaration of function ‘g_hash_table_insert’ [-Wimplicit-function-declaration]
  g_hash_table_insert(m->table, vdmClone(key), vdmClone(value));
  ^
/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/VdmMap.c: In function ‘vdmMapDom’:
/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/VdmMap.c:681:13: error: incompatible types when assigning to type ‘entry_t’ from type ‘hashtable_t’
   currentry = m->table[i];
             ^
/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/VdmMap.c:683:19: error: invalid operands to binary != (have ‘entry_t’ and ‘void *’)
   while(currentry != NULL)
                   ^
/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/VdmMap.c:686:25: error: invalid type argument of ‘->’ (have ‘entry_t’)
    currentry = currentry->next;
                         ^
/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/VdmMap.c:697:13: error: incompatible types when assigning to type ‘entry_t’ from type ‘hashtable_t’
   currentry = m->table[i];
             ^
/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/VdmMap.c:699:19: error: invalid operands to binary != (have ‘entry_t’ and ‘void *’)
   while(currentry != NULL)
                   ^
/var/lib/jenkins/workspace/vdm2c-vdmlib/c/vdmclib/src/VdmMap.c:701:28: error: invalid type argument of ‘->’ (have ‘entry_t’)
    arr[mapsize] = currentry->key;
                            ^
make[2]: *** [vdmclib/src/CMakeFiles/vdmclib.dir/VdmMap.c.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
make[1]: *** [vdmclib/src/CMakeFiles/vdmclib.dir/all] Error 2
make[1]: Leaving directory `/var/lib/jenkins/workspace/vdm2c-vdmlib/c'
make: *** [all] Error 2
Build step 'Execute shell' marked build as failure
Started calculate disk usage of build
Finished Calculation of disk usage of build in 0 seconds
Started calculate disk usage of workspace
Finished Calculation of disk usage of workspace in 0 seconds
Finished: FAILURE