Build Information
Failed to build kaleidoscope-lexer, reference 0.1.2 (f723ce), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 03:15:33 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Lancelotbronner/swift-lexing.git
Reference: 0.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Lancelotbronner/swift-lexing
* tag 0.1.2 -> FETCH_HEAD
HEAD is now at f723cee Revert submodule change and update README (#8)
Cloned https://github.com/Lancelotbronner/swift-lexing.git
Revision (git rev-parse @):
f723cee9662e2aac73908cb62a10ff1913b8ef06
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Lancelotbronner/swift-lexing.git at 0.1.2
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/Lancelotbronner/swift-lexing.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1064]
[Planning deferred tasks]
[Starting]
[21 / 489] _RegexParser
[206 / 489]
[216 / 498] SwiftSyntax510
[226 / 533] SwiftSyntax602
[263 / 546]
[268 / 546]
[272 / 590] IssueReporting
[278 / 628]
[294 / 628] _RegexParser
[308 / 628]
[312 / 628]
[319 / 628]
[327 / 628] SwiftSyntax509
[341 / 628] OrderedCollections
[347 / 628] _SwiftSyntaxCShims
[352 / 628] SwiftSyntax510
[355 / 630] InternalCollectionsUtilities
[365 / 641] OrderedCollections
[370 / 641] OrderedCollections
[376 / 653] OrderedCollections
[380 / 653]
[382 / 653]
[385 / 653]
[392 / 653] SwiftSyntax
[397 / 653]
[407 / 653] SwiftSyntax
[410 / 653] SwiftSyntax
[412 / 653]
[414 / 653]
[414 / 653] OrderedCollections
[415 / 653] OrderedCollections-product
[417 / 653] OrderedCollections-product
[418 / 653] OrderedCollections-product
[420 / 653] IssueReporting
[423 / 653] IssueReporting
[439 / 653] IssueReporting
[440 / 653] IssueReporting
[441 / 653] IssueReporting
[447 / 653] GraphExportSupport
[448 / 653] CustomDump
[451 / 655]
[453 / 655] IssueReporting
[455 / 655] CasePathsCore
[459 / 666] CasePathsCore
[462 / 666] CasePathsCore
[471 / 666] CasePathsCore
[472 / 666] CasePathsCore
[477 / 728]
[491 / 728]
[494 / 728]
[502 / 728]
[509 / 728]
[515 / 731]
[517 / 731]
[522 / 750] SwiftParser
[525 / 760]
[543 / 760] SwiftParser
[545 / 760]
[547 / 760] SwiftParser
[548 / 760]
[553 / 760] SwiftParser
[562 / 760]
[563 / 760] SwiftParser
[564 / 760] SwiftDiagnostics
[566 / 760] SwiftDiagnostics
[570 / 760] SwiftDiagnostics
[573 / 760] SwiftDiagnostics-product
[576 / 760] SwiftDiagnostics
[579 / 760] SwiftParserDiagnostics
[584 / 760] SwiftDiagnostics
[589 / 760] CustomDump
[592 / 760] SwiftBasicFormat
[594 / 760] CustomDump
[602 / 761]
[603 / 762]
[606 / 773] SwiftParserDiagnostics
[607 / 773] SwiftParserDiagnostics
[616 / 777] SwiftParserDiagnostics
[620 / 777] SwiftParserDiagnostics
[623 / 779] SwiftSyntaxBuilder
[624 / 779]
[628 / 790] SwiftOperators
[632 / 801] TestUtils
[639 / 801] SwiftOperators
[648 / 801] SwiftSyntaxBuilder
[652 / 801] SwiftSyntaxBuilder
[659 / 801] SwiftSyntaxMacros
[666 / 801] SwiftOperators
[673 / 802] TestUtils
[673 / 802] SwiftOperators
[683 / 813] SwiftSyntaxMacros
[685 / 813] SwiftSyntaxMacros
[693 / 814] SwiftSyntaxMacroExpansion
[703 / 824] SwiftSyntaxMacroExpansion
[710 / 825] SwiftSyntaxMacroExpansion
[710 / 825] SwiftCompilerPluginMessageHandling
[719 / 836] SwiftCompilerPluginMessageHandling
[722 / 836] SwiftCompilerPluginMessageHandling
[729 / 837] SwiftCompilerPluginMessageHandling
[729 / 837] SwiftCompilerPlugin
[740 / 841] SwiftCompilerPluginMessageHandling
[741 / 841] CasePathsMacrosSupport
[743 / 843] MacroToolkit
[758 / 890]
[763 / 890]
[769 / 890]
[770 / 890]
[774 / 890]
[776 / 890]
[779 / 890]
[783 / 890]
[785 / 890] SwiftSyntax
[787 / 890]
[793 / 890] SwiftOperators
[797 / 890] SwiftCompilerPluginMessageHandling
[807 / 891]
[817 / 891] MacroToolkit
[818 / 894] CasePathsMacros
[825 / 894] MacroToolkit
[830 / 894] MacroToolkit
[832 / 894] MacroToolkit
[832 / 894] CasePathsMacros
[835 / 895] CasePaths
[842 / 902] CasePaths
[851 / 903] RegexSupport
[862 / 914] RegexSupport
Fetching https://github.com/swiftlang/swift-experimental-string-processing
[1/21601] Fetching swift-experimental-string-processing
Fetched https://github.com/swiftlang/swift-experimental-string-processing (3.98s)
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/stackotter/swift-macro-toolkit.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/pointfreeco/swift-case-paths.git
[1/2345] Fetching swift-docc-plugin
[2/3347] Fetching swift-docc-plugin, swift-macro-testing
[3/4343] Fetching swift-docc-plugin, swift-macro-testing, swift-macro-toolkit
[237/9690] Fetching swift-docc-plugin, swift-macro-testing, swift-macro-toolkit, swift-case-paths
[3114/28619] Fetching swift-docc-plugin, swift-macro-testing, swift-macro-toolkit, swift-case-paths, swift-argument-parser
[4909/34285] Fetching swift-docc-plugin, swift-macro-testing, swift-macro-toolkit, swift-case-paths, swift-argument-parser, swift-custom-dump
[15954/50762] Fetching swift-docc-plugin, swift-macro-testing, swift-macro-toolkit, swift-case-paths, swift-argument-parser, swift-custom-dump, swift-snapshot-testing
Fetched https://github.com/swiftlang/swift-docc-plugin (1.60s)
Fetching https://github.com/apple/swift-collections.git
[26263/48417] Fetching swift-macro-testing, swift-macro-toolkit, swift-case-paths, swift-argument-parser, swift-custom-dump, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-case-paths.git (1.89s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git (1.89s)
Fetched https://github.com/apple/swift-argument-parser (1.89s)
Fetching https://github.com/swiftlang/swift-syntax.git
[7486/23139] Fetching swift-macro-toolkit, swift-custom-dump, swift-snapshot-testing
[8311/50832] Fetching swift-macro-toolkit, swift-custom-dump, swift-snapshot-testing, swift-collections
[31055/130859] Fetching swift-macro-toolkit, swift-custom-dump, swift-snapshot-testing, swift-collections, swift-syntax
Fetched https://github.com/apple/swift-collections.git (3.36s)
[48937/103166] Fetching swift-macro-toolkit, swift-custom-dump, swift-snapshot-testing, swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (5.70s)
[17537/23139] Fetching swift-macro-toolkit, swift-custom-dump, swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (9.86s)
Fetched https://github.com/pointfreeco/swift-custom-dump.git (9.86s)
Fetched https://github.com/stackotter/swift-macro-toolkit.git (9.86s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (10.65s)
Computing version for https://github.com/stackotter/swift-macro-toolkit.git
Computed https://github.com/stackotter/swift-macro-toolkit.git at 0.9.0 (0.66s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.7.0 (0.57s)
Computing version for https://github.com/pointfreeco/swift-case-paths.git
Computed https://github.com/pointfreeco/swift-case-paths.git at 1.10.0 (0.73s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (1.64s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (2.34s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.66s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (1.25s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (2.04s)
Computing version for https://github.com/pointfreeco/swift-custom-dump.git
Computed https://github.com/pointfreeco/swift-custom-dump.git at 1.7.3 (0.55s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.67s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.58s)
Creating working copy for https://github.com/pointfreeco/swift-custom-dump.git
Working copy of https://github.com/pointfreeco/swift-custom-dump.git resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.6
Creating working copy for https://github.com/swiftlang/swift-experimental-string-processing
Working copy of https://github.com/swiftlang/swift-experimental-string-processing resolved at swift-6.1.1-RELEASE (3a06996)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.7.0
Creating working copy for https://github.com/stackotter/swift-macro-toolkit.git
Working copy of https://github.com/stackotter/swift-macro-toolkit.git resolved at 0.9.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/pointfreeco/swift-case-paths.git
Working copy of https://github.com/pointfreeco/swift-case-paths.git resolved at 1.10.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swiftlang-6.4.0.34.1-macosx27.0-MacroSupport.zip (0.19s)
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/Char.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/DFA/ByteClasses.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/DFA/DFA.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/DFA/Determinizer.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/GraphExport/DFAGraphExport.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/GraphExport/NFAGraphExport.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/HIR/HIRKind.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/HIR/HIRTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/HIR/RegexConversionError.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/NFA/Thompson.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/NFA/UTF8CompilerStates.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/NFA/UTF8Sequences.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/PatternID.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/RangeSet.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/RangeSetBound.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/Age.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/CaseFolding.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/GeneralCategory.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/GraphemeClusterBreak.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/PropertyBool.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/PropertyNames.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/PropertyValuels.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/ScriptExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/SentenceBreak.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/WordBreak.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/Utils.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/supplementaryOutputs-77 -target arm64-apple-macos26.0 -disable-cross-import-overlay-search -load-resolved-plugin #/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/CasePathsMacros#CasePathsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/RegexSupport-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=5 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/CasePathsMacros#CasePathsMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval=86400 -Xcc -fmodules-prune-after=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -no-auto-bridging-header-chaining -module-name RegexSupport -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/RegexSupport_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/Thompson.o -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/UTF8CompilerStates.o -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/UTF8Sequences.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/RegexSupport.swiftmodule -index-unit-output-path /kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/Thompson.o -index-unit-output-path /kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/UTF8CompilerStates.o -index-unit-output-path /kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/UTF8Sequences.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
1. Apple Swift version 6.4 (swiftlang-6.4.0.34.1 clang-2100.3.34.1)
2. Compiling with the current language version
3. While evaluating request IRGenRequest(IR Generation for file "/Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/NFA/Thompson.swift")
4. While emitting IR SIL function "@$s12RegexSupport20ThompsonConstructionV14compileLiteral33_6FB3DC39C7389B2D535094D7080B2415LLyAA11NFAFragmentVSayAA4CharVGnAA20NFAConstructionErrorOYKFySayAGGz_AItALYKXEfU_".
for expression at [/Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/NFA/Thompson.swift:655:58 - line:667:17] RangeText="{ partialResult, char throws(NFAConstructionError) in
let bytes = char.bytes
for byte in bytes {
let stateId = try builder.addByteRange(
start: byte,
end: byte,
)
partialResult.append(
.init(start: stateId, end: stateId),
)
}
"
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x000000010aca7bd0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x000000010aca5358 llvm::sys::RunSignalHandlers() + 172
2 swift-frontend 0x000000010aca81c8 SignalHandler(int, __siginfo*, void*) + 360
3 libsystem_platform.dylib 0x000000018bef9744 _sigtramp + 56
4 swift-frontend 0x0000000104c6d944 swift::irgen::buildDirectError(swift::irgen::IRGenFunction&, swift::irgen::CombinedResultAndErrorType const&, swift::irgen::NativeConventionSchema const&, swift::SILType, swift::irgen::Explosion&, bool, swift::irgen::Explosion&) + 736
5 swift-frontend 0x0000000104c6d944 swift::irgen::buildDirectError(swift::irgen::IRGenFunction&, swift::irgen::CombinedResultAndErrorType const&, swift::irgen::NativeConventionSchema const&, swift::SILType, swift::irgen::Explosion&, bool, swift::irgen::Explosion&) + 736
6 swift-frontend 0x0000000104ea11dc (anonymous namespace)::IRGenSILFunction::visitSILBasicBlock(swift::SILBasicBlock*) + 123812
7 swift-frontend 0x0000000104e81bbc (anonymous namespace)::IRGenSILFunction::emitSILFunction() + 10400
8 swift-frontend 0x0000000104e7f024 swift::irgen::IRGenModule::emitSILFunction(swift::SILFunction*) + 2688
9 swift-frontend 0x0000000104cc3b98 swift::irgen::IRGenerator::emitLazyDefinitions() + 8120
10 swift-frontend 0x0000000104e2ef1c swift::IRGenRequest::evaluate(swift::Evaluator&, swift::IRGenDescriptor) const + 5664
11 swift-frontend 0x0000000104e7dde8 swift::SimpleRequest<swift::IRGenRequest, swift::GeneratedModule (swift::IRGenDescriptor), (swift::RequestFlags)17>::evaluateRequest(swift::IRGenRequest const&, swift::Evaluator&) + 240
12 swift-frontend 0x000000010475f50c swift::IRGenRequest::OutputType swift::Evaluator::getResultUncached<swift::IRGenRequest, swift::IRGenRequest::OutputType swift::evaluateOrFatal<swift::IRGenRequest>(swift::Evaluator&, swift::IRGenRequest)::'lambda'()>(swift::IRGenRequest const&, swift::IRGenRequest::OutputType swift::evaluateOrFatal<swift::IRGenRequest>(swift::Evaluator&, swift::IRGenRequest)::'lambda'()) + 348
13 swift-frontend 0x0000000104e329dc swift::performIRGeneration(swift::FileUnit*, swift::IRGenOptions const&, swift::TBDGenOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::StringRef, swift::PrimarySpecificPaths const&, std::__1::shared_ptr<llvm::cas::ObjectStore>, llvm::StringRef, llvm::GlobalVariable**, swift::cas::SwiftCASOutputBackend*, std::__1::optional<llvm::cas::ObjectRef>) + 232
14 swift-frontend 0x00000001047bfd88 generateIR(swift::IRGenOptions const&, swift::TBDGenOptions const&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, swift::PrimarySpecificPaths const&, std::__1::shared_ptr<llvm::cas::ObjectStore>, swift::cas::SwiftCASOutputBackend*, llvm::StringRef, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, llvm::GlobalVariable*&, llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, llvm::ArrayRef<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>, std::__1::optional<llvm::cas::ObjectRef>) + 172
15 swift-frontend 0x00000001047b8d54 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>, llvm::ArrayRef<swift::PrimarySpecificPaths>) + 2852
16 swift-frontend 0x00000001047b7248 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) + 992
17 swift-frontend 0x00000001047bcc0c performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) + 1312
18 swift-frontend 0x00000001047b9dc4 swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 3776
19 swift-frontend 0x0000000104739008 swift::mainEntry(int, char const**) + 5600
20 dyld 0x000000018bb244e4 start + 6992
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/Char.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/DFA/ByteClasses.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/DFA/DFA.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/DFA/Determinizer.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/GraphExport/DFAGraphExport.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/GraphExport/NFAGraphExport.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/HIR/HIRKind.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/HIR/HIRTranslator.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/HIR/RegexConversionError.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/NFA/Thompson.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/NFA/UTF8CompilerStates.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/NFA/UTF8Sequences.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/PatternID.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/RangeSet.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/RangeSetBound.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/Age.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/CaseFolding.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/GeneralCategory.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/GraphemeClusterBreak.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/PropertyBool.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/PropertyNames.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/PropertyValuels.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/ScriptExtension.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/SentenceBreak.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/UTF8Table/WordBreak.swift /Users/admin/builder/spi-builder-workspace/Sources/RegexSupport/Utils.swift -supplementary-output-file-map /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/supplementaryOutputs-77 -target arm64-apple-macos26.0 -disable-cross-import-overlay-search -load-resolved-plugin \#/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/CasePathsMacros\#CasePathsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libPreviewsMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#PreviewsMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftUIMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftUIMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/RegexSupport-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/CasePathsMacros\#CasePathsMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name RegexSupport -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/RegexSupport_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/Thompson.o -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/UTF8CompilerStates.o -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/UTF8Sequences.o -debug-module-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/RegexSupport.swiftmodule -index-unit-output-path /kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/Thompson.o -index-unit-output-path /kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/UTF8CompilerStates.o -index-unit-output-path /kaleidoscope-lexer.build/Debug/RegexSupport-t.build/Objects-normal/arm64/UTF8Sequences.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 macosSpm