The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Neon, reference 0.6.0 (7df7d0), with Swift 6.1 for macOS (SPM) on 4 Sep 2026 00:35:01 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

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 /Users/admin/builder/spi-builder-workspace/.git/
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 '/Users/admin/builder/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:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/slsrepo/Neon.git
https://github.com/slsrepo/Neon.git
{
  "dependencies" : [
    {
      "identity" : "swifttreesitter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.8.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/SwiftTreeSitter"
    },
    {
      "identity" : "rearrange",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.6.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ChimeHQ/Rearrange"
    }
  ],
  "manifest_display_name" : "Neon",
  "name" : "Neon",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    },
    {
      "name" : "ios",
      "version" : "11.0"
    },
    {
      "name" : "tvos",
      "version" : "11.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "Neon",
      "targets" : [
        "Neon"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "TreeSitterClientTests",
      "module_type" : "SwiftTarget",
      "name" : "TreeSitterClientTests",
      "path" : "Tests/TreeSitterClientTests",
      "sources" : [
        "TreeSitterClientTests.swift"
      ],
      "target_dependencies" : [
        "TreeSitterClient",
        "TestTreeSitterSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "TreeSitterClient",
      "module_type" : "SwiftTarget",
      "name" : "TreeSitterClient",
      "path" : "Sources/TreeSitterClient",
      "product_dependencies" : [
        "Rearrange",
        "SwiftTreeSitter"
      ],
      "product_memberships" : [
        "Neon"
      ],
      "sources" : [
        "Compatibility.swift",
        "TreeSitter+Extensions.swift",
        "TreeSitterClient.swift",
        "TreeSitterParseState.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TestTreeSitterSwift",
      "module_type" : "ClangTarget",
      "name" : "TestTreeSitterSwift",
      "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" : [
        "SwiftTreeSitter",
        "Rearrange"
      ],
      "product_memberships" : [
        "Neon"
      ],
      "sources" : [
        "Compatibility.swift",
        "Highlighter.swift",
        "HighlighterInvalidationBuffer.swift",
        "NSTextView+VisibleRange.swift",
        "TextSystemInterface.swift",
        "TextTarget.swift",
        "TextViewHighlighter.swift",
        "TextViewSystemInterface.swift",
        "Token.swift",
        "TokenApplication.swift",
        "TreeSitterClient+Highlight.swift",
        "UITextView+VisibleRange.swift"
      ],
      "target_dependencies" : [
        "TreeSitterClient"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/20] Write sources
[1/20] Write swift-version-2F0A5646E1D333AE.txt
[2/20] Compiling stdlib.c
[3/20] Compiling wasm_store.c
[4/20] Compiling scanner.c
[5/20] Compiling stack.c
[6/20] Compiling subtree.c
[7/20] Compiling language.c
[8/20] Write sources
[11/20] Compiling tree_cursor.c
[12/20] Compiling get_changed_ranges.c
[13/20] Compiling parser.c
[14/20] Compiling alloc.c
[15/20] Compiling tree.c
[16/30] Compiling lexer.c
[17/30] Compiling node.c
[18/30] Compiling query.c
[19/49] Compiling parser.c
[21/49] Compiling SwiftTreeSitter SendableTypes.swift
[22/49] Compiling SwiftTreeSitter String+Data.swift
[23/49] Compiling SwiftTreeSitter String+TextProvider.swift
[24/49] Compiling SwiftTreeSitter TSRange.swift
[25/49] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[26/49] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[27/49] Compiling SwiftTreeSitter Input.swift
[28/49] Compiling SwiftTreeSitter InputEdit.swift
[29/49] Compiling SwiftTreeSitter Query.swift
[30/49] Compiling SwiftTreeSitter QueryDefinitions.swift
[31/51] Compiling SwiftTreeSitter Node.swift
[32/51] Compiling SwiftTreeSitter Parser.swift
[33/51] Compiling SwiftTreeSitter Bundle+Extensions.swift
[34/51] Compiling SwiftTreeSitter Encoding+Helpers.swift
[35/51] Compiling SwiftTreeSitter Language.swift
[36/51] Compiling SwiftTreeSitter LanguageConfiguration.swift
[37/51] Emitting module SwiftTreeSitter
[38/51] Compiling SwiftTreeSitter Point.swift
[39/51] Compiling SwiftTreeSitter Predicate.swift
[40/51] Compiling SwiftTreeSitter Tree.swift
[41/51] Compiling SwiftTreeSitter TreeCursor.swift
[42/51] Compiling Rearrange RangeMutation.swift
[43/51] Compiling Rearrange NSTextRange+NSRange.swift
[44/51] Compiling Rearrange String+NSRange.swift
[45/51] Compiling Rearrange NSRange+Convenience.swift
[46/51] Compiling Rearrange NSRange+Shift.swift
[47/51] Compiling Rearrange IndexSet+NSRange.swift
[48/51] Compiling Rearrange IndexSet+ApplyMutation.swift
[49/51] Emitting module Rearrange
[50/51] Compiling Rearrange NSRange+ApplyMutation.swift
[51/51] Compiling Rearrange NSTextLocation+Comparable.swift
[52/52] Compiling Rearrange UITextRange+Convenience.swift
[53/57] Compiling TreeSitterClient TreeSitter+Extensions.swift
[54/57] Compiling TreeSitterClient TreeSitterParseState.swift
[55/57] Compiling TreeSitterClient Compatibility.swift
[56/57] Emitting module TreeSitterClient
/Users/admin/builder/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
/Users/admin/builder/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
[57/57] Compiling TreeSitterClient TreeSitterClient.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:213:40: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure
 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
214 | 			let set = doInvalidations ? self.computeInvalidatedSet(from: oldState, to: newState, with: edit) : IndexSet()
215 |
/Users/admin/builder/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
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
    |                                                                          `- 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 |
/Users/admin/builder/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:223:5: warning: capture of 'completionHandler' with non-sendable type '() -> Void' in a '@Sendable' closure
221 | 				self.dispatchInvalidatedSet(set)
222 |
223 | 				completionHandler()
    |     |- warning: capture of 'completionHandler' with non-sendable type '() -> Void' in a '@Sendable' closure
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
224 | 			}
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:217:25: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure
 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
218 |
219 | 				assert(completedEdit.inputEdit == edit.inputEdit)
/Users/admin/builder/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:223:5: warning: capture of 'completionHandler' with non-sendable type '() -> Void' in a '@Sendable' closure
221 | 				self.dispatchInvalidatedSet(set)
222 |
223 | 				completionHandler()
    |     |- warning: capture of 'completionHandler' with non-sendable type '() -> Void' in a '@Sendable' closure
    |     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
224 | 			}
225 |         }
/Users/admin/builder/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:336:13: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure
 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
337 |             let state = self.parseState.copy()
338 |             self.semaphore.signal()
/Users/admin/builder/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
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
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
352 |
353 |                         return
/Users/admin/builder/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
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
    |                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
357 | 						cursor.prepare(with: textProvider)
358 | 					}
/Users/admin/builder/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:341:30: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure
 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
342 |                                                                                  in: range,
343 |                                                                                  with: state)
/Users/admin/builder/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:343:88: warning: capture of 'state' with non-sendable type 'TreeSitterParseState' in a '@Sendable' closure
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
344 |
345 |                 if case .success(let cursor) = result, prefetchMatches {
/Users/admin/builder/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 |
/Users/admin/builder/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
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
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
352 |
353 |                         return
/Users/admin/builder/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
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
    |                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
357 | 						cursor.prepare(with: textProvider)
358 | 					}
/Users/admin/builder/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:350:45: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure
 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
351 |                         completionHandler(.failure(.staleContent))
352 |
/Users/admin/builder/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
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
    |                         `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
352 |
353 |                         return
/Users/admin/builder/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
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
    |                            `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
357 | 						cursor.prepare(with: textProvider)
358 | 					}
/Users/admin/builder/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
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
357 | 						cursor.prepare(with: textProvider)
358 | 					}
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:391:13: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure
 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
392 |             let tree = self.parseState.tree?.copy()
393 |             self.semaphore.signal()
/Users/admin/builder/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
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
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
398 |                     return
399 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/TreeSitterClient/TreeSitterClient.swift:396:41: warning: capture of 'self' with non-sendable type 'TreeSitterClient' in a '@Sendable' closure
 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
397 |                     completionHandler(.failure(.staleContent))
398 |                     return
/Users/admin/builder/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
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
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
398 |                     return
399 |                 }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 = []
/Users/admin/builder/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)
/Users/admin/builder/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)
Fetching https://github.com/ChimeHQ/SwiftTreeSitter
Fetching https://github.com/ChimeHQ/Rearrange
[1/609] Fetching rearrange
[26/2361] Fetching rearrange, swifttreesitter
Fetched https://github.com/ChimeHQ/SwiftTreeSitter from cache (1.08s)
Fetched https://github.com/ChimeHQ/Rearrange from cache (1.08s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.8.1 (4.21s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter
Computed https://github.com/ChimeHQ/SwiftTreeSitter at 0.25.0 (0.48s)
Fetching https://github.com/tree-sitter/tree-sitter
[1/71989] Fetching tree-sitter
Fetched https://github.com/tree-sitter/tree-sitter from cache (4.83s)
Computing version for https://github.com/tree-sitter/tree-sitter
Computed https://github.com/tree-sitter/tree-sitter at 0.25.10 (5.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
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/30] Compiling SwiftTreeSitter SendableTypes.swift
[3/30] Compiling SwiftTreeSitter String+Data.swift
[4/30] Compiling SwiftTreeSitter String+TextProvider.swift
[5/30] Compiling SwiftTreeSitter TSRange.swift
[6/32] Compiling SwiftTreeSitter Bundle+Extensions.swift
[7/32] Compiling SwiftTreeSitter Encoding+Helpers.swift
[8/32] Emitting module SwiftTreeSitter
[9/32] Compiling Rearrange String+NSRange.swift
[10/32] Compiling Rearrange NSTextRange+NSRange.swift
[11/32] Compiling Rearrange NSRange+Shift.swift
[12/32] Compiling Rearrange NSTextLocation+Comparable.swift
[13/32] Compiling Rearrange NSRange+ApplyMutation.swift
[14/32] Compiling Rearrange NSRange+Convenience.swift
[15/32] Compiling Rearrange IndexSet+NSRange.swift
[16/32] Compiling Rearrange IndexSet+ApplyMutation.swift
[17/32] Emitting module Rearrange
[18/32] Compiling Rearrange RangeMutation.swift
[19/33] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[20/33] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[21/33] Compiling SwiftTreeSitter Node.swift
[22/33] Compiling SwiftTreeSitter Parser.swift
[23/33] Compiling SwiftTreeSitter Input.swift
[24/33] Compiling SwiftTreeSitter InputEdit.swift
[25/33] Compiling SwiftTreeSitter Language.swift
[26/33] Compiling SwiftTreeSitter LanguageConfiguration.swift
[27/33] Compiling SwiftTreeSitter Query.swift
[28/33] Compiling SwiftTreeSitter QueryDefinitions.swift
[29/33] Compiling SwiftTreeSitter Point.swift
[30/33] Compiling SwiftTreeSitter Predicate.swift
[31/33] Compiling SwiftTreeSitter Tree.swift
[32/33] Compiling SwiftTreeSitter TreeCursor.swift
[33/33] Compiling Rearrange UITextRange+Convenience.swift
[34/38] Compiling TreeSitterClient TreeSitterParseState.swift
[35/38] Compiling TreeSitterClient TreeSitter+Extensions.swift
[36/38] Compiling TreeSitterClient Compatibility.swift
[37/38] Emitting module TreeSitterClient
/Users/admin/builder/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
/Users/admin/builder/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
[38/38] Compiling TreeSitterClient TreeSitterClient.swift
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/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 = []
/Users/admin/builder/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)
/Users/admin/builder/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 macosSpm