Unreal Editor Crashing During Build or Packaging Process

The issue occurs during the build or packaging process of the project.

Indeed it sometimes crashes, and always leaves log, you can read what was last successful operation, and sometimes what is error and what caused crash.