from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/DumpOutputStyle.cpp:12: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h: In instantiation of 'llvm::Expected > llvm::codeview::readCVRecordFromStream(llvm::BinaryStreamRef, uint32_t) [with Kind = llvm::codeview::SymbolKind; uint32_t = unsigned int]': /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:120:62: required from 'llvm::Error llvm::VarStreamArrayExtractor >::operator()(llvm::BinaryStreamRef, uint32_t&, llvm::codeview::CVRecord&) [with Kind = llvm::codeview::SymbolKind; uint32_t = unsigned int]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h:164:12: required from 'llvm::VarStreamArrayIterator::VarStreamArrayIterator(const ArrayType&, const Extractor&, uint32_t, bool*) [with ValueType = llvm::codeview::CVRecord; Extractor = llvm::VarStreamArrayExtractor >; llvm::VarStreamArrayIterator::ArrayType = llvm::VarStreamArray >; uint32_t = unsigned int]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h:105:12: required from 'llvm::VarStreamArray::Iterator llvm::VarStreamArray::begin(bool*) const [with ValueType = llvm::codeview::CVRecord; Extractor = llvm::VarStreamArrayExtractor >; llvm::VarStreamArray::Iterator = llvm::VarStreamArrayIterator, llvm::VarStreamArrayExtractor > >]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h:29:64: required from here /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:103:24: warning: redundant move in return statement [-Wredundant-move] 103 | return std::move(EC); | ^ /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:103:24: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:110:24: warning: redundant move in return statement [-Wredundant-move] 110 | return std::move(EC); | ^ /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:110:24: note: remove 'std::move' call [ 93%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/ExplainOutputStyle.cpp.o In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamWriter.h:15, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/DebugSubsection.h:13, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h:16, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.h:16, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/ExplainOutputStyle.cpp:12: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h: In member function 'llvm::VarStreamArrayIterator >& llvm::VarStreamArrayIterator >::operator=(const llvm::VarStreamArrayIterator >&)': /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h:150:7: warning: implicitly-declared 'llvm::pdb::DbiModuleDescriptor& llvm::pdb::DbiModuleDescriptor::operator=(const llvm::pdb::DbiModuleDescriptor&)' is deprecated [-Wdeprecated-copy] 150 | class VarStreamArrayIterator | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h:17, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.h:18, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/ExplainOutputStyle.cpp:12: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h:29:3: note: because 'llvm::pdb::DbiModuleDescriptor' has user-provided 'llvm::pdb::DbiModuleDescriptor::DbiModuleDescriptor(const llvm::pdb::DbiModuleDescriptor&)' 29 | DbiModuleDescriptor(const DbiModuleDescriptor &Info); | ^~~~~~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/ExplainOutputStyle.cpp: In function 'void explainDbiModiSubstreamOffset(llvm::pdb::LinePrinter&, llvm::pdb::DbiStream&, uint32_t)': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/ExplainOutputStyle.cpp:369:12: note: synthesized method 'llvm::VarStreamArrayIterator >& llvm::VarStreamArrayIterator >::operator=(const llvm::VarStreamArrayIterator >&)' first required here 369 | Prev = Current; | ^~~~~~~ [ 93%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/InputFile.cpp.o /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.cpp: In function 'llvm::Expected getModuleDebugStream(llvm::pdb::PDBFile&, llvm::StringRef&, uint32_t)': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.cpp:63:19: warning: redundant move in return statement [-Wredundant-move] 63 | return std::move(ModS); | ~~~~~~~~~^~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.cpp:63:19: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.cpp: In static member function 'static llvm::Expected llvm::pdb::InputFile::open(llvm::StringRef, bool)': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.cpp:271:21: warning: redundant move in return statement [-Wredundant-move] 271 | return std::move(IF); | ~~~~~~~~~^~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.cpp:271:21: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.cpp:277:23: warning: redundant move in return statement [-Wredundant-move] 277 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.cpp:277:23: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.cpp:282:21: warning: redundant move in return statement [-Wredundant-move] 282 | return std::move(IF); | ~~~~~~~~~^~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.cpp:282:21: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.cpp:297:19: warning: redundant move in return statement [-Wredundant-move] 297 | return std::move(IF); | ~~~~~~~~~^~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.cpp:297:19: note: remove 'std::move' call [ 93%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/llvm-pdbutil.cpp.o [ 93%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/FormatUtil.cpp.o [ 93%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/LinePrinter.cpp.o [ 93%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/MinimalSymbolDumper.cpp.o [ 93%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/MinimalTypeDumper.cpp.o [ 93%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PdbYaml.cpp.o [ 93%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyBuiltinDumper.cpp.o [ 93%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyClassDefinitionDumper.cpp.o [ 93%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyClassLayoutGraphicalDumper.cpp.o [ 93%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyCompilandDumper.cpp.o [ 93%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyEnumDumper.cpp.o [ 94%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyExternalSymbolDumper.cpp.o [ 94%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyFunctionDumper.cpp.o [ 94%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyTypeDumper.cpp.o [ 94%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyTypedefDumper.cpp.o [ 94%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/PrettyVariableDumper.cpp.o [ 94%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/StreamUtil.cpp.o /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/StreamUtil.cpp: In function 'void llvm::pdb::discoverStreamPurposes(llvm::pdb::PDBFile&, llvm::SmallVectorImpl&)': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/StreamUtil.cpp:84:53: warning: implicitly-declared 'llvm::pdb::DbiModuleDescriptor& llvm::pdb::DbiModuleDescriptor::operator=(const llvm::pdb::DbiModuleDescriptor&)' is deprecated [-Wdeprecated-copy] 84 | IMD.Descriptor = Modules.getModuleDescriptor(I); | ^ In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/StreamUtil.cpp:14: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h:29:3: note: because 'llvm::pdb::DbiModuleDescriptor' has user-provided 'llvm::pdb::DbiModuleDescriptor::DbiModuleDescriptor(const llvm::pdb::DbiModuleDescriptor&)' 29 | DbiModuleDescriptor(const DbiModuleDescriptor &Info); | ^~~~~~~~~~~~~~~~~~~ [ 94%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/TypeReferenceTracker.cpp.o In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/TypeReferenceTracker.cpp:14: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h: In instantiation of 'llvm::pdb::GSIHashIterator::GSIHashIterator(T&&) [with T = llvm::FixedStreamArrayIterator]': /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h:66:77: required from here /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h:36:69: warning: implicitly-declared 'llvm::FixedStreamArrayIterator::FixedStreamArrayIterator(const llvm::FixedStreamArrayIterator&)' is deprecated [-Wdeprecated-copy] 36 | : GSIHashIterator::iterator_adaptor_base(std::forward(v)) {} | ^ In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamWriter.h:15, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/DebugSubsection.h:13, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h:16, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.h:16, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/TypeReferenceTracker.h:12, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/TypeReferenceTracker.cpp:9: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h:327:3: note: because 'llvm::FixedStreamArrayIterator' has user-provided 'llvm::FixedStreamArrayIterator& llvm::FixedStreamArrayIterator::operator=(const llvm::FixedStreamArrayIterator&) [with T = llvm::pdb::PSHashRecord]' 327 | operator=(const FixedStreamArrayIterator &Other) { | ^~~~~~~~ In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/STLExtras.h:21, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/StringRef.h:12, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/StringMap.h:16, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/Host.h:16, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/Hashing.h:48, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/ArrayRef.h:12, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/DenseMapInfo.h:16, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/PointerUnion.h:17, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.h:13, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/TypeReferenceTracker.h:12, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/TypeReferenceTracker.cpp:9: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/iterator.h:215:51: note: initializing argument 1 of 'llvm::iterator_adaptor_base::iterator_adaptor_base(WrappedIteratorT) [with DerivedT = llvm::pdb::GSIHashIterator; WrappedIteratorT = llvm::FixedStreamArrayIterator; IteratorCategoryT = std::random_access_iterator_tag; T = const unsigned int; DifferenceTypeT = long int; PointerT = const unsigned int*; ReferenceT = const unsigned int&]' 215 | explicit iterator_adaptor_base(WrappedIteratorT u) : I(std::move(u)) { | ~~~~~~~~~~~~~~~~~^ /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/iterator.h: In instantiation of 'llvm::iterator_adaptor_base::iterator_adaptor_base(WrappedIteratorT) [with DerivedT = llvm::pdb::GSIHashIterator; WrappedIteratorT = llvm::FixedStreamArrayIterator; IteratorCategoryT = std::random_access_iterator_tag; T = const unsigned int; DifferenceTypeT = long int; PointerT = const unsigned int*; ReferenceT = const unsigned int&]': /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h:36:69: required from 'llvm::pdb::GSIHashIterator::GSIHashIterator(T&&) [with T = llvm::FixedStreamArrayIterator]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h:66:77: required from here /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/iterator.h:215:70: warning: implicitly-declared 'llvm::FixedStreamArrayIterator::FixedStreamArrayIterator(const llvm::FixedStreamArrayIterator&)' is deprecated [-Wdeprecated-copy] 215 | explicit iterator_adaptor_base(WrappedIteratorT u) : I(std::move(u)) { | ^ In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamWriter.h:15, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/DebugSubsection.h:13, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h:16, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.h:16, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/TypeReferenceTracker.h:12, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/TypeReferenceTracker.cpp:9: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h:327:3: note: because 'llvm::FixedStreamArrayIterator' has user-provided 'llvm::FixedStreamArrayIterator& llvm::FixedStreamArrayIterator::operator=(const llvm::FixedStreamArrayIterator&) [with T = llvm::pdb::PSHashRecord]' 327 | operator=(const FixedStreamArrayIterator &Other) { | ^~~~~~~~ In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/SymbolRecord.h:18, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h:15, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/InputFile.h:18, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/TypeReferenceTracker.h:12, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/TypeReferenceTracker.cpp:9: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h: In instantiation of 'llvm::Expected > llvm::codeview::readCVRecordFromStream(llvm::BinaryStreamRef, uint32_t) [with Kind = llvm::codeview::SymbolKind; uint32_t = unsigned int]': /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:120:62: required from 'llvm::Error llvm::VarStreamArrayExtractor >::operator()(llvm::BinaryStreamRef, uint32_t&, llvm::codeview::CVRecord&) [with Kind = llvm::codeview::SymbolKind; uint32_t = unsigned int]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h:164:12: required from 'llvm::VarStreamArrayIterator::VarStreamArrayIterator(const ArrayType&, const Extractor&, uint32_t, bool*) [with ValueType = llvm::codeview::CVRecord; Extractor = llvm::VarStreamArrayExtractor >; llvm::VarStreamArrayIterator::ArrayType = llvm::VarStreamArray >; uint32_t = unsigned int]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h:105:12: required from 'llvm::VarStreamArray::Iterator llvm::VarStreamArray::begin(bool*) const [with ValueType = llvm::codeview::CVRecord; Extractor = llvm::VarStreamArrayExtractor >; llvm::VarStreamArray::Iterator = llvm::VarStreamArrayIterator, llvm::VarStreamArrayExtractor > >]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/TypeReferenceTracker.cpp:66:34: required from here /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:103:24: warning: redundant move in return statement [-Wredundant-move] 103 | return std::move(EC); | ^ /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:103:24: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:110:24: warning: redundant move in return statement [-Wredundant-move] 110 | return std::move(EC); | ^ /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:110:24: note: remove 'std::move' call [ 94%] Building CXX object tools/llvm-pdbutil/CMakeFiles/llvm-pdbutil.dir/YAMLOutputStyle.cpp.o In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/YAMLOutputStyle.cpp:20: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h: In instantiation of 'llvm::pdb::GSIHashIterator::GSIHashIterator(T&&) [with T = llvm::FixedStreamArrayIterator]': /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h:66:77: required from here /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h:36:69: warning: implicitly-declared 'llvm::FixedStreamArrayIterator::FixedStreamArrayIterator(const llvm::FixedStreamArrayIterator&)' is deprecated [-Wdeprecated-copy] 36 | : GSIHashIterator::iterator_adaptor_base(std::forward(v)) {} | ^ In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamReader.h:14, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/RecordSerialization.h:17, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:15, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/SymbolRecord.h:18, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/PdbYaml.h:15, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/YAMLOutputStyle.h:13, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/YAMLOutputStyle.cpp:9: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h:327:3: note: because 'llvm::FixedStreamArrayIterator' has user-provided 'llvm::FixedStreamArrayIterator& llvm::FixedStreamArrayIterator::operator=(const llvm::FixedStreamArrayIterator&) [with T = llvm::pdb::PSHashRecord]' 327 | operator=(const FixedStreamArrayIterator &Other) { | ^~~~~~~~ In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/STLExtras.h:21, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/Error.h:17, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/OutputStyle.h:12, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/YAMLOutputStyle.h:12, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/YAMLOutputStyle.cpp:9: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/iterator.h:215:51: note: initializing argument 1 of 'llvm::iterator_adaptor_base::iterator_adaptor_base(WrappedIteratorT) [with DerivedT = llvm::pdb::GSIHashIterator; WrappedIteratorT = llvm::FixedStreamArrayIterator; IteratorCategoryT = std::random_access_iterator_tag; T = const unsigned int; DifferenceTypeT = long int; PointerT = const unsigned int*; ReferenceT = const unsigned int&]' 215 | explicit iterator_adaptor_base(WrappedIteratorT u) : I(std::move(u)) { | ~~~~~~~~~~~~~~~~~^ /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/iterator.h: In instantiation of 'llvm::iterator_adaptor_base::iterator_adaptor_base(WrappedIteratorT) [with DerivedT = llvm::pdb::GSIHashIterator; WrappedIteratorT = llvm::FixedStreamArrayIterator; IteratorCategoryT = std::random_access_iterator_tag; T = const unsigned int; DifferenceTypeT = long int; PointerT = const unsigned int*; ReferenceT = const unsigned int&]': /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h:36:69: required from 'llvm::pdb::GSIHashIterator::GSIHashIterator(T&&) [with T = llvm::FixedStreamArrayIterator]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/PDB/Native/GlobalsStream.h:66:77: required from here /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/iterator.h:215:70: warning: implicitly-declared 'llvm::FixedStreamArrayIterator::FixedStreamArrayIterator(const llvm::FixedStreamArrayIterator&)' is deprecated [-Wdeprecated-copy] 215 | explicit iterator_adaptor_base(WrappedIteratorT u) : I(std::move(u)) { | ^ In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamReader.h:14, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/RecordSerialization.h:17, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:15, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/SymbolRecord.h:18, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/PdbYaml.h:15, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/YAMLOutputStyle.h:13, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/YAMLOutputStyle.cpp:9: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h:327:3: note: because 'llvm::FixedStreamArrayIterator' has user-provided 'llvm::FixedStreamArrayIterator& llvm::FixedStreamArrayIterator::operator=(const llvm::FixedStreamArrayIterator&) [with T = llvm::pdb::PSHashRecord]' 327 | operator=(const FixedStreamArrayIterator &Other) { | ^~~~~~~~ In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/SymbolRecord.h:18, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/PdbYaml.h:15, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/YAMLOutputStyle.h:13, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/YAMLOutputStyle.cpp:9: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h: In instantiation of 'llvm::Expected > llvm::codeview::readCVRecordFromStream(llvm::BinaryStreamRef, uint32_t) [with Kind = llvm::codeview::SymbolKind; uint32_t = unsigned int]': /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:120:62: required from 'llvm::Error llvm::VarStreamArrayExtractor >::operator()(llvm::BinaryStreamRef, uint32_t&, llvm::codeview::CVRecord&) [with Kind = llvm::codeview::SymbolKind; uint32_t = unsigned int]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h:213:14: required from 'llvm::VarStreamArrayIterator::IterType& llvm::VarStreamArrayIterator::operator+=(unsigned int) [with ValueType = llvm::codeview::CVRecord; Extractor = llvm::VarStreamArrayExtractor >; llvm::VarStreamArrayIterator::IterType = llvm::VarStreamArrayIterator, llvm::VarStreamArrayExtractor > >]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/iterator.h:123:55: required from 'DerivedT& llvm::iterator_facade_base::operator++() [with DerivedT = llvm::VarStreamArrayIterator, llvm::VarStreamArrayExtractor > >; IteratorCategoryT = std::forward_iterator_tag; T = llvm::codeview::CVRecord; DifferenceTypeT = long int; PointerT = llvm::codeview::CVRecord*; ReferenceT = llvm::codeview::CVRecord&]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/YAMLOutputStyle.cpp:269:48: required from here /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:103:24: warning: redundant move in return statement [-Wredundant-move] 103 | return std::move(EC); | ^ /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:103:24: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:110:24: warning: redundant move in return statement [-Wredundant-move] 110 | return std::move(EC); | ^ /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:110:24: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h: In instantiation of 'llvm::Expected > llvm::codeview::readCVRecordFromStream(llvm::BinaryStreamRef, uint32_t) [with Kind = llvm::codeview::TypeLeafKind; uint32_t = unsigned int]': /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:120:62: required from 'llvm::Error llvm::VarStreamArrayExtractor >::operator()(llvm::BinaryStreamRef, uint32_t&, llvm::codeview::CVRecord&) [with Kind = llvm::codeview::TypeLeafKind; uint32_t = unsigned int]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h:213:14: required from 'llvm::VarStreamArrayIterator::IterType& llvm::VarStreamArrayIterator::operator+=(unsigned int) [with ValueType = llvm::codeview::CVRecord; Extractor = llvm::VarStreamArrayExtractor >; llvm::VarStreamArrayIterator::IterType = llvm::VarStreamArrayIterator, llvm::VarStreamArrayExtractor > >]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/ADT/iterator.h:123:55: required from 'DerivedT& llvm::iterator_facade_base::operator++() [with DerivedT = llvm::VarStreamArrayIterator, llvm::VarStreamArrayExtractor > >; IteratorCategoryT = std::forward_iterator_tag; T = llvm::codeview::CVRecord; DifferenceTypeT = long int; PointerT = llvm::codeview::CVRecord*; ReferenceT = llvm::codeview::CVRecord&]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-pdbutil/YAMLOutputStyle.cpp:293:39: required from here /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:103:24: warning: redundant move in return statement [-Wredundant-move] 103 | return std::move(EC); | ^ /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:103:24: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:110:24: warning: redundant move in return statement [-Wredundant-move] 110 | return std::move(EC); | ^ /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:110:24: note: remove 'std::move' call [ 94%] Linking CXX executable ../../bin/llvm-pdbutil make[3]: Leaving directory '/tmp/instance-0/output-1/build/host-llvm-9.0.1/buildroot-build' [ 94%] Built target llvm-pdbutil make[3]: Entering directory '/tmp/instance-0/output-1/build/host-llvm-9.0.1/buildroot-build' Scanning dependencies of target RcTableGen make[3]: Leaving directory '/tmp/instance-0/output-1/build/host-llvm-9.0.1/buildroot-build' make[3]: Entering directory '/tmp/instance-0/output-1/build/host-llvm-9.0.1/buildroot-build' [ 94%] Building Opts.inc... make[3]: Leaving directory '/tmp/instance-0/output-1/build/host-llvm-9.0.1/buildroot-build' [ 94%] Built target RcTableGen make[3]: Entering directory '/tmp/instance-0/output-1/build/host-llvm-9.0.1/buildroot-build' Scanning dependencies of target llvm-rc make[3]: Leaving directory '/tmp/instance-0/output-1/build/host-llvm-9.0.1/buildroot-build' make[3]: Entering directory '/tmp/instance-0/output-1/build/host-llvm-9.0.1/buildroot-build' [ 94%] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/llvm-rc.cpp.o [ 94%] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/ResourceFileWriter.cpp.o [ 94%] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/ResourceScriptCppFilter.cpp.o [ 94%] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/ResourceScriptParser.cpp.o /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp: In member function 'llvm::Expected llvm::rc::RCParser::parseIntExpr2()': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:213:5: note: in expansion of macro 'RETURN_IF_ERROR' 213 | RETURN_IF_ERROR(consumeType(Kind::RightParen)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:213:5: note: in expansion of macro 'RETURN_IF_ERROR' 213 | RETURN_IF_ERROR(consumeType(Kind::RightParen)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp: In lambda function: /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:298:23: warning: redundant move in return statement [-Wredundant-move] 298 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:298:23: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp: In member function 'llvm::Expected > llvm::rc::RCParser::readIntsWithCommas(size_t, size_t)': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:318:19: warning: redundant move in return statement [-Wredundant-move] 318 | return std::move(Result); | ~~~~~~~~~^~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:318:19: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp: In member function 'llvm::Expected llvm::rc::RCParser::parseOptionalStatements(llvm::rc::RCParser::OptStmtType)': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:389:19: warning: redundant move in return statement [-Wredundant-move] 389 | return std::move(Result); | ~~~~~~~~~^~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:389:19: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp: In member function 'llvm::rc::RCParser::ParseType llvm::rc::RCParser::parseAcceleratorsResource()': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:429:3: note: in expansion of macro 'RETURN_IF_ERROR' 429 | RETURN_IF_ERROR(consumeType(Kind::BlockBegin)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:429:3: note: in expansion of macro 'RETURN_IF_ERROR' 429 | RETURN_IF_ERROR(consumeType(Kind::BlockBegin)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:436:5: note: in expansion of macro 'RETURN_IF_ERROR' 436 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:436:5: note: in expansion of macro 'RETURN_IF_ERROR' 436 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:445:19: warning: redundant move in return statement [-Wredundant-move] 445 | return std::move(Accels); | ~~~~~~~~~^~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:445:19: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp: In member function 'llvm::rc::RCParser::ParseType llvm::rc::RCParser::parseDialogResource(bool)': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:487:19: warning: redundant move in return statement [-Wredundant-move] 487 | return std::move(Dialog); | ~~~~~~~~~^~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:487:19: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp: In member function 'llvm::rc::RCParser::ParseType llvm::rc::RCParser::parseUserDefinedResource(llvm::rc::IntOrString)': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:506:3: note: in expansion of macro 'RETURN_IF_ERROR' 506 | RETURN_IF_ERROR(consumeType(Kind::BlockBegin)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:506:3: note: in expansion of macro 'RETURN_IF_ERROR' 506 | RETURN_IF_ERROR(consumeType(Kind::BlockBegin)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:513:7: note: in expansion of macro 'RETURN_IF_ERROR' 513 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:513:7: note: in expansion of macro 'RETURN_IF_ERROR' 513 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp: In member function 'llvm::Expected llvm::rc::RCParser::parseControl()': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:550:5: note: in expansion of macro 'RETURN_IF_ERROR' 550 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:550:5: note: in expansion of macro 'RETURN_IF_ERROR' 550 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:555:3: note: in expansion of macro 'RETURN_IF_ERROR' 555 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:555:3: note: in expansion of macro 'RETURN_IF_ERROR' 555 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:562:5: note: in expansion of macro 'RETURN_IF_ERROR' 562 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:562:5: note: in expansion of macro 'RETURN_IF_ERROR' 562 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:565:5: note: in expansion of macro 'RETURN_IF_ERROR' 565 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:565:5: note: in expansion of macro 'RETURN_IF_ERROR' 565 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp: In member function 'llvm::Expected llvm::rc::RCParser::parseMenuItemsList()': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:627:3: note: in expansion of macro 'RETURN_IF_ERROR' 627 | RETURN_IF_ERROR(consumeType(Kind::BlockBegin)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:627:3: note: in expansion of macro 'RETURN_IF_ERROR' 627 | RETURN_IF_ERROR(consumeType(Kind::BlockBegin)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:661:7: note: in expansion of macro 'RETURN_IF_ERROR' 661 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:661:7: note: in expansion of macro 'RETURN_IF_ERROR' 661 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:682:19: warning: redundant move in return statement [-Wredundant-move] 682 | return std::move(List); | ~~~~~~~~~^~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:682:19: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp: In member function 'llvm::rc::RCParser::ParseType llvm::rc::RCParser::parseStringTableResource()': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:689:3: note: in expansion of macro 'RETURN_IF_ERROR' 689 | RETURN_IF_ERROR(consumeType(Kind::BlockBegin)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:689:3: note: in expansion of macro 'RETURN_IF_ERROR' 689 | RETURN_IF_ERROR(consumeType(Kind::BlockBegin)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:705:19: warning: redundant move in return statement [-Wredundant-move] 705 | return std::move(Table); | ~~~~~~~~~^~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:705:19: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp: In member function 'llvm::Expected > llvm::rc::RCParser::parseVersionInfoBlockContents(llvm::StringRef)': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:710:3: note: in expansion of macro 'RETURN_IF_ERROR' 710 | RETURN_IF_ERROR(consumeType(Kind::BlockBegin)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:710:3: note: in expansion of macro 'RETURN_IF_ERROR' 710 | RETURN_IF_ERROR(consumeType(Kind::BlockBegin)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:721:19: warning: redundant move in return statement [-Wredundant-move] 721 | return std::move(Contents); | ~~~~~~~~~^~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:721:19: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp: In member function 'llvm::Expected > llvm::rc::RCParser::parseVersionInfoStmt()': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:740:5: note: in expansion of macro 'RETURN_IF_ERROR' 740 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:740:5: note: in expansion of macro 'RETURN_IF_ERROR' 740 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp: In member function 'llvm::rc::RCParser::ParseOptionType llvm::rc::RCParser::parseFontStmt(llvm::rc::RCParser::OptStmtType)': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: warning: redundant move in return statement [-Wredundant-move] 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:811:3: note: in expansion of macro 'RETURN_IF_ERROR' 811 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:22:21: note: remove 'std::move' call 22 | return std::move(Err); | ~~~~~~~~~^~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptParser.cpp:811:3: note: in expansion of macro 'RETURN_IF_ERROR' 811 | RETURN_IF_ERROR(consumeType(Kind::Comma)); | ^~~~~~~~~~~~~~~ [ 94%] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/ResourceScriptStmt.cpp.o [ 94%] Building CXX object tools/llvm-rc/CMakeFiles/llvm-rc.dir/ResourceScriptToken.cpp.o /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptToken.cpp: In member function 'llvm::Expected > {anonymous}::Tokenizer::run()': /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptToken.cpp:173:23: warning: redundant move in return statement [-Wredundant-move] 173 | return std::move(TokenError); | ~~~~~~~~~^~~~~~~~~~~~ /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-rc/ResourceScriptToken.cpp:173:23: note: remove 'std::move' call [ 94%] Linking CXX executable ../../bin/llvm-rc make[3]: Leaving directory '/tmp/instance-0/output-1/build/host-llvm-9.0.1/buildroot-build' [ 94%] Built target llvm-rc make[3]: Entering directory '/tmp/instance-0/output-1/build/host-llvm-9.0.1/buildroot-build' Scanning dependencies of target llvm-readobj make[3]: Leaving directory '/tmp/instance-0/output-1/build/host-llvm-9.0.1/buildroot-build' make[3]: Entering directory '/tmp/instance-0/output-1/build/host-llvm-9.0.1/buildroot-build' [ 94%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ARMWinEHPrinter.cpp.o [ 94%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/COFFDumper.cpp.o In file included from /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVTypeVisitor.h:12, from /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-readobj/COFFDumper.cpp:24: /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h: In instantiation of 'llvm::Expected > llvm::codeview::readCVRecordFromStream(llvm::BinaryStreamRef, uint32_t) [with Kind = llvm::codeview::TypeLeafKind; uint32_t = unsigned int]': /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:120:62: required from 'llvm::Error llvm::VarStreamArrayExtractor >::operator()(llvm::BinaryStreamRef, uint32_t&, llvm::codeview::CVRecord&) [with Kind = llvm::codeview::TypeLeafKind; uint32_t = unsigned int]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h:164:12: required from 'llvm::VarStreamArrayIterator::VarStreamArrayIterator(const ArrayType&, const Extractor&, uint32_t, bool*) [with ValueType = llvm::codeview::CVRecord; Extractor = llvm::VarStreamArrayExtractor >; llvm::VarStreamArrayIterator::ArrayType = llvm::VarStreamArray >; uint32_t = unsigned int]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/Support/BinaryStreamArray.h:105:12: required from 'llvm::VarStreamArray::Iterator llvm::VarStreamArray::begin(bool*) const [with ValueType = llvm::codeview::CVRecord; Extractor = llvm::VarStreamArrayExtractor >; llvm::VarStreamArray::Iterator = llvm::VarStreamArrayIterator, llvm::VarStreamArrayExtractor > >]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/TypeHashing.h:113:5: required from 'static std::vector llvm::codeview::GloballyHashedType::hashTypes(Range&&) [with Range = llvm::VarStreamArray >&]' /tmp/instance-0/output-1/build/host-llvm-9.0.1/tools/llvm-readobj/COFFDumper.cpp:1242:48: required from here /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:103:24: warning: redundant move in return statement [-Wredundant-move] 103 | return std::move(EC); | ^ /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:103:24: note: remove 'std::move' call /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:110:24: warning: redundant move in return statement [-Wredundant-move] 110 | return std::move(EC); | ^ /tmp/instance-0/output-1/build/host-llvm-9.0.1/include/llvm/DebugInfo/CodeView/CVRecord.h:110:24: note: remove 'std::move' call [ 94%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/COFFImportDumper.cpp.o [ 94%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ELFDumper.cpp.o [ 94%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/Error.cpp.o [ 94%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/llvm-readobj.cpp.o [ 94%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/MachODumper.cpp.o [ 94%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/ObjDumper.cpp.o [ 94%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/WasmDumper.cpp.o [ 94%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/Win64EHDumper.cpp.o [ 94%] Building CXX object tools/llvm-readobj/CMakeFiles/llvm-readobj.dir/WindowsResourceDumper.cpp.o