Build Information
Failed to build kaleidoscope-lexer, reference main (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-53886770-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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-53886770-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.20s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/pointfreeco/swift-custom-dump.git
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-case-paths.git
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/stackotter/swift-macro-toolkit.git
[1/1002] Fetching swift-macro-testing
[302/1998] Fetching swift-macro-testing, swift-macro-toolkit
[1880/7345] Fetching swift-macro-testing, swift-macro-toolkit, swift-case-paths
[2695/9690] Fetching swift-macro-testing, swift-macro-toolkit, swift-case-paths, swift-docc-plugin
Fetched https://github.com/stackotter/swift-macro-toolkit.git (0.52s)
[3593/8694] Fetching swift-macro-testing, swift-case-paths, swift-docc-plugin
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[6585/27623] Fetching swift-macro-testing, swift-case-paths, swift-docc-plugin, swift-argument-parser
[27624/33289] Fetching swift-macro-testing, swift-case-paths, swift-docc-plugin, swift-argument-parser, swift-custom-dump
Fetched https://github.com/pointfreeco/swift-macro-testing.git (1.06s)
Fetched https://github.com/pointfreeco/swift-case-paths.git (1.06s)
Fetched https://github.com/pointfreeco/swift-custom-dump.git (1.06s)
Fetched https://github.com/swiftlang/swift-docc-plugin (1.07s)
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/apple/swift-argument-parser (1.07s)
[1/16477] Fetching swift-snapshot-testing
[166/44170] Fetching swift-snapshot-testing, swift-collections
Fetched https://github.com/apple/swift-collections.git (1.18s)
[5274/96504] Fetching swift-snapshot-testing, swift-syntax
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.12s)
[33612/80027] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git (3.02s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.41s)
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.21s)
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.16s)
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.23s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.76s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (1.00s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (0.19s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.62s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.85s)
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.18s)
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/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/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/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-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/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/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/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/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-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-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.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)
Building for debugging...
[Computing dependencies]
[Provisioning 1 / 52]
[Pre-planning 1 / 1124]
[Planning deferred tasks]
[Starting]
[145 / 467] RegexSupport
[234 / 485] SwiftSyntax509
[263 / 514] InternalCollectionsUtilities
[271 / 528] GraphExportSupport
[282 / 528] _RegexParser
[283 / 528] InternalCollectionsUtilities
[294 / 528] _RegexParser-product
[298 / 530] _RegexParser
[299 / 532] SwiftSyntax602
[307 / 533] SwiftSyntax510
[312 / 533] IssueReporting
[314 / 533] IssueReporting
[318 / 533] IssueReporting
[319 / 533] IssueReporting
[323 / 533] IssueReporting-product
[325 / 534] IssueReporting
[330 / 535] InternalCollectionsUtilities
[333 / 535] InternalCollectionsUtilities
[334 / 535] InternalCollectionsUtilities
[335 / 535] OrderedCollections
[336 / 535] OrderedCollections
[341 / 536] InternalCollectionsUtilities
[343 / 536]
[356 / 541] IssueReporting
[365 / 569] CustomDump
[377 / 588] SwiftSyntax
[378 / 588] SwiftSyntax
[386 / 588] CustomDump
[391 / 588] SwiftSyntax
[391 / 588] OrderedCollections
[393 / 588] OrderedCollections
[395 / 588] OrderedCollections
[399 / 588] OrderedCollections
[400 / 588] OrderedCollections
[401 / 588] OrderedCollections-product
[402 / 588] OrderedCollections-product
[407 / 588] IssueReporting
[409 / 588] IssueReporting
[411 / 588] IssueReporting
[412 / 588] CustomDump-product
[413 / 588] CustomDump
[414 / 588] OrderedCollections
[417 / 589] CustomDump
[418 / 589] OrderedCollections
[420 / 589] CustomDump
[421 / 589] CustomDump
[424 / 590] TestUtils
[427 / 590] CasePathsCore
[431 / 590] CasePathsCore
[435 / 591] CustomDump
[438 / 594]
[442 / 595] TestUtils
[447 / 595] TestUtils
[450 / 596] SwiftSyntax
[463 / 624] SwiftParser
[464 / 624] SwiftParser
[467 / 624] SwiftDiagnostics
[476 / 624] SwiftParser
[477 / 624] SwiftParser
[478 / 624] SwiftParser
[481 / 624] SwiftParser
[487 / 624] SwiftDiagnostics
[488 / 624] SwiftDiagnostics
[489 / 624] SwiftDiagnostics
[491 / 624] SwiftOperators
[494 / 624] SwiftBasicFormat
[496 / 625] SwiftParserDiagnostics
[499 / 625] SwiftDiagnostics
[501 / 627] SwiftParserDiagnostics
[502 / 636] SwiftBasicFormat
[505 / 646] SwiftOperators
[505 / 646] SwiftParserDiagnostics
[507 / 646] SwiftParserDiagnostics
[510 / 646] SwiftParserDiagnostics
[516 / 647] SwiftOperators
[520 / 647] SwiftSyntaxBuilder
[521 / 647] SwiftSyntaxBuilder
[523 / 647] SwiftParser
[526 / 647] SwiftParser
[529 / 647] SwiftOperators
[531 / 647] SwiftOperators
[533 / 647] SwiftBasicFormat
[539 / 657] SwiftSyntaxBuilder
[541 / 658] SwiftSyntaxBuilder
[542 / 658] SwiftSyntaxBuilder
[545 / 658] SwiftOperators
[554 / 660] SwiftSyntaxMacros
[559 / 669] SwiftSyntaxMacros
[563 / 669] SwiftSyntaxMacros
[568 / 669] SwiftSyntaxMacros
[576 / 680] SwiftSyntaxMacros
[577 / 680] SwiftSyntaxMacroExpansion
[578 / 680] SwiftSyntaxMacroExpansion
[587 / 682] SwiftSyntaxBuilder
[591 / 691] SwiftCompilerPluginMessageHandling
[592 / 691] SwiftCompilerPluginMessageHandling
[594 / 691] SwiftCompilerPluginMessageHandling
[600 / 691] SwiftCompilerPluginMessageHandling
[602 / 691] SwiftCompilerPlugin
[610 / 694]
[614 / 707] CasePathsMacrosSupport
[617 / 709] SwiftSyntaxMacroExpansion
[627 / 709] MacroToolkit
[628 / 709] MacroToolkit
[637 / 710] MacroToolkit
[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] CasePaths
[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