The Swift Package Index logo.Swift Package Index

Build Information

Failed to build kaleidoscope-lexer, reference main (f723ce), with Swift 6.1 for Wasm on 9 Feb 2026 13:55:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.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.1
Building package at path:  $PWD
https://github.com/FlickerSoul/kaleidoscope-lexer.git
https://github.com/FlickerSoul/kaleidoscope-lexer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "602.0.0",
            "upper_bound" : "603.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-docc-plugin"
    },
    {
      "identity" : "swift-macro-toolkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stackotter/swift-macro-toolkit.git"
    },
    {
      "identity" : "swift-experimental-string-processing",
      "requirement" : {
        "revision" : [
          "swift-6.1.1-RELEASE"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-experimental-string-processing"
    },
    {
      "identity" : "swift-macro-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.6.4",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-macro-testing.git"
    },
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.12.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing"
    },
    {
      "identity" : "swift-case-paths",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.7.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-case-paths.git"
    },
    {
      "identity" : "swift-custom-dump",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-custom-dump.git"
    }
  ],
  "manifest_display_name" : "kaleidoscope-lexer",
  "name" : "kaleidoscope-lexer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "26.0"
    },
    {
      "name" : "ios",
      "version" : "26.0"
    },
    {
      "name" : "tvos",
      "version" : "26.0"
    },
    {
      "name" : "watchos",
      "version" : "26.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "26.0"
    },
    {
      "name" : "visionos",
      "version" : "26.0"
    }
  ],
  "products" : [
    {
      "name" : "KaleidoscopeLexer",
      "targets" : [
        "KaleidoscopeLexer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Examples",
      "targets" : [
        "Examples"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "KaleidoscopeMacros",
      "targets" : [
        "KaleidoscopeMacros"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "TestUtils",
      "module_type" : "SwiftTarget",
      "name" : "TestUtils",
      "path" : "Tests/TestUtils",
      "product_dependencies" : [
        "CustomDump"
      ],
      "sources" : [
        "Utils.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RegexSupportTests",
      "module_type" : "SwiftTarget",
      "name" : "RegexSupportTests",
      "path" : "Tests/RegexSupportTests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "sources" : [
        "DFATests.swift",
        "HIRTranslatorTests.swift",
        "RangeSetTests.swift",
        "ThompsonTests.swift",
        "UTF8SequencesTests.swift"
      ],
      "target_dependencies" : [
        "RegexSupport",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RegexSupport",
      "module_type" : "SwiftTarget",
      "name" : "RegexSupport",
      "path" : "Sources/RegexSupport",
      "product_dependencies" : [
        "_RegexParser",
        "CasePaths",
        "CustomDump"
      ],
      "product_memberships" : [
        "KaleidoscopeLexer",
        "Examples",
        "KaleidoscopeMacros"
      ],
      "sources" : [
        "Char.swift",
        "DFA/ByteClasses.swift",
        "DFA/DFA.swift",
        "DFA/Determinizer.swift",
        "GraphExport/DFAGraphExport.swift",
        "GraphExport/NFAGraphExport.swift",
        "HIR/HIRKind.swift",
        "HIR/HIRTranslator.swift",
        "HIR/RegexConversionError.swift",
        "NFA/Thompson.swift",
        "NFA/UTF8CompilerStates.swift",
        "NFA/UTF8Sequences.swift",
        "PatternID.swift",
        "RangeSet.swift",
        "RangeSetBound.swift",
        "UTF8Table/Age.swift",
        "UTF8Table/CaseFolding.swift",
        "UTF8Table/GeneralCategory.swift",
        "UTF8Table/GraphemeClusterBreak.swift",
        "UTF8Table/PropertyBool.swift",
        "UTF8Table/PropertyNames.swift",
        "UTF8Table/PropertyValuels.swift",
        "UTF8Table/ScriptExtension.swift",
        "UTF8Table/SentenceBreak.swift",
        "UTF8Table/WordBreak.swift",
        "Utils.swift"
      ],
      "target_dependencies" : [
        "GraphExportSupport"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KaleidoscopeTests",
      "module_type" : "SwiftTarget",
      "name" : "KaleidoscopeTests",
      "path" : "Tests/KaleidoscopeTests",
      "sources" : [
        "FunctionBased/FuncCallbackTest.swift",
        "FunctionBased/FuncPriorityTest.swift",
        "FunctionBased/FuncSimpleTest.swift",
        "FunctionBased/FunctionBasedTokenizerTests.swift",
        "StateBased/StateBasedTokenizerTests.swift",
        "StateBased/StateCallbackTest.swift",
        "StateBased/StatePriorityTest.swift",
        "StateBased/StateSimpleTest.swift",
        "TokenizerTests.swift"
      ],
      "target_dependencies" : [
        "KaleidoscopeLexer",
        "KaleidoscopeMacroSupportNext",
        "RegexSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KaleidoscopeMacros",
      "module_type" : "SwiftTarget",
      "name" : "KaleidoscopeMacros",
      "path" : "Sources/KaleidoscopeMacros",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin",
        "MacroToolkit"
      ],
      "product_memberships" : [
        "KaleidoscopeLexer",
        "Examples",
        "KaleidoscopeMacros"
      ],
      "sources" : [
        "CaseRegistryMacro.swift",
        "GraphError.swift",
        "KaleidoscopeBuilderNext.swift",
        "KaleidoscopeError.swift",
        "KaleidoscopeMacro.swift",
        "KaleidoscopeMacroVisitor.swift",
        "ResultProtocol.swift"
      ],
      "target_dependencies" : [
        "KaleidoscopeMacroSupportNext",
        "RegexSupport"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "KaleidoscopeMacroTests",
      "module_type" : "SwiftTarget",
      "name" : "KaleidoscopeMacroTests",
      "path" : "Tests/KaleidoscopeMacroTests",
      "product_dependencies" : [
        "MacroTesting"
      ],
      "sources" : [
        "BenchmarkMacroTests.swift.swift",
        "FunctionBasedMacroTests.swift",
        "Misc.swift",
        "StateBasedMacroTests.swift"
      ],
      "target_dependencies" : [
        "KaleidoscopeMacros",
        "KaleidoscopeMacroSupportNext",
        "RegexSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KaleidoscopeMacroSupportNextTests",
      "module_type" : "SwiftTarget",
      "name" : "KaleidoscopeMacroSupportNextTests",
      "path" : "Tests/KaleidoscopeMacroSupportNextTests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "sources" : [
        "GraphExportTests.swift"
      ],
      "target_dependencies" : [
        "KaleidoscopeMacroSupportNext",
        "TestUtils"
      ],
      "type" : "test"
    },
    {
      "c99name" : "KaleidoscopeMacroSupportNext",
      "module_type" : "SwiftTarget",
      "name" : "KaleidoscopeMacroSupportNext",
      "path" : "Sources/KaleidoscopeMacroSupportNext",
      "product_dependencies" : [
        "SwiftSyntax",
        "SwiftSyntaxMacros",
        "OrderedCollections"
      ],
      "product_memberships" : [
        "KaleidoscopeLexer",
        "Examples",
        "KaleidoscopeMacros"
      ],
      "sources" : [
        "ByteClass.swift",
        "Constants.swift",
        "FixedWidthInteger+.swift",
        "Generator/Generator+Fork.swift",
        "Generator/Generator+LUT.swift",
        "Generator/Generator.swift",
        "Graph.swift",
        "GraphError.swift",
        "GraphExport.swift",
        "GraphUtils.swift",
        "Leaf.swift",
        "State.swift",
        "StateData.swift"
      ],
      "target_dependencies" : [
        "GraphExportSupport",
        "RegexSupport"
      ],
      "type" : "library"
    },
    {
      "c99name" : "KaleidoscopeLexer",
      "module_type" : "SwiftTarget",
      "name" : "KaleidoscopeLexer",
      "path" : "Sources/KaleidoscopeLexer",
      "product_memberships" : [
        "KaleidoscopeLexer",
        "Examples"
      ],
      "sources" : [
        "KaleidoscopeLexer.swift",
        "Lexer/Helpers.swift",
        "Lexer/Iterators/LexerMachineIterator.swift",
        "Lexer/Iterators/SpannedLexerIterator.swift",
        "Lexer/LexerError.swift",
        "Lexer/LexerMachine.swift",
        "Lexer/LexerProtocol.swift",
        "Lexer/LexerResults.swift",
        "Lexer/LexerSource.swift"
      ],
      "target_dependencies" : [
        "KaleidoscopeMacros"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GraphExportSupport",
      "module_type" : "SwiftTarget",
      "name" : "GraphExportSupport",
      "path" : "Sources/GraphExportSupport",
      "product_memberships" : [
        "KaleidoscopeLexer",
        "Examples",
        "KaleidoscopeMacros"
      ],
      "sources" : [
        "Formats/DotFormat.swift",
        "Formats/MermaidFormat.swift",
        "GraphExportFormat.swift",
        "GraphFormatWriter.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Examples",
      "module_type" : "SwiftTarget",
      "name" : "Examples",
      "path" : "Sources/Examples",
      "product_memberships" : [
        "Examples"
      ],
      "sources" : [
        "ExampleToken.swift",
        "Main.swift"
      ],
      "target_dependencies" : [
        "KaleidoscopeLexer"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "BenchmarkTests",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkTests",
      "path" : "Benchmarks/BenchmarkTests",
      "sources" : [
        "BenchmarkTests.swift"
      ],
      "target_dependencies" : [
        "BenchmarkCommons",
        "RegexSupport",
        "KaleidoscopeMacroSupportNext"
      ],
      "type" : "test"
    },
    {
      "c99name" : "BenchmarkCommons",
      "module_type" : "SwiftTarget",
      "name" : "BenchmarkCommons",
      "path" : "Benchmarks/BenchmarkCommons",
      "sources" : [
        "BenchmarkFunctionBased.swift",
        "BenchmarkStateBased.swift",
        "BenchmarkStrings.swift"
      ],
      "target_dependencies" : [
        "KaleidoscopeLexer"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:58b971189c4d3c564696bb40c86e07506670ed096ab7351a005c7c449525017a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.2.0 but the installed version is 6.1.0
BUILD FAILURE 6.1 wasm