Build Information
Successful build of Neon, reference 0.6.0 (7df7d0
), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 05:15:59 UTC.
Swift 6 data race errors: 1
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/Neon.git
Reference: 0.6.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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 '/Users/admin/builder/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
Fetching https://github.com/ChimeHQ/Rearrange
Fetching https://github.com/ChimeHQ/SwiftTreeSitter
[1/1582] Fetching swifttreesitter
[81/2114] Fetching swifttreesitter, rearrange
Fetched https://github.com/ChimeHQ/SwiftTreeSitter from cache (1.43s)
Fetched https://github.com/ChimeHQ/Rearrange from cache (1.43s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.6.0 (3.14s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter
Computed https://github.com/ChimeHQ/SwiftTreeSitter at 0.8.0 (0.46s)
Creating working copy for https://github.com/ChimeHQ/SwiftTreeSitter
Working copy of https://github.com/ChimeHQ/SwiftTreeSitter resolved at 0.8.0
Creating working copy for https://github.com/ChimeHQ/Rearrange
Working copy of https://github.com/ChimeHQ/Rearrange resolved at 1.6.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "neon",
"name": "Neon",
"url": "https://github.com/ChimeHQ/Neon.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Neon",
"dependencies": [
{
"identity": "swifttreesitter",
"name": "SwiftTreeSitter",
"url": "https://github.com/ChimeHQ/SwiftTreeSitter",
"version": "0.8.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftTreeSitter",
"dependencies": [
]
},
{
"identity": "rearrange",
"name": "Rearrange",
"url": "https://github.com/ChimeHQ/Rearrange",
"version": "1.8.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rearrange",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/ChimeHQ/Neon.git
[1/1720] Fetching neon
Fetched https://github.com/ChimeHQ/Neon.git from cache (1.23s)
Fetching https://github.com/ChimeHQ/Rearrange from cache
Fetching https://github.com/ChimeHQ/SwiftTreeSitter from cache
Fetched https://github.com/ChimeHQ/Rearrange from cache (0.48s)
Fetched https://github.com/ChimeHQ/SwiftTreeSitter from cache (0.48s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter
Computed https://github.com/ChimeHQ/SwiftTreeSitter at 0.8.0 (0.02s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.8.1 (0.61s)
Creating working copy for https://github.com/ChimeHQ/SwiftTreeSitter
Working copy of https://github.com/ChimeHQ/SwiftTreeSitter resolved at 0.8.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/ChimeHQ/Neon.git
Working copy of https://github.com/ChimeHQ/Neon.git resolved at 0.6.0 (7df7d08)
warning: '.resolve-product-dependencies': dependency 'neon' is not used by any target
Found 2 product dependencies
- SwiftTreeSitter
- Rearrange
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/ChimeHQ/Neon.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/8] Write sources
[4/8] Write swift-version--7754E27361AE5C74.txt
[5/17] Compiling scanner.c
[6/17] Compiling lib.c
[7/36] Compiling parser.c
[9/36] Compiling SwiftTreeSitter TSRange.swift
[10/36] Compiling SwiftTreeSitter Tree.swift
[11/37] Compiling SwiftTreeSitter String+Data.swift
[12/37] Compiling SwiftTreeSitter String+TextProvider.swift
[13/37] Compiling SwiftTreeSitter Point.swift
[14/37] Compiling SwiftTreeSitter Predicate.swift
[15/37] Compiling SwiftTreeSitter Language.swift
[16/37] Compiling SwiftTreeSitter LanguageConfiguration.swift
[17/37] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[18/37] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[19/37] Compiling SwiftTreeSitter Query.swift
[20/37] Compiling SwiftTreeSitter QueryDefinitions.swift
[21/37] Compiling SwiftTreeSitter Bundle+Extensions.swift
[22/37] Compiling SwiftTreeSitter Encoding+Helpers.swift
[23/37] Compiling SwiftTreeSitter Input.swift
[24/37] Compiling SwiftTreeSitter InputEdit.swift
[25/37] Emitting module SwiftTreeSitter
[26/37] Compiling SwiftTreeSitter Node.swift
[27/37] Compiling SwiftTreeSitter Parser.swift
[28/37] Compiling SwiftTreeSitter TreeCursor.swift
[29/37] Compiling Rearrange UITextRange+Convenience.swift
[30/37] Compiling Rearrange String+NSRange.swift
[31/37] Compiling Rearrange RangeMutation.swift
[32/37] Compiling Rearrange NSRange+Shift.swift
[33/37] Compiling Rearrange NSRange+Convenience.swift
[34/37] Compiling Rearrange NSRange+ApplyMutation.swift
[35/37] Compiling Rearrange IndexSet+NSRange.swift
[36/37] Emitting module Rearrange
[37/37] Compiling Rearrange NSTextRange+NSRange.swift
[38/42] Compiling TreeSitterClient TreeSitterParseState.swift
[39/42] Compiling TreeSitterClient TreeSitter+Extensions.swift
[40/42] 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
[41/42] Compiling TreeSitterClient Compatibility.swift
[42/42] 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; 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 |
/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; 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 |
/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; 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 | }
/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; 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)
/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; 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 | }
/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; 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()
/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; 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
/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; 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 | }
/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; 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)
/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; 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 {
/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; 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
/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; 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 | }
/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; 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 |
/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; 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
/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; 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 | }
/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; 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 | }
/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; 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()
/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; 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 | }
/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; 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
/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; 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 | }
/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:377:30: warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
375 | try await withCheckedThrowingContinuation { continuation in
376 | self.executeResolvingQuery(query, in: range, executionMode: executionMode, textProvider: textProvider) { result in
377 | continuation.resume(with: result)
| |- warning: sending 'result' risks causing data races; this is an error in the Swift 6 language mode
| `- note: main actor-isolated 'result' is passed as a 'sending' parameter; Uses in callee may race with later main actor-isolated uses
378 | }
379 | }
[43/54] Compiling Neon TokenApplication.swift
/Users/admin/builder/spi-builder-workspace/Sources/Neon/TokenApplication.swift:19:23: warning: static property 'noChange' is not concurrency-safe because non-'Sendable' type 'TokenApplication' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct TokenApplication {
| `- note: consider making struct 'TokenApplication' conform to the 'Sendable' protocol
4 | public enum Action {
5 | case replace
:
17 | }
18 |
19 | public static let noChange = TokenApplication(tokens: [], action: .apply)
| |- warning: static property 'noChange' is not concurrency-safe because non-'Sendable' type 'TokenApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | }
21 |
[44/55] Compiling Neon HighlighterInvalidationBuffer.swift
[45/55] Compiling Neon NSTextView+VisibleRange.swift
[46/55] Emitting module Neon
/Users/admin/builder/spi-builder-workspace/Sources/Neon/TokenApplication.swift:19:23: warning: static property 'noChange' is not concurrency-safe because non-'Sendable' type 'TokenApplication' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct TokenApplication {
| `- note: consider making struct 'TokenApplication' conform to the 'Sendable' protocol
4 | public enum Action {
5 | case replace
:
17 | }
18 |
19 | public static let noChange = TokenApplication(tokens: [], action: .apply)
| |- warning: static property 'noChange' is not concurrency-safe because non-'Sendable' type 'TokenApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | }
21 |
[47/55] Compiling Neon Token.swift
[48/55] Compiling Neon TreeSitterClient+Highlight.swift
[49/55] Compiling Neon TextViewSystemInterface.swift
[50/55] Compiling Neon TextSystemInterface.swift
[51/55] Compiling Neon Compatibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/Neon/Compatibility.swift:6:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | func assumeMainActor<T>(_ body: @MainActor () throws -> T) rethrows -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
4 | #if swift(>=5.9)
5 | if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
6 | return try MainActor.assumeIsolated(body)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | }
8 | #endif
[52/55] Compiling Neon Highlighter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Neon/Compatibility.swift:6:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | func assumeMainActor<T>(_ body: @MainActor () throws -> T) rethrows -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
4 | #if swift(>=5.9)
5 | if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
6 | return try MainActor.assumeIsolated(body)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | }
8 | #endif
[53/55] Compiling Neon TextViewHighlighter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Neon/TextViewHighlighter.swift:174:17: warning: sending 'textStorage' risks causing data races; this is an error in the Swift 6 language mode
172 |
173 | let adjustedRange = NSRange(location: editedRange.location, length: editedRange.length - delta)
174 | let string = textStorage.string
| |- warning: sending 'textStorage' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'textStorage' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 |
176 | highlighter.didChangeContent(in: adjustedRange, delta: delta)
[54/55] Compiling Neon TextTarget.swift
[55/55] Compiling Neon UITextView+VisibleRange.swift
Build complete! (27.95s)
warning: 'rearrange': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/Info.plist
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/Rearrange.xcconfig
Build complete.
{
"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"
}
✅ Doc result (pending) reported
========================================
GenerateDocs
========================================
Generating docs at path: $PWD/.docs/chimehq/neon/0.6.0
Repository: ChimeHQ/Neon
Swift version used: 6.0
Target: Neon
Extracting symbol information for 'Neon'...
Finished extracting symbol information for 'Neon'. (6.61s)
Building documentation for 'Neon'...
Finished building documentation for 'Neon' (0.17s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/chimehq/neon/0.6.0
Fetching https://github.com/swiftlang/swift-docc-plugin
Updating https://github.com/ChimeHQ/Rearrange
Updated https://github.com/ChimeHQ/Rearrange (0.49s)
[1/2038] Fetching swift-docc-plugin
Updating https://github.com/ChimeHQ/SwiftTreeSitter
Fetched https://github.com/swiftlang/swift-docc-plugin from cache (1.34s)
Updated https://github.com/ChimeHQ/SwiftTreeSitter (0.49s)
Computing version for https://github.com/ChimeHQ/Rearrange
Computed https://github.com/ChimeHQ/Rearrange at 1.6.0 (0.60s)
Computing version for https://github.com/ChimeHQ/SwiftTreeSitter
Computed https://github.com/ChimeHQ/SwiftTreeSitter at 0.8.0 (0.45s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.4.3 (0.59s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3153] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.31s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.63s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.4.3
Building for debugging...
[0/8] Write sources
[3/8] Write snippet-extract-tool-entitlement.plist
[4/8] Write swift-version--7754E27361AE5C74.txt
[6/53] Compiling SymbolKit DeclarationFragments.swift
[7/53] Compiling SymbolKit Fragment.swift
[8/53] Compiling SymbolKit FragmentKind.swift
[9/53] Compiling SymbolKit FunctionParameter.swift
[10/53] Compiling SymbolKit FunctionSignature.swift
[11/57] Compiling SymbolKit GenericConstraint.swift
[12/57] Compiling SymbolKit GenericParameter.swift
[13/57] Compiling SymbolKit Generics.swift
[14/57] Compiling SymbolKit Namespace.swift
[15/57] Compiling SymbolKit SemanticVersion.swift
[16/57] Compiling SymbolKit AccessControl.swift
[17/57] Compiling SymbolKit Availability.swift
[18/57] Compiling SymbolKit AvailabilityItem.swift
[19/57] Compiling SymbolKit Domain.swift
[20/57] Compiling SymbolKit Mixin+Equals.swift
[21/57] Compiling SymbolKit Mixin+Hash.swift
[22/57] Compiling SymbolKit Mixin.swift
[23/57] Compiling SymbolKit LineList.swift
[24/57] Compiling SymbolKit Position.swift
[25/57] Compiling SymbolKit Names.swift
[26/57] Compiling SymbolKit SPI.swift
[27/57] Compiling SymbolKit Snippet.swift
[28/57] Compiling SymbolKit Extension.swift
[29/57] Compiling SymbolKit SourceRange.swift
[30/57] Compiling SymbolKit Metadata.swift
[31/57] Compiling SymbolKit Module.swift
[32/57] Compiling SymbolKit OperatingSystem.swift
[33/57] Compiling SymbolKit Platform.swift
[34/57] Compiling SymbolKit Relationship.swift
[35/57] Compiling SymbolKit RelationshipKind.swift
[36/57] Compiling SymbolKit SourceOrigin.swift
[37/57] Compiling SymbolKit GenericConstraints.swift
[38/57] Compiling SymbolKit Swift.swift
[39/57] Compiling SymbolKit Identifier.swift
[40/57] Compiling SymbolKit KindIdentifier.swift
[41/57] Compiling SymbolKit Location.swift
[42/57] Compiling SymbolKit Mutability.swift
[43/57] Compiling SymbolKit Symbol.swift
[44/57] Compiling SymbolKit SymbolKind.swift
[45/57] Compiling SymbolKit SymbolGraph.swift
[46/57] Compiling SymbolKit GraphCollector.swift
[47/57] Emitting module SymbolKit
[48/57] Compiling SymbolKit UnifiedSymbol+Encodable.swift
[49/57] Compiling SymbolKit UnifiedSymbol.swift
[50/57] Compiling SymbolKit UnifiedSymbolGraph+Encodable.swift
[51/57] Compiling SymbolKit UnifiedSymbolGraph.swift
[52/57] Compiling Snippets Snippet.swift
[53/57] Emitting module Snippets
[54/57] Compiling Snippets SnippetParser.swift
[55/61] Compiling snippet_extract URL+Status.swift
[56/61] Compiling snippet_extract SymbolGraph+Snippet.swift
[57/61] Compiling snippet_extract SnippetBuildCommand.swift
[58/61] Emitting module snippet_extract
[58/61] Write Objects.LinkFileList
[59/61] Linking snippet-extract-tool
[60/61] Applying snippet-extract-tool
Build of product 'snippet-extract' complete! (4.42s)
warning: 'rearrange': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/Rearrange.xcconfig
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/Info.plist
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
[2/29] Compiling SwiftTreeSitter String+Data.swift
[3/29] Compiling SwiftTreeSitter String+TextProvider.swift
[4/29] Compiling SwiftTreeSitter TSRange.swift
[5/29] Compiling SwiftTreeSitter Tree.swift
[6/30] Compiling Rearrange UITextRange+Convenience.swift
[7/30] Compiling Rearrange String+NSRange.swift
[8/30] Compiling Rearrange NSTextRange+NSRange.swift
[9/30] Compiling Rearrange NSRange+Shift.swift
[10/30] Compiling Rearrange NSRange+ApplyMutation.swift
[11/30] Emitting module Rearrange
[12/30] Compiling Rearrange RangeMutation.swift
[13/30] Compiling Rearrange IndexSet+NSRange.swift
[14/30] Compiling Rearrange NSRange+Convenience.swift
[15/30] Emitting module SwiftTreeSitter
[16/30] Compiling SwiftTreeSitter Input.swift
[17/30] Compiling SwiftTreeSitter InputEdit.swift
[18/30] Compiling SwiftTreeSitter ResolvingQueryCursor.swift
[19/30] Compiling SwiftTreeSitter ResolvingQueryMatchSequence.swift
[20/30] Compiling SwiftTreeSitter Node.swift
[21/30] Compiling SwiftTreeSitter Parser.swift
[22/30] Compiling SwiftTreeSitter Language.swift
[23/30] Compiling SwiftTreeSitter LanguageConfiguration.swift
[24/30] Compiling SwiftTreeSitter Query.swift
[25/30] Compiling SwiftTreeSitter QueryDefinitions.swift
[26/30] Compiling SwiftTreeSitter Bundle+Extensions.swift
[27/30] Compiling SwiftTreeSitter Encoding+Helpers.swift
[28/30] Compiling SwiftTreeSitter Point.swift
[29/30] Compiling SwiftTreeSitter Predicate.swift
[30/30] Compiling SwiftTreeSitter TreeCursor.swift
[31/35] Compiling TreeSitterClient Compatibility.swift
[32/35] Compiling TreeSitterClient TreeSitter+Extensions.swift
[33/35] 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
[34/35] 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 | }
[35/35] Compiling TreeSitterClient TreeSitterParseState.swift
[36/47] Compiling Neon TreeSitterClient+Highlight.swift
[37/47] Compiling Neon Token.swift
[38/47] Compiling Neon TokenApplication.swift
/Users/admin/builder/spi-builder-workspace/Sources/Neon/TokenApplication.swift:19:23: warning: static property 'noChange' is not concurrency-safe because non-'Sendable' type 'TokenApplication' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct TokenApplication {
| `- note: consider making struct 'TokenApplication' conform to the 'Sendable' protocol
4 | public enum Action {
5 | case replace
:
17 | }
18 |
19 | public static let noChange = TokenApplication(tokens: [], action: .apply)
| |- warning: static property 'noChange' is not concurrency-safe because non-'Sendable' type 'TokenApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | }
21 |
[39/48] Compiling Neon TextViewSystemInterface.swift
[40/48] Compiling Neon TextTarget.swift
[41/48] Compiling Neon HighlighterInvalidationBuffer.swift
[42/48] Compiling Neon NSTextView+VisibleRange.swift
[43/48] Compiling Neon TextSystemInterface.swift
[44/48] Compiling Neon Compatibility.swift
/Users/admin/builder/spi-builder-workspace/Sources/Neon/Compatibility.swift:6:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | func assumeMainActor<T>(_ body: @MainActor () throws -> T) rethrows -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
4 | #if swift(>=5.9)
5 | if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
6 | return try MainActor.assumeIsolated(body)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | }
8 | #endif
[45/48] Compiling Neon Highlighter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Neon/Compatibility.swift:6:24: warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | func assumeMainActor<T>(_ body: @MainActor () throws -> T) rethrows -> T {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
4 | #if swift(>=5.9)
5 | if #available(macOS 14.0, iOS 17.0, watchOS 10.0, tvOS 17.0, *) {
6 | return try MainActor.assumeIsolated(body)
| `- warning: type 'T' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
7 | }
8 | #endif
[46/48] Compiling Neon TextViewHighlighter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Neon/TextViewHighlighter.swift:174:17: warning: sending 'textStorage' risks causing data races; this is an error in the Swift 6 language mode
172 |
173 | let adjustedRange = NSRange(location: editedRange.location, length: editedRange.length - delta)
174 | let string = textStorage.string
| |- warning: sending 'textStorage' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'textStorage' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
175 |
176 | highlighter.didChangeContent(in: adjustedRange, delta: delta)
[47/48] Emitting module Neon
/Users/admin/builder/spi-builder-workspace/Sources/Neon/TokenApplication.swift:19:23: warning: static property 'noChange' is not concurrency-safe because non-'Sendable' type 'TokenApplication' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | public struct TokenApplication {
| `- note: consider making struct 'TokenApplication' conform to the 'Sendable' protocol
4 | public enum Action {
5 | case replace
:
17 | }
18 |
19 | public static let noChange = TokenApplication(tokens: [], action: .apply)
| |- warning: static property 'noChange' is not concurrency-safe because non-'Sendable' type 'TokenApplication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'noChange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | }
21 |
[48/48] Compiling Neon UITextView+VisibleRange.swift
Build of target: 'Neon' complete! (2.76s)
Target: TreeSitterClient
Extracting symbol information for 'TreeSitterClient'...
Finished extracting symbol information for 'TreeSitterClient'. (0.38s)
Building documentation for 'TreeSitterClient'...
Finished building documentation for 'TreeSitterClient' (0.06s)
Generated documentation archive at:
/Users/admin/builder/spi-builder-workspace/.docs/chimehq/neon/0.6.0
Building for debugging...
[0/3] Write swift-version--7754E27361AE5C74.txt
Build of product 'snippet-extract' complete! (0.19s)
warning: 'rearrange': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/Info.plist
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Rearrange/Sources/Rearrange/Rearrange.xcconfig
Building for debugging...
[0/1] Write swift-version--7754E27361AE5C74.txt
Build of target: 'TreeSitterClient' complete! (0.17s)
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/chimehq/neon/0.6.0/index/index.json
Successfully merged into /Users/admin/builder/spi-builder-workspace/.docs-staging/chimehq/neon/0.6.0/linkable-paths.json
412
3 /Users/admin/builder/spi-builder-workspace/.docs/chimehq/neon/0.6.0
✅ Doc result (uploading) reported
========================================
SyncDocs
========================================
Doc archive source directory: $PWD/.docs/chimehq/neon/0.6.0
File count: 412
Doc size: 3.0MB
Preparing doc bundle ...
Uploading prod-chimehq-neon-0.6.0-1ffecb1f.zip to s3://spi-docs-inbox/prod-chimehq-neon-0.6.0-1ffecb1f.zip
Copying... [18%]
Copying... [27%]
Copying... [36%]
Copying... [44%]
Copying... [53%]
Copying... [62%]
Copying... [71%]
Copying... [89%]
Copying... [98%]
Copying... [100%]
Done.