Started by upstream project "libwapcaplet" build number 334 originally caused by: Started by upstream project "buildsystem" build number 1474 originally caused by: Started by user Vincent Sanders Building remotely on ciworker0 (x86_64-linux-gnu runner) in workspace /var/lib/jenkins/workspace/scan-build-libwapcaplet > git rev-parse --is-inside-work-tree # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git://git.netsurf-browser.org/libwapcaplet.git # timeout=10 Fetching upstream changes from git://git.netsurf-browser.org/libwapcaplet.git > git --version # timeout=10 > git -c core.askpass=true fetch --tags --progress git://git.netsurf-browser.org/libwapcaplet.git +refs/heads/*:refs/remotes/origin/* > git rev-parse origin/master^{commit} # timeout=10 Checking out Revision 857ac3ff3f26dfe5a662b072d4d808f847bbac78 (origin/master) > git config core.sparsecheckout # timeout=10 > git checkout -f 857ac3ff3f26dfe5a662b072d4d808f847bbac78 > git rev-list 857ac3ff3f26dfe5a662b072d4d808f847bbac78 # timeout=10 > git tag -a -f -m Jenkins Build #194 jenkins-scan-build-libwapcaplet-194 # timeout=10 [scan-build-libwapcaplet] $ /bin/sh -xe /tmp/hudson4817913193801332652.sh + cc -dumpmachine + export HOST=x86_64-linux-gnu + bash -ex /var/lib/jenkins/artifacts-x86_64-linux-gnu/share/netsurf-buildsystem/citools/jenkins-build.sh static + '[' xx86_64-linux-gnu = x ']' + ARTIFACT_HOME=/var/lib/jenkins/artifacts-x86_64-linux-gnu + '[' x = x ']' ++ cc -dumpmachine + BUILD=x86_64-linux-gnu + TARGET_TEST= + TARGET_INSTALL= + TARGET_COVERAGE= + TARGET_STATIC= + TARGET_COVERITY= + TARGET_DOCS= + VARIANT=release + case "$1" in + TARGET_STATIC=x86_64-linux-gnu + VARIANT=debug + export CCACHE= + CCACHE= + case ${BUILD} in + MAKE=make + mkdir -p /var/lib/jenkins/artifacts-x86_64-linux-gnu + export PREFIX=/var/lib/jenkins/artifacts-x86_64-linux-gnu + PREFIX=/var/lib/jenkins/artifacts-x86_64-linux-gnu + export PKG_CONFIG_PATH=/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib/pkgconfig + PKG_CONFIG_PATH=/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib/pkgconfig + export LD_LIBRARY_PATH=:/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib + LD_LIBRARY_PATH=:/var/lib/jenkins/artifacts-x86_64-linux-gnu/lib + export PATH=/bin:/usr/bin:/var/lib/jenkins/artifacts-x86_64-linux-gnu/bin + PATH=/bin:/usr/bin:/var/lib/jenkins/artifacts-x86_64-linux-gnu/bin + make Q= clean HOST=x86_64-linux-gnu VARIANT=debug rm -f rm -f gmon.out rm -f rm -f rm -f rm -f rm -f -r build/docs rm -f -r build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static + '[' xx86_64-linux-gnu = x ']' + '[' xx86_64-linux-gnu = xx86_64-linux-gnu ']' + rm -rf clangScanBuildReports + CFLAGS=-Wno-error + scan-build -o clangScanBuildReports -v -v --use-cc clang --use-analyzer=/usr/bin/clang make Q= VARIANT=debug scan-build: Using '/usr/bin/clang' for static analysis scan-build: Emitting reports for this run to '/var/lib/jenkins/workspace/scan-build-libwapcaplet/clangScanBuildReports/2024-12-27-083003-3279178-1'. mkdir -p build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static mkdir -p build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/coverage touch build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/stamp COMPILE: src/libwapcaplet.c /usr/share/clang/scan-build-14/bin/../libexec/ccc-analyzer -MMD -MP -D_BSD_SOURCE -D_DEFAULT_SOURCE -I/var/lib/jenkins/workspace/scan-build-libwapcaplet/include/ -I/var/lib/jenkins/workspace/scan-build-libwapcaplet/src -Wall -W -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Werror -Wno-error -D_ALIGNED="__attribute__((aligned))" -DSTMTEXPR=1 -g -Og -DDEBUG -std=c99 -o build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.o -c src/libwapcaplet.c [LOCATION]: /var/lib/jenkins/workspace/scan-build-libwapcaplet '/usr/bin/clang' '-cc1' '-triple' 'x86_64-pc-linux-gnu' '-analyze' '-disable-free' '-clear-ast-before-backend' '-disable-llvm-verifier' '-discard-value-names' '-main-file-name' 'libwapcaplet.c' '-analyzer-store=region' '-analyzer-opt-analyze-nested-blocks' '-analyzer-checker=core' '-analyzer-checker=apiModeling' '-analyzer-checker=unix' '-analyzer-checker=deadcode' '-analyzer-checker=security.insecureAPI.UncheckedReturn' '-analyzer-checker=security.insecureAPI.getpw' '-analyzer-checker=security.insecureAPI.gets' '-analyzer-checker=security.insecureAPI.mktemp' '-analyzer-checker=security.insecureAPI.mkstemp' '-analyzer-checker=security.insecureAPI.vfork' '-analyzer-checker=nullability.NullPassedToNonnull' '-analyzer-checker=nullability.NullReturnedFromNonnull' '-analyzer-output' 'plist' '-w' '-setup-static-analyzer' '-mrelocation-model' 'pic' '-pic-level' '2' '-pic-is-pie' '-mframe-pointer=none' '-fmath-errno' '-ffp-contract=on' '-fno-rounding-math' '-mconstructor-aliases' '-funwind-tables=2' '-target-cpu' 'x86-64' '-tune-cpu' 'generic' '-debugger-tuning=gdb' '-fcoverage-compilation-dir=/var/lib/jenkins/workspace/scan-build-libwapcaplet' '-resource-dir' '/usr/lib/llvm-14/lib/clang/14.0.6' '-D' '_BSD_SOURCE' '-D' '_DEFAULT_SOURCE' '-I' '/var/lib/jenkins/workspace/scan-build-libwapcaplet/include/' '-I' '/var/lib/jenkins/workspace/scan-build-libwapcaplet/src' '-D' '_ALIGNED=__attribute__((aligned))' '-D' 'STMTEXPR=1' '-D' 'DEBUG' '-internal-isystem' '/usr/lib/llvm-14/lib/clang/14.0.6/include' '-internal-isystem' '/usr/local/include' '-internal-isystem' '/usr/bin/../lib/gcc/x86_64-linux-gnu/12/../../../../x86_64-linux-gnu/include' '-internal-externc-isystem' '/usr/include/x86_64-linux-gnu' '-internal-externc-isystem' '/include' '-internal-externc-isystem' '/usr/include' '-Og' '-Wwrite-strings' '-Wno-error' '-std=c99' '-fconst-strings' '-fdebug-compilation-dir=/var/lib/jenkins/workspace/scan-build-libwapcaplet' '-ferror-limit' '19' '-fgnuc-version=4.2.1' '-analyzer-display-progress' '-analyzer-output=html' '-faddrsig' '-D__GCC_HAVE_DWARF2_CFI_ASM=1' '-o' '/var/lib/jenkins/workspace/scan-build-libwapcaplet/clangScanBuildReports/2024-12-27-083003-3279178-1' '-x' 'c' 'src/libwapcaplet.c' ANALYZE (Syntax): /var/lib/jenkins/workspace/scan-build-libwapcaplet/include/libwapcaplet/libwapcaplet.h lwc_string_caseless_hash_value : 0.1 ms ANALYZE (Syntax): src/libwapcaplet.c lwc__calculate_hash : 0.0 ms ANALYZE (Syntax): src/libwapcaplet.c lwc__initialise : 0.1 ms ANALYZE (Syntax): src/libwapcaplet.c lwc__intern : 0.4 ms ANALYZE (Syntax): src/libwapcaplet.c lwc_intern_string : 0.0 ms ANALYZE (Syntax): src/libwapcaplet.c lwc_intern_substring : 0.1 ms ANALYZE (Syntax): src/libwapcaplet.c lwc_string_tolower : 0.1 ms ANALYZE (Syntax): src/libwapcaplet.c lwc_string_destroy : 0.1 ms ANALYZE (Syntax): src/libwapcaplet.c lwc__dolower : 0.0 ms ANALYZE (Syntax): src/libwapcaplet.c lwc__calculate_lcase_hash : 0.0 ms ANALYZE (Syntax): src/libwapcaplet.c lwc__lcase_strncmp : 0.0 ms ANALYZE (Syntax): src/libwapcaplet.c lwc__lcase_memcpy : 0.0 ms ANALYZE (Syntax): src/libwapcaplet.c lwc__intern_caseless_string : 0.1 ms ANALYZE (Syntax): src/libwapcaplet.c lwc_iterate_strings : 0.1 ms ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-libwapcaplet/include/libwapcaplet/libwapcaplet.h lwc_iterate_strings : 11.7 ms ANALYZE (Path, Inline_Regular): src/libwapcaplet.c lwc__lcase_memcpy : 26.9 ms ANALYZE (Path, Inline_Regular): src/libwapcaplet.c lwc__lcase_strncmp : 25.2 ms ANALYZE (Path, Inline_Regular): src/libwapcaplet.c lwc__calculate_lcase_hash : 20.6 ms ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-libwapcaplet/include/libwapcaplet/libwapcaplet.h lwc_string_destroy : 293.4 ms ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-libwapcaplet/include/libwapcaplet/libwapcaplet.h lwc_string_tolower : 2137.4 ms ANALYZE (Path, Inline_Regular): /var/lib/jenkins/workspace/scan-build-libwapcaplet/include/libwapcaplet/libwapcaplet.h lwc_intern_substring : 0.7 ms ANALYZE (Path, Inline_Regular): src/libwapcaplet.c lwc__calculate_hash : 0.6 ms ===-------------------------------------------------------------------------=== Analyzer timers ===-------------------------------------------------------------------------=== Total Execution Time: 2.5135 seconds (2.5179 wall clock) ---User Time--- --System Time-- --User+System-- ---Wall Time--- --- Name --- 2.4640 ( 99.9%) 0.0480 ( 99.6%) 2.5120 ( 99.9%) 2.5165 ( 99.9%) Path exploration time 0.0013 ( 0.1%) 0.0002 ( 0.4%) 0.0014 ( 0.1%) 0.0015 ( 0.1%) Syntax-based analysis time 0.0000 ( 0.0%) 0.0000 ( 0.0%) 0.0000 ( 0.0%) 0.0000 ( 0.0%) Path-sensitive report post-processing time 2.4653 (100.0%) 0.0482 (100.0%) 2.5135 (100.0%) 2.5179 (100.0%) Total AR: build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libwapcaplet.a rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libwapcaplet.a ar cru build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/libwapcaplet.a build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.o ar: `u' modifier ignored since `D' is the default (see `U') scan-build: Analysis run complete. scan-build: Removing directory '/var/lib/jenkins/workspace/scan-build-libwapcaplet/clangScanBuildReports/2024-12-27-083003-3279178-1' because it contains no reports. scan-build: No bugs found. + make Q= clean HOST=x86_64-linux-gnu VARIANT=debug rm -f rm -f gmon.out rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.d rm -f rm -f rm -f build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static/src_libwapcaplet.o rm -f -r build/docs rm -f -r build-x86_64-linux-gnu-x86_64-linux-gnu-debug-lib-static + '[' xx86_64-linux-gnu = x ']' + '[' xx86_64-linux-gnu = x ']' Publishing Clang scan-build results Could not locate a unique scan-build output folder in: /var/lib/jenkins/workspace/scan-build-libwapcaplet/clangScanBuildReports Finished: SUCCESS