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 (ad50d5), with Swift 6.1 for Wasm on 1 Jun 2025 01:19:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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.63.1
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 ad50d53 Tweaks to scroll view observation mechanics (#55)
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 @):
ad50d53cb3359a5bec4c7d7a4ec4d5f5edac16af
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-4606859-2":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/ChimeHQ/SwiftTreeSitter
[1/1633] Fetching swifttreesitter
Fetched https://github.com/ChimeHQ/SwiftTreeSitter from cache (0.27s)
Fetching https://github.com/tree-sitter/tree-sitter
Fetching https://github.com/ChimeHQ/Rearrange
[1/569] Fetching rearrange
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.21s)
[1/57492] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter from cache (2.62s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 2.0.0 (3.13s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.23.2 (0.54s)
Creating working copy for https://github.com/tree-sitter/tree-sitter
Working copy of https://github.com/tree-sitter/tree-sitter resolved at 0.23.2
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/ChimeHQ/SwiftTreeSitter
Working copy of https://github.com/ChimeHQ/SwiftTreeSitter resolved at main (f0ac935)
Building for debugging...
[0/10] Write sources
[6/10] Compiling scanner.c
[7/10] Write swift-version-24593BA9C3E375BF.txt
[8/19] Compiling lib.c
[10/38] Compiling Rearrange String+NSRange.swift
[11/38] Compiling Rearrange NSRange+Convenience.swift
[12/39] Compiling Rearrange NSRange+Shift.swift
[13/39] Compiling SwiftTreeSitter Node.swift
[14/39] Compiling SwiftTreeSitter Parser.swift
[15/39] Compiling SwiftTreeSitter Point.swift
[16/41] Compiling SwiftTreeSitter InputEdit.swift
[17/41] Compiling SwiftTreeSitter Language.swift
[18/41] Compiling SwiftTreeSitter LanguageConfiguration.swift
[19/41] Compiling SwiftTreeSitter Predicate.swift
[20/41] Compiling SwiftTreeSitter Query.swift
[21/41] Compiling SwiftTreeSitter QueryDefinitions.swift
[22/41] Compiling Rearrange NSRange+ApplyMutation.swift
[23/41] Compiling SwiftTreeSitter String+TextProvider.swift
[24/41] Compiling SwiftTreeSitter TSRange.swift
[25/41] Emitting module SwiftTreeSitter
[26/41] Compiling SwiftTreeSitter Bundle+Extensions.swift
[27/41] Compiling SwiftTreeSitter Encoding+Helpers.swift
[28/41] Compiling SwiftTreeSitter Input.swift
[29/41] Compiling Rearrange UITextRange+Convenience.swift
[30/41] Compiling SwiftTreeSitter SendableTypes.swift
[31/41] Compiling SwiftTreeSitter String+Data.swift
[32/41] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[33/41] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[34/41] Emitting module Rearrange
[37/41] Compiling Rearrange NSTextRange+NSRange.swift
[38/41] Compiling Rearrange RangeMutation.swift
[40/49] Compiling SwiftTreeSitter Tree.swift
[41/49] Compiling SwiftTreeSitter TreeCursor.swift
[43/61] Compiling SwiftTreeSitterLayer Queryable.swift
[44/61] Compiling SwiftTreeSitterLayer Snapshots.swift
[45/61] Compiling SwiftTreeSitterLayer TreeSitter+Extensions.swift
[46/61] Compiling SwiftTreeSitterLayer ParseState.swift
[47/61] Compiling SwiftTreeSitterLayer IndexSet+Range.swift
[48/61] Compiling SwiftTreeSitterLayer LanguageLayerQueryCursor.swift
[49/61] Emitting module SwiftTreeSitterLayer
[50/61] Compiling SwiftTreeSitterLayer LanguageLayer.swift
[52/62] Compiling RangeState RangeValidator.swift
[53/63] Compiling RangeState SinglePhaseRangeValidator.swift
[54/63] Compiling RangeState RangeTarget.swift
[55/63] Compiling RangeState ThreePhaseRangeValidator.swift
[56/63] Emitting module RangeState
[57/63] Compiling RangeState HybridValueProvider+RangeProcessor.swift
[58/63] Compiling RangeState RangeInvalidationBuffer.swift
[59/63] Compiling RangeState AwaitableQueue.swift
[60/63] Compiling RangeState HybridSyncAsyncValueProvider.swift
[61/63] Compiling RangeState RangeProcessor.swift
[62/63] Compiling RangeState Versioned.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[64/70] 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> {
[65/70] 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> {
[66/70] 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> {
[67/70] 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> {
[68/70] 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> {
[69/70] 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> {
[69/70] Compiling parser.c
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
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 SwiftTreeSitter InputEdit.swift
[4/31] Compiling SwiftTreeSitter Language.swift
[5/31] Compiling Rearrange NSRange+ApplyMutation.swift
[6/31] Emitting module Rearrange
[7/31] Compiling Rearrange String+NSRange.swift
[8/31] Compiling Rearrange NSRange+Shift.swift
[9/31] Compiling Rearrange RangeMutation.swift
[10/31] Compiling Rearrange NSTextRange+NSRange.swift
[11/31] Compiling Rearrange UITextRange+Convenience.swift
[12/32] Compiling SwiftTreeSitter String+TextProvider.swift
[13/32] Compiling SwiftTreeSitter TSRange.swift
[14/32] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[15/32] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[16/32] Compiling SwiftTreeSitter SendableTypes.swift
[17/32] Compiling SwiftTreeSitter String+Data.swift
[18/34] Emitting module SwiftTreeSitter
[20/34] Compiling SwiftTreeSitter Tree.swift
[21/34] Compiling SwiftTreeSitter TreeCursor.swift
[22/43] Compiling RangeState AwaitableQueue.swift
[23/43] Compiling RangeState HybridSyncAsyncValueProvider.swift
[24/43] Compiling RangeState HybridValueProvider+RangeProcessor.swift
[25/44] Compiling RangeState SinglePhaseRangeValidator.swift
[26/44] Compiling RangeState ThreePhaseRangeValidator.swift
[27/45] Compiling RangeState RangeValidator.swift
[28/45] Compiling RangeState RangeTarget.swift
[32/45] Compiling RangeState RangeInvalidationBuffer.swift
[33/45] Emitting module RangeState
[34/45] Compiling RangeState RangeProcessor.swift
[36/45] Compiling SwiftTreeSitter Parser.swift
[37/45] Compiling SwiftTreeSitter Point.swift
[38/45] Compiling SwiftTreeSitter Bundle+Extensions.swift
[39/45] Compiling SwiftTreeSitter Encoding+Helpers.swift
[40/45] Compiling SwiftTreeSitter Input.swift
[41/45] Compiling SwiftTreeSitter Predicate.swift
[42/45] Compiling SwiftTreeSitter Query.swift
[43/45] Compiling SwiftTreeSitter QueryDefinitions.swift
[44/46] Compiling RangeState Versioned.swift
[47/55] Compiling SwiftTreeSitterLayer ParseState.swift
[48/55] Compiling SwiftTreeSitterLayer Snapshots.swift
[49/55] Compiling SwiftTreeSitterLayer Queryable.swift
[50/55] Compiling SwiftTreeSitterLayer TreeSitter+Extensions.swift
[51/55] Compiling SwiftTreeSitterLayer LanguageLayerQueryCursor.swift
[52/55] Compiling SwiftTreeSitterLayer IndexSet+Range.swift
[53/55] Emitting module SwiftTreeSitterLayer
[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 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> {
[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 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> {
[60/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> {
[61/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> {
[61/62] Compiling parser.c
BUILD FAILURE 6.1 wasm