Build Information
Successful build of SourceKitten, reference 0.36.0 (fbd6bb
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 14:32:29 UTC.
Swift 6 data race errors: 8
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/jpsim/SourceKitten.git
Reference: 0.36.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jpsim/SourceKitten
* tag 0.36.0 -> FETCH_HEAD
HEAD is now at fbd6bbc Release 0.36.0
Cloned https://github.com/jpsim/SourceKitten.git
Revision (git rev-parse @):
fbd6bbcddffa97dca4b8a6b5d5a8246a430be9c7
SUCCESS checkout https://github.com/jpsim/SourceKitten.git at 0.36.0
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/Yams.git
[1/2820] Fetching swxmlhash
[594/12722] Fetching swxmlhash, yams
[1187/25075] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.95s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.95s)
Fetched https://github.com/jpsim/Yams.git from cache (1.95s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.2 (0.69s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.68s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.1 (0.54s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.2
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
========================================
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": "sourcekitten",
"name": "SourceKitten",
"url": "https://github.com/jpsim/SourceKitten.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SourceKitten",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
},
{
"identity": "swxmlhash",
"name": "SWXMLHash",
"url": "https://github.com/drmohundro/SWXMLHash.git",
"version": "7.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SWXMLHash",
"dependencies": [
]
},
{
"identity": "yams",
"name": "Yams",
"url": "https://github.com/jpsim/Yams.git",
"version": "5.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/jpsim/SourceKitten.git
[1/16016] Fetching sourcekitten
Fetched https://github.com/jpsim/SourceKitten.git from cache (1.88s)
Fetching https://github.com/drmohundro/SWXMLHash.git from cache
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.61s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.61s)
Fetched https://github.com/jpsim/Yams.git from cache (0.61s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.04s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.04s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.04s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/jpsim/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at 0.36.0 (fbd6bbc)
Found 3 product dependencies
- swift-argument-parser
- SWXMLHash
- Yams
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/jpsim/SourceKitten.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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[5/20] Write sourcekitten-entitlement.plist
[6/20] Write sources
[8/20] Compiling Clang_C Clang_C.c
[9/20] Compiling SourceKit SourceKit.c
[10/20] Write swift-version--7754E27361AE5C74.txt
[11/47] Compiling writer.c
[12/47] Compiling reader.c
[13/47] Compiling parser.c
[14/47] Compiling scanner.c
[15/47] Compiling api.c
[16/47] Compiling emitter.c
[18/62] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/62] Emitting module ArgumentParserToolInfo
[20/100] Emitting module SWXMLHash
[21/102] Compiling ArgumentParser ArgumentHelp.swift
[22/102] Compiling ArgumentParser ArgumentVisibility.swift
[23/102] Compiling ArgumentParser CompletionKind.swift
[24/102] Compiling ArgumentParser Errors.swift
[25/106] Compiling ArgumentParser BashCompletionsGenerator.swift
[26/106] Compiling ArgumentParser CompletionsGenerator.swift
[27/106] Compiling ArgumentParser FishCompletionsGenerator.swift
[28/106] Compiling ArgumentParser ZshCompletionsGenerator.swift
[29/106] Compiling ArgumentParser Argument.swift
[30/106] Emitting module ArgumentParser
[31/106] Compiling ArgumentParser Platform.swift
[32/106] Compiling ArgumentParser SequenceExtensions.swift
[33/106] Compiling ArgumentParser StringExtensions.swift
[34/106] Compiling ArgumentParser Tree.swift
[35/106] Compiling ArgumentParser Flag.swift
[36/106] Compiling ArgumentParser NameSpecification.swift
[37/106] Compiling ArgumentParser Option.swift
[38/106] Compiling ArgumentParser OptionGroup.swift
[39/106] Compiling ArgumentParser ArgumentDefinition.swift
[40/106] Compiling ArgumentParser ArgumentSet.swift
[41/106] Compiling ArgumentParser CommandParser.swift
[42/106] Compiling ArgumentParser InputKey.swift
[49/106] Compiling ArgumentParser AsyncParsableCommand.swift
[50/106] Compiling ArgumentParser CommandConfiguration.swift
[51/106] Compiling ArgumentParser EnumerableFlag.swift
[52/106] Compiling ArgumentParser ExpressibleByArgument.swift
[53/106] Compiling ArgumentParser InputOrigin.swift
[54/106] Compiling ArgumentParser Name.swift
[55/106] Compiling ArgumentParser Parsed.swift
[56/106] Compiling ArgumentParser ParsedValues.swift
[57/106] Compiling ArgumentParser ParsableArguments.swift
[58/106] Compiling ArgumentParser ParsableArgumentsValidation.swift
[59/106] Compiling ArgumentParser ParsableCommand.swift
[60/106] Compiling ArgumentParser ArgumentDecoder.swift
[61/106] Compiling ArgumentParser HelpGenerator.swift
[62/106] Compiling ArgumentParser MessageInfo.swift
[63/106] Compiling ArgumentParser UsageGenerator.swift
[64/106] Compiling SWXMLHash XMLIndexer.swift
[65/106] Compiling SWXMLHash shim.swift
[66/106] Compiling ArgumentParser SplitArguments.swift
[67/106] Compiling ArgumentParser DumpHelpGenerator.swift
[68/106] Compiling ArgumentParser HelpCommand.swift
[89/106] Compiling Yams Tag.swift
[90/106] Compiling Yams Resolver.swift
[91/106] Compiling Yams String+Yams.swift
[98/107] Compiling Yams Representer.swift
[101/107] Emitting module Yams
[104/107] Compiling Yams YamlError.swift
[105/152] Compiling SourceKittenFramework SyntaxMap.swift
[106/152] Compiling SourceKittenFramework SyntaxToken.swift
[107/152] Compiling SourceKittenFramework Text.swift
[108/152] Compiling SourceKittenFramework UID.swift
[109/152] Compiling SourceKittenFramework UIDRepresentable.swift
[110/156] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[111/156] Compiling SourceKittenFramework SwiftDocKey.swift
[112/156] Compiling SourceKittenFramework SwiftDocs.swift
[113/156] Compiling SourceKittenFramework SwiftVersion.swift
[114/156] Compiling SourceKittenFramework SyntaxKind.swift
[115/156] Compiling SourceKittenFramework UncheckedSendable.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Version.swift:4:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
2 | public let value: String
3 |
4 | public static let current = Version(value: "0.36.0")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
5 | }
6 |
[116/156] Compiling SourceKittenFramework Version.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Version.swift:4:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
2 | public let value: String
3 |
4 | public static let current = Version(value: "0.36.0")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
5 | }
6 |
[117/156] Compiling SourceKittenFramework WindowsError.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Version.swift:4:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
2 | public let value: String
3 |
4 | public static let current = Version(value: "0.36.0")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
5 | }
6 |
[118/156] Compiling SourceKittenFramework Xcode.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Version.swift:4:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
2 | public let value: String
3 |
4 | public static let current = Version(value: "0.36.0")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
5 | }
6 |
[119/156] Compiling SourceKittenFramework LinuxCompatibility.swift
[120/156] Compiling SourceKittenFramework Module.swift
[121/156] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[122/156] Compiling SourceKittenFramework OffsetMap.swift
[123/156] Compiling SourceKittenFramework Parameter.swift
[124/156] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[125/156] Compiling SourceKittenFramework Dictionary+Merge.swift
[126/156] Compiling SourceKittenFramework Documentation.swift
[127/156] Compiling SourceKittenFramework Exec.swift
[128/156] Compiling SourceKittenFramework File+Hashable.swift
[129/156] Compiling SourceKittenFramework File.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 | private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
| |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'untrustedCursorInfoKeys' 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
323 | .kind, // values from editor.open are more accurate than cursorinfo
324 | .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocKey.swift:2:13: note: consider making enum 'SwiftDocKey' conform to the 'Sendable' protocol
1 | /// SourceKit response dictionary keys.
2 | public enum SwiftDocKey: String {
| `- note: consider making enum 'SwiftDocKey' conform to the 'Sendable' protocol
3 | // MARK: SourceKit Keys
4 |
[130/156] Compiling SourceKittenFramework JSONOutput.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 | private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
| |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'untrustedCursorInfoKeys' 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
323 | .kind, // values from editor.open are more accurate than cursorinfo
324 | .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocKey.swift:2:13: note: consider making enum 'SwiftDocKey' conform to the 'Sendable' protocol
1 | /// SourceKit response dictionary keys.
2 | public enum SwiftDocKey: String {
| `- note: consider making enum 'SwiftDocKey' conform to the 'Sendable' protocol
3 | // MARK: SourceKit Keys
4 |
[131/156] Compiling SourceKittenFramework Language.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 | private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
| |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'untrustedCursorInfoKeys' 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
323 | .kind, // values from editor.open are more accurate than cursorinfo
324 | .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocKey.swift:2:13: note: consider making enum 'SwiftDocKey' conform to the 'Sendable' protocol
1 | /// SourceKit response dictionary keys.
2 | public enum SwiftDocKey: String {
| `- note: consider making enum 'SwiftDocKey' conform to the 'Sendable' protocol
3 | // MARK: SourceKit Keys
4 |
[132/156] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 | private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
| |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'untrustedCursorInfoKeys' 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
323 | .kind, // values from editor.open are more accurate than cursorinfo
324 | .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocKey.swift:2:13: note: consider making enum 'SwiftDocKey' conform to the 'Sendable' protocol
1 | /// SourceKit response dictionary keys.
2 | public enum SwiftDocKey: String {
| `- note: consider making enum 'SwiftDocKey' conform to the 'Sendable' protocol
3 | // MARK: SourceKit Keys
4 |
[133/156] Compiling SourceKittenFramework Line.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 | private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
| |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'untrustedCursorInfoKeys' 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
323 | .kind, // values from editor.open are more accurate than cursorinfo
324 | .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocKey.swift:2:13: note: consider making enum 'SwiftDocKey' conform to the 'Sendable' protocol
1 | /// SourceKit response dictionary keys.
2 | public enum SwiftDocKey: String {
| `- note: consider making enum 'SwiftDocKey' conform to the 'Sendable' protocol
3 | // MARK: SourceKit Keys
4 |
[134/156] Compiling SourceKittenFramework String+SourceKitten.swift
[135/156] Compiling SourceKittenFramework StringView+SourceKitten.swift
[136/156] Compiling SourceKittenFramework StringView.swift
[137/156] Compiling SourceKittenFramework Structure.swift
[138/156] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[139/156] Compiling SourceKittenFramework ByteCount.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:9:13: warning: var '_interfaceUUIDMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | import SWXMLHash
8 |
9 | private var _interfaceUUIDMap = [String: String]()
| |- warning: var '_interfaceUUIDMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_interfaceUUIDMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_interfaceUUIDMap' 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
10 | private var _interfaceUUIDMapLock = NSLock()
11 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:10:13: warning: var '_interfaceUUIDMapLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | private var _interfaceUUIDMap = [String: String]()
10 | private var _interfaceUUIDMapLock = NSLock()
| |- warning: var '_interfaceUUIDMapLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_interfaceUUIDMapLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_interfaceUUIDMapLock' 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
11 |
12 | /// Thread safe read from sourceKitUID map
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:41:1: warning: extension declares a conformance of imported type 'CXString' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Clang_C' introduce this conformance in the future
39 | }
40 |
41 | extension CXString: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CXString' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Clang_C' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 | func str() -> String? {
43 | if let cString = clang_getCString(self) {
[140/156] Compiling SourceKittenFramework ByteRange.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:9:13: warning: var '_interfaceUUIDMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | import SWXMLHash
8 |
9 | private var _interfaceUUIDMap = [String: String]()
| |- warning: var '_interfaceUUIDMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_interfaceUUIDMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_interfaceUUIDMap' 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
10 | private var _interfaceUUIDMapLock = NSLock()
11 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:10:13: warning: var '_interfaceUUIDMapLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | private var _interfaceUUIDMap = [String: String]()
10 | private var _interfaceUUIDMapLock = NSLock()
| |- warning: var '_interfaceUUIDMapLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_interfaceUUIDMapLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_interfaceUUIDMapLock' 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
11 |
12 | /// Thread safe read from sourceKitUID map
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:41:1: warning: extension declares a conformance of imported type 'CXString' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Clang_C' introduce this conformance in the future
39 | }
40 |
41 | extension CXString: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CXString' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Clang_C' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 | func str() -> String? {
43 | if let cString = clang_getCString(self) {
[141/156] Compiling SourceKittenFramework Clang+SourceKitten.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:9:13: warning: var '_interfaceUUIDMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | import SWXMLHash
8 |
9 | private var _interfaceUUIDMap = [String: String]()
| |- warning: var '_interfaceUUIDMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_interfaceUUIDMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_interfaceUUIDMap' 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
10 | private var _interfaceUUIDMapLock = NSLock()
11 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:10:13: warning: var '_interfaceUUIDMapLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | private var _interfaceUUIDMap = [String: String]()
10 | private var _interfaceUUIDMapLock = NSLock()
| |- warning: var '_interfaceUUIDMapLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_interfaceUUIDMapLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_interfaceUUIDMapLock' 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
11 |
12 | /// Thread safe read from sourceKitUID map
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:41:1: warning: extension declares a conformance of imported type 'CXString' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Clang_C' introduce this conformance in the future
39 | }
40 |
41 | extension CXString: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CXString' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Clang_C' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 | func str() -> String? {
43 | if let cString = clang_getCString(self) {
[142/156] Compiling SourceKittenFramework ClangTranslationUnit.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:9:13: warning: var '_interfaceUUIDMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | import SWXMLHash
8 |
9 | private var _interfaceUUIDMap = [String: String]()
| |- warning: var '_interfaceUUIDMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_interfaceUUIDMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_interfaceUUIDMap' 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
10 | private var _interfaceUUIDMapLock = NSLock()
11 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:10:13: warning: var '_interfaceUUIDMapLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | private var _interfaceUUIDMap = [String: String]()
10 | private var _interfaceUUIDMapLock = NSLock()
| |- warning: var '_interfaceUUIDMapLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_interfaceUUIDMapLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_interfaceUUIDMapLock' 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
11 |
12 | /// Thread safe read from sourceKitUID map
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:41:1: warning: extension declares a conformance of imported type 'CXString' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Clang_C' introduce this conformance in the future
39 | }
40 |
41 | extension CXString: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CXString' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Clang_C' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 | func str() -> String? {
43 | if let cString = clang_getCString(self) {
[143/156] Compiling SourceKittenFramework CodeCompletionItem.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:9:13: warning: var '_interfaceUUIDMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | import SWXMLHash
8 |
9 | private var _interfaceUUIDMap = [String: String]()
| |- warning: var '_interfaceUUIDMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_interfaceUUIDMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_interfaceUUIDMap' 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
10 | private var _interfaceUUIDMapLock = NSLock()
11 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:10:13: warning: var '_interfaceUUIDMapLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | private var _interfaceUUIDMap = [String: String]()
10 | private var _interfaceUUIDMapLock = NSLock()
| |- warning: var '_interfaceUUIDMapLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_interfaceUUIDMapLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_interfaceUUIDMapLock' 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
11 |
12 | /// Thread safe read from sourceKitUID map
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:41:1: warning: extension declares a conformance of imported type 'CXString' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Clang_C' introduce this conformance in the future
39 | }
40 |
41 | extension CXString: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CXString' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Clang_C' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 | func str() -> String? {
43 | if let cString = clang_getCString(self) {
[144/156] Emitting module SourceKittenFramework
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:9:13: warning: var '_interfaceUUIDMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
7 | import SWXMLHash
8 |
9 | private var _interfaceUUIDMap = [String: String]()
| |- warning: var '_interfaceUUIDMap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_interfaceUUIDMap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_interfaceUUIDMap' 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
10 | private var _interfaceUUIDMapLock = NSLock()
11 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:10:13: warning: var '_interfaceUUIDMapLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
8 |
9 | private var _interfaceUUIDMap = [String: String]()
10 | private var _interfaceUUIDMapLock = NSLock()
| |- warning: var '_interfaceUUIDMapLock' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_interfaceUUIDMapLock' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_interfaceUUIDMapLock' 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
11 |
12 | /// Thread safe read from sourceKitUID map
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Clang+SourceKitten.swift:41:1: warning: extension declares a conformance of imported type 'CXString' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Clang_C' introduce this conformance in the future
39 | }
40 |
41 | extension CXString: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'CXString' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Clang_C' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
42 | func str() -> String? {
43 | if let cString = clang_getCString(self) {
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 | private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
| |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'untrustedCursorInfoKeys' 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
323 | .kind, // values from editor.open are more accurate than cursorinfo
324 | .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocKey.swift:2:13: note: consider making enum 'SwiftDocKey' conform to the 'Sendable' protocol
1 | /// SourceKit response dictionary keys.
2 | public enum SwiftDocKey: String {
| `- note: consider making enum 'SwiftDocKey' conform to the 'Sendable' protocol
3 | // MARK: SourceKit Keys
4 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:115:13: warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// dispatch_semaphore_t used when waiting for sourcekitd to be restored.
115 | private var sourceKitWaitingRestoredSemaphore = DispatchSemaphore(value: 0)
| |- warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sourceKitWaitingRestoredSemaphore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sourceKitWaitingRestoredSemaphore' 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
116 |
117 | private extension String {
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Version.swift:4:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
2 | public let value: String
3 |
4 | public static let current = Version(value: "0.36.0")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' 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
5 | }
6 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_Clang_C.swift:16:13: warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private let library = toolchainLoader.load(path: "libclang.dll")
15 | #else
16 | private let library = toolchainLoader.load(path: "libclang.dylib")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' 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
17 | #endif
18 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper.swift:8:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
6 | // MARK: - Shared Types & Functions
7 |
8 | struct DynamicLinkLibrary {
| `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
9 | #if os(Windows)
10 | typealias Handle = HMODULE?
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_SourceKit.swift:10:13: warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
8 | private let library = toolchainLoader.load(path: "sourcekitdInProc.dll")
9 | #else
10 | private let library = toolchainLoader.load(path: "sourcekitdInProc.framework/Versions/A/sourcekitdInProc")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' 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
11 | #endif
12 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper.swift:8:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
6 | // MARK: - Shared Types & Functions
7 |
8 | struct DynamicLinkLibrary {
| `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
9 | #if os(Windows)
10 | typealias Handle = HMODULE?
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:128:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
126 | continuation.resume(throwing: SourceKitSendError.error)
127 | } else {
128 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
129 | }
130 | }
[145/156] Compiling SourceKittenFramework Request.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:115:13: warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// dispatch_semaphore_t used when waiting for sourcekitd to be restored.
115 | private var sourceKitWaitingRestoredSemaphore = DispatchSemaphore(value: 0)
| |- warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sourceKitWaitingRestoredSemaphore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sourceKitWaitingRestoredSemaphore' 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
116 |
117 | private extension String {
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:128:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
126 | continuation.resume(throwing: SourceKitSendError.error)
127 | } else {
128 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
129 | }
130 | }
[146/156] Compiling SourceKittenFramework SourceDeclaration.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:115:13: warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// dispatch_semaphore_t used when waiting for sourcekitd to be restored.
115 | private var sourceKitWaitingRestoredSemaphore = DispatchSemaphore(value: 0)
| |- warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sourceKitWaitingRestoredSemaphore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sourceKitWaitingRestoredSemaphore' 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
116 |
117 | private extension String {
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:128:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
126 | continuation.resume(throwing: SourceKitSendError.error)
127 | } else {
128 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
129 | }
130 | }
[147/156] Compiling SourceKittenFramework SourceKitObject.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:115:13: warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// dispatch_semaphore_t used when waiting for sourcekitd to be restored.
115 | private var sourceKitWaitingRestoredSemaphore = DispatchSemaphore(value: 0)
| |- warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sourceKitWaitingRestoredSemaphore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sourceKitWaitingRestoredSemaphore' 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
116 |
117 | private extension String {
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:128:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
126 | continuation.resume(throwing: SourceKitSendError.error)
127 | } else {
128 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
129 | }
130 | }
[148/156] Compiling SourceKittenFramework SourceLocation.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:115:13: warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// dispatch_semaphore_t used when waiting for sourcekitd to be restored.
115 | private var sourceKitWaitingRestoredSemaphore = DispatchSemaphore(value: 0)
| |- warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sourceKitWaitingRestoredSemaphore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sourceKitWaitingRestoredSemaphore' 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
116 |
117 | private extension String {
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:128:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
126 | continuation.resume(throwing: SourceKitSendError.error)
127 | } else {
128 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
129 | }
130 | }
[149/156] Compiling SourceKittenFramework StatementKind.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:115:13: warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// dispatch_semaphore_t used when waiting for sourcekitd to be restored.
115 | private var sourceKitWaitingRestoredSemaphore = DispatchSemaphore(value: 0)
| |- warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sourceKitWaitingRestoredSemaphore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sourceKitWaitingRestoredSemaphore' 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
116 |
117 | private extension String {
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:128:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
126 | continuation.resume(throwing: SourceKitSendError.error)
127 | } else {
128 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
129 | }
130 | }
[150/156] Compiling SourceKittenFramework XcodeBuildSetting.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_Clang_C.swift:16:13: warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private let library = toolchainLoader.load(path: "libclang.dll")
15 | #else
16 | private let library = toolchainLoader.load(path: "libclang.dylib")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' 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
17 | #endif
18 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper.swift:8:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
6 | // MARK: - Shared Types & Functions
7 |
8 | struct DynamicLinkLibrary {
| `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
9 | #if os(Windows)
10 | typealias Handle = HMODULE?
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_SourceKit.swift:10:13: warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
8 | private let library = toolchainLoader.load(path: "sourcekitdInProc.dll")
9 | #else
10 | private let library = toolchainLoader.load(path: "sourcekitdInProc.framework/Versions/A/sourcekitdInProc")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' 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
11 | #endif
12 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper.swift:8:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
6 | // MARK: - Shared Types & Functions
7 |
8 | struct DynamicLinkLibrary {
| `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
9 | #if os(Windows)
10 | typealias Handle = HMODULE?
[151/156] Compiling SourceKittenFramework library_wrapper.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_Clang_C.swift:16:13: warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private let library = toolchainLoader.load(path: "libclang.dll")
15 | #else
16 | private let library = toolchainLoader.load(path: "libclang.dylib")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' 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
17 | #endif
18 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper.swift:8:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
6 | // MARK: - Shared Types & Functions
7 |
8 | struct DynamicLinkLibrary {
| `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
9 | #if os(Windows)
10 | typealias Handle = HMODULE?
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_SourceKit.swift:10:13: warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
8 | private let library = toolchainLoader.load(path: "sourcekitdInProc.dll")
9 | #else
10 | private let library = toolchainLoader.load(path: "sourcekitdInProc.framework/Versions/A/sourcekitdInProc")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' 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
11 | #endif
12 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper.swift:8:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
6 | // MARK: - Shared Types & Functions
7 |
8 | struct DynamicLinkLibrary {
| `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
9 | #if os(Windows)
10 | typealias Handle = HMODULE?
[152/156] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_Clang_C.swift:16:13: warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private let library = toolchainLoader.load(path: "libclang.dll")
15 | #else
16 | private let library = toolchainLoader.load(path: "libclang.dylib")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' 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
17 | #endif
18 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper.swift:8:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
6 | // MARK: - Shared Types & Functions
7 |
8 | struct DynamicLinkLibrary {
| `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
9 | #if os(Windows)
10 | typealias Handle = HMODULE?
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_SourceKit.swift:10:13: warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
8 | private let library = toolchainLoader.load(path: "sourcekitdInProc.dll")
9 | #else
10 | private let library = toolchainLoader.load(path: "sourcekitdInProc.framework/Versions/A/sourcekitdInProc")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' 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
11 | #endif
12 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper.swift:8:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
6 | // MARK: - Shared Types & Functions
7 |
8 | struct DynamicLinkLibrary {
| `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
9 | #if os(Windows)
10 | typealias Handle = HMODULE?
[153/156] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_Clang_C.swift:16:13: warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
14 | private let library = toolchainLoader.load(path: "libclang.dll")
15 | #else
16 | private let library = toolchainLoader.load(path: "libclang.dylib")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' 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
17 | #endif
18 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper.swift:8:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
6 | // MARK: - Shared Types & Functions
7 |
8 | struct DynamicLinkLibrary {
| `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
9 | #if os(Windows)
10 | typealias Handle = HMODULE?
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_SourceKit.swift:10:13: warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
8 | private let library = toolchainLoader.load(path: "sourcekitdInProc.dll")
9 | #else
10 | private let library = toolchainLoader.load(path: "sourcekitdInProc.framework/Versions/A/sourcekitdInProc")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' 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
11 | #endif
12 |
/Users/admin/builder/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper.swift:8:8: note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
6 | // MARK: - Shared Types & Functions
7 |
8 | struct DynamicLinkLibrary {
| `- note: consider making struct 'DynamicLinkLibrary' conform to the 'Sendable' protocol
9 | #if os(Windows)
10 | typealias Handle = HMODULE?
[154/168] Compiling sourcekitten Version.swift
[155/169] Compiling sourcekitten Syntax.swift
[156/169] Emitting module sourcekitten
[157/169] Compiling sourcekitten main.swift
[158/169] Compiling sourcekitten Structure.swift
[159/169] Compiling sourcekitten SourceKitten.swift
[160/169] Compiling sourcekitten Errors.swift
[161/169] Compiling sourcekitten Format.swift
[162/169] Compiling sourcekitten Complete.swift
[163/169] Compiling sourcekitten Doc.swift
[164/169] Compiling sourcekitten Request.swift
[165/169] Compiling sourcekitten ModuleInfo.swift
[166/169] Compiling sourcekitten Index.swift
[166/169] Write Objects.LinkFileList
[167/169] Linking sourcekitten
[168/169] Applying sourcekitten
Build complete! (26.76s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "swxmlhash",
"requirement" : {
"range" : [
{
"lower_bound" : "7.0.2",
"upper_bound" : "8.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/drmohundro/SWXMLHash.git"
},
{
"identity" : "yams",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.5",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams.git"
}
],
"manifest_display_name" : "SourceKitten",
"name" : "SourceKitten",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "sourcekitten",
"targets" : [
"sourcekitten"
],
"type" : {
"executable" : null
}
},
{
"name" : "SourceKittenFramework",
"targets" : [
"SourceKittenFramework"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "sourcekitten",
"module_type" : "SwiftTarget",
"name" : "sourcekitten",
"path" : "Source/sourcekitten",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"sourcekitten"
],
"sources" : [
"Complete.swift",
"Doc.swift",
"Errors.swift",
"Format.swift",
"Index.swift",
"ModuleInfo.swift",
"Request.swift",
"SourceKitten.swift",
"Structure.swift",
"Syntax.swift",
"Version.swift",
"main.swift"
],
"target_dependencies" : [
"SourceKittenFramework"
],
"type" : "executable"
},
{
"c99name" : "SourceKittenFrameworkTests",
"module_type" : "SwiftTarget",
"name" : "SourceKittenFrameworkTests",
"path" : "Tests/SourceKittenFrameworkTests",
"sources" : [
"ByteRangeTests.swift",
"ClangTranslationUnitTests.swift",
"CodeCompletionTests.swift",
"CursorInfoParsingTests.swift",
"CursorInfoUSRTests.swift",
"DocInfoTests.swift",
"FileTests.swift",
"LibraryWrapperGeneratorTests.swift",
"ModuleTests.swift",
"OffsetMapTests.swift",
"SourceKitObjectTests.swift",
"SourceKitStrings+Windows.swift",
"SourceKitTests.swift",
"StringTests.swift",
"StructureTests.swift",
"SwiftDocKeyTests.swift",
"SwiftDocsTests.swift",
"SyntaxTests.swift"
],
"target_dependencies" : [
"SourceKittenFramework"
],
"type" : "test"
},
{
"c99name" : "SourceKittenFramework",
"module_type" : "SwiftTarget",
"name" : "SourceKittenFramework",
"path" : "Source/SourceKittenFramework",
"product_dependencies" : [
"SWXMLHash",
"Yams"
],
"product_memberships" : [
"sourcekitten",
"SourceKittenFramework"
],
"sources" : [
"ByteCount.swift",
"ByteRange.swift",
"Clang+SourceKitten.swift",
"ClangTranslationUnit.swift",
"CodeCompletionItem.swift",
"CursorInfo+Parsing.swift",
"Dictionary+Merge.swift",
"Documentation.swift",
"Exec.swift",
"File+Hashable.swift",
"File.swift",
"JSONOutput.swift",
"Language.swift",
"LibraryWrapperGenerator.swift",
"Line.swift",
"LinuxCompatibility.swift",
"Module.swift",
"ObjCDeclarationKind.swift",
"OffsetMap.swift",
"Parameter.swift",
"Request.swift",
"SourceDeclaration.swift",
"SourceKitObject.swift",
"SourceLocation.swift",
"StatementKind.swift",
"String+SourceKitten.swift",
"StringView+SourceKitten.swift",
"StringView.swift",
"Structure.swift",
"SwiftDeclarationAttributeKind.swift",
"SwiftDeclarationKind.swift",
"SwiftDocKey.swift",
"SwiftDocs.swift",
"SwiftVersion.swift",
"SyntaxKind.swift",
"SyntaxMap.swift",
"SyntaxToken.swift",
"Text.swift",
"UID.swift",
"UIDRepresentable.swift",
"UncheckedSendable.swift",
"Version.swift",
"WindowsError.swift",
"Xcode.swift",
"XcodeBuildSetting.swift",
"library_wrapper.swift",
"library_wrapper_Clang_C.swift",
"library_wrapper_SourceKit.swift"
],
"target_dependencies" : [
"Clang_C",
"SourceKit"
],
"type" : "library"
},
{
"c99name" : "SourceKit",
"module_type" : "ClangTarget",
"name" : "SourceKit",
"path" : "Source/SourceKit",
"product_memberships" : [
"sourcekitten",
"SourceKittenFramework"
],
"sources" : [
"SourceKit.c"
],
"type" : "library"
},
{
"c99name" : "Clang_C",
"module_type" : "ClangTarget",
"name" : "Clang_C",
"path" : "Source/Clang_C",
"product_memberships" : [
"sourcekitten",
"SourceKittenFramework"
],
"sources" : [
"Clang_C.c"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.