Project code compile error

Good evening everyone. I have a MacBook with the last macOS Ventura 13.4.1 version. I want to take experiment and work with Unreal Engine 4.27.2. But when I try to build C++ project my system is crashed and said that the project can’t be compiled. Tell me what’s wrong and how to fix it?
The text of error message:
"
The project could not be compiled. Would you like to open it in Xcode?

Running Mono…

Running bundled mono, version: Mono JIT compiler version 5.16.0.220 (2018-06/bb3ae37d71a Fri Nov 16 17:12:11 EST 2018)
/Users/Shared/Epic Games/Engine/UE_4.27/Engine /Users/Shared/Epic Games/Engine/UE_4.27/Engine/Binaries/Mac
Creating makefile for MyProjectEditor (no existing makefile)
@progress push 5%
Parsing headers for MyProjectEditor
Running UnrealHeaderTool “/Users/artemgrosev/Documents/Unreal Projects/MyProject/MyProject.uproject” “/Users/artemgrosev/Documents/Unreal Projects/MyProject/Intermediate/Build/Mac/x86_64/MyProjectEditor/Development/MyProjectEditor.uhtmanifest” -LogCmds=“loginit warning, logexit warning, logdatabase error” -Unattended -WarningsAsErrors -abslog=“/Users/artemgrosev/Library/Application Support/Epic/UnrealBuildTool/Log_UHT.txt” -installed
2024-01-24 22:58:54.249 UnrealHeaderTool[47813:535664] [UE4] Looking for binary: …/…/…/Engine/Programs/UnrealHeaderTool/Config/BinaryConfig.ini
LogInit: Display: Loading text-based GConfig…
Reflection code generated for MyProjectEditor in 8,6475677 seconds
@progress pop
Building MyProjectEditor…
Performing 13 actions (8 in parallel)
[1/13] Compile SharedPCH.Engine.ShadowErrors.h
In file included from /Users/artemgrosev/Documents/Unreal Projects/MyProject/Intermediate/Build/Mac/x86_64/MyProjectEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:52:
In file included from /Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/Core/Public/Misc/Compression.h:6:
/Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h:525:10: error: use of bitwise ‘&’ with boolean operands [-Werror,-Wbitwise-instead-of-logical]
return (ComparisonIndex == Other.ComparisonIndex) & (GetNumber() == Other.GetNumber());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&&
/Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h:525:10: note: cast one or both operands to int to silence this warning
/Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h:536:10: error: use of bitwise ‘&’ with boolean operands [-Werror,-Wbitwise-instead-of-logical]
return (ComparisonIndex == Ename) & (GetNumber() == 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&&
/Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h:536:10: note: cast one or both operands to int to silence this warning
/Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h:541:10: error: use of bitwise ‘|’ with boolean operands [-Werror,-Wbitwise-instead-of-logical]
return (ComparisonIndex != Ename) | (GetNumber() != 0);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
||
/Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/Core/Public/UObject/NameTypes.h:541:10: note: cast one or both operands to int to silence this warning
In file included from /Users/artemgrosev/Documents/Unreal Projects/MyProject/Intermediate/Build/Mac/x86_64/MyProjectEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:341:
In file included from /Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/SlateCore/Public/Widgets/SWidget.h:29:
In file included from /Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/SlateCore/Public/FastUpdate/WidgetProxy.h:15:
In file included from /Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/SlateCore/Public/Rendering/DrawElements.h:12:
In file included from /Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/SlateCore/Public/Fonts/FontCache.h:9:
/Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/SlateCore/Public/Textures/TextureAtlas.h:230:10: error: use of bitwise ‘&’ with boolean operands [-Werror,-Wbitwise-instead-of-logical]
return AtlasSlotRect != Other.AtlasSlotRect & TextureName != Other.TextureName;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&&
/Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/SlateCore/Public/Textures/TextureAtlas.h:230:10: note: cast one or both operands to int to silence this warning
In file included from /Users/artemgrosev/Documents/Unreal Projects/MyProject/Intermediate/Build/Mac/x86_64/MyProjectEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:452:
In file included from /Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/AssetRegistry/Public/AssetData.h:5:
In file included from /Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetData.h:17:
/Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetDataTagMap.h:36:32: error: use of bitwise ‘&’ with boolean operands [-Werror,-Wbitwise-instead-of-logical]
bool IsEmpty() const { return Class.IsNone() & Package.IsNone() & Object.IsNone(); } //-V792
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&&
/Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetDataTagMap.h:36:32: note: cast one or both operands to int to silence this warning
/Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetDataTagMap.h:36:32: error: use of bitwise ‘&’ with boolean operands [-Werror,-Wbitwise-instead-of-logical]
bool IsEmpty() const { return Class.IsNone() & Package.IsNone() & Object.IsNone(); } //-V792
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
&&
/Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/CoreUObject/Public/AssetRegistry/AssetDataTagMap.h:36:32: note: cast one or both operands to int to silence this warning
In file included from /Users/artemgrosev/Documents/Unreal Projects/MyProject/Intermediate/Build/Mac/x86_64/MyProjectEditor/Development/Engine/SharedPCH.Engine.ShadowErrors.h:284:
In file included from /Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/Engine/Public/EngineSharedPCH.h:572:
/Users/Shared/Epic Games/Engine/UE_4.27/Engine/Source/Runtime/Engine/Classes/Materials/Material.h:1279:26: error: variable ‘LayerNames’ set but not used [-Werror,-Wunused-but-set-variable]
const TArray* LayerNames = &LayersExpression->GetLayerNames();
^
7 errors generated.
"