Build Information
Successful build of SourceKitten, reference main (3db807
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 14:32:33 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: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jpsim/SourceKitten
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3db8072 Tolerate more shapes of SourceKit output with Swift 6 (#823)
Cloned https://github.com/jpsim/SourceKitten.git
Revision (git rev-parse @):
3db807287138663188c4f74728375a13b1057c06
SUCCESS checkout https://github.com/jpsim/SourceKitten.git at main
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/drmohundro/SWXMLHash.git
[1/2820] Fetching swxmlhash
[594/12722] Fetching swxmlhash, yams
[2484/25075] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/jpsim/Yams.git from cache (1.96s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.96s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.97s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.2 (0.66s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.66s)
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.53s)
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
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
========================================
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.82s)
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/drmohundro/SWXMLHash.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.67s)
Fetched https://github.com/jpsim/Yams.git from cache (0.67s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.67s)
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.03s)
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.03s)
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/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
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/SourceKitten.git
Working copy of https://github.com/jpsim/SourceKitten.git resolved at main (3db8072)
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 parser.c
[13/47] Compiling api.c
[14/47] Compiling emitter.c
[15/47] Compiling scanner.c
[16/47] Compiling reader.c
[18/62] Emitting module ArgumentParserToolInfo
[19/62] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/100] Emitting module SWXMLHash
[21/102] Compiling ArgumentParser AsyncParsableCommand.swift
[22/102] Compiling ArgumentParser CommandConfiguration.swift
[23/102] Compiling ArgumentParser EnumerableFlag.swift
[24/102] Compiling ArgumentParser ExpressibleByArgument.swift
[25/102] Compiling ArgumentParser InputOrigin.swift
[26/102] Compiling ArgumentParser Name.swift
[27/102] Compiling ArgumentParser Parsed.swift
[28/102] Compiling ArgumentParser ParsedValues.swift
[29/106] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/106] Compiling ArgumentParser CompletionsGenerator.swift
[31/106] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/106] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/106] Compiling ArgumentParser Argument.swift
[34/106] Emitting module ArgumentParser
[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 ParsableArguments.swift
[40/106] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/106] Compiling ArgumentParser ParsableCommand.swift
[42/106] Compiling ArgumentParser ArgumentDecoder.swift
[43/106] Compiling ArgumentParser Platform.swift
[44/106] Compiling ArgumentParser SequenceExtensions.swift
[45/106] Compiling ArgumentParser StringExtensions.swift
[46/106] Compiling ArgumentParser Tree.swift
[47/106] Compiling ArgumentParser ArgumentDefinition.swift
[48/106] Compiling ArgumentParser ArgumentSet.swift
[49/106] Compiling ArgumentParser CommandParser.swift
[50/106] Compiling ArgumentParser InputKey.swift
[54/106] Compiling ArgumentParser ArgumentVisibility.swift
[55/106] Compiling ArgumentParser CompletionKind.swift
[56/106] Compiling ArgumentParser Errors.swift
[59/106] Compiling ArgumentParser ArgumentHelp.swift
[67/106] Compiling ArgumentParser HelpGenerator.swift
[68/106] Compiling ArgumentParser MessageInfo.swift
[69/106] Compiling ArgumentParser UsageGenerator.swift
[75/106] Compiling SWXMLHash XMLIndexer.swift
[76/106] Compiling SWXMLHash shim.swift
[77/106] Compiling Yams Resolver.swift
[78/107] Compiling Yams Tag.swift
[79/107] Compiling Yams String+Yams.swift
[80/107] Compiling Yams Representer.swift
[82/107] Compiling ArgumentParser SplitArguments.swift
[83/107] Compiling ArgumentParser DumpHelpGenerator.swift
[84/107] Compiling ArgumentParser HelpCommand.swift
[99/107] Emitting module Yams
[104/107] Compiling Yams YamlError.swift
[105/152] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[106/152] Compiling SourceKittenFramework Dictionary+Merge.swift
[107/152] Compiling SourceKittenFramework Documentation.swift
[108/152] Compiling SourceKittenFramework Exec.swift
[109/152] Compiling SourceKittenFramework File+Hashable.swift
[110/156] Compiling SourceKittenFramework SyntaxMap.swift
[111/156] Compiling SourceKittenFramework SyntaxToken.swift
[112/156] Compiling SourceKittenFramework Text.swift
[113/156] Compiling SourceKittenFramework UID.swift
[114/156] Compiling SourceKittenFramework UIDRepresentable.swift
[115/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
[116/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
[117/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
[118/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
[119/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
[120/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 |
[121/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 |
[122/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 |
[123/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 |
[124/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 |
[125/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 |
[126/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 |
[127/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 |
[128/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 |
[129/156] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[130/156] Compiling SourceKittenFramework SwiftDocKey.swift
[131/156] Compiling SourceKittenFramework SwiftDocs.swift
[132/156] Compiling SourceKittenFramework SwiftVersion.swift
[133/156] Compiling SourceKittenFramework SyntaxKind.swift
[134/156] Compiling SourceKittenFramework LinuxCompatibility.swift
[135/156] Compiling SourceKittenFramework Module.swift
[136/156] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[137/156] Compiling SourceKittenFramework OffsetMap.swift
[138/156] Compiling SourceKittenFramework Parameter.swift
[139/156] Compiling SourceKittenFramework String+SourceKitten.swift
[140/156] Compiling SourceKittenFramework StringView+SourceKitten.swift
[141/156] Compiling SourceKittenFramework StringView.swift
[142/156] Compiling SourceKittenFramework Structure.swift
[143/156] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[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/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 SourceKitten.swift
[155/168] Compiling sourcekitten Syntax.swift
[156/168] Compiling sourcekitten Version.swift
[157/169] Compiling sourcekitten Index.swift
[158/169] Compiling sourcekitten Request.swift
[159/169] Compiling sourcekitten Structure.swift
[160/169] Compiling sourcekitten ModuleInfo.swift
[161/169] Compiling sourcekitten Errors.swift
[162/169] Compiling sourcekitten Format.swift
[163/169] Compiling sourcekitten main.swift
[164/169] Compiling sourcekitten Complete.swift
[165/169] Compiling sourcekitten Doc.swift
[166/169] Emitting module sourcekitten
[166/169] Write Objects.LinkFileList
[167/169] Linking sourcekitten
[168/169] Applying sourcekitten
Build complete! (27.49s)
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.