Static-code-analysis , flawfinder for c++ source code

Hi All,
the build is failing for gitlab runner
on the below script
flawfinder:
stage: static-code-analysis
allow_failure: true
script:
- flawfinder --falsepositive -m 5 .

cppcheck:
stage: static-code-analysis
allow_failure: true
script:
- cppcheck --enable=all --error-exitcode=1 .
kindly need support to fix this inorder to create a static code analysis for c++ source codes