The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Neon, reference 0.6.0 (7df7d0), with Swift 6.1 for Linux on 4 Sep 2026 00:28:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.0.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/slsrepo/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/slsrepo/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/slsrepo/Neon.git
Revision (git rev-parse @):
7df7d080a271cfa4dc87f94cccc024665a75047e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/slsrepo/Neon.git at 0.6.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/slsrepo/Neon.git
https://github.com/slsrepo/Neon.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:dff62030f4387a2d827d2b365d39a91716bd1d13650763ccbcbfe23419000563
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Fetching https://github.com/ChimeHQ/SwiftTreeSitter
Fetching https://github.com/ChimeHQ/Rearrange
[1/609] Fetching rearrange
[610/2361] Fetching rearrange, swifttreesitter
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.52s)
Fetched https://github.com/ChimeHQ/SwiftTreeSitter from cache (0.52s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.8.1 (1.45s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter
Computed https://github.com/ChimeHQ/SwiftTreeSitter at 0.25.0 (0.23s)
Fetching https://github.com/tree-sitter/tree-sitter
[1/71989] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter from cache (2.11s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.10 (2.33s)
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/ChimeHQ/SwiftTreeSitter
Working copy of https://github.com/ChimeHQ/SwiftTreeSitter resolved at 0.25.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
Building for debugging...
[0/20] Write sources
[1/20] Compiling wasm_store.c
[2/20] Compiling tree.c
[3/20] Compiling node.c
[4/20] Compiling stdlib.c
[5/20] Compiling stack.c
[6/20] Compiling language.c
[7/20] Compiling lexer.c
[8/20] Compiling subtree.c
[9/20] Compiling parser.c
[10/20] Write sources
[13/20] Write swift-version-24593BA9C3E375BF.txt
[14/20] Compiling alloc.c
[15/20] Compiling tree_cursor.c
[16/20] Compiling scanner.c
[17/20] Compiling query.c
[18/20] Compiling get_changed_ranges.c
[20/49] Emitting module SwiftTreeSitter
[20/51] Compiling parser.c
[22/51] Compiling Rearrange NSTextRange+NSRange.swift
[23/52] Compiling Rearrange UITextRange+Convenience.swift
[24/52] Compiling Rearrange String+NSRange.swift
[25/52] Compiling Rearrange RangeMutation.swift
[26/52] Compiling Rearrange NSTextLocation+Comparable.swift
[27/52] Compiling Rearrange NSRange+ApplyMutation.swift
[28/52] Compiling Rearrange NSRange+Convenience.swift
[29/52] Compiling Rearrange NSRange+Shift.swift
[30/52] Emitting module Rearrange
[31/52] Compiling Rearrange IndexSet+ApplyMutation.swift
[32/52] Compiling Rearrange IndexSet+NSRange.swift
[34/53] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[35/53] Compiling SwiftTreeSitter Tree.swift
[36/53] Compiling SwiftTreeSitter TreeCursor.swift
[37/53] Compiling SwiftTreeSitter String+TextProvider.swift
[38/53] Compiling SwiftTreeSitter TSRange.swift
[39/53] Compiling SwiftTreeSitter SendableTypes.swift
[40/53] Compiling SwiftTreeSitter String+Data.swift
[42/53] Compiling SwiftTreeSitter Node.swift
[43/53] Compiling SwiftTreeSitter Parser.swift
[44/53] Compiling SwiftTreeSitter Point.swift
[45/53] Compiling SwiftTreeSitter InputEdit.swift
[46/53] Compiling SwiftTreeSitter Language.swift
[47/53] Compiling SwiftTreeSitter LanguageConfiguration.swift
[48/53] Compiling SwiftTreeSitter Bundle+Extensions.swift
[49/53] Compiling SwiftTreeSitter Encoding+Helpers.swift
[50/53] Compiling SwiftTreeSitter Input.swift
[55/59] Emitting module TreeSitterClient
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:272:58: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
270 | extension TreeSitterClient {
271 |     public typealias QueryCursorResult = Result<QueryCursor, TreeSitterClientError>
272 |     public typealias ResolvingQueryCursorResult = Result<ResolvingQueryCursor, TreeSitterClientError>
    |                                                          `- warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
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
372 |                                      in range: NSRange,
373 |                                      executionMode: ExecutionMode = .asynchronous(prefetch: true),
374 | 									 textProvider: TextProvider? = nil) async throws -> ResolvingQueryCursor {
    |                                                              `- warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
375 |         try await withCheckedThrowingContinuation { continuation in
376 | 			self.executeResolvingQuery(query, in: range, executionMode: executionMode, textProvider: textProvider) { result in
[56/59] Compiling TreeSitterClient Compatibility.swift
[57/59] Compiling TreeSitterClient TreeSitterParseState.swift
[58/59] Compiling TreeSitterClient TreeSitter+Extensions.swift
[59/59] Compiling TreeSitterClient TreeSitterClient.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:272:58: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
270 | extension TreeSitterClient {
271 |     public typealias QueryCursorResult = Result<QueryCursor, TreeSitterClientError>
272 |     public typealias ResolvingQueryCursorResult = Result<ResolvingQueryCursor, TreeSitterClientError>
    |                                                          `- warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
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
372 |                                      in range: NSRange,
373 |                                      executionMode: ExecutionMode = .asynchronous(prefetch: true),
374 | 									 textProvider: TextProvider? = nil) async throws -> ResolvingQueryCursor {
    |                                                              `- warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
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:213:40: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 11 | }
 12 |
 13 | public final class TreeSitterClient {
    |                    `- note: class 'TreeSitterClient' does not conform to the 'Sendable' protocol
 14 |     public typealias TextProvider = SwiftTreeSitter.Predicate.TextProvider
 15 |
    :
211 |
212 |         queue.async {
213 |             let (oldState, newState) = self.applyEdit(edit, readHandler: readHandler)
    |                                        `- warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
214 | 			let set = doInvalidations ? self.computeInvalidatedSet(from: oldState, to: newState, with: edit) : IndexSet()
215 |
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:213:74: warning: capture of 'readHandler' with non-sendable type 'Parser.ReadBlock' (aka '(Int, Point) -> Optional<Data>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
211 |
212 |         queue.async {
213 |             let (oldState, newState) = self.applyEdit(edit, readHandler: readHandler)
    |                                                                          |- warning: capture of 'readHandler' with non-sendable type 'Parser.ReadBlock' (aka '(Int, Point) -> Optional<Data>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                          `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
214 | 			let set = doInvalidations ? self.computeInvalidatedSet(from: oldState, to: newState, with: edit) : IndexSet()
215 |
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:223:5: warning: capture of 'completionHandler' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
221 | 				self.dispatchInvalidatedSet(set)
222 |
223 | 				completionHandler()
    |     |- warning: capture of 'completionHandler' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
224 | 			}
225 |         }
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:217:25: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 11 | }
 12 |
 13 | public final class TreeSitterClient {
    |                    `- note: class 'TreeSitterClient' does not conform to the 'Sendable' protocol
 14 |     public typealias TextProvider = SwiftTreeSitter.Predicate.TextProvider
 15 |
    :
215 |
216 | 			OperationQueue.main.addOperation {
217 | 				let completedEdit = self.outstandingEdits.removeFirst()
    |                         `- warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
218 |
219 | 				assert(completedEdit.inputEdit == edit.inputEdit)
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:223:5: warning: capture of 'completionHandler' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
221 | 				self.dispatchInvalidatedSet(set)
222 |
223 | 				completionHandler()
    |     |- warning: capture of 'completionHandler' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
224 | 			}
225 |         }
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:336:13: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 11 | }
 12 |
 13 | public final class TreeSitterClient {
    |                    `- note: class 'TreeSitterClient' does not conform to the 'Sendable' protocol
 14 |     public typealias TextProvider = SwiftTreeSitter.Predicate.TextProvider
 15 |
    :
334 |             // let's be optimistic and only check once at the end.
335 |
336 |             self.semaphore.wait()
    |             `- warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
337 |             let state = self.parseState.copy()
338 |             self.semaphore.signal()
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:351:25: warning: capture of 'completionHandler' with non-sendable type '(TreeSitterClient.ResolvingQueryCursorResult) -> Void' (aka '(Result<ResolvingQueryCursor, TreeSitterClientError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
349 |                 OperationQueue.main.addOperation {
350 |                     guard startedVersion == self.version else {
351 |                         completionHandler(.failure(.staleContent))
    |                         |- warning: capture of 'completionHandler' with non-sendable type '(TreeSitterClient.ResolvingQueryCursorResult) -> Void' (aka '(Result<ResolvingQueryCursor, TreeSitterClientError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
352 |
353 |                         return
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:356:28: warning: capture of 'textProvider' with non-sendable type 'TreeSitterClient.TextProvider?' (aka 'Optional<(_NSRange, Range<Point>) -> Optional<String>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
354 |                     }
355 |
356 | 					if let textProvider = textProvider, let cursor = try? result.get() {
    |                            |- warning: capture of 'textProvider' with non-sendable type 'TreeSitterClient.TextProvider?' (aka 'Optional<(_NSRange, Range<Point>) -> Optional<String>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
357 | 						cursor.prepare(with: textProvider)
358 | 					}
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:341:30: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 11 | }
 12 |
 13 | public final class TreeSitterClient {
    |                    `- note: class 'TreeSitterClient' does not conform to the 'Sendable' protocol
 14 |     public typealias TextProvider = SwiftTreeSitter.Predicate.TextProvider
 15 |
    :
339 |
340 |             DispatchQueue.global().async {
341 |                 let result = self.executeResolvingQuerySynchronouslyWithoutCheck(query,
    |                              `- warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
342 |                                                                                  in: range,
343 |                                                                                  with: state)
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:343:88: warning: capture of 'state' with non-sendable type 'TreeSitterParseState' in a '@Sendable' closure; this is an error in the Swift 6 language mode
341 |                 let result = self.executeResolvingQuerySynchronouslyWithoutCheck(query,
342 |                                                                                  in: range,
343 |                                                                                  with: state)
    |                                                                                        `- warning: capture of 'state' with non-sendable type 'TreeSitterParseState' in a '@Sendable' closure; this is an error in the Swift 6 language mode
344 |
345 |                 if case .success(let cursor) = result, prefetchMatches {
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterParseState.swift:4:8: note: consider making struct 'TreeSitterParseState' conform to the 'Sendable' protocol
 2 | import SwiftTreeSitter
 3 |
 4 | struct TreeSitterParseState {
   |        `- note: consider making struct 'TreeSitterParseState' conform to the 'Sendable' protocol
 5 |     var tree: MutableTree?
 6 |
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:351:25: warning: capture of 'completionHandler' with non-sendable type '(TreeSitterClient.ResolvingQueryCursorResult) -> Void' (aka '(Result<ResolvingQueryCursor, TreeSitterClientError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
349 |                 OperationQueue.main.addOperation {
350 |                     guard startedVersion == self.version else {
351 |                         completionHandler(.failure(.staleContent))
    |                         |- warning: capture of 'completionHandler' with non-sendable type '(TreeSitterClient.ResolvingQueryCursorResult) -> Void' (aka '(Result<ResolvingQueryCursor, TreeSitterClientError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
352 |
353 |                         return
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:356:28: warning: capture of 'textProvider' with non-sendable type 'TreeSitterClient.TextProvider?' (aka 'Optional<(_NSRange, Range<Point>) -> Optional<String>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
354 |                     }
355 |
356 | 					if let textProvider = textProvider, let cursor = try? result.get() {
    |                            |- warning: capture of 'textProvider' with non-sendable type 'TreeSitterClient.TextProvider?' (aka 'Optional<(_NSRange, Range<Point>) -> Optional<String>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
357 | 						cursor.prepare(with: textProvider)
358 | 					}
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:350:45: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 11 | }
 12 |
 13 | public final class TreeSitterClient {
    |                    `- note: class 'TreeSitterClient' does not conform to the 'Sendable' protocol
 14 |     public typealias TextProvider = SwiftTreeSitter.Predicate.TextProvider
 15 |
    :
348 |
349 |                 OperationQueue.main.addOperation {
350 |                     guard startedVersion == self.version else {
    |                                             `- warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
351 |                         completionHandler(.failure(.staleContent))
352 |
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:351:25: warning: capture of 'completionHandler' with non-sendable type '(TreeSitterClient.ResolvingQueryCursorResult) -> Void' (aka '(Result<ResolvingQueryCursor, TreeSitterClientError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
349 |                 OperationQueue.main.addOperation {
350 |                     guard startedVersion == self.version else {
351 |                         completionHandler(.failure(.staleContent))
    |                         |- warning: capture of 'completionHandler' with non-sendable type '(TreeSitterClient.ResolvingQueryCursorResult) -> Void' (aka '(Result<ResolvingQueryCursor, TreeSitterClientError>) -> ()') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
352 |
353 |                         return
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:356:28: warning: capture of 'textProvider' with non-sendable type 'TreeSitterClient.TextProvider?' (aka 'Optional<(_NSRange, Range<Point>) -> Optional<String>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
354 |                     }
355 |
356 | 					if let textProvider = textProvider, let cursor = try? result.get() {
    |                            |- warning: capture of 'textProvider' with non-sendable type 'TreeSitterClient.TextProvider?' (aka 'Optional<(_NSRange, Range<Point>) -> Optional<String>>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
357 | 						cursor.prepare(with: textProvider)
358 | 					}
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:356:60: warning: capture of 'result' with non-sendable type 'TreeSitterClient.ResolvingQueryCursorResult' (aka 'Result<ResolvingQueryCursor, TreeSitterClientError>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
354 |                     }
355 |
356 | 					if let textProvider = textProvider, let cursor = try? result.get() {
    |                                                            `- warning: capture of 'result' with non-sendable type 'TreeSitterClient.ResolvingQueryCursorResult' (aka 'Result<ResolvingQueryCursor, TreeSitterClientError>') in a '@Sendable' closure; this is an error in the Swift 6 language mode
357 | 						cursor.prepare(with: textProvider)
358 | 					}
/host/spi-builder-workspace/.build/checkouts/SwiftTreeSitter/Sources/SwiftTreeSitter/ResolvingQueryCursor.swift:36:20: note: class 'ResolvingQueryCursor' does not conform to the 'Sendable' protocol
 34 | /// ```
 35 | @available(*, deprecated, message: "Please use ResolvingQueryMatchSequence")
 36 | public final class ResolvingQueryCursor {
    |                    `- note: class 'ResolvingQueryCursor' does not conform to the 'Sendable' protocol
 37 | 	/// A function that can produce text content.
 38 | 	public typealias TextProvider = Predicate.TextProvider
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftTreeSitter'
  1 | import Foundation
  2 | import SwiftTreeSitter
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'SwiftTreeSitter'
  3 | import Rearrange
  4 |
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:391:13: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 11 | }
 12 |
 13 | public final class TreeSitterClient {
    |                    `- note: class 'TreeSitterClient' does not conform to the 'Sendable' protocol
 14 |     public typealias TextProvider = SwiftTreeSitter.Predicate.TextProvider
 15 |
    :
389 |         let startedVersion = version
390 |         queue.async {
391 |             self.semaphore.wait()
    |             `- warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
392 |             let tree = self.parseState.tree?.copy()
393 |             self.semaphore.signal()
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:397:21: warning: capture of 'completionHandler' with non-sendable type '(Result<Tree, TreeSitterClientError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
395 |             OperationQueue.main.addOperation {
396 |                 guard startedVersion == self.version else {
397 |                     completionHandler(.failure(.staleContent))
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(Result<Tree, TreeSitterClientError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
398 |                     return
399 |                 }
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:396:41: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 11 | }
 12 |
 13 | public final class TreeSitterClient {
    |                    `- note: class 'TreeSitterClient' does not conform to the 'Sendable' protocol
 14 |     public typealias TextProvider = SwiftTreeSitter.Predicate.TextProvider
 15 |
    :
394 |
395 |             OperationQueue.main.addOperation {
396 |                 guard startedVersion == self.version else {
    |                                         `- warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure; this is an error in the Swift 6 language mode
397 |                     completionHandler(.failure(.staleContent))
398 |                     return
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:397:21: warning: capture of 'completionHandler' with non-sendable type '(Result<Tree, TreeSitterClientError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
395 |             OperationQueue.main.addOperation {
396 |                 guard startedVersion == self.version else {
397 |                     completionHandler(.failure(.staleContent))
    |                     |- warning: capture of 'completionHandler' with non-sendable type '(Result<Tree, TreeSitterClientError>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
398 |                     return
399 |                 }
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:451:20: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
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
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
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
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
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
494 |
495 | 			completionHandler(result)
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:524:39: warning: 'injections()' is deprecated: Please use ResolvingQueryMatchSequence
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
525 |
526 | 			completionHandler(result)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:dff62030f4387a2d827d2b365d39a91716bd1d13650763ccbcbfe23419000563
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/30] Compiling Rearrange NSRange+Shift.swift
[3/30] Compiling SwiftTreeSitter Input.swift
[4/30] Compiling SwiftTreeSitter InputEdit.swift
[5/30] Compiling Rearrange String+NSRange.swift
[6/31] Compiling Rearrange NSTextLocation+Comparable.swift
[7/31] Compiling Rearrange RangeMutation.swift
[8/31] Compiling Rearrange NSTextRange+NSRange.swift
[9/31] Emitting module Rearrange
[10/31] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[11/31] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[12/31] Compiling SwiftTreeSitter Bundle+Extensions.swift
[13/31] Compiling SwiftTreeSitter Encoding+Helpers.swift
[14/33] Compiling Rearrange UITextRange+Convenience.swift
[15/34] Compiling SwiftTreeSitter SendableTypes.swift
[16/34] Compiling SwiftTreeSitter String+Data.swift
[17/34] Compiling SwiftTreeSitter String+TextProvider.swift
[18/34] Compiling SwiftTreeSitter TSRange.swift
[19/34] Emitting module SwiftTreeSitter
[21/34] Compiling SwiftTreeSitter Language.swift
[22/34] Compiling SwiftTreeSitter LanguageConfiguration.swift
[27/34] Compiling SwiftTreeSitter Node.swift
[28/34] Compiling SwiftTreeSitter Parser.swift
[29/34] Compiling SwiftTreeSitter Point.swift
[30/34] Compiling SwiftTreeSitter Tree.swift
[31/34] Compiling SwiftTreeSitter TreeCursor.swift
[32/34] Compiling SwiftTreeSitter Predicate.swift
[33/34] Compiling SwiftTreeSitter Query.swift
[34/34] Compiling SwiftTreeSitter QueryDefinitions.swift
[36/40] Compiling TreeSitterClient TreeSitterParseState.swift
[37/40] Compiling TreeSitterClient Compatibility.swift
[38/40] Emitting module TreeSitterClient
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:272:58: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
270 | extension TreeSitterClient {
271 |     public typealias QueryCursorResult = Result<QueryCursor, TreeSitterClientError>
272 |     public typealias ResolvingQueryCursorResult = Result<ResolvingQueryCursor, TreeSitterClientError>
    |                                                          `- warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
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
372 |                                      in range: NSRange,
373 |                                      executionMode: ExecutionMode = .asynchronous(prefetch: true),
374 | 									 textProvider: TextProvider? = nil) async throws -> ResolvingQueryCursor {
    |                                                              `- warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
375 |         try await withCheckedThrowingContinuation { continuation in
376 | 			self.executeResolvingQuery(query, in: range, executionMode: executionMode, textProvider: textProvider) { result in
[39/40] Compiling TreeSitterClient TreeSitter+Extensions.swift
[40/40] Compiling TreeSitterClient TreeSitterClient.swift
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:272:58: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
270 | extension TreeSitterClient {
271 |     public typealias QueryCursorResult = Result<QueryCursor, TreeSitterClientError>
272 |     public typealias ResolvingQueryCursorResult = Result<ResolvingQueryCursor, TreeSitterClientError>
    |                                                          `- warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
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
372 |                                      in range: NSRange,
373 |                                      executionMode: ExecutionMode = .asynchronous(prefetch: true),
374 | 									 textProvider: TextProvider? = nil) async throws -> ResolvingQueryCursor {
    |                                                              `- warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
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:451:20: warning: 'ResolvingQueryCursor' is deprecated: Please use ResolvingQueryMatchSequence
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
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
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
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
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
494 |
495 | 			completionHandler(result)
/host/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:524:39: warning: 'injections()' is deprecated: Please use ResolvingQueryMatchSequence
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
525 |
526 | 			completionHandler(result)
BUILD FAILURE 6.1 linux