Build Information
Failed to build kaleidoscope-lexer, reference 0.1.2 (f723ce), with Swift 6.4 for Wasm on 24 Sep 2026 01:45:51 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FlickerSoul/kaleidoscope-lexer.git
Reference: 0.1.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/FlickerSoul/kaleidoscope-lexer
* tag 0.1.2 -> FETCH_HEAD
HEAD is now at f723cee Revert submodule change and update README (#8)
Cloned https://github.com/FlickerSoul/kaleidoscope-lexer.git
Revision (git rev-parse @):
f723cee9662e2aac73908cb62a10ff1913b8ef06
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/FlickerSoul/kaleidoscope-lexer.git at 0.1.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/FlickerSoul/kaleidoscope-lexer.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
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 (1.25s)
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-snapshot-testing
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/stackotter/swift-macro-toolkit.git
Fetching https://github.com/pointfreeco/swift-case-paths.git
Fetching https://github.com/apple/swift-argument-parser
[1/5347] Fetching swift-case-paths
[5242/6343] Fetching swift-case-paths, swift-macro-toolkit
[6325/25272] Fetching swift-case-paths, swift-macro-toolkit, swift-argument-parser
Fetched https://github.com/stackotter/swift-macro-toolkit.git (0.51s)
Fetched https://github.com/pointfreeco/swift-case-paths.git (0.51s)
[379/18929] Fetching swift-argument-parser
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/apple/swift-collections.git
[3030/21274] Fetching swift-argument-parser, swift-docc-plugin
Fetched https://github.com/apple/swift-argument-parser (0.73s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/5666] Fetching swift-custom-dump
[171/6668] Fetching swift-custom-dump, swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing.git (0.48s)
Fetched https://github.com/pointfreeco/swift-custom-dump.git (1.00s)
[1/16477] Fetching swift-snapshot-testing
[825/44170] Fetching swift-snapshot-testing, swift-collections
Fetched https://github.com/apple/swift-collections.git (1.32s)
[7250/16477] Fetching swift-snapshot-testing
[7910/96504] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/swiftlang/swift-docc-plugin (2.21s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.23s)
[32812/80027] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (2.94s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (3.98s)
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.20s)
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.15s)
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.22s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.75s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (0.98s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.18s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.59s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.80s)
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.17s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (0.29s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (0.16s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
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-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/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/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/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/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-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
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/pointfreeco/swift-case-paths.git
Working copy of https://github.com/pointfreeco/swift-case-paths.git resolved at 1.10.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
Building for debugging...
[Computing dependencies]
[Provisioning 7 / 52]
[Pre-planning 1 / 1124]
[Planning deferred tasks]
[Starting]
[141 / 467] KaleidoscopeMacroSupportNext
[237 / 496] SwiftSyntax509
[265 / 528] InternalCollectionsUtilities
[265 / 528] IssueReporting
[278 / 528] InternalCollectionsUtilities
[290 / 528] _RegexParser
[295 / 528] _RegexParser-product
[299 / 530] _RegexParser
[299 / 531] SwiftSyntax602
[306 / 532] SwiftSyntax510
[311 / 533] SwiftSyntax600
[315 / 533] _RegexParser
[315 / 533] IssueReporting-product
[318 / 533] IssueReporting
[319 / 533] IssueReporting
[325 / 534] _RegexParser
[330 / 535] InternalCollectionsUtilities
[332 / 535] InternalCollectionsUtilities
[334 / 535] InternalCollectionsUtilities
[338 / 535] GraphExportSupport
[339 / 535] GraphExportSupport
[348 / 535] IssueReporting
[366 / 552] GraphExportSupport
[373 / 588] SwiftSyntax
[382 / 588] SwiftSyntax
[394 / 588] SwiftSyntax
[395 / 588] SwiftSyntax
[396 / 588] OrderedCollections
[399 / 588] OrderedCollections
[403 / 588] OrderedCollections
[405 / 588] OrderedCollections-product
[408 / 588] OrderedCollections
[409 / 588] CustomDump
[410 / 588] CustomDump
[411 / 588] CustomDump
[413 / 589] OrderedCollections
[415 / 589] CustomDump-product
[419 / 589] CustomDump
[421 / 589] CustomDump
[422 / 589] CustomDump
[423 / 589] CustomDump-product
[425 / 590] TestUtils
[426 / 590] TestUtils
[428 / 590] CasePathsCore
[432 / 591] CustomDump
[437 / 592] TestUtils
[442 / 595] CasePathsCore
[442 / 595] TestUtils
[447 / 595] TestUtils
[450 / 596] SwiftSyntax
[463 / 624] SwiftParser
[465 / 624] SwiftDiagnostics
[475 / 624] SwiftBasicFormat
[477 / 624] SwiftParser
[479 / 624] SwiftParser
[481 / 624] SwiftParser
[485 / 624] SwiftParser
[486 / 624] SwiftParser
[488 / 624] SwiftDiagnostics
[489 / 624] SwiftDiagnostics-product
[491 / 624] SwiftDiagnostics
[492 / 624] SwiftDiagnostics
[494 / 624] SwiftBasicFormat
[495 / 625] SwiftDiagnostics
[496 / 625] SwiftParserDiagnostics
[498 / 625] SwiftParser
[499 / 625] SwiftBasicFormat
[503 / 636] SwiftParserDiagnostics
[505 / 645] SwiftParserDiagnostics
[506 / 646] SwiftParserDiagnostics
[509 / 646] SwiftOperators
[520 / 647] SwiftParserDiagnostics
[521 / 647] SwiftParserDiagnostics
[523 / 647] SwiftParser
[525 / 647] SwiftParser
[527 / 647] SwiftOperators
[529 / 647] SwiftOperators
[531 / 647] SwiftOperators
[532 / 647] SwiftOperators
[533 / 647]
[540 / 658] SwiftSyntaxBuilder
[541 / 658] SwiftSyntaxBuilder
[543 / 658] SwiftSyntaxBuilder
[545 / 659] SwiftParserDiagnostics
[554 / 660]
[557 / 669] SwiftSyntaxMacros
[566 / 669] SwiftSyntaxMacros
[569 / 671] SwiftSyntaxMacroExpansion
[572 / 679] SwiftSyntaxMacroExpansion
[575 / 680] SwiftSyntaxMacros
[577 / 680] SwiftSyntaxMacros
[588 / 683] SwiftCompilerPluginMessageHandling
[591 / 691] SwiftCompilerPluginMessageHandling
[592 / 691] SwiftCompilerPluginMessageHandling
[593 / 691] SwiftSyntaxMacroExpansion
[595 / 691] SwiftCompilerPluginMessageHandling
[598 / 691] SwiftCompilerPluginMessageHandling
[605 / 694] SwiftCompilerPlugin
[611 / 695]
[613 / 705] SwiftCompilerPlugin
[616 / 705] SwiftCompilerPlugin
[617 / 706] SwiftCompilerPluginMessageHandling
[620 / 706] SwiftSyntaxMacroExpansion
[622 / 707] SwiftCompilerPluginMessageHandling
[629 / 707] MacroToolkit-product
[634 / 710] CasePathsMacrosSupport
[639 / 710] MacroToolkit
[641 / 711] CasePathsMacrosSupport
[643 / 712] SwiftSyntax
[646 / 713] SwiftSyntax
[653 / 713] SwiftSyntaxMacros
[663 / 714] CasePathsMacros
[667 / 717] CasePathsMacros
[671 / 718] CasePathsMacros
[679 / 726] CasePaths
[685 / 727] RegexSupport
[692 / 736] RegexSupport
[692 / 736] CasePaths
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/RegexSupport/HIR/HIRTranslator.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile HIRTranslator.swift
/host/spi-builder-workspace/Sources/RegexSupport/HIR/HIRTranslator.swift:174:13: [1;31merror: [1;39mcannot find 'CFStringTransform' in scope[0;0m
[0;36m172 |[0;0m let wrappedName = "\\N{\(namedCharacter)}"
[0;36m173 |[0;0m let characterNSString = NSMutableString(string: wrappedName)
[0;36m174 |[0;0m [4;39mCFStringTransform[0;0m(characterNSString, nil, kCFStringTransformToUnicodeName, true)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFStringTransform' in scope[0;0m
[0;36m175 |[0;0m let characterString = characterNSString as String
[0;36m176 |[0;0m
/host/spi-builder-workspace/Sources/RegexSupport/HIR/HIRTranslator.swift:174:55: [1;31merror: [1;39mcannot find 'kCFStringTransformToUnicodeName' in scope[0;0m
[0;36m172 |[0;0m let wrappedName = "\\N{\(namedCharacter)}"
[0;36m173 |[0;0m let characterNSString = NSMutableString(string: wrappedName)
[0;36m174 |[0;0m CFStringTransform(characterNSString, nil, [4;39mkCFStringTransformToUnicodeName[0;0m, true)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'kCFStringTransformToUnicodeName' in scope[0;0m
[0;36m175 |[0;0m let characterString = characterNSString as String
[0;36m176 |[0;0m
/host/spi-builder-workspace/Sources/RegexSupport/HIR/HIRTranslator.swift:502:13: [1;31merror: [1;39mcannot find 'CFStringTransform' in scope[0;0m
[0;36m500 |[0;0m let wrappedName = "\\N{\(namedCharacter)}"
[0;36m501 |[0;0m let characterNSString = NSMutableString(string: wrappedName)
[0;36m502 |[0;0m [4;39mCFStringTransform[0;0m(characterNSString, nil, kCFStringTransformToUnicodeName, true)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'CFStringTransform' in scope[0;0m
[0;36m503 |[0;0m let characterString = characterNSString as String
[0;36m504 |[0;0m
/host/spi-builder-workspace/Sources/RegexSupport/HIR/HIRTranslator.swift:502:55: [1;31merror: [1;39mcannot find 'kCFStringTransformToUnicodeName' in scope[0;0m
[0;36m500 |[0;0m let wrappedName = "\\N{\(namedCharacter)}"
[0;36m501 |[0;0m let characterNSString = NSMutableString(string: wrappedName)
[0;36m502 |[0;0m CFStringTransform(characterNSString, nil, [4;39mkCFStringTransformToUnicodeName[0;0m, true)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'kCFStringTransformToUnicodeName' in scope[0;0m
[0;36m503 |[0;0m let characterString = characterNSString as String
[0;36m504 |[0;0m
Internal Error: DecodingError.dataCorrupted: Data was corrupted. Debug description: Corrupted JSON. Underlying error: unexpected end of file
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/RegexSupport/Char.swift /host/spi-builder-workspace/Sources/RegexSupport/DFA/ByteClasses.swift /host/spi-builder-workspace/Sources/RegexSupport/DFA/DFA.swift /host/spi-builder-workspace/Sources/RegexSupport/DFA/Determinizer.swift -primary-file /host/spi-builder-workspace/Sources/RegexSupport/GraphExport/DFAGraphExport.swift -primary-file /host/spi-builder-workspace/Sources/RegexSupport/GraphExport/NFAGraphExport.swift -primary-file /host/spi-builder-workspace/Sources/RegexSupport/HIR/HIRKind.swift -primary-file /host/spi-builder-workspace/Sources/RegexSupport/HIR/HIRTranslator.swift /host/spi-builder-workspace/Sources/RegexSupport/HIR/RegexConversionError.swift /host/spi-builder-workspace/Sources/RegexSupport/NFA/Thompson.swift /host/spi-builder-workspace/Sources/RegexSupport/NFA/UTF8CompilerStates.swift /host/spi-builder-workspace/Sources/RegexSupport/NFA/UTF8Sequences.swift /host/spi-builder-workspace/Sources/RegexSupport/PatternID.swift /host/spi-builder-workspace/Sources/RegexSupport/RangeSet.swift /host/spi-builder-workspace/Sources/RegexSupport/RangeSetBound.swift /host/spi-builder-workspace/Sources/RegexSupport/UTF8Table/Age.swift /host/spi-builder-workspace/Sources/RegexSupport/UTF8Table/CaseFolding.swift /host/spi-builder-workspace/Sources/RegexSupport/UTF8Table/GeneralCategory.swift /host/spi-builder-workspace/Sources/RegexSupport/UTF8Table/GraphemeClusterBreak.swift /host/spi-builder-workspace/Sources/RegexSupport/UTF8Table/PropertyBool.swift /host/spi-builder-workspace/Sources/RegexSupport/UTF8Table/PropertyNames.swift /host/spi-builder-workspace/Sources/RegexSupport/UTF8Table/PropertyValuels.swift /host/spi-builder-workspace/Sources/RegexSupport/UTF8Table/ScriptExtension.swift /host/spi-builder-workspace/Sources/RegexSupport/UTF8Table/SentenceBreak.swift /host/spi-builder-workspace/Sources/RegexSupport/UTF8Table/WordBreak.swift /host/spi-builder-workspace/Sources/RegexSupport/Utils.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug-linux-x86_64/RegexSupport-t.build/Objects-normal/x86_64/supplementaryOutputs-82 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/CasePathsMacros\#CasePathsMacros -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug-linux-x86_64/RegexSupport-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug-linux-x86_64/RegexSupport-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug-linux-x86_64/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 /host/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug-linux-x86_64/RegexSupport-t.build/Objects-normal/x86_64/RegexSupport_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug-linux-x86_64/RegexSupport-t.build/Objects-normal/x86_64/DFAGraphExport.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug-linux-x86_64/RegexSupport-t.build/Objects-normal/x86_64/NFAGraphExport.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug-linux-x86_64/RegexSupport-t.build/Objects-normal/x86_64/HIRKind.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/kaleidoscope-lexer.build/Debug-linux-x86_64/RegexSupport-t.build/Objects-normal/x86_64/HIRTranslator.o -index-unit-output-path /kaleidoscope-lexer.build/Debug-linux-x86_64/RegexSupport-t.build/Objects-normal/x86_64/DFAGraphExport.o -index-unit-output-path /kaleidoscope-lexer.build/Debug-linux-x86_64/RegexSupport-t.build/Objects-normal/x86_64/NFAGraphExport.o -index-unit-output-path /kaleidoscope-lexer.build/Debug-linux-x86_64/RegexSupport-t.build/Objects-normal/x86_64/HIRKind.o -index-unit-output-path /kaleidoscope-lexer.build/Debug-linux-x86_64/RegexSupport-t.build/Objects-normal/x86_64/HIRTranslator.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm