The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Neon, reference 0.6.0 (7df7d0), with Swift 6.3 for Wasm on 14 Apr 2026 05:49:02 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/Neon.git
Reference: 0.6.0
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
 * tag               0.6.0      -> FETCH_HEAD
HEAD is now at 7df7d08 Removing these - will come back in another form
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 @):
7df7d080a271cfa4dc87f94cccc024665a75047e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/Neon.git at 0.6.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/ChimeHQ/Neon.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/ChimeHQ/Rearrange
Fetching https://github.com/ChimeHQ/SwiftTreeSitter
[1/569] Fetching rearrange
[570/2283] Fetching rearrange, swifttreesitter
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.22s)
Fetched https://github.com/ChimeHQ/SwiftTreeSitter from cache (0.25s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.8.1 (2.63s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter
Computed https://github.com/ChimeHQ/SwiftTreeSitter at 0.25.0 (0.63s)
Fetching https://github.com/tree-sitter/tree-sitter
[1/67418] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter from cache (3.89s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.10 (4.33s)
Creating working copy for https://github.com/ChimeHQ/SwiftTreeSitter
Working copy of https://github.com/ChimeHQ/SwiftTreeSitter resolved at 0.25.0
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 1.8.1
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
Building for debugging...
[0/20] Write sources
[1/20] Compiling stdlib.c
[2/20] Compiling scanner.c
[3/20] Compiling wasm_store.c
[4/20] Write swift-version-24593BA9C3E375BF.txt
[5/20] Compiling tree.c
[6/20] Compiling tree_cursor.c
[7/20] Compiling subtree.c
[8/20] Compiling stack.c
[9/20] Compiling alloc.c
[9/20] Compiling lexer.c
[11/20] Compiling language.c
[12/20] Write sources
[15/20] Compiling node.c
[16/20] Compiling get_changed_ranges.c
[17/30] Compiling parser.c
[18/30] Compiling query.c
[20/49] Emitting module SwiftTreeSitter
[21/51] Compiling Rearrange NSTextLocation+Comparable.swift
[22/52] Compiling Rearrange UITextRange+Convenience.swift
[23/52] Compiling SwiftTreeSitter InputEdit.swift
[24/52] Compiling SwiftTreeSitter Language.swift
[25/52] Compiling SwiftTreeSitter LanguageConfiguration.swift
[26/52] Compiling SwiftTreeSitter String+TextProvider.swift
[27/52] Compiling SwiftTreeSitter TSRange.swift
[30/52] Emitting module Rearrange
[31/52] Compiling SwiftTreeSitter Tree.swift
[32/52] Compiling SwiftTreeSitter TreeCursor.swift
[33/52] Compiling Rearrange String+NSRange.swift
[34/52] Compiling SwiftTreeSitter Node.swift
[35/52] Compiling SwiftTreeSitter Parser.swift
[36/52] Compiling SwiftTreeSitter Point.swift
[39/52] Compiling Rearrange NSRange+Shift.swift
[40/52] Compiling Rearrange RangeMutation.swift
[41/52] Compiling Rearrange NSTextRange+NSRange.swift
[42/53] Compiling SwiftTreeSitter SendableTypes.swift
[43/53] Compiling SwiftTreeSitter String+Data.swift
[44/53] Compiling SwiftTreeSitter Bundle+Extensions.swift
[45/53] Compiling SwiftTreeSitter Encoding+Helpers.swift
[46/53] Compiling SwiftTreeSitter Input.swift
[47/53] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[48/53] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[49/53] Compiling SwiftTreeSitter Predicate.swift
[50/53] Compiling SwiftTreeSitter Query.swift
[51/53] Compiling SwiftTreeSitter QueryDefinitions.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/59] Emitting module TreeSitterClient
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:50:24: error: cannot find type 'DispatchQueue' in scope
 48 |     private var outstandingEdits: [ContentEdit]
 49 |     private var version: Int
 50 |     private let queue: DispatchQueue
    |                        `- error: cannot find type 'DispatchQueue' in scope
 51 |     private let semaphore: DispatchSemaphore
 52 |     private let synchronousLengthThreshold: Int
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:51:28: error: cannot find type 'DispatchSemaphore' in scope
 49 |     private var version: Int
 50 |     private let queue: DispatchQueue
 51 |     private let semaphore: DispatchSemaphore
    |                            `- error: cannot find type 'DispatchSemaphore' in scope
 52 |     private let synchronousLengthThreshold: Int
 53 |
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:272:58: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
270 | extension TreeSitterClient {
271 |     public typealias QueryCursorResult = Result<QueryCursor, TreeSitterClientError>
272 |     public typealias ResolvingQueryCursorResult = Result<ResolvingQueryCursor, TreeSitterClientError>
    |                                                          `- warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
273 |
274 |     /// Determine if it is likely that a synchronous query will execute quickly
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:374:62: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
372 |                                      in range: NSRange,
373 |                                      executionMode: ExecutionMode = .asynchronous(prefetch: true),
374 | 									 textProvider: TextProvider? = nil) async throws -> ResolvingQueryCursor {
    |                                                              `- warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
375 |         try await withCheckedThrowingContinuation { continuation in
376 | 			self.executeResolvingQuery(query, in: range, executionMode: executionMode, textProvider: textProvider) { result in
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[55/59] Compiling TreeSitterClient Compatibility.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/Compatibility.swift:5:9: error: cannot find 'dispatchPrecondition' in scope
3 | func preconditionOnMainQueue() {
4 |     if #available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
5 |         dispatchPrecondition(condition: .onQueue(.main))
  |         `- error: cannot find 'dispatchPrecondition' in scope
6 |     }
7 | }
/host/spi-builder-workspace/Sources/TreeSitterClient/Compatibility.swift:5:42: error: cannot infer contextual base in reference to member 'onQueue'
3 | func preconditionOnMainQueue() {
4 |     if #available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
5 |         dispatchPrecondition(condition: .onQueue(.main))
  |                                          `- error: cannot infer contextual base in reference to member 'onQueue'
6 |     }
7 | }
/host/spi-builder-workspace/Sources/TreeSitterClient/Compatibility.swift:5:51: error: cannot infer contextual base in reference to member 'main'
3 | func preconditionOnMainQueue() {
4 |     if #available(macOS 10.12, iOS 10.0, tvOS 10.0, watchOS 3.0, *) {
5 |         dispatchPrecondition(condition: .onQueue(.main))
  |                                                   `- error: cannot infer contextual base in reference to member 'main'
6 |     }
7 | }
[56/59] Compiling TreeSitterClient TreeSitter+Extensions.swift
[57/59] Compiling TreeSitterClient TreeSitterClient.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:50:24: error: cannot find type 'DispatchQueue' in scope
 48 |     private var outstandingEdits: [ContentEdit]
 49 |     private var version: Int
 50 |     private let queue: DispatchQueue
    |                        `- error: cannot find type 'DispatchQueue' in scope
 51 |     private let semaphore: DispatchSemaphore
 52 |     private let synchronousLengthThreshold: Int
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:51:28: error: cannot find type 'DispatchSemaphore' in scope
 49 |     private var version: Int
 50 |     private let queue: DispatchQueue
 51 |     private let semaphore: DispatchSemaphore
    |                            `- error: cannot find type 'DispatchSemaphore' in scope
 52 |     private let synchronousLengthThreshold: Int
 53 |
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:272:58: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
270 | extension TreeSitterClient {
271 |     public typealias QueryCursorResult = Result<QueryCursor, TreeSitterClientError>
272 |     public typealias ResolvingQueryCursorResult = Result<ResolvingQueryCursor, TreeSitterClientError>
    |                                                          `- warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
273 |
274 |     /// Determine if it is likely that a synchronous query will execute quickly
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:374:62: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
372 |                                      in range: NSRange,
373 |                                      executionMode: ExecutionMode = .asynchronous(prefetch: true),
374 | 									 textProvider: TextProvider? = nil) async throws -> ResolvingQueryCursor {
    |                                                              `- warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
375 |         try await withCheckedThrowingContinuation { continuation in
376 | 			self.executeResolvingQuery(query, in: range, executionMode: executionMode, textProvider: textProvider) { result in
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:78:22: error: cannot find 'DispatchQueue' in scope
 76 |         self.computeInvalidations = true
 77 |         self.version = 0
 78 |         self.queue = DispatchQueue(label: "com.chimehq.Neon.TreeSitterClient")
    |                      `- error: cannot find 'DispatchQueue' in scope
 79 |         self.semaphore = DispatchSemaphore(value: 1)
 80 |
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:79:26: error: cannot find 'DispatchSemaphore' in scope
 77 |         self.version = 0
 78 |         self.queue = DispatchQueue(label: "com.chimehq.Neon.TreeSitterClient")
 79 |         self.semaphore = DispatchSemaphore(value: 1)
    |                          `- error: cannot find 'DispatchSemaphore' in scope
 80 |
 81 |         try parser.setLanguage(language)
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:216:4: error: cannot find 'OperationQueue' in scope
214 | 			let set = doInvalidations ? self.computeInvalidatedSet(from: oldState, to: newState, with: edit) : IndexSet()
215 |
216 | 			OperationQueue.main.addOperation {
    |    `- error: cannot find 'OperationQueue' in scope
217 | 				let completedEdit = self.outstandingEdits.removeFirst()
218 |
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:340:13: error: cannot find 'DispatchQueue' in scope
338 |             self.semaphore.signal()
339 |
340 |             DispatchQueue.global().async {
    |             `- error: cannot find 'DispatchQueue' in scope
341 |                 let result = self.executeResolvingQuerySynchronouslyWithoutCheck(query,
342 |                                                                                  in: range,
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:349:17: error: cannot find 'OperationQueue' in scope
347 |                 }
348 |
349 |                 OperationQueue.main.addOperation {
    |                 `- error: cannot find 'OperationQueue' in scope
350 |                     guard startedVersion == self.version else {
351 |                         completionHandler(.failure(.staleContent))
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:395:13: error: cannot find 'OperationQueue' in scope
393 |             self.semaphore.signal()
394 |
395 |             OperationQueue.main.addOperation {
    |             `- error: cannot find 'OperationQueue' in scope
396 |                 guard startedVersion == self.version else {
397 |                     completionHandler(.failure(.staleContent))
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:451:20: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
449 |     private func executeResolvingQuerySynchronouslyWithoutCheck(_ query: Query, in range: NSRange, with state: TreeSitterParseState) -> ResolvingQueryCursorResult {
450 |         return executeQuerySynchronouslyWithoutCheck(query, in: range, with: state)
451 |             .map({ ResolvingQueryCursor(cursor: $0) })
    |                    `- warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
452 |     }
453 | }
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:451:20: error: call to main actor-isolated initializer 'init(cursor:)' in a synchronous nonisolated context [#ActorIsolatedCall]
449 |     private func executeResolvingQuerySynchronouslyWithoutCheck(_ query: Query, in range: NSRange, with state: TreeSitterParseState) -> ResolvingQueryCursorResult {
450 |         return executeQuerySynchronouslyWithoutCheck(query, in: range, with: state)
451 |             .map({ ResolvingQueryCursor(cursor: $0) })
    |                    `- error: call to main actor-isolated initializer 'init(cursor:)' in a synchronous nonisolated context [#ActorIsolatedCall]
452 |     }
453 | }
/host/spi-builder-workspace/.build/checkouts/SwiftTreeSitter/Sources/SwiftTreeSitter/ResolvingQueryCursor.swift:53:9: note: calls to initializer 'init(cursor:)' from outside of its actor context are implicitly asynchronous
 51 |
 52 | 	@MainActor
 53 | 	public init(cursor: QueryCursor) {
    |         `- note: calls to initializer 'init(cursor:)' from outside of its actor context are implicitly asynchronous
 54 | 		self.cursor = cursor
 55 | 		self.matches = []
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:493:39: warning: conformance of 'ResolvingQueryCursor' to 'Sequence' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
491 | 									   completionHandler: @escaping (Result<[NamedRange], TreeSitterClientError>) -> Void) {
492 | 		executeResolvingQuery(query, in: range, executionMode: executionMode, textProvider: textProvider) { cursorResult in
493 | 			let result = cursorResult.map { $0.highlights() }
    |                                       `- warning: conformance of 'ResolvingQueryCursor' to 'Sequence' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
494 |
495 | 			completionHandler(result)
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:524:39: warning: 'injections()' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
522 | 									   completionHandler: @escaping (Result<[NamedRange], TreeSitterClientError>) -> Void) {
523 | 		executeResolvingQuery(query, in: range, executionMode: executionMode, textProvider: textProvider) { cursorResult in
524 | 			let result = cursorResult.map { $0.injections() }
    |                                       `- warning: 'injections()' is deprecated: Please use ResolvingQueryMatchSequence [#DeprecatedDeclaration]
525 |
526 | 			completionHandler(result)
[#ActorIsolatedCall]: <https://docs.swift.org/compiler/documentation/diagnostics/actor-isolated-call>
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[58/59] Compiling TreeSitterClient TreeSitterParseState.swift
[58/59] Compiling parser.c
BUILD FAILURE 6.3 wasm