The Source code failed to build with ninja

I pulled the main branch following the documentations
using the following command to build the project fails with error:

utils/build-script --skip-build-benchmarks \
  --skip-ios --skip-watchos --skip-tvos --swift-darwin-supported-archs "$(uname -m)" \
  --sccache --release-debuginfo --swift-disable-dead-stripping


copying compiler-rt embedded builtins from /Applications/ into the local clang build directory ...../build/Ninja-RelWithDebInfoAssert/llvm-macosx-arm64/bin/../lib/clang/13.0.0/lib/darwin.

+ /usr/local/bin/cmake --build .../build/Ninja-RelWithDebInfoAssert/swift-macosx-arm64 -- -j8 all swift-test-stdlib-macosx-arm64

ninja: error: 'stdlib/swift-test-stdlib-macosx-x86_64', needed by 'stdlib/CMakeFiles/swift-test-stdlib', missing and no known rule to make it

I am running on M1 processor macOS Monterey 12.6

from the build logs I can see it uses arm64 arch

-- Building with -fPIC
-- Xcode 14.0.1, Build version 14A400
-- OS X SDK:
--   Object File Format: MACHO
--   Swift Standard Library Path: macosx
--   Threading Package: darwin
--   Version: 12.3
--   Build number: 21E226
--   Deployment version: 10.9
--   Triple name: macosx
--   Simulator: FALSE
--   Architectures: arm64
--   arm64 triple: arm64-apple-macosx
--   Module triple: arm64-apple-macos
--   arm64 Path: /Applications/
-- Building host Swift tools for OSX arm64
--   Build type:     RelWithDebInfo
--   Assertions:     TRUE
--   LTO:
--   Swift parser:   TRUE
-- Building Swift standard library and overlays for SDKs: OSX
--   Build type:       RelWithDebInfo
--   Assertions:       TRUE
-- Building Swift runtime with:
--   Leak Detection Checker Entrypoints: FALSE
-- Differentiable Programming Support: TRUE
-- Concurrency Support:                TRUE
-- Distributed Support:                TRUE
-- String Processing Support:          TRUE
-- Unicode Support:                    TRUE

any idea why I am getting this error?