-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is GNU 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - 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/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found LLVM (version: 13.0.0): (using /usr/bin/llvm-config)
--   Include dirs:   /usr/include
--   LLVM libraries: /usr/lib/libLLVM-13.so
--   LLVM System libraries: 
-- Found Clang (LLVM version: 13.0.0)
--   Include dirs:          /usr/include
--   Clang libraries:       
--   Libclang C library:    /usr/lib/libclang.so
--   Clang dynamic library: /usr/lib/libclang-cpp.so
Looking for std::regex support...
Looking for std::filesystem support...
-- Configuring done
-- Generating done
-- Build files have been written to: /build/clazy/src/build
[  1%] Generating clazy.1
[  1%] Building CXX object CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx.gch
[  1%] Built target man
In file included from /usr/include/clang/Basic/FileEntry.h:17,
                 from /usr/include/clang/Basic/SourceManager.h:38,
                 from /build/clazy/src/clazy-1.10/src/SourceCompatibilityHelpers.h:31,
                 from /build/clazy/src/clazy-1.10/src/checkbase.h:29,
                 from /build/clazy/src/build/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx:5,
                 from <command-line>:
/usr/include/clang/Basic/DirectoryEntry.h:123:69: error: expected ‘)’ before ‘,’ token
  123 |   explicit MapEntryOptionalStorage(llvm::optional_detail::in_place_t,
      |                                   ~                                 ^
      |                                                                     )
In file included from /build/clazy/src/clazy-1.10/src/checkbase.h:29,
                 from /build/clazy/src/build/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx:5,
                 from <command-line>:
/build/clazy/src/clazy-1.10/src/SourceCompatibilityHelpers.h: In function ‘clang::Lexer clazy::getLexer(clang::FileID, llvm::Optional<llvm::MemoryBufferRef>, const clang::SourceManager&, const clang::LangOptions&)’:
/build/clazy/src/clazy-1.10/src/SourceCompatibilityHelpers.h:123:57: error: use of deleted function ‘clang::Lexer::Lexer(const clang::Lexer&)’
  123 |     return clang::Lexer(id, inputFile.getValue(), sm, lo);
      |                                                         ^
In file included from /build/clazy/src/clazy-1.10/src/SourceCompatibilityHelpers.h:33,
                 from /build/clazy/src/clazy-1.10/src/checkbase.h:29,
                 from /build/clazy/src/build/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx:5,
                 from <command-line>:
/usr/include/clang/Lex/Lexer.h:159:3: note: declared here
  159 |   Lexer(const Lexer &) = delete;
      |   ^~~~~
In file included from /build/clazy/src/clazy-1.10/src/checkbase.h:34,
                 from /build/clazy/src/build/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx:5,
                 from <command-line>:
/usr/include/clang/ASTMatchers/ASTMatchers.h: In member function ‘virtual bool clang::ast_matchers::internal::matcher_equalsIntegralValue0Matcher::matches(const clang::TemplateArgument&, clang::ast_matchers::internal::ASTMatchFinder*, clang::ast_matchers::internal::BoundNodesTreeBuilder*) const’:
/usr/include/clang/ASTMatchers/ASTMatchers.h:1206:39: error: no matching function for call to ‘llvm::APSInt::toString(int)’
 1206 |   return Node.getAsIntegral().toString(10) == Value;
      |          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~
In file included from /usr/include/llvm/ADT/APFixedPoint.h:19,
                 from /usr/include/clang/AST/APValue.h:17,
                 from /usr/include/clang/AST/Decl.h:16,
                 from /usr/include/clang/AST/Attr.h:18,
                 from /build/clazy/src/clazy-1.10/src/SourceCompatibilityHelpers.h:26,
                 from /build/clazy/src/clazy-1.10/src/checkbase.h:29,
                 from /build/clazy/src/build/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx:5,
                 from <command-line>:
/usr/include/llvm/ADT/APSInt.h:82:8: note: candidate: ‘void llvm::APSInt::toString(llvm::SmallVectorImpl<char>&, unsigned int) const’
   82 |   void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
      |        ^~~~~~~~
/usr/include/llvm/ADT/APSInt.h:82:40: note:   no known conversion for argument 1 from ‘int’ to ‘llvm::SmallVectorImpl<char>&’
   82 |   void toString(SmallVectorImpl<char> &Str, unsigned Radix = 10) const {
      |                 ~~~~~~~~~~~~~~~~~~~~~~~^~~
In file included from /usr/include/llvm/ADT/APSInt.h:17,
                 from /usr/include/llvm/ADT/APFixedPoint.h:19,
                 from /usr/include/clang/AST/APValue.h:17,
                 from /usr/include/clang/AST/Decl.h:16,
                 from /usr/include/clang/AST/Attr.h:18,
                 from /build/clazy/src/clazy-1.10/src/SourceCompatibilityHelpers.h:26,
                 from /build/clazy/src/clazy-1.10/src/checkbase.h:29,
                 from /build/clazy/src/build/CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx:5,
                 from <command-line>:
/usr/include/llvm/ADT/APInt.h:1741:8: note: candidate: ‘void llvm::APInt::toString(llvm::SmallVectorImpl<char>&, unsigned int, bool, bool) const’
 1741 |   void toString(SmallVectorImpl<char> &Str, unsigned Radix, bool Signed,
      |        ^~~~~~~~
/usr/include/llvm/ADT/APInt.h:1741:8: note:   candidate expects 4 arguments, 1 provided
make[2]: *** [CMakeFiles/ClazyPlugin.dir/build.make:77: CMakeFiles/ClazyPlugin.dir/cmake_pch.hxx.gch] Error 1
make[1]: *** [CMakeFiles/Makefile2:117: CMakeFiles/ClazyPlugin.dir/all] Error 2
make: *** [Makefile:166: all] Error 2
[1m[31m==> ERROR:[m[1m A failure occurred in build().[m
[1m    Aborting...[m
