Download

How do I get more logging from this failed compilation?

We are building Unreal using Fastbuild and our builds are only 80% reliable. We can rebuild exactly the same changelist from our perforce, on the same machine and get a different result. This insanity is causing us real production problems.

We have enabled the


-distverbose

flag from fastbuild and now we can see we have some connection issues but these are preexisting. Getting a 0x1/error code 5 error message without an error line means we are struggling to resolve this until we have learned how to output the error. Does anyone have any experience in cranking up the logging while building?

What typically we see in our builds is:



[09:10:53] : Step 1/5: Clean Intermediates and Previous Artifacts. (PowerShell) (37s)
[09:10:53] :     [Step 1/5] PowerShell Executable: C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
[09:10:53] :     [Step 1/5] Working directory: E:\work\589b4cf22cf0c359
[09:10:53] :     [Step 1/5] Command: C:\Windows\sysnative\WindowsPowerShell\v1.0\powershell.exe
[09:10:53] :     [Step 1/5] PowerShell arguments: -NoProfile, -NonInteractive, -ExecutionPolicy, ByPass, -File, C:\BuildAgent	emp\buildTmp\powershell3748933170086498994.ps1
[09:10:53] :     [Step 1/5] Cleaning PROJECT Binaries...
[09:10:55] :     [Step 1/5] Performing full C++ include scan (building a new target)
[09:11:31] :     [Step 1/5] Process exited with code 0
[09:11:31] : Step 2/5: Set Unreal Version (Command Line) (6s)
[09:11:31] :     [Step 2/5] Starting: C:\BuildAgent	emp\agentTmp\custom_script2674964697267655312.cmd
[09:11:31] :     [Step 2/5] in directory: E:\work\589b4cf22cf0c359
[09:11:31] :     [Step 2/5] Running AutomationTool...
[09:11:32] :     [Step 2/5] Parsing command line: UpdateLocalVersion -project=Projects\PROJECT\PROJECT.uproject -P4 -compile
[09:11:32] :     [Step 2/5] Compiling scripts.
[09:11:33] :     [Step 2/5]     DotNETUtilities -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\DotNETUtilities.dll
[09:11:33] :     [Step 2/5]     UnrealBuildTool -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\UnrealBuildTool.exe
[09:11:33] :     [Step 2/5]     AutomationUtils.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationUtils.Automation.dll
[09:11:33] :     [Step 2/5]     AllDesktop.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\AllDesktop\AllDesktop.Automation.dll
[09:11:33] :     [Step 2/5]     Localization.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\Localization.Automation.dll
[09:11:33] :     [Step 2/5]     OneSkyLocalization.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\OneSkyLocalization.Automation.dll
[09:11:33] :     [Step 2/5]     AutomationScripts.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll
[09:11:33] :     [Step 2/5]     Android.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\Android\Android.Automation.dll
[09:11:33] :     [Step 2/5]     BuildGraph.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\BuildGraph.Automation.dll
[09:11:34] :     [Step 2/5]     HTML5.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\HTML5\HTML5.Automation.dll
[09:11:34] :     [Step 2/5]     MobileDeviceInterface -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\IOS\MobileDeviceInterface.dll
[09:11:34] :     [Step 2/5]     IOS.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\IOS\IOS.Automation.dll
[09:11:34] :     [Step 2/5]     Linux.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\Linux\Linux.Automation.dll
[09:11:34] :     [Step 2/5]     Mac.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\Mac\Mac.Automation.dll
[09:11:34] :     [Step 2/5]     PS4.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\PS4\PS4.Automation.dll
[09:11:34] :     [Step 2/5]     TVOS.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\TVOS\TVOS.Automation.dll
[09:11:34] :     [Step 2/5]     Win.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\Win.Automation.dll
[09:11:34] :     [Step 2/5]     XBoxOne.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\XboxOne\XBoxOne.Automation.dll
[09:11:34] :     [Step 2/5]     XLocLocalization.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\XLocLocalization.Automation.dll
[09:11:34] :     [Step 2/5] Took 1.7930735s to run MSBuild.exe, ExitCode=0
[09:11:36] :     [Step 2/5] Rejecting client because of different Host TC_p4_PROJECT03_ws_589b4cf22cf0c359_95312ec3ad8943c5 "PROJECT03-machine" != "PROJECT02-machine"
[09:11:36] :     [Step 2/5] Using user builduser clientspec TC_p4_PROJECT02_ws_589b4cf22cf0c359_95312ec3ad8943c5 E:\work\589b4cf22cf0c359
[09:11:37] :     [Step 2/5] Detected Perforce Settings:
[09:11:37] :     [Step 2/5]   Server: Perforce:1666
[09:11:37] :     [Step 2/5]   User: builduser
[09:11:37] :     [Step 2/5]   Client: TC_p4_PROJECT02_ws_589b4cf22cf0c359_95312ec3ad8943c5
[09:11:37] :     [Step 2/5]   Branch: //PROJECT/Dev_Company
[09:11:37] :     [Step 2/5]   Last Change: 1358383
[09:11:37] :     [Step 2/5]   Last Code Change: 1357840
[09:11:37] :     [Step 2/5] Read 4.19.2 from E:\work\589b4cf22cf0c359\Engine\Source\Runtime\Launch\Resources\Version.h
[09:11:37] :     [Step 2/5] BUILD SUCCESSFUL
[09:11:37] :     [Step 2/5] AutomationTool exiting with ExitCode=0 (Success)
[09:11:37] :     [Step 2/5] Process exited with code 0
[09:11:37]E: Step 3/5: Build Client (Command Line) (1m:23s)
[09:11:38] :     [Step 3/5] Starting: C:\BuildAgent	emp\agentTmp\custom_script2099268625740764335.cmd
[09:11:38] :     [Step 3/5] in directory: E:\work\589b4cf22cf0c359
[09:11:38] :     [Step 3/5] Running AutomationTool...
[09:11:39] :     [Step 3/5] Parsing command line: BuildCookRun -project=Projects\PROJECT\PROJECT.uproject -noP4 -cook -iterativecooking -stage -archive -utf8output -pak -compile -build -package -client -unversionedcookedcontent -targetplatform=Win64 -ue4exe=UE4Editor-Cmd.exe -archivedirectory=.\\PackagedBuild\\WindowsTestClient -clientconfig=Test -serverconfig=Test -compile
[09:11:39] :     [Step 3/5] Compiling scripts.
[09:11:39] :     [Step 3/5]     DotNETUtilities -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\DotNETUtilities.dll
[09:11:40] :     [Step 3/5]     UnrealBuildTool -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\UnrealBuildTool.exe
[09:11:40] :     [Step 3/5]     AutomationUtils.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationUtils.Automation.dll
[09:11:40] :     [Step 3/5]     AllDesktop.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\AllDesktop\AllDesktop.Automation.dll
[09:11:40] :     [Step 3/5]     Localization.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\Localization.Automation.dll
[09:11:40] :     [Step 3/5]     OneSkyLocalization.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\OneSkyLocalization.Automation.dll
[09:11:40] :     [Step 3/5]     AutomationScripts.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\AutomationScripts.Automation.dll
[09:11:40] :     [Step 3/5]     Android.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\Android\Android.Automation.dll
[09:11:40] :     [Step 3/5]     BuildGraph.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\BuildGraph.Automation.dll
[09:11:40] :     [Step 3/5]     HTML5.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\HTML5\HTML5.Automation.dll
[09:11:40] :     [Step 3/5]     MobileDeviceInterface -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\IOS\MobileDeviceInterface.dll
[09:11:40] :     [Step 3/5]     IOS.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\IOS\IOS.Automation.dll
[09:11:41] :     [Step 3/5]     Linux.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\Linux\Linux.Automation.dll
[09:11:41] :     [Step 3/5]     Mac.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\Mac\Mac.Automation.dll
[09:11:41] :     [Step 3/5]     PS4.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\PS4\PS4.Automation.dll
[09:11:41] :     [Step 3/5]     TVOS.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\TVOS\TVOS.Automation.dll
[09:11:41] :     [Step 3/5]     Win.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\Win.Automation.dll
[09:11:41] :     [Step 3/5]     XBoxOne.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\XboxOne\XBoxOne.Automation.dll
[09:11:41] :     [Step 3/5]     XLocLocalization.Automation -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\AutomationScripts\XLocLocalization.Automation.dll
[09:11:41] :     [Step 3/5] Took 1.6568176s to run MSBuild.exe, ExitCode=0
[09:11:41] :     [Step 3/5] Setting up ProjectParams for E:\work\589b4cf22cf0c359\Projects\PROJECT\PROJECT.uproject
[09:11:41] :     [Step 3/5] ********** BUILD COMMAND STARTED **********
[09:11:41] :     [Step 3/5] Running: C:\Program Files (x86)\MSBuild\14.0\bin\MSBuild.exe E:/work/589b4cf22cf0c359/Engine/Source/Programs/UnrealBuildTool/UnrealBuildTool.csproj /verbosity:minimal /nologo /property:Configuration=Development /property:Platform=AnyCPU
[09:11:42] :     [Step 3/5]     DotNETUtilities -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\DotNETUtilities.dll
[09:11:42] :     [Step 3/5]     UnrealBuildTool -> E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\UnrealBuildTool.exe
[09:11:42] :     [Step 3/5] Took 0.1669687s to run MSBuild.exe, ExitCode=0
[09:11:42] :     [Step 3/5] Running: E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\UnrealBuildTool.exe PROJECTEditor Win64 Development -Project=E:\work\589b4cf22cf0c359\Projects\PROJECT\PROJECT.uproject  E:\work\589b4cf22cf0c359\Projects\PROJECT\PROJECT.uproject -NoUBTMakefiles  -noxge -generatemanifest -NoHotReload
[09:11:43] :     [Step 3/5] Took 1.8435566s to run UnrealBuildTool.exe, ExitCode=0
[09:11:43] :     [Step 3/5] Running: E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\UnrealBuildTool.exe PROJECTEditor Win64 Development -Project=E:\work\589b4cf22cf0c359\Projects\PROJECT\PROJECT.uproject  E:\work\589b4cf22cf0c359\Projects\PROJECT\PROJECT.uproject -NoUBTMakefiles  -noxge -NoHotReload -ignorejunk
[09:11:50] :     [Step 3/5]   Building UnrealHeaderTool...
[09:11:51] :     [Step 3/5]   Creating makefile for UnrealHeaderTool (no existing makefile)
[09:11:51] :     [Step 3/5]   Performing full C++ include scan (no include cache file)
[09:11:52] :     [Step 3/5]   FastBuild Cmd: ..\Extras\Redist\FastBuild\FBuild.exe -monitor -summary -dist -cacheread -ide -clean -distverbose -config E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\fbuild.bff
[09:11:52] :     [Step 3/5]   Distributed Compilation : 4 Workers in pool
[09:11:52] :     [Step 3/5]   Connecting to: PROJECT04-machine
[09:11:52] :     [Step 3/5]   4> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool\PCLaunch.rc.res
[09:11:52] :     [Step 3/5]   8> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\PCLaunch.rc.res
[09:11:52] :     [Step 3/5]   1> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\ModuleVersionResource.rc.inl.res
[09:11:52] :     [Step 3/5]   5> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Json\PCLaunch.rc.res
[09:11:52] :     [Step 3/5]   2> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Projects\PCLaunch.rc.res
[09:11:52] :     [Step 3/5]   3> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\PCLaunch.rc.res
[09:11:52] :     [Step 3/5]   7> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\ApplicationCore\PCLaunch.rc.res
[09:11:52] :     [Step 3/5]   2> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool\Module.UnrealHeaderTool.cpp.obj
[09:11:52] :     [Step 3/5]   7> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\PCH.CoreUObject.h.pch
[09:11:52] :     [Step 3/5]   8> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\SharedPCH.Core.h.pch
[09:11:52] :     [Step 3/5]   1> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\PCH.Core.h.pch
[09:11:53] :     [Step 3/5]   3> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool\Module.UnrealHeaderTool.cpp.obj <LOCAL>
[09:11:53] :     [Step 3/5]   2> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\SharedPCH.Core.obj
[09:11:54] :     [Step 3/5]   4> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\SharedPCH.Core.obj <LOCAL>
[09:11:54] :     [Step 3/5]   5> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Json\Module.Json.cpp.obj
[09:11:54] :     [Step 3/5]   2> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Projects\Module.Projects.cpp.obj
[09:11:54] :     [Step 3/5]   8> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\ApplicationCore\Module.ApplicationCore.cpp.obj
[09:11:54] :     [Step 3/5]    - connection: PROJECT04-machine (FAILED)
[09:11:54] :     [Step 3/5]   Connecting to: PROJECT03-machine
[09:11:54] :     [Step 3/5]    - connection: PROJECT03-machine (OK)
[09:11:54] :     [Step 3/5]   Connecting to: PROJECT05-machine
[09:11:54] :     [Step 3/5]    - connection: PROJECT05-machine (OK)
[09:11:54] :     [Step 3/5]   Connecting to: PROJECT01-machine
[09:11:54] :     [Step 3/5]    - connection: PROJECT01-machine (OK)
[09:11:54] :     [Step 3/5]   4> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Json\Module.Json.cpp.obj <LOCAL>
[09:11:54] :     [Step 3/5]   6> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Projects\Module.Projects.cpp.obj <LOCAL>
[09:11:55] :     [Step 3/5]   5> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\ApplicationCore\Module.ApplicationCore.cpp.obj <LOCAL>
[09:11:55] :     [Step 3/5]   8> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\PCH.Core.obj
[09:11:56] :     [Step 3/5]   2> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\PCH.Core.obj <LOCAL>
[09:11:56] :     [Step 3/5]   1> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.9_of_9.cpp.obj
[09:11:56] :     [Step 3/5]   8> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.7_of_9.cpp.obj
[09:11:56] :     [Step 3/5]   2> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.8_of_9.cpp.obj
[09:11:56] :     [Step 3/5]   2> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.6_of_9.cpp.obj
[09:11:56] :     [Step 3/5]   -> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.8_of_9.cpp.obj <REMOTE: PROJECT05-machine>
[09:11:57] :     [Step 3/5]   8> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.5_of_9.cpp.obj
[09:11:57] :     [Step 3/5]   -> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.7_of_9.cpp.obj <REMOTE: PROJECT05-machine>
[09:11:57] :     [Step 3/5]   2> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.4_of_9.cpp.obj
[09:11:57] :     [Step 3/5]   -> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.6_of_9.cpp.obj <REMOTE: PROJECT05-machine>
[09:11:58] :     [Step 3/5]   8> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.3_of_9.cpp.obj
[09:11:58] :     [Step 3/5]   -> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.5_of_9.cpp.obj <REMOTE: PROJECT05-machine>
[09:11:58] :     [Step 3/5]   1> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.2_of_9.cpp.obj
[09:11:58] :     [Step 3/5]   -> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.9_of_9.cpp.obj <REMOTE: PROJECT01-machine>
[09:11:58] :     [Step 3/5]   2> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.1_of_9.cpp.obj
[09:11:58] :     [Step 3/5]   -> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.4_of_9.cpp.obj <REMOTE: PROJECT05-machine>
[09:11:58] :     [Step 3/5]   7> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.4_of_9.cpp.obj <LOCAL RACE>
[09:11:59] :     [Step 3/5]   8> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\PCH.CoreUObject.obj
[09:11:59] :     [Step 3/5]   -> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.3_of_9.cpp.obj <REMOTE: PROJECT01-machine>
[09:11:59] :     [Step 3/5]   2> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.1_of_9.cpp.obj <LOCAL>
[09:11:59] :     [Step 3/5]   1> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.2_of_9.cpp.obj <LOCAL>
[09:12:00] :     [Step 3/5]   8> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\PCH.CoreUObject.obj <LOCAL>
[09:12:00] :     [Step 3/5]   8> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.3_of_9.cpp.obj <LOCAL RACE>
[09:12:00] :     [Step 3/5]   Got Result: PROJECT05-machine - E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.7_of_9.cpp.obj
[09:12:00] :     [Step 3/5]   6> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.9_of_9.cpp.obj <LOCAL RACE>
[09:12:01] :     [Step 3/5]   5> WARNING: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\ApplicationCore\Module.ApplicationCore.cpp.obj
[09:12:01] :     [Step 3/5]   Module.ApplicationCore.cpp
[09:12:01] :     [Step 3/5]   E:\work\589b4cf22cf0c359\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp(2444): warning C4628: digraphs not supported with -Ze. Character sequence '<:' not interpreted as alternate token for ''
[09:12:01] :     [Step 3/5]   E:\work\589b4cf22cf0c359\Engine\Source\Runtime\ApplicationCore\Private\Windows\WindowsApplication.cpp(2448): warning C4628: digraphs not supported with -Ze. Character sequence '<:' not interpreted as alternate token for ''
[09:12:01] :     [Step 3/5]   E:\work\589b4cf22cf0c359\Engine\Source\ThirdParty\Windows\DirectX\include\d2d1helper.h(86): warning C4628: digraphs not supported with -Ze. Character sequence '<:' not interpreted as alternate token for ''
[09:12:01] :     [Step 3/5]   E:\work\589b4cf22cf0c359\Engine\Source\ThirdParty\Windows\DirectX\include\d2d1helper.h(119): warning C4628: digraphs not supported with -Ze. Character sequence '<:' not interpreted as alternate token for ''
[09:12:01] :     [Step 3/5]   E:\work\589b4cf22cf0c359\Engine\Source\ThirdParty\Windows\DirectX\include\d2d1helper.h(156): warning C4628: digraphs not supported with -Ze. Character sequence '<:' not interpreted as alternate token for ''
[09:12:01] :     [Step 3/5]   E:\work\589b4cf22cf0c359\Engine\Source\ThirdParty\Windows\DirectX\include\d2d1helper.h(425): warning C4628: digraphs not supported with -Ze. Character sequence '<:' not interpreted as alternate token for ''
[09:12:01] :     [Step 3/5]   E:\work\589b4cf22cf0c359\Engine\Source\ThirdParty\Windows\DirectX\include\d2d1helper.h(680): warning C4628: digraphs not supported with -Ze. Character sequence '<:' not interpreted as alternate token for ''
[09:12:01] :     [Step 3/5]   E:\work\589b4cf22cf0c359\Engine\Source\ThirdParty\Windows\DirectX\include\d2d1helper.h(681): warning C4628: digraphs not supported with -Ze. Character sequence '<:' not interpreted as alternate token for ''
[09:12:01] :     [Step 3/5]   E:\work\589b4cf22cf0c359\Engine\Source\ThirdParty\Windows\DirectX\include\d2d1helper.h(682): warning C4628: digraphs not supported with -Ze. Character sequence '<:' not interpreted as alternate token for ''
[09:12:01] :     [Step 3/5]   5> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.1_of_6.cpp.obj
[09:12:02] :     [Step 3/5]   5> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.5_of_6.cpp.obj
[09:12:02] :     [Step 3/5]   -> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.1_of_6.cpp.obj <REMOTE: PROJECT05-machine>
[09:12:02] :     [Step 3/5]   6> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.6_of_6.cpp.obj
[09:12:02] :     [Step 3/5]   Got Result: PROJECT01-machine - E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.9_of_9.cpp.obj (Won Race)
[09:12:03] :     [Step 3/5]   5> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.3_of_6.cpp.obj
[09:12:03] :     [Step 3/5]   -> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.5_of_6.cpp.obj <REMOTE: PROJECT05-machine>
[09:12:03] :     [Step 3/5]   6> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.2_of_6.cpp.obj
[09:12:03] :     [Step 3/5]   -> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.6_of_6.cpp.obj <REMOTE: PROJECT01-machine>
[09:12:04] :     [Step 3/5]   7> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.4_of_6.cpp.obj
[09:12:04] :     [Step 3/5]   Got Result: PROJECT05-machine - E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.4_of_9.cpp.obj (Won Race)
[09:12:04] :     [Step 3/5]   5> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.3_of_6.cpp.obj <LOCAL>
[09:12:04] :     [Step 3/5]   Connecting to: PROJECT04-machine
[09:12:04] :     [Step 3/5]   6> Lib: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Projects.lib
[09:12:05] :     [Step 3/5]   6> WARNING: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Projects.lib
[09:12:05] :     [Step 3/5]   E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Projects\Module.Projects.cpp.obj : warning LNK4042: object specified more than once; extras ignored
[09:12:05] :     [Step 3/5]      Creating library E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Projects.lib and object E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Projects.exp
[09:12:05] :     [Step 3/5]   6> Lib: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-ApplicationCore.lib
[09:12:05] :     [Step 3/5]   7> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.2_of_6.cpp.obj <LOCAL>
[09:12:05] :     [Step 3/5]   6> WARNING: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-ApplicationCore.lib
[09:12:05] :     [Step 3/5]   E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\ApplicationCore\Module.ApplicationCore.cpp.obj : warning LNK4042: object specified more than once; extras ignored
[09:12:05] :     [Step 3/5]      Creating library E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-ApplicationCore.lib and object E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-ApplicationCore.exp
[09:12:05] :     [Step 3/5]   6> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.4_of_6.cpp.obj <LOCAL>
[09:12:05] :     [Step 3/5]   4> Lib: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Json.lib
[09:12:06] :     [Step 3/5]   4> WARNING: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Json.lib
[09:12:06] :     [Step 3/5]   E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Json\Module.Json.cpp.obj : warning LNK4042: object specified more than once; extras ignored
[09:12:06] :     [Step 3/5]      Creating library E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Json.lib and object E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Json.exp
[09:12:06] :     [Step 3/5]   4> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.6_of_6.cpp.obj <LOCAL RACE>
[09:12:06] :     [Step 3/5]    - connection: PROJECT04-machine (FAILED)
[09:12:06] :     [Step 3/5]   Got Result: PROJECT05-machine - E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.6_of_9.cpp.obj
[09:12:06] :     [Step 3/5]   Got Result: PROJECT05-machine - E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.5_of_9.cpp.obj
[09:12:07] :     [Step 3/5]   Got Result: PROJECT05-machine - E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.8_of_9.cpp.obj
[09:12:08] :     [Step 3/5]   Got Result: PROJECT01-machine - E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.3_of_9.cpp.obj (Won Race)
[09:12:08] :     [Step 3/5]   8> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.5_of_6.cpp.obj <LOCAL RACE>
[09:12:10] :     [Step 3/5]   1> Obj: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.1_of_6.cpp.obj <LOCAL RACE>
[09:12:11] :     [Step 3/5]   Got Result: PROJECT01-machine - E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.6_of_6.cpp.obj (Won Race)
[09:12:12] :     [Step 3/5]   Got Result: PROJECT05-machine - E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.1_of_6.cpp.obj (Won Race)
[09:12:15] :     [Step 3/5]   1> Lib: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool.lib
[09:12:15] :     [Step 3/5]   1> WARNING: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool.lib
[09:12:15] :     [Step 3/5]   E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool\Module.UnrealHeaderTool.cpp.obj : warning LNK4042: object specified more than once; extras ignored
[09:12:15] :     [Step 3/5]      Creating library E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool.lib and object E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool.exp
[09:12:16] :     [Step 3/5]   Connecting to: PROJECT04-machine
[09:12:18] :     [Step 3/5]    - connection: PROJECT04-machine (FAILED)
[09:12:20] :     [Step 3/5]   6> PROBLEM: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.4_of_6.cpp.obj
[09:12:20] :     [Step 3/5]   Module.CoreUObject.4_of_6.cpp
[09:12:20] :     [Step 3/5]   6> Failed to build Object (error 0x1) 'E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.4_of_6.cpp.obj'
[09:12:20] :     [Step 3/5]   2> PROBLEM: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.1_of_9.cpp.obj
[09:12:20] :     [Step 3/5]   Module.Core.1_of_9.cpp
[09:12:20] :     [Step 3/5]   2> Failed to build Object (error 0x1) 'E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\Core\Module.Core.1_of_9.cpp.obj'
[09:12:20] :     [Step 3/5]   5> PROBLEM: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.3_of_6.cpp.obj
[09:12:20] :     [Step 3/5]   Module.CoreUObject.3_of_6.cpp
[09:12:20] :     [Step 3/5]   5> Failed to build Object (error 0x1) 'E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.3_of_6.cpp.obj'
[09:12:20] :     [Step 3/5]   7> PROBLEM: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.2_of_6.cpp.obj
[09:12:20] :     [Step 3/5]   Module.CoreUObject.2_of_6.cpp
[09:12:20] :     [Step 3/5]   7> Failed to build Object (error 0x1) 'E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\CoreUObject\Module.CoreUObject.2_of_6.cpp.obj'
[09:13:01] :     [Step 3/5]   ERROR: UBT ERROR: Failed to produce item: E:\work\589b4cf22cf0c359\Engine\Intermediate\Build\Win64\UnrealHeaderTool\Development\UnrealHeaderTool-Core.lib
[09:13:01] :     [Step 3/5]   Total build time: 70.07 seconds (FASTBuild executor: 0.00 seconds)
[09:13:01] :     [Step 3/5]   Error: UnrealHeaderTool failed for target 'PROJECTEditor' (platform: Win64, module info: E:\work\589b4cf22cf0c359\Projects\PROJECT\Intermediate\Build\Win64\PROJECTEditor\Development\PROJECTEditor.uhtmanifest, exit code: OtherCompilationError (5)).
[09:13:01] :     [Step 3/5] Took 77.1496779s to run UnrealBuildTool.exe, ExitCode=5
[09:13:01] :     [Step 3/5] ERROR: Command failed (Result:5): E:\work\589b4cf22cf0c359\Engine\Binaries\DotNET\UnrealBuildTool.exe PROJECTEditor Win64 Development -Project=E:\work\589b4cf22cf0c359\Projects\PROJECT\PROJECT.uproject  E:\work\589b4cf22cf0c359\Projects\PROJECT\PROJECT.uproject -NoUBTMakefiles  -noxge -NoHotReload -ignorejunk. See logfile for details: 'UnrealBuildTool-2018.07.31-09.11.43.txt' 
[09:13:01] :     [Step 3/5]        (see E:\work\589b4cf22cf0c359\Engine\Programs\AutomationTool\Saved\Logs\UAT_Log.txt for full exception trace)
[09:13:01] :     [Step 3/5] AutomationTool exiting with ExitCode=5 (5)
[09:13:01] :     [Step 3/5] BUILD FAILED
[09:13:01]W:     [Step 3/5] Process exited with code 5
[09:13:01]E:     [Step 3/5] Process exited with code 5
[09:13:01]E:     [Step 3/5] Step Build Client (Command Line) failed
[09:13:01]W: Step 4/5: Archive Artifacts (Command Line)
[09:13:01]W:     [Step 4/5] Build step Archive Artifacts (Command Line) is skipped because the previous step has failed
[09:13:01]W: Step 5/5: Copy Archive To PROJECTbuild-machine (Command Line)
[09:13:01]W:     [Step 5/5] Build step Copy Archive To PROJECTbuild-machine (Command Line) is skipped because the previous step has failed
[09:13:02] : Build finished


Did you check line 2444 of WindowsApplication.cpp to see if there’s extraneous characters there? It things you have c++ digraph in that file.