FailedConsole Output

Skipping 56 KB.. Full Log
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/DwarfTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/DwarfTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/DwarfTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/DwarfTest.cpp:9:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackDocument.h:20:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/Support/Error.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/DwarfTest.cpp:9:10: fatal error: could not build module 'LLVM_BinaryFormat'
#include "llvm/BinaryFormat/Dwarf.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
[11/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/Demangle -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Demangle -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/Demangle/CMakeFiles/DemangleTests.dir/DemangleTest.cpp.o -MF unittests/Demangle/CMakeFiles/DemangleTests.dir/DemangleTest.cpp.o.d -o unittests/Demangle/CMakeFiles/DemangleTests.dir/DemangleTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Demangle/DemangleTest.cpp
FAILED: unittests/Demangle/CMakeFiles/DemangleTests.dir/DemangleTest.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/Demangle -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Demangle -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/Demangle/CMakeFiles/DemangleTests.dir/DemangleTest.cpp.o -MF unittests/Demangle/CMakeFiles/DemangleTests.dir/DemangleTest.cpp.o.d -o unittests/Demangle/CMakeFiles/DemangleTests.dir/DemangleTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Demangle/DemangleTest.cpp
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Demangle/Demangle.h:12:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Demangle/DemangleTest.cpp:9:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Demangle/Demangle.h:12:10: fatal error: could not build module 'std'
#include <cstddef>
 ~~~~~~~~^
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h:43:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include/gtest/internal/custom/raw-ostream.h:43:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
4 errors generated.
[12/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/BinaryFormat -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackReaderTest.cpp.o -MF unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackReaderTest.cpp.o.d -o unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackReaderTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackReaderTest.cpp
FAILED: unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackReaderTest.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/BinaryFormat -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackReaderTest.cpp.o -MF unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackReaderTest.cpp.o.d -o unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackReaderTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackReaderTest.cpp
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackReaderTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackReaderTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackReaderTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackReaderTest.cpp:9:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackDocument.h:20:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/Support/Error.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackReaderTest.cpp:9:10: fatal error: could not build module 'LLVM_BinaryFormat'
#include "llvm/BinaryFormat/MsgPackReader.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
[13/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/BinaryFormat -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackWriterTest.cpp.o -MF unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackWriterTest.cpp.o.d -o unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackWriterTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackWriterTest.cpp
FAILED: unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackWriterTest.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/BinaryFormat -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackWriterTest.cpp.o -MF unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackWriterTest.cpp.o.d -o unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackWriterTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackWriterTest.cpp
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackWriterTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackWriterTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackWriterTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackWriterTest.cpp:9:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackDocument.h:20:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/Support/Error.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackWriterTest.cpp:9:10: fatal error: could not build module 'LLVM_BinaryFormat'
#include "llvm/BinaryFormat/MsgPackWriter.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
[14/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/llvm-undname -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-undname -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -fno-exceptions -fno-rtti -std=c++14 -MD -MT tools/llvm-undname/CMakeFiles/llvm-undname.dir/llvm-undname.cpp.o -MF tools/llvm-undname/CMakeFiles/llvm-undname.dir/llvm-undname.cpp.o.d -o tools/llvm-undname/CMakeFiles/llvm-undname.dir/llvm-undname.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-undname/llvm-undname.cpp
FAILED: tools/llvm-undname/CMakeFiles/llvm-undname.dir/llvm-undname.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/llvm-undname -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-undname -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -fno-exceptions -fno-rtti -std=c++14 -MD -MT tools/llvm-undname/CMakeFiles/llvm-undname.dir/llvm-undname.cpp.o -MF tools/llvm-undname/CMakeFiles/llvm-undname.dir/llvm-undname.cpp.o.d -o tools/llvm-undname/CMakeFiles/llvm-undname.dir/llvm-undname.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-undname/llvm-undname.cpp
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-undname/llvm-undname.cpp:15:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-undname/llvm-undname.cpp:15:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-undname/llvm-undname.cpp:15:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-undname/llvm-undname.cpp:15:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/StringRef.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[15/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/llvm-cxxfilt -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-cxxfilt -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -fno-exceptions -fno-rtti -std=c++14 -MD -MT tools/llvm-cxxfilt/CMakeFiles/llvm-cxxfilt.dir/llvm-cxxfilt.cpp.o -MF tools/llvm-cxxfilt/CMakeFiles/llvm-cxxfilt.dir/llvm-cxxfilt.cpp.o.d -o tools/llvm-cxxfilt/CMakeFiles/llvm-cxxfilt.dir/llvm-cxxfilt.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp
FAILED: tools/llvm-cxxfilt/CMakeFiles/llvm-cxxfilt.dir/llvm-cxxfilt.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Itools/llvm-cxxfilt -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-cxxfilt -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -fno-exceptions -fno-rtti -std=c++14 -MD -MT tools/llvm-cxxfilt/CMakeFiles/llvm-cxxfilt.dir/llvm-cxxfilt.cpp.o -MF tools/llvm-cxxfilt/CMakeFiles/llvm-cxxfilt.dir/llvm-cxxfilt.cpp.o.d -o tools/llvm-cxxfilt/CMakeFiles/llvm-cxxfilt.dir/llvm-cxxfilt.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp:9:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp:9:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp:9:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp:9:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/StringExtras.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
4 errors generated.
[16/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/DebugInfo/MSF -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFCommonTest.cpp.o -MF unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFCommonTest.cpp.o.d -o unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFCommonTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFCommonTest.cpp
FAILED: unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFCommonTest.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/DebugInfo/MSF -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFCommonTest.cpp.o -MF unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFCommonTest.cpp.o.d -o unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFCommonTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFCommonTest.cpp
While building module 'LLVM_DebugInfo_MSF' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFCommonTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h:12:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_DebugInfo_MSF' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFCommonTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h:12:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_DebugInfo_MSF' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFCommonTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h:12:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
While building module 'LLVM_DebugInfo_MSF' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFCommonTest.cpp:9:
In file included from <module-includes>:1:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h:12:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/ArrayRef.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFCommonTest.cpp:9:10: fatal error: could not build module 'LLVM_DebugInfo_MSF'
#include "llvm/DebugInfo/MSF/MSFCommon.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
[17/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/Bitstream -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Bitstream -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/Bitstream/CMakeFiles/BitstreamTests.dir/BitstreamReaderTest.cpp.o -MF unittests/Bitstream/CMakeFiles/BitstreamTests.dir/BitstreamReaderTest.cpp.o.d -o unittests/Bitstream/CMakeFiles/BitstreamTests.dir/BitstreamReaderTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Bitstream/BitstreamReaderTest.cpp
FAILED: unittests/Bitstream/CMakeFiles/BitstreamTests.dir/BitstreamReaderTest.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/Bitstream -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Bitstream -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/Bitstream/CMakeFiles/BitstreamTests.dir/BitstreamReaderTest.cpp.o -MF unittests/Bitstream/CMakeFiles/BitstreamTests.dir/BitstreamReaderTest.cpp.o.d -o unittests/Bitstream/CMakeFiles/BitstreamTests.dir/BitstreamReaderTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Bitstream/BitstreamReaderTest.cpp
While building module 'LLVM_Bitstream' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Bitstream/BitstreamReaderTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Bitstream/BitCodes.h:20:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_Bitstream' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Bitstream/BitstreamReaderTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Bitstream/BitCodes.h:20:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_Bitstream' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Bitstream/BitstreamReaderTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Bitstream/BitCodes.h:20:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
While building module 'LLVM_Bitstream' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Bitstream/BitstreamReaderTest.cpp:9:
In file included from <module-includes>:1:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Bitstream/BitCodes.h:20:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/SmallVector.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/Bitstream/BitstreamReaderTest.cpp:9:10: fatal error: could not build module 'LLVM_Bitstream'
#include "llvm/Bitstream/BitstreamReader.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
[18/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/BinaryFormat -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MachOTest.cpp.o -MF unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MachOTest.cpp.o.d -o unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MachOTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MachOTest.cpp
FAILED: unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MachOTest.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/BinaryFormat -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MachOTest.cpp.o -MF unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MachOTest.cpp.o.d -o unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MachOTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MachOTest.cpp
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MachOTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MachOTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MachOTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MachOTest.cpp:9:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackDocument.h:20:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/Support/Error.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MachOTest.cpp:9:10: fatal error: could not build module 'LLVM_BinaryFormat'
#include "llvm/BinaryFormat/MachO.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
[19/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/BinaryFormat -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackDocumentTest.cpp.o -MF unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackDocumentTest.cpp.o.d -o unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackDocumentTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackDocumentTest.cpp
FAILED: unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackDocumentTest.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/BinaryFormat -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackDocumentTest.cpp.o -MF unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackDocumentTest.cpp.o.d -o unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/MsgPackDocumentTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackDocumentTest.cpp
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackDocumentTest.cpp:10:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackDocumentTest.cpp:10:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackDocumentTest.cpp:10:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackDocumentTest.cpp:10:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackDocument.h:20:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/Support/Error.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/MsgPackDocumentTest.cpp:10:10: fatal error: could not build module 'LLVM_BinaryFormat'
#include "llvm/BinaryFormat/MsgPackDocument.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
[20/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/DebugInfo/CodeView -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeIndexDiscoveryTest.cpp.o -MF unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeIndexDiscoveryTest.cpp.o.d -o unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeIndexDiscoveryTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp
FAILED: unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeIndexDiscoveryTest.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/DebugInfo/CodeView -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeIndexDiscoveryTest.cpp.o -MF unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeIndexDiscoveryTest.cpp.o.d -o unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeIndexDiscoveryTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:12:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:12:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:12:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp:9:
In file included from <module-includes>:1:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:12:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/ArrayRef.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp:9:
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/EnumTables.h:13:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackDocument.h:20:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/Support/Error.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeIndexDiscoveryTest.cpp:9:10: fatal error: could not build module 'LLVM_DebugInfo_CodeView'
#include "llvm/DebugInfo/CodeView/TypeIndexDiscovery.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 errors generated.
[21/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/BinaryFormat -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/TestFileMagic.cpp.o -MF unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/TestFileMagic.cpp.o.d -o unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/TestFileMagic.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/TestFileMagic.cpp
FAILED: unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/TestFileMagic.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/BinaryFormat -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/TestFileMagic.cpp.o -MF unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/TestFileMagic.cpp.o.d -o unittests/BinaryFormat/CMakeFiles/BinaryFormatTests.dir/TestFileMagic.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/TestFileMagic.cpp
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/TestFileMagic.cpp:9:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/TestFileMagic.cpp:9:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/TestFileMagic.cpp:9:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/TestFileMagic.cpp:9:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/SmallString.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/BinaryFormat/TestFileMagic.cpp:11:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackDocument.h:20:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/Support/Error.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
[22/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/DebugInfo/MSF -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MappedBlockStreamTest.cpp.o -MF unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MappedBlockStreamTest.cpp.o.d -o unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MappedBlockStreamTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp
FAILED: unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MappedBlockStreamTest.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/DebugInfo/MSF -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MappedBlockStreamTest.cpp.o -MF unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MappedBlockStreamTest.cpp.o.d -o unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MappedBlockStreamTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp
While building module 'LLVM_DebugInfo_MSF' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h:12:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_DebugInfo_MSF' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h:12:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_DebugInfo_MSF' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h:12:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
While building module 'LLVM_DebugInfo_MSF' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp:9:
In file included from <module-includes>:1:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h:12:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/ArrayRef.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MappedBlockStreamTest.cpp:9:10: fatal error: could not build module 'LLVM_DebugInfo_MSF'
#include "llvm/DebugInfo/MSF/MappedBlockStream.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
[23/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/DebugInfo/MSF -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFBuilderTest.cpp.o -MF unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFBuilderTest.cpp.o.d -o unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFBuilderTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFBuilderTest.cpp
FAILED: unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFBuilderTest.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/DebugInfo/MSF -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFBuilderTest.cpp.o -MF unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFBuilderTest.cpp.o.d -o unittests/DebugInfo/MSF/CMakeFiles/DebugInfoMSFTests.dir/MSFBuilderTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFBuilderTest.cpp
While building module 'LLVM_DebugInfo_MSF' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFBuilderTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h:12:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_DebugInfo_MSF' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFBuilderTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h:12:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_DebugInfo_MSF' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFBuilderTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h:12:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
While building module 'LLVM_DebugInfo_MSF' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFBuilderTest.cpp:9:
In file included from <module-includes>:1:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h:12:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/ArrayRef.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/MSF/MSFBuilderTest.cpp:9:10: fatal error: could not build module 'LLVM_DebugInfo_MSF'
#include "llvm/DebugInfo/MSF/MSFBuilder.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5 errors generated.
[24/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/DebugInfo/CodeView -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeHashingTest.cpp.o -MF unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeHashingTest.cpp.o.d -o unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeHashingTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeHashingTest.cpp
FAILED: unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeHashingTest.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/DebugInfo/CodeView -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeHashingTest.cpp.o -MF unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeHashingTest.cpp.o.d -o unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/TypeHashingTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeHashingTest.cpp
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeHashingTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:12:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeHashingTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:12:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeHashingTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:12:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeHashingTest.cpp:9:
In file included from <module-includes>:1:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:12:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/ArrayRef.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeHashingTest.cpp:9:
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/EnumTables.h:13:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackDocument.h:20:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/Support/Error.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/TypeHashingTest.cpp:9:10: fatal error: could not build module 'LLVM_DebugInfo_CodeView'
#include "llvm/DebugInfo/CodeView/TypeHashing.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6 errors generated.
[25/4380] /usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/DebugInfo/CodeView -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/RandomAccessVisitorTest.cpp.o -MF unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/RandomAccessVisitorTest.cpp.o.d -o unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/RandomAccessVisitorTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
FAILED: unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/RandomAccessVisitorTest.cpp.o 
/usr/local/bin/sccache /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/clang++  -DGTEST_HAS_RTTI=0 -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Iunittests/DebugInfo/CodeView -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView -Iinclude -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googletest/include -I/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/utils/unittest/googlemock/include -fno-stack-protector -fno-common -Wno-profile-instr-unprofiled -fPIC -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -fmodules -fmodules-cache-path=/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/clang-build/Build/module.cache -fcxx-modules -Xclang -fmodules-local-submodule-visibility -gmodules -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -fdiagnostics-color -flto=thin -O2 -g -DNDEBUG -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk    -Wno-variadic-macros -Wno-gnu-zero-variadic-macro-arguments -fno-exceptions -fno-rtti -Wno-suggest-override -std=c++14 -MD -MT unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/RandomAccessVisitorTest.cpp.o -MF unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/RandomAccessVisitorTest.cpp.o.d -o unittests/DebugInfo/CodeView/CMakeFiles/DebugInfoCodeViewTests.dir/RandomAccessVisitorTest.cpp.o -c /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:12:
While building module 'std' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:
In file included from <module-includes>:31:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex.h:28:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ccomplex:20:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/complex:242:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/sstream:184:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/istream:162:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/ostream:137:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/bitset:116:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__bit_reference:15:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/algorithm:725:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/__algorithm/shuffle.h:39:13: error: missing '#include "/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint"'; 'uint_fast32_t' must be declared before it is used
    typedef uint_fast32_t result_type;
            ^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/host-compiler/bin/../include/c++/v1/cstdint:179:9: note: declaration here is not visible
using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
        ^
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:12:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APFixedPoint.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APSInt.h:17:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/ADT/APInt.h:18:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/Compiler.h:21:10: fatal error: could not build module 'std'
#include <new>
 ~~~~~~~~^
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp:9:
While building module 'LLVM_Utils' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:12:
While building module 'LLVM_C' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Support/DataTypes.h:19:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/./Analysis.h:23:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/Types.h:17:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm-c/DataTypes.h:27:10: fatal error: could not build module 'std'
#include <inttypes.h>
 ~~~~~~~~^
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp:9:
In file included from <module-includes>:1:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h:12:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/ArrayRef.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
While building module 'LLVM_DebugInfo_CodeView' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp:9:
While building module 'LLVM_BinaryFormat' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/CodeView/EnumTables.h:13:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/AMDGPUMetadataVerifier.h:19:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackDocument.h:20:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/BinaryFormat/MsgPackReader.h:36:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/Support/Error.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp:9:10: fatal error: could not build module 'LLVM_DebugInfo_CodeView'
#include "llvm/DebugInfo/CodeView/AppendingTypeTableBuilder.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'LLVM_DebugInfo_PDB' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp:15:
In file included from <module-includes>:1:
In file included from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h:12:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/PDB/IPDBEnumChildren.h:13:10: fatal error: could not build module 'std'
#include <cstdint>
 ~~~~~~~~^
While building module 'LLVM_DebugInfo_PDB' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp:15:
While building module 'LLVM_DebugInfo_MSF' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/DbiStream.h:14:
In file included from <module-includes>:1:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/MSF/IMSFFile.h:12:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/ArrayRef.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/DIContext.h:17:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/SmallVector.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Object/Archive.h:16:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/Optional.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/MC/LaneBitmask.h:32:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/Support/Compiler.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
While building module 'LLVM_DebugInfo_PDB' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp:15:
While building module 'LLVM_DebugInfo' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/PDB/PDBContext.h:12:
While building module 'LLVM_Object' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/DIContext.h:18:
While building module 'LLVM_IR' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Object/IRSymtab.h:29:
In file included from <module-includes>:2:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/IR/Assumptions.h:18:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/StringRef.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
While building module 'LLVM_DebugInfo_PDB' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/unittests/DebugInfo/CodeView/RandomAccessVisitorTest.cpp:15:
While building module 'LLVM_DebugInfo' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/PDB/PDBContext.h:12:
While building module 'LLVM_Object' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/DebugInfo/DIContext.h:18:
While building module 'LLVM_IR' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Object/IRSymtab.h:29:
While building module 'LLVM_Pass' imported from /Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/IR/LegacyPassManager.h:19:
In file included from <module-includes>:1:
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/Pass.h:31:10: fatal error: could not build module 'std'
#include <string>
 ~~~~~~~~^
/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto/llvm-project/llvm/include/llvm/MC/ConstantPools.h:16:10: fatal error: could not build module 'LLVM_Utils'
#include "llvm/ADT/MapVector.h"
 ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
14 errors generated.
ninja: build stopped: subcommand failed.
Command failed: Command '['/usr/local/bin/ninja', '-v', 'install']' returned non-zero exit status 1
Command: ['/usr/local/bin/ninja', '-v', 'install']
[Pipeline] }
[Pipeline] // timeout
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Test)
Stage "Test" skipped due to earlier failure(s)
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] scanForIssues
[Clang (LLVM based)] Sleeping for 5 seconds due to JENKINS-32191...
[Clang (LLVM based)] Parsing console log (workspace: '/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto')
[Clang (LLVM based)] Successfully parsed console log
[Clang (LLVM based)] -> found 32 issues (skipped 65 duplicates)
[Clang (LLVM based)] Post processing issues on 'green-dragon-22' with source code encoding 'UTF-8'
[Clang (LLVM based)] Creating SCM blamer to obtain author and commit information for affected files
[Clang (LLVM based)] -> No blamer installed yet. You need to install the 'git-forensics' plugin to enable blaming for Git.
[Clang (LLVM based)] Resolving file names for all issues in source directory '/Users/buildslave/jenkins/workspace/clang-stage2-Rthinlto'
[Clang (LLVM based)] -> resolved paths in source directory (32 found, 0 not found)
[Clang (LLVM based)] Resolving module names from module definitions (build.xml, pom.xml, or Manifest.mf files)
[Clang (LLVM based)] -> resolved module names for 32 issues
[Clang (LLVM based)] Resolving package names (or namespaces) by parsing the affected files
[Clang (LLVM based)] -> resolved package names of 32 affected files
[Clang (LLVM based)] No filter has been set, publishing all 32 issues
[Clang (LLVM based)] Creating fingerprints for all affected code blocks to track issues over different builds
[Clang (LLVM based)] -> created fingerprints for 32 issues (skipped 0 issues)
[Clang (LLVM based)] Copying affected files to Jenkins' build folder '/Users/Shared/Jenkins/Home/jobs/clang-stage2-Rthinlto/builds/3961/files-with-issues'
[Clang (LLVM based)] -> 32 copied, 0 not in workspace, 0 not-found, 0 with I/O error
[Clang (LLVM based)] Repository miner is not configured, skipping repository mining
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // withEnv
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
ERROR: script returned exit code 1
Finished: FAILURE