[163/194] Building CXX object test\ijw\CMakeFiles\ijw.dir\ijw.cpp.obj
FAILED: test/ijw/CMakeFiles/ijw.dir/ijw.cpp.obj
C:\PROGRA~1\MICROS~1\2022\ENTERP~1\VC\Tools\MSVC\1438~1.331\bin\Hostx86\x86\cl.exe /nologo /TP -DHOST_WINDOWS -DHOST_X86 -DNDEBUG -DTARGET_32BIT -DTARGET_WINDOWS -DTARGET_X86 -DURTBLDENV_FRIENDLY=Retail -D_FILE_OFFSET_BITS=64 -Dijw_EXPORTS /DWIN32 /D_WINDOWS /O2 /Ob2 /DNDEBUG -MD /Ox /nologo /W4 /WX /Oi /Oy- /Gm- /Zp8 /Gy /GS /fp:precise /FC /MP /Zm200 /Zc:strictStrings /Zc:wchar_t /Zc:inline /Zc:forScope /wd4065 /wd4100 /wd4127 /wd4131 /wd4189 /wd4200 /wd4201 /wd4206 /wd4239 /wd4245 /wd4291 /wd4310 /wd4324 /wd4366 /wd4456 /wd4457 /wd4458 /wd4459 /wd4463 /wd4505 /wd4702 /wd4706 /wd4733 /wd4815 /wd4838 /wd4918 /wd4960 /wd4961 /wd5105 /wd5205 /we4007 /we4013 /we4102 /we4551 /we4700 /we4640 /we4806 /w34092 /w34121 /w34125 /w34130 /w34132 /w34212 /w34530 /w35038 /w44177 /Zi /ZH:SHA_256 /source-charset:utf-8 /Gz /GL /we4456 /we4457 /we4458 /we4459 /wd4365 /wd4679 /clr:netcore /AID:\a\_work\1\s\.dotnet/packs/Microsoft.NETCore.App.Ref/7.0.13/ref/net7.0 /showIncludes /Fotest\ijw\CMakeFiles\ijw.dir\ijw.cpp.obj /Fdtest\ijw\CMakeFiles\ijw.dir\ /FS -c D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6): error C2220: the following warning is treated as an error
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6): warning C5271: consider replacing #using <System.Console.dll> with command line argument /FU "D:\a\_work\1\s\.dotnet\packs\Microsoft.NETCore.App.Ref\7.0.13\ref\net7.0\System.Console.dll"
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(7): warning C5271: consider replacing #using <System.Runtime.Loader.dll> with command line argument /FU "D:\a\_work\1\s\.dotnet\packs\Microsoft.NETCore.App.Ref\7.0.13\ref\net7.0\System.Runtime.Loader.dll"
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(7): note: to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
Building Custom Rule D:/a/_work/1/s/src/native/corehost/test/ijw/CMakeLists.txt
ijw.cpp
.NETCoreApp,Version=v7.0.AssemblyAttributes.cpp
D:\a\_work\1\s\artifacts\obj\ijw\x86\Release\.NETCoreApp,Version=v7.0.AssemblyAttributes.cpp(1,8): error C2220: the following warning is treated as an error [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\artifacts\obj\ijw\x86\Release\.NETCoreApp,Version=v7.0.AssemblyAttributes.cpp(1,8): warning C5271: consider replacing #using <mscorlib.dll> with command line argument /FU "D:\a\_work\1\s\.dotnet\packs\Microsoft.NETCore.App.Ref\7.0.13\ref\net7.0\mscorlib.dll" [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\artifacts\obj\ijw\x86\Release\.NETCoreApp,Version=v7.0.AssemblyAttributes.cpp(1,8): warning C5271: [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\artifacts\obj\ijw\x86\Release\.NETCoreApp,Version=v7.0.AssemblyAttributes.cpp(1,8):
to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6,8): error C2220: the following warning is treated as an error [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6,8): warning C5271: consider replacing #using <System.Console.dll> with command line argument /FU "D:\a\_work\1\s\.dotnet\packs\Microsoft.NETCore.App.Ref\7.0.13\ref\net7.0\System.Console.dll" [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6,8): warning C5271: [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(6,8):
to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(7,8): warning C5271: consider replacing #using <System.Runtime.Loader.dll> with command line argument /FU "D:\a\_work\1\s\.dotnet\packs\Microsoft.NETCore.App.Ref\7.0.13\ref\net7.0\System.Runtime.Loader.dll" [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(7,8): warning C5271: [D:\a\_work\1\s\artifacts\obj\win-x86.Release\corehost\ide\test\ijw\ijw.vcxproj]
D:\a\_work\1\s\src\native\corehost\test\ijw\ijw.cpp(7,8):
to simplify migration, consider the temporary use of /Wv:18 flag with the version of the compiler with which you used to build without warnings
{
"ErrorMessage": "",
"BuildRetry": false,
"ErrorPattern": "FAILED: .+ijw\.cpp\.obj",
"ExcludeConsoleLog": false
}
Error Blob
@akoeplinger @vitek-karas I opened an issue to link the failures to it.
Reproduction Steps
Build windows x86 release Runtime_DebugandBuild windows x86 release MSBuild_CMakeKnown issue validation
Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=520568
Error message validated:
warning C5271: consider replacing #usingResult validation: ✅ Known issue matched with the provided build.
Validation performed at: 1/10/2024 1:48:54 AM UTC
Report
Summary
Known Issue Error Message
Fill the error message using step by step known issues guidance.
{ "ErrorMessage": "", "BuildRetry": false, "ErrorPattern": "FAILED: .+ijw\.cpp\.obj", "ExcludeConsoleLog": false }