Started by an SCM change Running as SYSTEM Building in workspace /var/lib/jenkins/workspace/SpadesX The recommended git tool is: NONE No credentials specified > git rev-parse --resolve-git-dir /var/lib/jenkins/workspace/SpadesX/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url https://github.com/SpadesX/SpadesX.git # timeout=10 Fetching upstream changes from https://github.com/SpadesX/SpadesX.git > git --version # timeout=10 > git --version # 'git version 2.30.2' > git fetch --tags --force --progress -- https://github.com/SpadesX/SpadesX.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/remotes/origin/master^{commit} # timeout=10 Checking out Revision 6ad133df1a5fa2454cd958ca84e4512d4abd78f1 (refs/remotes/origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 6ad133df1a5fa2454cd958ca84e4512d4abd78f1 # timeout=10 Commit message: "Packets.c: Change SMG delay to 100ms" > git rev-list --no-walk 269c099420b6ea57adc0f09adc026b716f6bbfca # timeout=10 [SpadesX] $ /bin/sh -xe /tmp/jenkins8408069142167383474.sh + git clean -f -d -x Removing build/ + git submodule init + git submodule update [SpadesX] $ /bin/sh -xe /tmp/jenkins5644689220772684883.sh + mkdir -p build + cd build + cmake -G Unix Makefiles -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=i686-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=i686-w64-mingw32-g++ -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_EXE_LINKER_FLAGS=-static -DCMAKE_FIND_ROOT_PATH=/usr/i686-w64-mingw32 -DCMAKE_FIND_ROOT_PATH_MODE_PROGRAM=NEVER -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=ONLY -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=ONLY .. -- The C compiler identification is GNU 10.0.0 -- The CXX compiler identification is GNU 10.0.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/i686-w64-mingw32-gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/i686-w64-mingw32-g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) -- Found enet: /usr/i686-w64-mingw32/lib/libenet.a -- Configuring done -- Generating done -- Build files have been written to: /var/lib/jenkins/workspace/SpadesX/build + make -j 2 Scanning dependencies of target mapvxl Scanning dependencies of target util [ 5%] Building C object Extern/libmapvxl/CMakeFiles/mapvxl.dir/libmapvxl.c.obj [ 10%] Building C object Source/Util/CMakeFiles/util.dir/Queue.c.obj [ 15%] Building C object Source/Util/CMakeFiles/util.dir/Compress.c.obj [ 21%] Building C object Source/Util/CMakeFiles/util.dir/DataStream.c.obj [ 26%] Linking C static library libmapvxl.a [ 26%] Built target mapvxl [ 31%] Building C object Source/Util/CMakeFiles/util.dir/Physics.c.obj [ 36%] Building C object Source/Util/CMakeFiles/util.dir/Line.c.obj [ 42%] Linking C static library libutil.a [ 42%] Built target util Scanning dependencies of target SpadesX [ 52%] Building C object CMakeFiles/SpadesX.dir/Source/Main.c.obj [ 52%] Building C object CMakeFiles/SpadesX.dir/Source/Server.c.obj [ 57%] Building C object CMakeFiles/SpadesX.dir/Source/Master.c.obj [ 63%] Building C object CMakeFiles/SpadesX.dir/Source/Map.c.obj /var/lib/jenkins/workspace/SpadesX/Source/Master.c: In function ‘keepMasterAlive’: /var/lib/jenkins/workspace/SpadesX/Source/Master.c:79:21: error: implicit declaration of function ‘sleep’; did you mean ‘Sleep’? [-Werror=implicit-function-declaration] 79 | sleep(30); | ^~~~~ | Sleep /var/lib/jenkins/workspace/SpadesX/Source/Master.c:90:1: error: control reaches end of non-void function [-Werror=return-type] 90 | } | ^ cc1: all warnings being treated as errors make[2]: *** [CMakeFiles/SpadesX.dir/build.make:111: CMakeFiles/SpadesX.dir/Source/Master.c.obj] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:173: CMakeFiles/SpadesX.dir/all] Error 2 make: *** [Makefile:103: all] Error 2 Build step 'Execute shell' marked build as failure Archiving artifacts Recording fingerprints Finished: FAILURE