daemon/main: work around CI lint:c problem

27 jobs for clang-scan in 3 minutes and 43 seconds (queued for 3 seconds)
Status Job ID Name Coverage
  Build
passed #193182
amd64 linux docker
build:clang:linux:amd64

00:00:46

passed #193181
amd64 linux docker
build:linux:amd64

00:00:47

passed #193183
amd64 linux docker allowed to fail
srpm

00:00:25

 
  Test
passed #193191
amd64 linux docker
deckard:linux:amd64

00:01:19

passed #193197
privileged
distro:epel-7

00:01:43

passed #193196
privileged
distro:fedora-29

00:02:19

passed #193190
docker
doc

00:00:49

passed #193188
dind
docker:build

00:01:57

passed #193189
amd64 linux docker
installcheck:linux:amd64

00:01:03

passed #193192
amd64 linux docker
installcheck:valgrind:linux:amd64

00:01:44

passed #193185
docker
lint:c

00:02:17

failed #193186
docker allowed to fail
lint:clang-scan-build

00:01:04

passed #193184
docker
lint:lua

00:00:34

passed #193193
docker
osx:build

00:02:53

canceled #193195
amd64 linux docker
respdiff:iter:udp:linux:amd64

passed #193187
amd64 linux docker
test:linux:amd64

00:00:59

passed #193194
amd64 linux docker
test:linux:amd64:valgrind

00:01:14

 
  Respdiff
canceled #193198
respdiff
respdiff:fwd-tls6-kresd.udp6

canceled #193199
respdiff
respdiff:fwd-udp6-kresd.udp6

canceled #193203
respdiff
respdiff:fwd-udp6-unbound.tcp6

canceled #193204
respdiff
respdiff:fwd-udp6-unbound.tls6

canceled #193202
respdiff
respdiff:fwd-udp6-unbound.udp6

canceled #193201
respdiff
respdiff:iter.tls6

canceled #193200
respdiff
respdiff:iter.udp6

canceled #193205
respdiff
resperf:fwd-tls6.udp-asan

canceled #193206
respdiff
resperf:fwd-udp6.udp-asan

canceled #193207
respdiff
resperf:iter.udp-asan

 
Name Stage Failure
failed
lint:clang-scan-build Test
  CCLD	modules/stats/stats.so
CCLD modules/bogus_log/bogus_log.so
CCLD modules/nsid/nsid.so
scan-build: 35 bugs found.
scan-build: Run 'scan-view /builds/knot/knot-resolver/scan-results/2018-11-15-140002-15-1' to examine bug reports.
Uploading artifacts...
scan-results: found 40 matching files
Uploading artifacts to coordinator... ok
id=193186 responseStatus=201 Created token=SxKohctq
ERROR: Job failed: exit code 1