Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/iwyu.spec'], chrootPath='/var/lib/mock/f40-build-771623-125967/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/iwyu.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Wrote: /builddir/build/SRPMS/iwyu-0.20-3.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/iwyu.spec'], chrootPath='/var/lib/mock/f40-build-771623-125967/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/iwyu.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1689811200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.D5JeiU + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf include-what-you-use-0.20 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/include-what-you-use-0.20.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd include-what-you-use-0.20 + rm -rf /builddir/build/BUILD/include-what-you-use-0.20-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/include-what-you-use-0.20-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -e 's@lib/@lib${LLVM_LIBDIR_SUFFIX}/@g' -i CMakeLists.txt + '[' -z sP ']' + shebang_flags=-kasP + /usr/bin/python3 -B /usr/lib/rpm/redhat/pathfix.py -pni /usr/bin/python3 -kasP fix_includes.py fix_includes_test.py iwyu-check-license-header.py iwyu_test_util.py iwyu_tool.py iwyu_tool_test.py run_iwyu_tests.py scrub-logs.py fix_includes.py: updating fix_includes_test.py: updating iwyu-check-license-header.py: updating iwyu_test_util.py: updating iwyu_tool.py: updating iwyu_tool_test.py: updating run_iwyu_tests.py: updating scrub-logs.py: updating + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ONeRro + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd include-what-you-use-0.20 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON -DIWYU_LLVM_ROOT_PATH=/usr/lib64 CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- IWYU: standalone build -- The C compiler identification is Clang 17.0.6 -- The CXX compiler identification is Clang 17.0.6 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/clang - 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/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) -- Looking for histedit.h CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFile.cmake:77 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: /usr/lib64/libedit.so For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): /usr/lib64/cmake/llvm/FindLibEdit.cmake:28 (check_include_file) /usr/lib64/cmake/llvm/LLVMConfig.cmake:262 (find_package) CMakeLists.txt:19 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Looking for histedit.h - found -- Found LibEdit: /usr/include (found version "2.11") -- Performing Test Terminfo_LINKABLE -- Performing Test Terminfo_LINKABLE - Success -- Found Terminfo: /usr/lib64/libtinfo.so -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Could NOT find FFI (missing: FFI_LIBRARIES HAVE_FFI_CALL) -- Linker detection: GNU ld -- Performing Test LLVM_LIBSTDCXX_MIN -- Performing Test LLVM_LIBSTDCXX_MIN - Success -- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR -- Performing Test LLVM_LIBSTDCXX_SOFT_ERROR - Success -- Performing Test C_SUPPORTS_FPIC -- Performing Test C_SUPPORTS_FPIC - Success -- Performing Test CXX_SUPPORTS_FPIC -- Performing Test CXX_SUPPORTS_FPIC - Success -- Building with -fPIC -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test C_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION -- Performing Test CXX_SUPPORTS_FNO_SEMANTIC_INTERPOSITION - Success -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG -- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success -- Performing Test C_SUPPORTS_WERROR_DATE_TIME -- Performing Test C_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME -- Performing Test CXX_SUPPORTS_WERROR_DATE_TIME - Success -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test C_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW -- Performing Test CXX_SUPPORTS_WERROR_UNGUARDED_AVAILABILITY_NEW - Success -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test C_SUPPORTS_CMAKE_CXX_FLAGS - Failed -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS -- Performing Test CXX_SUPPORTS_CMAKE_CXX_FLAGS - Failed -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG -- Performing Test CXX_SUPPORTS_MISSING_FIELD_INITIALIZERS_FLAG - Success -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test C_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG -- Performing Test CXX_SUPPORTS_IMPLICIT_FALLTHROUGH_FLAG - Success -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test C_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG -- Performing Test CXX_SUPPORTS_COVERED_SWITCH_DEFAULT_FLAG - Success -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG -- Performing Test CXX_SUPPORTS_CLASS_MEMACCESS_FLAG - Failed -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG -- Performing Test CXX_SUPPORTS_NOEXCEPT_TYPE_FLAG - Success -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR -- Performing Test CXX_WONT_WARN_ON_FINAL_NONVIRTUALDTOR - Success -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG -- Performing Test CXX_SUPPORTS_SUGGEST_OVERRIDE_FLAG - Success -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL -- Performing Test CXX_WSUGGEST_OVERRIDE_ALLOWS_ONLY_FINAL - Success -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP -- Performing Test C_WCOMMENT_ALLOWS_LINE_WRAP - Success -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test C_SUPPORTS_STRING_CONVERSION_FLAG - Success -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG -- Performing Test CXX_SUPPORTS_STRING_CONVERSION_FLAG - Success -- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test C_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG -- Performing Test CXX_SUPPORTS_MISLEADING_INDENTATION_FLAG - Success -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test C_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG -- Performing Test CXX_SUPPORTS_CTAD_MAYBE_UNSPPORTED_FLAG - Success -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS -- Performing Test LINKER_SUPPORTS_COLOR_DIAGNOSTICS - Failed -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FNO_FUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test C_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS -- Performing Test CXX_SUPPORTS_FFUNCTION_SECTIONS - Success -- Performing Test C_SUPPORTS_FDATA_SECTIONS -- Performing Test C_SUPPORTS_FDATA_SECTIONS - Success -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS -- Performing Test CXX_SUPPORTS_FDATA_SECTIONS - Success -- Looking for os_signpost_interval_begin -- Looking for os_signpost_interval_begin - not found -- IWYU: configuring for LLVM 17.0.6 from /usr/lib64/cmake/llvm -- Could NOT find Git (missing: GIT_EXECUTABLE) CMake Warning at CMakeLists.txt:90 (message): IWYU Git version not found, DO NOT release from this tree! CMake Warning (dev) at CMakeLists.txt:213 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /usr/bin/python3.12 (found version "3.12") -- Configuring done (36.5s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_C_FLAGS_RELEASE CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP CMAKE_VERBOSE_MAKEFILE INCLUDE_INSTALL_DIR IWYU_LLVM_ROOT_PATH LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j4 --verbose Change Dir: '/builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build' Run Build Command(s): /usr/bin/ninja-build -v -j 4 [1/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu_cache.cc [2/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu_getopt.cc [3/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu_globals.cc /builddir/build/BUILD/include-what-you-use-0.20/iwyu_globals.cc:394:68: warning: 'getName' is deprecated: Use DirectoryEntryRef::getName() instead. [-Wdeprecated-declarations] 394 | const string path = NormalizeDirPath(MakeAbsolutePath(entry->getName().str())); | ^ /usr/include/clang/Basic/DirectoryEntry.h:49:3: note: 'getName' has been explicitly marked deprecated here 49 | LLVM_DEPRECATED("Use DirectoryEntryRef::getName() instead.", "") | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ /builddir/build/BUILD/include-what-you-use-0.20/iwyu_globals.cc:404:68: warning: 'getName' is deprecated: Use DirectoryEntryRef::getName() instead. [-Wdeprecated-declarations] 404 | const string path = NormalizeDirPath(MakeAbsolutePath(entry->getName().str())); | ^ /usr/include/clang/Basic/DirectoryEntry.h:49:3: note: 'getName' has been explicitly marked deprecated here 49 | LLVM_DEPRECATED("Use DirectoryEntryRef::getName() instead.", "") | ^ /usr/include/llvm/Support/Compiler.h:155:50: note: expanded from macro 'LLVM_DEPRECATED' 155 | #define LLVM_DEPRECATED(MSG, FIX) __attribute__((deprecated(MSG, FIX))) | ^ 2 warnings generated. [4/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu_driver.cc [5/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu_lexer_utils.cc [6/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu_include_picker.cc [7/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu_location_util.cc [8/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu_path_util.cc [9/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu_output.cc [10/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu_preprocessor.cc [11/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu_verrs.cc [12/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_regex.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_regex.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_regex.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu_regex.cc [13/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu_ast_util.cc [14/15] /usr/bin/clang++ -DIWYU_GIT_REV=\"\" -D__STDC_CONSTANT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -std=c++17 -fno-exceptions -funwind-tables -MD -MT CMakeFiles/include-what-you-use.dir/iwyu.cc.o -MF CMakeFiles/include-what-you-use.dir/iwyu.cc.o.d -o CMakeFiles/include-what-you-use.dir/iwyu.cc.o -c /builddir/build/BUILD/include-what-you-use-0.20/iwyu.cc [15/15] : && /usr/bin/clang++ -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -Wl,-rpath-link, -Wl,--gc-sections CMakeFiles/include-what-you-use.dir/iwyu.cc.o CMakeFiles/include-what-you-use.dir/iwyu_ast_util.cc.o CMakeFiles/include-what-you-use.dir/iwyu_cache.cc.o CMakeFiles/include-what-you-use.dir/iwyu_driver.cc.o CMakeFiles/include-what-you-use.dir/iwyu_getopt.cc.o CMakeFiles/include-what-you-use.dir/iwyu_globals.cc.o CMakeFiles/include-what-you-use.dir/iwyu_include_picker.cc.o CMakeFiles/include-what-you-use.dir/iwyu_lexer_utils.cc.o CMakeFiles/include-what-you-use.dir/iwyu_location_util.cc.o CMakeFiles/include-what-you-use.dir/iwyu_output.cc.o CMakeFiles/include-what-you-use.dir/iwyu_path_util.cc.o CMakeFiles/include-what-you-use.dir/iwyu_preprocessor.cc.o CMakeFiles/include-what-you-use.dir/iwyu_regex.cc.o CMakeFiles/include-what-you-use.dir/iwyu_verrs.cc.o -o bin/include-what-you-use -Wl,-rpath,"\$ORIGIN/../lib64:" /usr/lib64/libclang-cpp.so.17 /usr/lib64/libLLVM-17.so && : + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.YFg85q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64 ++ dirname /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd include-what-you-use-0.20 + DESTDIR=/builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "Release" -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/bin/include-what-you-use -- Set runtime path of "/builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/bin/include-what-you-use" to "" -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/bin/fix_includes.py -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/bin/iwyu_tool.py -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/boost-1.64-all-private.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/boost-1.64-all.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/boost-1.75-all-private.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/boost-1.75-all.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/boost-all-private.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/boost-all.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/clang-6.intrinsics.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/gcc-8.intrinsics.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/gcc.libc.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/gcc.stl.headers.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/gcc.symbols.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/iwyu.gcc.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/libcxx.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/python2.7.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/python3.8.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/qt4.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/qt5_11.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/qt5_4.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/include-what-you-use/stl.c.headers.imp -- Installing: /builddir/build/BUILDROOT/iwyu-0.20-3.fc40.riscv64/usr/share/man/man1/include-what-you-use.1 + /usr/lib/rpm/redhat/brp-llvm-compile-lto-elf -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 Checking for LLVM bitcode artifacts + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.20-3.fc40 --unique-debug-suffix -0.20-3.fc40.riscv64 --unique-debug-src-base iwyu-0.20-3.fc40.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/include-what-you-use-0.20 find-debuginfo: starting Extracting debug info from 1 files DWARF-compressing 1 files sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Creating .debug symlinks for symlinks to ELF files Copying sources found by 'debugedit -l' to /usr/src/debug/iwyu-0.20-3.fc40.riscv64 1279 blocks find-debuginfo: done + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.FHigRk + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS --config /usr/lib/rpm/redhat/redhat-hardened-clang.cfg -fstack-protector-strong -fasynchronous-unwind-tables -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=clang + export CC + CXX=clang++ + export CXX + cd include-what-you-use-0.20 + /usr/bin/ctest --test-dir redhat-linux-build --output-on-failure --force-new-ctest-process -j4 --exclude-regex 'cxx.test_(badinc|ms_inline_asm)' Internal ctest changing into directory: /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build Test project /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build Start 1: c.test_elaborated_struct Start 2: c.test_enum Start 3: c.test_keep_includes Start 4: c.test_libbuiltins 1/177 Test #3: c.test_keep_includes .............................. Passed 0.89 sec Start 5: cxx.test_alias_template 2/177 Test #2: c.test_enum ....................................... Passed 0.91 sec Start 6: cxx.test_alias_template_use 3/177 Test #1: c.test_elaborated_struct .......................... Passed 0.93 sec Start 7: cxx.test_anonymous_struct 4/177 Test #4: c.test_libbuiltins ................................ Passed 1.19 sec Start 8: cxx.test_array 5/177 Test #6: cxx.test_alias_template_use ....................... Passed 0.94 sec Start 9: cxx.test_associated_h_file_heuristic 6/177 Test #5: cxx.test_alias_template ........................... Passed 0.98 sec Start 10: cxx.test_associated_include 7/177 Test #7: cxx.test_anonymous_struct ......................... Passed 1.24 sec Start 11: cxx.test_associated_skipped 8/177 Test #8: cxx.test_array .................................... Passed 0.99 sec Start 12: cxx.test_auto_type_within_template 9/177 Test #10: cxx.test_associated_include ....................... Passed 0.94 sec Start 13: cxx.test_avoids_double_specialization 10/177 Test #9: cxx.test_associated_h_file_heuristic ..............***Failed 1.11 sec INFO:root:Testing iwyu on tests/cxx/associated_h_file_heuristic.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 -I . tests/cxx/associated_h_file_heuristic.cc In file included from tests/cxx/associated_h_file_heuristic.cc:16: /usr/include/stdio.h:34:10: fatal error: 'stddef.h' file not found 34 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/include/stdio.h:34: Unexpected diagnostic: 'stddef.h' file not found Unexpected summary diffs for tests/cxx/associated_h_file_heuristic.cc: +++ @@ -1,8 +0,0 @@ -tests/cxx/associated_h_file_heuristic.cc should add these lines: - -tests/cxx/associated_h_file_heuristic.cc should remove these lines: -- #include // lines XX-XX - -The full include-list for tests/cxx/associated_h_file_heuristic.cc: -#include "tests/cxx/internal/associated_h_file_heuristic.h" -#include // for FILE --- Unexpected summary diffs for tests/cxx/internal/associated_h_file_heuristic.h: +++ @@ -1 +0,0 @@ -(tests/cxx/internal/associated_h_file_heuristic.h has correct #includes/fwd-decls) --- Start 14: cxx.test_backwards_includes 11/177 Test #11: cxx.test_associated_skipped ....................... Passed 0.97 sec Start 15: cxx.test_binary_type_trait 12/177 Test #12: cxx.test_auto_type_within_template ................ Passed 0.95 sec Start 16: cxx.test_builtins_no_includes 13/177 Test #13: cxx.test_avoids_double_specialization ............. Passed 0.97 sec Start 17: cxx.test_builtins_template 14/177 Test #14: cxx.test_backwards_includes ....................... Passed 0.98 sec Start 18: cxx.test_builtins_with_mapping 15/177 Test #16: cxx.test_builtins_no_includes ..................... Passed 0.93 sec Start 19: cxx.test_casts 16/177 Test #15: cxx.test_binary_type_trait ........................ Passed 0.99 sec Start 20: cxx.test_catch 17/177 Test #17: cxx.test_builtins_template ........................ Passed 0.96 sec Start 21: cxx.test_check_also 18/177 Test #18: cxx.test_builtins_with_mapping .................... Passed 0.98 sec Start 22: cxx.test_clmode 19/177 Test #19: cxx.test_casts .................................... Passed 0.98 sec Start 23: cxx.test_comment_pragmas 20/177 Test #20: cxx.test_catch ....................................***Failed 1.07 sec INFO:root:Testing iwyu on tests/cxx/catch.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 -fcxx-exceptions -fexceptions -I . tests/cxx/catch.cc In file included from tests/cxx/catch.cc:12: In file included from ./tests/cxx/catch-exceptions.h:25: /usr/include/stdio.h:34:10: fatal error: 'stddef.h' file not found 34 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/include/stdio.h:34: Unexpected diagnostic: 'stddef.h' file not found tests/cxx/catch.cc:18: Unmatched regex: CatchByValue...*catch-byvalue.h tests/cxx/catch.cc:20: Unmatched regex: LogException...*catch-logex.h tests/cxx/catch.cc:26: Unmatched regex: CatchByRef needs a declaration...* tests/cxx/catch.cc:26: Unmatched regex: CatchByRef...*catch-byref.h tests/cxx/catch.cc:28: Unmatched regex: LogException...*catch-logex.h tests/cxx/catch.cc:34: Unmatched regex: CatchByPtr needs a declaration...* tests/cxx/catch.cc:34: Unmatched regex: CatchByPtr...*catch-byptr.h tests/cxx/catch.cc:36: Unmatched regex: LogException...*catch-logex.h tests/cxx/catch.cc:43: Unmatched regex: CatchElab needs a declaration...* tests/cxx/catch.cc:43: Unmatched regex: CatchElab...*catch-elab.h tests/cxx/catch.cc:49: Unmatched regex: Thrown...*catch-thrown.h tests/cxx/catch.cc:52: Unmatched regex: puts...*stdio.h tests/cxx/catch.cc:57: Unmatched regex: CatchMacro1 needs a declaration...* tests/cxx/catch.cc:57: Unmatched regex: CatchMacro1...*catch-macro-1.h tests/cxx/catch.cc:61: Unmatched regex: CatchMacro2 needs a declaration...* tests/cxx/catch.cc:61: Unmatched regex: CatchMacro2...*catch-macro-2.h Unexpected summary diffs for tests/cxx/catch.cc: +++ @@ -1,25 +0,0 @@ -tests/cxx/catch.cc should add these lines: -#include -#include "tests/cxx/catch-byptr.h" -#include "tests/cxx/catch-byref.h" -#include "tests/cxx/catch-byvalue.h" -#include "tests/cxx/catch-elab.h" -#include "tests/cxx/catch-logex.h" -#include "tests/cxx/catch-macro-1.h" -#include "tests/cxx/catch-macro-2.h" -#include "tests/cxx/catch-thrown.h" - -tests/cxx/catch.cc should remove these lines: -- #include "tests/cxx/catch-exceptions.h" // lines XX-XX - -The full include-list for tests/cxx/catch.cc: -#include // for puts -#include "tests/cxx/catch-byptr.h" // for CatchByPtr -#include "tests/cxx/catch-byref.h" // for CatchByRef -#include "tests/cxx/catch-byvalue.h" // for CatchByValue -#include "tests/cxx/catch-elab.h" // for CatchElab -#include "tests/cxx/catch-exceptions-macro.h" // for CHECK_THROW_1, CHECK_THROW_2 -#include "tests/cxx/catch-logex.h" // for LogException -#include "tests/cxx/catch-macro-1.h" // for CatchMacro1 -#include "tests/cxx/catch-macro-2.h" // for CatchMacro2 -#include "tests/cxx/catch-thrown.h" // for Thrown --- Start 24: cxx.test_comment_style_long 21/177 Test #21: cxx.test_check_also ...............................***Failed 0.98 sec INFO:root:Testing iwyu on tests/cxx/check_also.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --check_also="tests/cxx/*-d1.h" -I . tests/cxx/check_also.cc In file included from tests/cxx/check_also.cc:14: In file included from tests/cxx/check_also-d1.h:15: tests/cxx/check_also-i1.h:15:10: fatal error: 'stddef.h' file not found 15 | #include // for NULL | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: tests/cxx/check_also-d1.h:18: Unmatched regex: NULL is...* tests/cxx/check_also-i1.h:15: Unexpected diagnostic: 'stddef.h' file not found tests/cxx/check_also.cc:19: Unmatched regex: kI1 is...*check_also-i1.h Unexpected summary diffs for tests/cxx/check_also-d1.h: +++ @@ -1,8 +0,0 @@ -tests/cxx/check_also-d1.h should add these lines: -#include - -tests/cxx/check_also-d1.h should remove these lines: -- #include "check_also-i1.h" // lines XX-XX - -The full include-list for tests/cxx/check_also-d1.h: -#include // for NULL --- Unexpected summary diffs for tests/cxx/check_also.cc: +++ @@ -1,9 +0,0 @@ -tests/cxx/check_also.cc should add these lines: -#include "tests/cxx/check_also-i1.h" - -tests/cxx/check_also.cc should remove these lines: -- #include "check_also-d1.h" // lines XX-XX -- #include "check_also-n1.h" // lines XX-XX - -The full include-list for tests/cxx/check_also.cc: -#include "tests/cxx/check_also-i1.h" // for kI1 --- Start 25: cxx.test_comment_style_none 22/177 Test #22: cxx.test_clmode ................................... Passed 0.95 sec Start 26: cxx.test_comment_style_short 23/177 Test #23: cxx.test_comment_pragmas .......................... Passed 1.07 sec Start 27: cxx.test_comment_style_update_long 24/177 Test #24: cxx.test_comment_style_long ....................... Passed 1.02 sec Start 28: cxx.test_comment_style_update_none 25/177 Test #25: cxx.test_comment_style_none ....................... Passed 0.99 sec Start 29: cxx.test_computed_include 26/177 Test #26: cxx.test_comment_style_short ...................... Passed 0.95 sec Start 30: cxx.test_concept 27/177 Test #27: cxx.test_comment_style_update_long ................ Passed 0.98 sec Start 31: cxx.test_consteval 28/177 Test #28: cxx.test_comment_style_update_none ................ Passed 0.98 sec Start 32: cxx.test_conversion_ctor 29/177 Test #29: cxx.test_computed_include .........................***Failed 1.07 sec INFO:root:Testing iwyu on tests/cxx/computed_include.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 -I . tests/cxx/computed_include.cc In file included from tests/cxx/computed_include.cc:24: /usr/include/stdio.h:34:10: fatal error: 'stddef.h' file not found 34 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/include/stdio.h:34: Unexpected diagnostic: 'stddef.h' file not found Unexpected summary diffs for tests/cxx/computed_include.cc: +++ @@ -1,11 +0,0 @@ -tests/cxx/computed_include.cc should add these lines: - -tests/cxx/computed_include.cc should remove these lines: -- #include "tests/cxx/computed_include.h" // lines XX-XX -- #include // lines XX-XX -- #include // lines XX-XX -- #include "tests/cxx/indirect.h" // lines XX-XX - -The full include-list for tests/cxx/computed_include.cc: -#include "tests/cxx/computed_include.h" -#include "tests/cxx/indirect.h" // for IndirectClass --- Unexpected summary diffs for tests/cxx/computed_include.h: +++ @@ -1 +0,0 @@ -(tests/cxx/computed_include.h has correct #includes/fwd-decls) --- Start 33: cxx.test_ctad 30/177 Test #30: cxx.test_concept .................................. Passed 0.98 sec Start 34: cxx.test_cvr 31/177 Test #31: cxx.test_consteval ................................ Passed 0.98 sec Start 35: cxx.test_cxx17ns 32/177 Test #32: cxx.test_conversion_ctor .......................... Passed 1.01 sec Start 36: cxx.test_decl_inside_func 33/177 Test #33: cxx.test_ctad ..................................... Passed 0.96 sec Start 37: cxx.test_default_template_arg_other_file 34/177 Test #34: cxx.test_cvr ...................................... Passed 0.96 sec Start 38: cxx.test_defn_is_use 35/177 Test #35: cxx.test_cxx17ns .................................. Passed 0.95 sec Start 39: cxx.test_deleted_implicit 36/177 Test #36: cxx.test_decl_inside_func ......................... Passed 1.00 sec Start 40: cxx.test_dependent_tpl_crash 37/177 Test #38: cxx.test_defn_is_use .............................. Passed 0.95 sec Start 41: cxx.test_depopulated_h_file 38/177 Test #37: cxx.test_default_template_arg_other_file .......... Passed 1.00 sec Start 42: cxx.test_derived_function_tpl_args 39/177 Test #39: cxx.test_deleted_implicit ......................... Passed 0.97 sec Start 43: cxx.test_dotdot 40/177 Test #40: cxx.test_dependent_tpl_crash ...................... Passed 0.98 sec Start 44: cxx.test_double_include 41/177 Test #41: cxx.test_depopulated_h_file ....................... Passed 0.96 sec Start 45: cxx.test_elaborated_type 42/177 Test #42: cxx.test_derived_function_tpl_args ................ Passed 1.05 sec Start 46: cxx.test_enum_base 43/177 Test #43: cxx.test_dotdot ................................... Passed 0.96 sec Start 47: cxx.test_enums 44/177 Test #44: cxx.test_double_include ........................... Passed 0.96 sec Start 48: cxx.test_expl_inst_select 45/177 Test #45: cxx.test_elaborated_type .......................... Passed 0.98 sec Start 49: cxx.test_explicit_instantiation 46/177 Test #46: cxx.test_enum_base ................................ Passed 0.95 sec Start 50: cxx.test_explicit_instantiation2 47/177 Test #47: cxx.test_enums .................................... Passed 1.03 sec Start 51: cxx.test_export_nesting 48/177 Test #48: cxx.test_expl_inst_select ......................... Passed 0.98 sec Start 52: cxx.test_external_including_internal 49/177 Test #49: cxx.test_explicit_instantiation ................... Passed 0.98 sec Start 53: cxx.test_forward_declare_in_macro 50/177 Test #50: cxx.test_explicit_instantiation2 .................. Passed 1.01 sec Start 54: cxx.test_fullinfo_for_templates 51/177 Test #51: cxx.test_export_nesting ........................... Passed 1.00 sec Start 55: cxx.test_funcptrs 52/177 Test #52: cxx.test_external_including_internal .............. Passed 0.95 sec Start 56: cxx.test_fwd_decl_class_template 53/177 Test #53: cxx.test_forward_declare_in_macro ................. Passed 0.95 sec Start 57: cxx.test_fwd_decl_final 54/177 Test #54: cxx.test_fullinfo_for_templates ................... Passed 0.95 sec Start 58: cxx.test_fwd_decl_nested_class 55/177 Test #55: cxx.test_funcptrs ................................. Passed 1.06 sec Start 59: cxx.test_fwd_decl_of_nested_class_defined_later 56/177 Test #56: cxx.test_fwd_decl_class_template .................. Passed 1.01 sec Start 60: cxx.test_fwd_decl_static_member 57/177 Test #57: cxx.test_fwd_decl_final ........................... Passed 0.97 sec Start 61: cxx.test_fwd_decl_then_dfn 58/177 Test #58: cxx.test_fwd_decl_nested_class .................... Passed 1.00 sec Start 62: cxx.test_fwd_decl_with_attribute 59/177 Test #60: cxx.test_fwd_decl_static_member ................... Passed 0.97 sec Start 63: cxx.test_fwd_decl_with_instantiation 60/177 Test #61: cxx.test_fwd_decl_then_dfn ........................ Passed 0.95 sec Start 64: cxx.test_fwd_declare_enum 61/177 Test #59: cxx.test_fwd_decl_of_nested_class_defined_later ... Passed 1.48 sec Start 65: cxx.test_header_in_subdir 62/177 Test #62: cxx.test_fwd_decl_with_attribute .................. Passed 0.99 sec Start 66: cxx.test_header_in_subdir_nopath 63/177 Test #63: cxx.test_fwd_decl_with_instantiation .............. Passed 0.99 sec Start 67: cxx.test_header_near 64/177 Test #64: cxx.test_fwd_declare_enum ......................... Passed 0.97 sec Start 68: cxx.test_implicit_ctor 65/177 Test #65: cxx.test_header_in_subdir ......................... Passed 0.94 sec Start 69: cxx.test_include_cycle 66/177 Test #66: cxx.test_header_in_subdir_nopath .................. Passed 0.96 sec Start 70: cxx.test_include_with_using 67/177 Test #67: cxx.test_header_near .............................. Passed 0.98 sec Start 71: cxx.test_inheriting_ctor 68/177 Test #68: cxx.test_implicit_ctor ............................ Passed 1.02 sec Start 72: cxx.test_inline_namespace 69/177 Test #69: cxx.test_include_cycle ............................ Passed 1.05 sec Start 73: cxx.test_integer_template_arg 70/177 Test #70: cxx.test_include_with_using ....................... Passed 1.02 sec Start 74: cxx.test_internal_files 71/177 Test #71: cxx.test_inheriting_ctor .......................... Passed 1.10 sec Start 75: cxx.test_iterator 72/177 Test #72: cxx.test_inline_namespace ......................... Passed 0.97 sec Start 76: cxx.test_iwyu_stricter_than_cpp 73/177 Test #73: cxx.test_integer_template_arg ..................... Passed 0.94 sec Start 77: cxx.test_keep_mapping 74/177 Test #74: cxx.test_internal_files ........................... Passed 0.93 sec Start 78: cxx.test_keep_moc 75/177 Test #77: cxx.test_keep_mapping ............................. Passed 0.93 sec Start 79: cxx.test_lambda_fwd_decl 76/177 Test #78: cxx.test_keep_moc ................................. Passed 0.93 sec Start 80: cxx.test_lateparsed_template 77/177 Test #76: cxx.test_iwyu_stricter_than_cpp ................... Passed 1.23 sec Start 81: cxx.test_libbuiltins 78/177 Test #79: cxx.test_lambda_fwd_decl .......................... Passed 0.95 sec Start 82: cxx.test_macro_defined_by_includer 79/177 Test #80: cxx.test_lateparsed_template ...................... Passed 0.99 sec Start 83: cxx.test_macro_location 80/177 Test #82: cxx.test_macro_defined_by_includer ................***Failed 0.99 sec INFO:root:Testing iwyu on tests/cxx/macro_defined_by_includer.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 -std=c++11 -DCOMMAND_LINE_TYPE=double -include tests/cxx/macro_defined_by_includer-prefix.h -I . tests/cxx/macro_defined_by_includer.cc In file included from tests/cxx/macro_defined_by_includer.cc:69: /usr/include/limits.h:124:16: fatal error: 'limits.h' file not found 124 | # include_next | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/include/limits.h:124: Unexpected diagnostic: 'limits.h' file not found tests/cxx/macro_defined_by_includer.cc:25: Unmatched regex: GuardedInclude1 is...*macro_defined_by_includer-i1.h tests/cxx/macro_defined_by_includer.cc:53: Unmatched regex: f is...*macro_defined_by_includer-i3.h tests/cxx/macro_defined_by_includer.cc:55: Unmatched regex: f is...*macro_defined_by_includer-i3.h Unexpected summary diffs for tests/cxx/macro_defined_by_includer.cc: +++ @@ -1,17 +0,0 @@ -tests/cxx/macro_defined_by_includer.cc should add these lines: -#include "tests/cxx/macro_defined_by_includer-i1.h" -#include "tests/cxx/macro_defined_by_includer-i3.h" - -tests/cxx/macro_defined_by_includer.cc should remove these lines: -- #include // lines XX-XX -- #include "tests/cxx/macro_defined_by_includer-d1.h" // lines XX-XX -- #include "tests/cxx/macro_defined_by_includer-d4.h" // lines XX-XX - -The full include-list for tests/cxx/macro_defined_by_includer.cc: -#include "tests/cxx/macro_defined_by_includer-d2.h" // for GuardedInclude2 -#include "tests/cxx/macro_defined_by_includer-d3.h" // for GuardedInclude3, GuardedInclude4 -#include "tests/cxx/macro_defined_by_includer-g5.h" // for GuardedInclude5 -#include "tests/cxx/macro_defined_by_includer-i1.h" // for GuardedInclude1 -#include "tests/cxx/macro_defined_by_includer-i3.h" // for f -#include "tests/cxx/macro_defined_by_includer-xmacro.h" // lines XX-XX -#include "tests/cxx/macro_defined_by_includer-xmacro.h" // lines XX-XX --- Start 84: cxx.test_macro_location_tpl 81/177 Test #83: cxx.test_macro_location ........................... Passed 0.98 sec Start 85: cxx.test_macro_use_expanded_decl 82/177 Test #75: cxx.test_iterator .................................***Failed 3.91 sec INFO:root:Testing iwyu on tests/cxx/iterator.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 tests/cxx/iterator.cc In file included from tests/cxx/iterator.cc:18: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/algorithm:61: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/bits/stl_algo.h:71: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cstdlib:79: /usr/include/stdlib.h:32:10: fatal error: 'stddef.h' file not found 32 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/include/stdlib.h:32: Unexpected diagnostic: 'stddef.h' file not found Unexpected summary diffs for tests/cxx/iterator.cc: +++ @@ -1 +0,0 @@ -(tests/cxx/iterator.cc has correct #includes/fwd-decls) --- Start 86: cxx.test_mapping_regex 83/177 Test #84: cxx.test_macro_location_tpl ....................... Passed 0.97 sec Start 87: cxx.test_mapping_replace_regex_ecmascript 84/177 Test #85: cxx.test_macro_use_expanded_decl .................. Passed 0.95 sec Start 88: cxx.test_mapping_replace_regex_llvm 85/177 Test #86: cxx.test_mapping_regex ............................ Passed 0.95 sec Start 89: cxx.test_mapping_to_self 86/177 Test #81: cxx.test_libbuiltins ..............................***Failed 3.56 sec INFO:root:Testing iwyu on tests/cxx/libbuiltins.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 -I . tests/cxx/libbuiltins.cc In file included from tests/cxx/libbuiltins.cc:16: In file included from ./tests/cxx/libbuiltins-direct.h:10: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cmath:49: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/bits/std_abs.h:38: /usr/include/stdlib.h:32:10: fatal error: 'stddef.h' file not found 32 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/include/stdlib.h:32: Unexpected diagnostic: 'stddef.h' file not found tests/cxx/libbuiltins.cc:20: Unmatched regex: std::pow is...*cmath Unexpected summary diffs for tests/cxx/libbuiltins.cc: +++ @@ -1,8 +0,0 @@ -tests/cxx/libbuiltins.cc should add these lines: -#include - -tests/cxx/libbuiltins.cc should remove these lines: -- #include "tests/cxx/libbuiltins-direct.h" // lines XX-XX - -The full include-list for tests/cxx/libbuiltins.cc: -#include // for pow --- Start 90: cxx.test_member_expr 87/177 Test #87: cxx.test_mapping_replace_regex_ecmascript ......... Passed 0.98 sec Start 91: cxx.test_multiple_include_paths 88/177 Test #88: cxx.test_mapping_replace_regex_llvm ............... Passed 0.96 sec Start 92: cxx.test_new_header_path_local 89/177 Test #89: cxx.test_mapping_to_self .......................... Passed 0.96 sec Start 93: cxx.test_new_header_path_provided 90/177 Test #90: cxx.test_member_expr .............................. Passed 0.99 sec Start 94: cxx.test_no_char_traits 91/177 Test #91: cxx.test_multiple_include_paths ................... Passed 1.00 sec Start 95: cxx.test_no_comments 92/177 Test #92: cxx.test_new_header_path_local .................... Passed 0.95 sec Start 96: cxx.test_no_definition 93/177 Test #93: cxx.test_new_header_path_provided ................. Passed 0.96 sec Start 97: cxx.test_no_deque 94/177 Test #95: cxx.test_no_comments .............................. Passed 0.93 sec Start 98: cxx.test_no_forced_alias_callability 95/177 Test #96: cxx.test_no_definition ............................ Passed 0.94 sec Start 99: cxx.test_no_fwd_decl_nested_class 96/177 Test #98: cxx.test_no_forced_alias_callability .............. Passed 0.93 sec Start 100: cxx.test_no_fwd_decl_std 97/177 Test #99: cxx.test_no_fwd_decl_nested_class ................. Passed 0.93 sec Start 101: cxx.test_no_fwd_decls 98/177 Test #101: cxx.test_no_fwd_decls ............................. Passed 0.92 sec Start 102: cxx.test_no_h_includes_cc 99/177 Test #100: cxx.test_no_fwd_decl_std .......................... Passed 1.34 sec Start 103: cxx.test_no_implicit_typedef_reporting 100/177 Test #102: cxx.test_no_h_includes_cc ......................... Passed 0.91 sec Start 104: cxx.test_non_transitive_include 101/177 Test #97: cxx.test_no_deque .................................***Failed 3.36 sec INFO:root:Testing iwyu on tests/cxx/no_deque.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 tests/cxx/no_deque.cc In file included from tests/cxx/no_deque.cc:13: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/queue:62: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/deque:76: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/bits/memory_resource.h:38: /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cstddef:50:10: fatal error: 'stddef.h' file not found 50 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cstddef:50: Unexpected diagnostic: 'stddef.h' file not found Unexpected summary diffs for tests/cxx/no_deque.cc: +++ @@ -1 +0,0 @@ -(tests/cxx/no_deque.cc has correct #includes/fwd-decls) --- Start 105: cxx.test_operator_new 102/177 Test #103: cxx.test_no_implicit_typedef_reporting ............ Passed 0.92 sec Start 106: cxx.test_out_of_line 103/177 Test #104: cxx.test_non_transitive_include ................... Passed 0.92 sec Start 107: cxx.test_overloaded_class 104/177 Test #94: cxx.test_no_char_traits ...........................***Failed 4.93 sec INFO:root:Testing iwyu on tests/cxx/no_char_traits.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 tests/cxx/no_char_traits.cc In file included from tests/cxx/no_char_traits.cc:26: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/iostream:41: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/ostream:40: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/ios:40: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/iosfwd:42: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/bits/postypes.h:40: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cwchar:44: /usr/include/wchar.h:35:10: fatal error: 'stddef.h' file not found 35 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/include/wchar.h:35: Unexpected diagnostic: 'stddef.h' file not found Unexpected summary diffs for tests/cxx/no_char_traits.cc: +++ @@ -1 +0,0 @@ -(tests/cxx/no_char_traits.cc has correct #includes/fwd-decls) --- Start 108: cxx.test_pch_in_code 105/177 Test #105: cxx.test_operator_new ............................. Passed 1.01 sec Start 109: cxx.test_placement_new 106/177 Test #106: cxx.test_out_of_line .............................. Passed 0.98 sec Start 110: cxx.test_pointer_arith 107/177 Test #108: cxx.test_pch_in_code ..............................***Failed 1.14 sec INFO:root:Testing iwyu on tests/cxx/pch_in_code.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --pch_in_code -Xiwyu --prefix_header_includes=remove -I . tests/cxx/pch_in_code.cc In file included from tests/cxx/pch_in_code.cc:32: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/stdlib.h:36: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cstdlib:79: /usr/include/stdlib.h:32:10: fatal error: 'stddef.h' file not found 32 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/include/stdlib.h:32: Unexpected diagnostic: 'stddef.h' file not found Unexpected summary diffs for tests/cxx/pch_in_code.cc: +++ @@ -1,10 +0,0 @@ -tests/cxx/pch_in_code.cc should add these lines: - -tests/cxx/pch_in_code.cc should remove these lines: -- #include // lines XX-XX -- #include "tests/cxx/indirect.h" // lines XX-XX - -The full include-list for tests/cxx/pch_in_code.cc: -#include "tests/cxx/pch.h" -#include "tests/cxx/public/pch_in_code.h" -#include // for int8_t --- Unexpected summary diffs for tests/cxx/public/pch_in_code.h: +++ @@ -1 +0,0 @@ -(tests/cxx/public/pch_in_code.h has correct #includes/fwd-decls) --- Start 111: cxx.test_pragma_associated 108/177 Test #109: cxx.test_placement_new ............................ Passed 1.05 sec Start 112: cxx.test_pragma_export_fwd 109/177 Test #110: cxx.test_pointer_arith ............................ Passed 1.00 sec Start 113: cxx.test_pragma_keep_multi 110/177 Test #111: cxx.test_pragma_associated ........................ Passed 0.93 sec Start 114: cxx.test_precomputed_tpl_args 111/177 Test #112: cxx.test_pragma_export_fwd ........................ Passed 0.97 sec Start 115: cxx.test_prefix_header_attribution 112/177 Test #113: cxx.test_pragma_keep_multi ........................ Passed 0.98 sec Start 116: cxx.test_prefix_header_includes_add 113/177 Test #115: cxx.test_prefix_header_attribution ................ Passed 0.97 sec Start 117: cxx.test_prefix_header_includes_keep 114/177 Test #116: cxx.test_prefix_header_includes_add ............... Passed 0.94 sec Start 118: cxx.test_prefix_header_includes_remove 115/177 Test #107: cxx.test_overloaded_class .........................***Failed 3.36 sec INFO:root:Testing iwyu on tests/cxx/overloaded_class.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --check_also="tests/cxx/*-i1.h" -I . tests/cxx/overloaded_class.cc In file included from tests/cxx/overloaded_class.cc:17: In file included from ./tests/cxx/overloaded_class-d1.h:13: In file included from ./tests/cxx/overloaded_class-i1.h:13: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/vector:80: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/bits/memory_resource.h:38: /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cstddef:50:10: fatal error: 'stddef.h' file not found 50 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cstddef:50: Unexpected diagnostic: 'stddef.h' file not found tests/cxx/overloaded_class.cc:21: Unmatched regex: MyFunc is...*overloaded_class-i1.h Unexpected summary diffs for tests/cxx/overloaded_class-i1.h: +++ @@ -1 +0,0 @@ -(tests/cxx/overloaded_class-i1.h has correct #includes/fwd-decls) --- Unexpected summary diffs for tests/cxx/overloaded_class.cc: +++ @@ -1,8 +0,0 @@ -tests/cxx/overloaded_class.cc should add these lines: -#include "tests/cxx/overloaded_class-i1.h" - -tests/cxx/overloaded_class.cc should remove these lines: -- #include "tests/cxx/overloaded_class-d1.h" // lines XX-XX - -The full include-list for tests/cxx/overloaded_class.cc: -#include "tests/cxx/overloaded_class-i1.h" // for MyFunc --- Start 119: cxx.test_prefix_header_operator_new 116/177 Test #117: cxx.test_prefix_header_includes_keep .............. Passed 0.98 sec Start 120: cxx.test_quoted_includes_first 117/177 Test #119: cxx.test_prefix_header_operator_new ............... Passed 0.93 sec Start 121: cxx.test_range_for 118/177 Test #118: cxx.test_prefix_header_includes_remove ............ Passed 1.15 sec Start 122: cxx.test_re_fwd_decl 119/177 Test #121: cxx.test_range_for ................................ Passed 0.97 sec Start 123: cxx.test_redecls 120/177 Test #122: cxx.test_re_fwd_decl .............................. Passed 0.95 sec Start 124: cxx.test_relative_exported_mapped_include 121/177 Test #123: cxx.test_redecls .................................. Passed 0.93 sec Start 125: cxx.test_relative_include_of_double_export 122/177 Test #124: cxx.test_relative_exported_mapped_include ......... Passed 0.92 sec Start 126: cxx.test_relative_include_of_export 123/177 Test #125: cxx.test_relative_include_of_double_export ........ Passed 0.91 sec Start 127: cxx.test_relative_include_of_export_added 124/177 Test #126: cxx.test_relative_include_of_export ............... Passed 0.93 sec Start 128: cxx.test_remove_fwd_decl_when_including 125/177 Test #127: cxx.test_relative_include_of_export_added ......... Passed 0.91 sec Start 129: cxx.test_scope_crash 126/177 Test #128: cxx.test_remove_fwd_decl_when_including ........... Passed 0.92 sec Start 130: cxx.test_self_include 127/177 Test #114: cxx.test_precomputed_tpl_args .....................***Failed 6.41 sec INFO:root:Testing iwyu on tests/cxx/precomputed_tpl_args.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 -I . tests/cxx/precomputed_tpl_args.cc In file included from tests/cxx/precomputed_tpl_args.cc:14: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/vector:80: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/bits/memory_resource.h:38: /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cstddef:50:10: fatal error: 'stddef.h' file not found 50 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cstddef:50: Unexpected diagnostic: 'stddef.h' file not found tests/cxx/precomputed_tpl_args.cc:26: Unmatched regex: IndirectClass needs a declaration tests/cxx/precomputed_tpl_args.cc:26: Unmatched regex: IndirectClass is...*precomputed_tpl_args-i1.h tests/cxx/precomputed_tpl_args.cc:30: Unmatched regex: IndirectClass needs a declaration tests/cxx/precomputed_tpl_args.cc:30: Unmatched regex: IndirectClass is...*precomputed_tpl_args-i1.h tests/cxx/precomputed_tpl_args.cc:33: Unmatched regex: IndirectClass needs a declaration tests/cxx/precomputed_tpl_args.cc:37: Unmatched regex: IndirectClass needs a declaration tests/cxx/precomputed_tpl_args.cc:37: Unmatched regex: IndirectClass is...*precomputed_tpl_args-i1.h tests/cxx/precomputed_tpl_args.cc:43: Unmatched regex: SpecializationClass needs a declaration tests/cxx/precomputed_tpl_args.cc:43: Unmatched regex: SpecializationClass is...*precomputed_tpl_args-i1.h tests/cxx/precomputed_tpl_args.cc:43: Unmatched regex: std::less is...*precomputed_tpl_args-i1.h tests/cxx/precomputed_tpl_args.cc:68: Unmatched regex: SpecializationClass is...*precomputed_tpl_args-i1.h tests/cxx/precomputed_tpl_args.cc:68: Unmatched regex: SpecializationClass needs a declaration tests/cxx/precomputed_tpl_args.cc:71: Unmatched regex: IndirectClass is...*precomputed_tpl_args-i1.h tests/cxx/precomputed_tpl_args.cc:71: Unmatched regex: IndirectClass needs a declaration tests/cxx/precomputed_tpl_args.cc:76: Unmatched regex: IndirectClass needs a declaration tests/cxx/precomputed_tpl_args.cc:76: Unmatched regex: IndirectClass is...*precomputed_tpl_args-i1.h tests/cxx/precomputed_tpl_args.cc:81: Unmatched regex: SpecializationClass needs a declaration tests/cxx/precomputed_tpl_args.cc:81: Unmatched regex: SpecializationClass is...*precomputed_tpl_args-i1.h Unexpected summary diffs for tests/cxx/precomputed_tpl_args.cc: +++ @@ -1,12 +0,0 @@ -tests/cxx/precomputed_tpl_args.cc should add these lines: -#include "tests/cxx/precomputed_tpl_args-i1.h" - -tests/cxx/precomputed_tpl_args.cc should remove these lines: - -The full include-list for tests/cxx/precomputed_tpl_args.cc: -#include // for bitset -#include // for map -#include // for set -#include // for vector -#include "tests/cxx/precomputed_tpl_args-d1.h" // for D1SpecializationClass, less -#include "tests/cxx/precomputed_tpl_args-i1.h" // for IndirectClass, SpecializationClass, less --- Start 131: cxx.test_self_map_cycle 128/177 Test #130: cxx.test_self_include ............................. Passed 0.95 sec Start 132: cxx.test_sizeof_in_template_arg 129/177 Test #131: cxx.test_self_map_cycle ........................... Passed 0.93 sec Start 133: cxx.test_sizeof_reference 130/177 Test #132: cxx.test_sizeof_in_template_arg ................... Passed 0.92 sec Start 134: cxx.test_specialization_needs_decl 131/177 Test #120: cxx.test_quoted_includes_first ....................***Failed 6.15 sec INFO:root:Testing iwyu on tests/cxx/quoted_includes_first.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 -Xiwyu --pch_in_code -Xiwyu --quoted_includes_first -I . tests/cxx/quoted_includes_first.cc In file included from tests/cxx/quoted_includes_first.cc:15: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/iostream:41: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/ostream:40: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/ios:40: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/iosfwd:42: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/bits/postypes.h:40: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cwchar:44: /usr/include/wchar.h:35:10: fatal error: 'stddef.h' file not found 35 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/include/wchar.h:35: Unexpected diagnostic: 'stddef.h' file not found Unexpected summary diffs for tests/cxx/quoted_includes_first.cc: +++ @@ -1,12 +0,0 @@ -tests/cxx/quoted_includes_first.cc should add these lines: - -tests/cxx/quoted_includes_first.cc should remove these lines: -- #include // lines XX-XX -- #include // lines XX-XX -- #include // lines XX-XX - -The full include-list for tests/cxx/quoted_includes_first.cc: -#include "tests/cxx/pch.h" -#include "quoted_includes_first.h" -#include "subdir/indirect_subdir.h" // for IndirectSubDirClass -#include // for unique_ptr --- Unexpected summary diffs for tests/cxx/quoted_includes_first.h: +++ @@ -1,12 +0,0 @@ -tests/cxx/quoted_includes_first.h should add these lines: -class IndirectSubDirClass; - -tests/cxx/quoted_includes_first.h should remove these lines: -- #include "subdir/indirect_subdir.h" // lines XX-XX -- #include // lines XX-XX -- #include // lines XX-XX -- #include // lines XX-XX - -The full include-list for tests/cxx/quoted_includes_first.h: -#include // for unique_ptr -class IndirectSubDirClass; --- Start 135: cxx.test_std_size_t 132/177 Test #133: cxx.test_sizeof_reference .........................***Failed 0.96 sec INFO:root:Testing iwyu on tests/cxx/sizeof_reference.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 -I . tests/cxx/sizeof_reference.cc tests/cxx/sizeof_reference.cc:19:10: fatal error: 'stddef.h' file not found 19 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: tests/cxx/sizeof_reference.cc:19: Unexpected diagnostic: 'stddef.h' file not found tests/cxx/sizeof_reference.cc:48: Unmatched regex: IndirectClass is...*indirect.h tests/cxx/sizeof_reference.cc:48: Unmatched regex: IndirectClass needs a declaration tests/cxx/sizeof_reference.cc:55: Unmatched regex: IndirectClass is...*indirect.h tests/cxx/sizeof_reference.cc:55: Unmatched regex: IndirectClass needs a declaration tests/cxx/sizeof_reference.cc:59: Unmatched regex: IndirectClass needs a declaration tests/cxx/sizeof_reference.cc:65: Unmatched regex: IndirectClass is...*indirect.h tests/cxx/sizeof_reference.cc:65: Unmatched regex: IndirectClass needs a declaration tests/cxx/sizeof_reference.cc:69: Unmatched regex: IndirectClass is...*indirect.h tests/cxx/sizeof_reference.cc:71: Unmatched regex: IndirectClass needs a declaration tests/cxx/sizeof_reference.cc:73: Unmatched regex: IndirectClass is...*indirect.h tests/cxx/sizeof_reference.cc:77: Unmatched regex: IndirectClass is...*indirect.h tests/cxx/sizeof_reference.cc:77: Unmatched regex: IndirectClass needs a declaration tests/cxx/sizeof_reference.cc:81: Unmatched regex: IndirectClass is...*indirect.h tests/cxx/sizeof_reference.cc:81: Unmatched regex: IndirectClass needs a declaration tests/cxx/sizeof_reference.cc:90: Unmatched regex: IndirectClass needs a declaration tests/cxx/sizeof_reference.cc:95: Unmatched regex: IndirectClass needs a declaration tests/cxx/sizeof_reference.cc:99: Unmatched regex: IndirectClass is...*indirect.h tests/cxx/sizeof_reference.cc:99: Unmatched regex: IndirectClass needs a declaration tests/cxx/sizeof_reference.cc:104: Unmatched regex: IndirectClass needs a declaration tests/cxx/sizeof_reference.cc:109: Unmatched regex: IndirectClass is...*indirect.h tests/cxx/sizeof_reference.cc:112: Unmatched regex: IndirectClass is...*indirect.h tests/cxx/sizeof_reference.cc:119: Unmatched regex: IndirectClass is...*indirect.h Unexpected summary diffs for tests/cxx/sizeof_reference.cc: +++ @@ -1,9 +0,0 @@ -tests/cxx/sizeof_reference.cc should add these lines: -#include "tests/cxx/indirect.h" - -tests/cxx/sizeof_reference.cc should remove these lines: -- #include "tests/cxx/direct.h" // lines XX-XX - -The full include-list for tests/cxx/sizeof_reference.cc: -#include // for size_t -#include "tests/cxx/indirect.h" // for IndirectClass --- Start 136: cxx.test_stl_container_provides_allocator 133/177 Test #134: cxx.test_specialization_needs_decl ................ Passed 0.94 sec Start 137: cxx.test_system_namespaces 134/177 Test #135: cxx.test_std_size_t ...............................***Failed 1.04 sec INFO:root:Testing iwyu on tests/cxx/std_size_t.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 tests/cxx/std_size_t.cc In file included from tests/cxx/std_size_t.cc:20: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cstdio:42: /usr/include/stdio.h:34:10: fatal error: 'stddef.h' file not found 34 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/include/stdio.h:34: Unexpected diagnostic: 'stddef.h' file not found Unexpected summary diffs for tests/cxx/std_size_t.cc: +++ @@ -1,7 +0,0 @@ -tests/cxx/std_size_t.cc should add these lines: - -tests/cxx/std_size_t.cc should remove these lines: -- #include // lines XX-XX - -The full include-list for tests/cxx/std_size_t.cc: -#include // for printf, size_t --- Start 138: cxx.test_template_args 135/177 Test #137: cxx.test_system_namespaces ........................ Passed 0.93 sec Start 139: cxx.test_template_default_args_roundtrip 136/177 Test #129: cxx.test_scope_crash ..............................***Failed 3.99 sec INFO:root:Testing iwyu on tests/cxx/scope_crash.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 tests/cxx/scope_crash.cc In file included from tests/cxx/scope_crash.cc:21: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/string:42: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/bits/char_traits.h:42: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/bits/postypes.h:40: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cwchar:44: /usr/include/wchar.h:35:10: fatal error: 'stddef.h' file not found 35 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/include/wchar.h:35: Unexpected diagnostic: 'stddef.h' file not found Unexpected summary diffs for tests/cxx/scope_crash.cc: +++ @@ -1 +0,0 @@ -(tests/cxx/scope_crash.cc has correct #includes/fwd-decls) --- Start 140: cxx.test_template_specialization 137/177 Test #138: cxx.test_template_args ............................ Passed 1.07 sec Start 141: cxx.test_template_varargs 138/177 Test #139: cxx.test_template_default_args_roundtrip .......... Passed 0.94 sec Start 142: cxx.test_templated_constructor 139/177 Test #140: cxx.test_template_specialization .................. Passed 0.96 sec Start 143: cxx.test_tpl_spill_nested 140/177 Test #141: cxx.test_template_varargs ......................... Passed 0.96 sec Start 144: cxx.test_typedef_chain_in_template 141/177 Test #142: cxx.test_templated_constructor .................... Passed 0.96 sec Start 145: cxx.test_typedef_chain_no_follow 142/177 Test #143: cxx.test_tpl_spill_nested ......................... Passed 0.96 sec Start 146: cxx.test_typedef_in_template 143/177 Test #144: cxx.test_typedef_chain_in_template ................ Passed 0.99 sec Start 147: cxx.test_typedefs_and_resugaring 144/177 Test #145: cxx.test_typedef_chain_no_follow .................. Passed 0.97 sec Start 148: cxx.test_typeid 145/177 Test #136: cxx.test_stl_container_provides_allocator .........***Failed 4.31 sec INFO:root:Testing iwyu on tests/cxx/stl_container_provides_allocator.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 tests/cxx/stl_container_provides_allocator.cc In file included from tests/cxx/stl_container_provides_allocator.cc:19: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/memory:80: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/bits/shared_ptr.h:52: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/iosfwd:42: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/bits/postypes.h:40: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cwchar:44: /usr/include/wchar.h:35:10: fatal error: 'stddef.h' file not found 35 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/include/wchar.h:35: Unexpected diagnostic: 'stddef.h' file not found Unexpected summary diffs for tests/cxx/stl_container_provides_allocator.cc: +++ @@ -1,8 +0,0 @@ -tests/cxx/stl_container_provides_allocator.cc should add these lines: - -tests/cxx/stl_container_provides_allocator.cc should remove these lines: -- #include // lines XX-XX - -The full include-list for tests/cxx/stl_container_provides_allocator.cc: -#include // for uninitialized_fill -#include // for vector --- Start 149: cxx.test_unused_class_template_ctor 146/177 Test #146: cxx.test_typedef_in_template ...................... Passed 1.00 sec Start 150: cxx.test_update_comments 147/177 Test #147: cxx.test_typedefs_and_resugaring .................. Passed 0.98 sec Start 151: cxx.test_uses_printf 148/177 Test #149: cxx.test_unused_class_template_ctor ............... Passed 0.98 sec Start 152: cxx.test_using_aliased_symbol 149/177 Test #148: cxx.test_typeid ................................... Passed 1.03 sec Start 153: cxx.test_using_aliased_symbol_unused 150/177 Test #150: cxx.test_update_comments .......................... Passed 0.97 sec Start 154: cxx.test_using_directive_decl 151/177 Test #151: cxx.test_uses_printf ..............................***Failed 1.09 sec INFO:root:Testing iwyu on tests/cxx/uses_printf.cc >>> Running /builddir/build/BUILD/include-what-you-use-0.20/redhat-linux-build/bin/include-what-you-use -Xiwyu --verbose=3 -I . tests/cxx/uses_printf.cc In file included from tests/cxx/uses_printf.cc:12: In file included from ./tests/cxx/uses_printf-d1.h:13: In file included from /usr/lib/gcc/riscv64-redhat-linux/13/../../../../include/c++/13/cstdio:42: /usr/include/stdio.h:34:10: fatal error: 'stddef.h' file not found 34 | #include | ^~~~~~~~~~ Traceback (most recent call last): File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 127, in exit(TestIwyuOnRelevantFiles(runner_args.run_test_file)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/builddir/build/BUILD/include-what-you-use-0.20/run_iwyu_tests.py", line 64, in TestIwyuOnRelevantFiles iwyu_test_util.TestIwyuOnRelativeFile(filename, files_to_check, verbose=True) File "/builddir/build/BUILD/include-what-you-use-0.20/iwyu_test_util.py", line 477, in TestIwyuOnRelativeFile raise AssertionError(''.join(failures)) AssertionError: /usr/include/stdio.h:34: Unexpected diagnostic: 'stddef.h' file not found tests/cxx/uses_printf.cc:16: Unmatched regex: printf is...* Unexpected summary diffs for tests/cxx/uses_printf.cc: +++ @@ -1,8 +0,0 @@ -tests/cxx/uses_printf.cc should add these lines: -#include - -tests/cxx/uses_printf.cc should remove these lines: -- #include "tests/cxx/uses_printf-d1.h" // lines XX-XX - -The full include-list for tests/cxx/uses_printf.cc: -#include // for printf --- Start 155: cxx.test_using_overload_multiple 152/177 Test #153: cxx.test_using_aliased_symbol_unused .............. Passed 0.93 sec Start 156: cxx.test_using_overload_single 153/177 Test #152: cxx.test_using_aliased_symbol ..................... Passed 1.03 sec Start 157: cxx.test_using_specialization 154/177 Test #154: cxx.test_using_directive_decl ..................... Passed 0.96 sec Start 158: cxx.test_using_unused 155/177 Test #155: cxx.test_using_overload_multiple .................. Passed 0.97 sec Start 159: cxx.test_varargs_and_references 156/177 Test #156: cxx.test_using_overload_single .................... Passed 0.94 sec Start 160: cxx.test_virtual_tpl_method 157/177 Test #157: cxx.test_using_specialization ..................... Passed 0.99 sec Start 161: driver.test_exitcode_bad_args 158/177 Test #158: cxx.test_using_unused ............................. Passed 0.97 sec Start 162: driver.test_exitcode_good 159/177 Test #159: cxx.test_varargs_and_references ................... Passed 0.98 sec Start 163: driver.test_exitcode_good_error 160/177 Test #160: cxx.test_virtual_tpl_method ....................... Passed 0.99 sec Start 164: driver.test_exitcode_good_error_always 161/177 Test #161: driver.test_exitcode_bad_args ..................... Passed 0.90 sec Start 165: driver.test_exitcode_good_error_always_arg 162/177 Test #162: driver.test_exitcode_good ......................... Passed 0.96 sec Start 166: driver.test_exitcode_good_error_and_always 163/177 Test #163: driver.test_exitcode_good_error ................... Passed 0.95 sec Start 167: driver.test_exitcode_good_error_arg 164/177 Test #165: driver.test_exitcode_good_error_always_arg ........ Passed 0.92 sec Start 168: driver.test_exitcode_syntax_error 165/177 Test #164: driver.test_exitcode_good_error_always ............ Passed 1.04 sec Start 169: driver.test_exitcode_warn 166/177 Test #166: driver.test_exitcode_good_error_and_always ........ Passed 0.97 sec Start 170: driver.test_exitcode_warn_error 167/177 Test #167: driver.test_exitcode_good_error_arg ............... Passed 0.97 sec Start 171: driver.test_exitcode_warn_error_always 168/177 Test #168: driver.test_exitcode_syntax_error ................. Passed 0.96 sec Start 172: driver.test_exitcode_warn_error_always_arg 169/177 Test #169: driver.test_exitcode_warn ......................... Passed 0.98 sec Start 173: driver.test_exitcode_warn_error_and_always 170/177 Test #170: driver.test_exitcode_warn_error ................... Passed 1.01 sec Start 174: driver.test_exitcode_warn_error_arg 171/177 Test #171: driver.test_exitcode_warn_error_always ............ Passed 0.96 sec Start 175: driver.test_save_temps 172/177 Test #172: driver.test_exitcode_warn_error_always_arg ........ Passed 0.93 sec Start 176: fix_includes_test 173/177 Test #173: driver.test_exitcode_warn_error_and_always ........ Passed 0.95 sec Start 177: iwyu_tool_test 174/177 Test #174: driver.test_exitcode_warn_error_arg ............... Passed 0.98 sec 175/177 Test #175: driver.test_save_temps ............................ Passed 0.91 sec 176/177 Test #176: fix_includes_test ................................. Passed 1.38 sec 177/177 Test #177: iwyu_tool_test .................................... Passed 2.03 sec 90% tests passed, 18 tests failed out of 177 Total Test time (real) = 52.91 sec The following tests FAILED: 9 - cxx.test_associated_h_file_heuristic (Failed) 20 - cxx.test_catch (Failed) 21 - cxx.test_check_also (Failed) 29 - cxx.test_computed_include (Failed) 75 - cxx.test_iterator (Failed) 81 - cxx.test_libbuiltins (Failed) 82 - cxx.test_macro_defined_by_includer (Failed) 94 - cxx.test_no_char_traits (Failed) 97 - cxx.test_no_deque (Failed) 107 - cxx.test_overloaded_class (Failed) 108 - cxx.test_pch_in_code (Failed) 114 - cxx.test_precomputed_tpl_args (Failed) 120 - cxx.test_quoted_includes_first (Failed) 129 - cxx.test_scope_crash (Failed) 133 - cxx.test_sizeof_reference (Failed) 135 - cxx.test_std_size_t (Failed) 136 - cxx.test_stl_container_provides_allocator (Failed) 151 - cxx.test_uses_printf (Failed) Errors while running CTest error: Bad exit status from /var/tmp/rpm-tmp.FHigRk (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.FHigRk (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/iwyu.spec