The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Neon, reference main (56bd2b), with Swift 6.1 for Wasm on 14 Dec 2025 17:05:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/ChimeHQ/Neon.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/ChimeHQ/Neon
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 56bd2b1 Update deps and CI
Submodule path 'tree-sitter-swift': checked out '50b8c5e61c29fa30e760c7a1cbf24b59970e6233'
Submodule 'tree-sitter-swift' (https://github.com/alex-pinkus/tree-sitter-swift) registered for path 'tree-sitter-swift'
Cloning into '/host/spi-builder-workspace/tree-sitter-swift'...
Cloned https://github.com/ChimeHQ/Neon.git
Revision (git rev-parse @):
56bd2b1febeab0e10e72e2491746eda6787165b6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/Neon.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ChimeHQ/Neon.git
https://github.com/ChimeHQ/Neon.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swifttreesitter",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/SwiftTreeSitter"
    },
    {
      "identity" : "rearrange",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/Rearrange"
    }
  ],
  "manifest_display_name" : "Neon",
  "name" : "Neon",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "Neon",
      "targets" : [
        "Neon"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TreeSitterClientTests",
      "module_type" : "SwiftTarget",
      "name" : "TreeSitterClientTests",
      "path" : "Tests/TreeSitterClientTests",
      "sources" : [
        "TreeSitterClientStressTests.swift",
        "TreeSitterClientTests.swift"
      ],
      "target_dependencies" : [
        "TreeSitterClient",
        "NeonTestsTreeSitterSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TreeSitterClient",
      "module_type" : "SwiftTarget",
      "name" : "TreeSitterClient",
      "path" : "Sources/TreeSitterClient",
      "product_dependencies" : [
        "Rearrange",
        "SwiftTreeSitter",
        "SwiftTreeSitterLayer"
      ],
      "product_memberships" : [
        "Neon"
      ],
      "sources" : [
        "BackgroundProcessor.swift",
        "BackgroundingLanguageLayerTree.swift",
        "HybridSyncAsyncVersionedResource.swift",
        "TreeSitter+Extensions.swift",
        "TreeSitterClient.swift"
      ],
      "target_dependencies" : [
        "RangeState"
      ],
      "type" : "library"
    },
    {
      "c99name" : "RangeStateTests",
      "module_type" : "SwiftTarget",
      "name" : "RangeStateTests",
      "path" : "Tests/RangeStateTests",
      "sources" : [
        "RangeProcessorTests.swift",
        "RangeTargetTests.swift",
        "RangeValidatorTests.swift",
        "SinglePhaseRangeValidatorTests.swift",
        "StringContent.swift"
      ],
      "target_dependencies" : [
        "RangeState"
      ],
      "type" : "test"
    },
    {
      "c99name" : "RangeState",
      "module_type" : "SwiftTarget",
      "name" : "RangeState",
      "path" : "Sources/RangeState",
      "product_dependencies" : [
        "Rearrange"
      ],
      "product_memberships" : [
        "Neon"
      ],
      "sources" : [
        "AwaitableQueue.swift",
        "HybridSyncAsyncValueProvider.swift",
        "HybridValueProvider+RangeProcessor.swift",
        "RangeInvalidationBuffer.swift",
        "RangeProcessor.swift",
        "RangeTarget.swift",
        "RangeValidator.swift",
        "SinglePhaseRangeValidator.swift",
        "ThreePhaseRangeValidator.swift",
        "Versioned.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NeonTestsTreeSitterSwift",
      "module_type" : "ClangTarget",
      "name" : "NeonTestsTreeSitterSwift",
      "path" : "tree-sitter-swift",
      "sources" : [
        "src/parser.c",
        "src/scanner.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NeonTests",
      "module_type" : "SwiftTarget",
      "name" : "NeonTests",
      "path" : "Tests/NeonTests",
      "sources" : [
        "HighlighterTests.swift",
        "TextViewSystemInterfaceTests.swift"
      ],
      "target_dependencies" : [
        "Neon"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Neon",
      "module_type" : "SwiftTarget",
      "name" : "Neon",
      "path" : "Sources/Neon",
      "product_dependencies" : [
        "Rearrange",
        "SwiftTreeSitterLayer"
      ],
      "product_memberships" : [
        "Neon"
      ],
      "sources" : [
        "PlatformTextSystem.swift",
        "TextStorageDelegateBuffer.swift",
        "TextSystemInterface+Validation.swift",
        "TextSystemInterface.swift",
        "TextSystemStyler.swift",
        "TextViewHighlighter.swift",
        "TextViewSystemInterface.swift",
        "ThreePhaseTextSystemStyler.swift",
        "Token.swift",
        "TokenSystemValidator.swift",
        "TreeSitterClient+Neon.swift"
      ],
      "target_dependencies" : [
        "RangeState",
        "TreeSitterClient"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/ChimeHQ/SwiftTreeSitter
[1/1684] Fetching swifttreesitter
Fetched https://github.com/ChimeHQ/SwiftTreeSitter from cache (0.23s)
Fetching https://github.com/ChimeHQ/Rearrange
Fetching https://github.com/tree-sitter/tree-sitter
[1/569] Fetching rearrange
[570/64164] Fetching rearrange, tree-sitter
Fetched https://github.com/ChimeHQ/Rearrange from cache (3.00s)
Fetched https://github.com/tree-sitter/tree-sitter from cache (3.05s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 2.0.0 (3.60s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.10 (0.50s)
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 2.0.0
Creating working copy for https://github.com/tree-sitter/tree-sitter
Working copy of https://github.com/tree-sitter/tree-sitter resolved at 0.25.10
Creating working copy for https://github.com/ChimeHQ/SwiftTreeSitter
Working copy of https://github.com/ChimeHQ/SwiftTreeSitter resolved at main (39236f7)
Building for debugging...
[0/22] Write sources
[2/22] Compiling stdlib.c
[3/22] Compiling wasm_store.c
[4/22] Compiling language.c
[5/22] Compiling tree_cursor.c
[6/22] Compiling stack.c
[7/22] Compiling subtree.c
[8/22] Compiling lexer.c
[8/22] Write sources
[12/22] Compiling alloc.c
[13/22] Compiling get_changed_ranges.c
[13/22] Write sources
[15/22] Compiling node.c
[16/22] Compiling tree.c
[17/22] Write swift-version-24593BA9C3E375BF.txt
[18/22] Compiling scanner.c
[19/29] Compiling parser.c
[20/31] Compiling query.c
[22/50] Emitting module Rearrange
[23/51] Compiling Rearrange UITextRange+Convenience.swift
[24/51] Compiling Rearrange NSTextRange+NSRange.swift
[25/51] Compiling Rearrange RangeMutation.swift
[26/51] Compiling Rearrange NSRange+Shift.swift
[27/51] Compiling Rearrange String+NSRange.swift
[28/51] Compiling Rearrange NSRange+Convenience.swift
[29/51] Compiling Rearrange NSRange+ApplyMutation.swift
[30/51] Compiling SwiftTreeSitter InputEdit.swift
[31/51] Compiling SwiftTreeSitter Language.swift
[32/51] Compiling SwiftTreeSitter LanguageConfiguration.swift
[33/53] Compiling SwiftTreeSitter String+TextProvider.swift
[34/53] Compiling SwiftTreeSitter TSRange.swift
[35/54] Compiling SwiftTreeSitter SendableTypes.swift
[36/54] Compiling SwiftTreeSitter String+Data.swift
[37/54] Emitting module SwiftTreeSitter
[40/54] Compiling SwiftTreeSitter Bundle+Extensions.swift
[41/54] Compiling SwiftTreeSitter Encoding+Helpers.swift
[42/54] Compiling SwiftTreeSitter Input.swift
[43/54] Compiling SwiftTreeSitter Node.swift
[44/54] Compiling SwiftTreeSitter Parser.swift
[45/54] Compiling SwiftTreeSitter Point.swift
[46/54] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[47/54] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[48/54] Compiling SwiftTreeSitter Predicate.swift
[49/54] Compiling SwiftTreeSitter Query.swift
[50/54] Compiling SwiftTreeSitter QueryDefinitions.swift
[52/54] Compiling SwiftTreeSitter Tree.swift
[53/54] Compiling SwiftTreeSitter TreeCursor.swift
[55/73] Compiling SwiftTreeSitterLayer Queryable.swift
[56/73] Compiling SwiftTreeSitterLayer ParseState.swift
[57/73] Compiling SwiftTreeSitterLayer Snapshots.swift
[58/73] Compiling SwiftTreeSitterLayer TreeSitter+Extensions.swift
[59/73] Compiling SwiftTreeSitterLayer LanguageLayerQueryCursor.swift
[60/73] Emitting module SwiftTreeSitterLayer
[61/73] Compiling SwiftTreeSitterLayer IndexSet+Range.swift
[62/73] Compiling SwiftTreeSitterLayer LanguageLayer.swift
[64/74] Compiling RangeState SinglePhaseRangeValidator.swift
[65/75] Compiling RangeState RangeTarget.swift
[66/75] Compiling RangeState RangeValidator.swift
[67/75] Compiling RangeState ThreePhaseRangeValidator.swift
[68/75] Compiling RangeState HybridValueProvider+RangeProcessor.swift
[69/75] Compiling RangeState RangeInvalidationBuffer.swift
[70/75] Compiling RangeState AwaitableQueue.swift
[71/75] Compiling RangeState HybridSyncAsyncValueProvider.swift
[72/75] Emitting module RangeState
[73/75] Compiling RangeState RangeProcessor.swift
[74/75] Compiling RangeState Versioned.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[76/82] Emitting module TreeSitterClient
/host/spi-builder-workspace/Sources/TreeSitterClient/BackgroundProcessor.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | final class BackgroundProcessor<Value> {
[77/82] Compiling TreeSitterClient BackgroundingLanguageLayerTree.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/BackgroundProcessor.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | final class BackgroundProcessor<Value> {
[78/82] Compiling TreeSitterClient BackgroundProcessor.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/BackgroundProcessor.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | final class BackgroundProcessor<Value> {
[79/82] Compiling TreeSitterClient TreeSitterClient.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/BackgroundProcessor.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | final class BackgroundProcessor<Value> {
[80/82] Compiling TreeSitterClient HybridSyncAsyncVersionedResource.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/BackgroundProcessor.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | final class BackgroundProcessor<Value> {
[81/82] Compiling TreeSitterClient TreeSitter+Extensions.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/BackgroundProcessor.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | final class BackgroundProcessor<Value> {
[81/82] Compiling parser.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:dbcbf45695e2d1afcaee9a5a93239e71a6cc4a5872f338d6e993e9ceefe7df1b
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
[2/30] Compiling Rearrange NSRange+Convenience.swift
[3/31] Compiling Rearrange NSRange+ApplyMutation.swift
[4/31] Compiling Rearrange UITextRange+Convenience.swift
[5/31] Compiling Rearrange String+NSRange.swift
[6/31] Emitting module Rearrange
[7/31] Compiling SwiftTreeSitter InputEdit.swift
[8/31] Compiling SwiftTreeSitter Language.swift
[9/31] Compiling Rearrange NSTextRange+NSRange.swift
[10/31] Compiling Rearrange NSRange+Shift.swift
[11/31] Compiling Rearrange RangeMutation.swift
[12/32] Compiling SwiftTreeSitter SendableTypes.swift
[13/32] Compiling SwiftTreeSitter String+Data.swift
[14/34] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[15/34] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[16/34] Compiling SwiftTreeSitter String+TextProvider.swift
[17/34] Compiling SwiftTreeSitter TSRange.swift
[19/34] Emitting module SwiftTreeSitter
[22/34] Compiling SwiftTreeSitter LanguageConfiguration.swift
[23/44] Compiling SwiftTreeSitter Tree.swift
[24/44] Compiling SwiftTreeSitter TreeCursor.swift
[25/44] Compiling RangeState RangeInvalidationBuffer.swift
[26/44] Compiling SwiftTreeSitter Encoding+Helpers.swift
[27/44] Compiling SwiftTreeSitter Input.swift
[28/44] Compiling RangeState HybridValueProvider+RangeProcessor.swift
[30/45] Compiling RangeState RangeProcessor.swift
[31/45] Compiling RangeState ThreePhaseRangeValidator.swift
[32/45] Compiling RangeState RangeTarget.swift
[33/45] Compiling RangeState RangeValidator.swift
[34/45] Compiling RangeState SinglePhaseRangeValidator.swift
[35/45] Emitting module RangeState
[36/45] Compiling RangeState AwaitableQueue.swift
[37/45] Compiling RangeState HybridSyncAsyncValueProvider.swift
[38/45] Compiling RangeState Versioned.swift
[40/46] Compiling SwiftTreeSitter Predicate.swift
[41/46] Compiling SwiftTreeSitter Query.swift
[42/46] Compiling SwiftTreeSitter QueryDefinitions.swift
[43/46] Compiling SwiftTreeSitter Node.swift
[44/46] Compiling SwiftTreeSitter Parser.swift
[45/46] Compiling SwiftTreeSitter Point.swift
[47/55] Compiling SwiftTreeSitterLayer Queryable.swift
[48/55] Compiling SwiftTreeSitterLayer ParseState.swift
[49/55] Compiling SwiftTreeSitterLayer TreeSitter+Extensions.swift
[50/55] Compiling SwiftTreeSitterLayer Snapshots.swift
[51/55] Compiling SwiftTreeSitterLayer IndexSet+Range.swift
[52/55] Emitting module SwiftTreeSitterLayer
[53/55] Compiling SwiftTreeSitterLayer LanguageLayerQueryCursor.swift
[54/55] Compiling SwiftTreeSitterLayer LanguageLayer.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[56/62] Emitting module TreeSitterClient
/host/spi-builder-workspace/Sources/TreeSitterClient/BackgroundProcessor.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | final class BackgroundProcessor<Value> {
[57/62] Compiling TreeSitterClient TreeSitter+Extensions.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/BackgroundProcessor.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | final class BackgroundProcessor<Value> {
[58/62] Compiling TreeSitterClient BackgroundingLanguageLayerTree.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/BackgroundProcessor.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | final class BackgroundProcessor<Value> {
[59/62] Compiling TreeSitterClient HybridSyncAsyncVersionedResource.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/BackgroundProcessor.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | final class BackgroundProcessor<Value> {
[60/62] Compiling TreeSitterClient TreeSitterClient.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/BackgroundProcessor.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | final class BackgroundProcessor<Value> {
[61/62] Compiling TreeSitterClient BackgroundProcessor.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/BackgroundProcessor.swift:1:8: error: no such module 'Dispatch'
  1 | import Dispatch
    |        `- error: no such module 'Dispatch'
  2 |
  3 | final class BackgroundProcessor<Value> {
[61/62] Compiling parser.c
BUILD FAILURE 6.1 wasm