Build Information
Successful build of SourceKitten, reference 0.37.0 (eb6656
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 15:26:38 UTC.
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jpsim/SourceKitten.git
Reference: 0.37.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jpsim/SourceKitten
* tag 0.37.0 -> FETCH_HEAD
HEAD is now at eb6656e Release 0.37.0
Cloned https://github.com/jpsim/SourceKitten.git
Revision (git rev-parse @):
eb6656ed26bdef967ad8d07c27e2eab34dc582f2
SUCCESS checkout https://github.com/jpsim/SourceKitten.git at 0.37.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jpsim/SourceKitten.git
https://github.com/jpsim/SourceKitten.git
{
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[4/20] Write sourcekitten-entitlement.plist
[5/20] Write sources
[8/20] Compiling Clang_C Clang_C.c
[9/20] Compiling SourceKit SourceKit.c
[10/20] Write swift-version-2F0A5646E1D333AE.txt
[11/47] Compiling reader.c
[11/47] Compiling api.c
[13/47] Compiling parser.c
[14/47] Compiling emitter.c
[15/47] Compiling writer.c
[16/47] Compiling scanner.c
[18/66] Emitting module ArgumentParserToolInfo
[19/66] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/105] Emitting module SWXMLHash
[21/107] Compiling ArgumentParser ArgumentHelp.swift
[22/107] Compiling ArgumentParser ArgumentVisibility.swift
[25/109] Compiling ArgumentParser CompletionKind.swift
[26/109] Compiling ArgumentParser Errors.swift
[27/109] Compiling ArgumentParser Flag.swift
[28/109] Emitting module ArgumentParser
[29/109] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/109] Compiling ArgumentParser CompletionsGenerator.swift
[31/109] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/109] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/109] Compiling ArgumentParser Argument.swift
[34/113] Compiling ArgumentParser InputOrigin.swift
[35/113] Compiling ArgumentParser Name.swift
[36/113] Compiling ArgumentParser Parsed.swift
[37/113] Compiling ArgumentParser ParsedValues.swift
[38/113] Compiling ArgumentParser NameSpecification.swift
[39/113] Compiling ArgumentParser Option.swift
[40/113] Compiling ArgumentParser OptionGroup.swift
[41/113] Compiling ArgumentParser AsyncParsableCommand.swift
[42/113] Compiling ArgumentParser ParsableArguments.swift
[43/113] Compiling ArgumentParser ParsableArgumentsValidation.swift
[44/113] Compiling SWXMLHash XMLIndexer.swift
[45/113] Compiling SWXMLHash shim.swift
[46/113] Compiling ArgumentParser ArgumentDefinition.swift
[47/113] Compiling ArgumentParser ArgumentSet.swift
[48/113] Compiling ArgumentParser CommandParser.swift
[49/113] Compiling ArgumentParser InputKey.swift
[50/113] Compiling ArgumentParser Platform.swift
[51/113] Compiling ArgumentParser SequenceExtensions.swift
[52/113] Compiling ArgumentParser StringExtensions.swift
[53/113] Compiling ArgumentParser Tree.swift
[59/113] Compiling ArgumentParser ExpressibleByArgument.swift
[62/113] Compiling Yams YamlTagProviding.swift
[63/113] Compiling ArgumentParser EnumerableFlag.swift
[64/113] Compiling Yams YamlError.swift
[70/113] Compiling ArgumentParser HelpGenerator.swift
[71/113] Compiling ArgumentParser MessageInfo.swift
[72/113] Compiling ArgumentParser UsageGenerator.swift
[73/113] Compiling ArgumentParser CollectionExtensions.swift
[74/113] Emitting module Yams
[77/113] Compiling ArgumentParser DumpHelpGenerator.swift
[78/113] Compiling ArgumentParser HelpCommand.swift
[85/113] Compiling ArgumentParser ParserError.swift
[86/113] Compiling ArgumentParser SplitArguments.swift
[111/158] Compiling SourceKittenFramework SyntaxMap.swift
[112/158] Compiling SourceKittenFramework SyntaxToken.swift
[113/158] Compiling SourceKittenFramework Text.swift
[114/158] Compiling SourceKittenFramework UID.swift
[115/158] Compiling SourceKittenFramework UIDRepresentable.swift
[116/162] 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: add '@MainActor' to make var '_interfaceUUIDMap' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var '_interfaceUUIDMapLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Thread safe read from sourceKitUID map
[117/162] 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: add '@MainActor' to make var '_interfaceUUIDMap' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var '_interfaceUUIDMapLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Thread safe read from sourceKitUID map
[118/162] 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: add '@MainActor' to make var '_interfaceUUIDMap' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var '_interfaceUUIDMapLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Thread safe read from sourceKitUID map
[119/162] 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: add '@MainActor' to make var '_interfaceUUIDMap' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var '_interfaceUUIDMapLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Thread safe read from sourceKitUID map
[120/162] 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: add '@MainActor' to make var '_interfaceUUIDMap' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var '_interfaceUUIDMapLock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 |
12 | /// Thread safe read from sourceKitUID map
[121/162] 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: add '@MainActor' to make var '_interfaceUUIDMap' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var '_interfaceUUIDMapLock' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make static property 'untrustedCursorInfoKeys' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make var 'sourceKitWaitingRestoredSemaphore' part of global actor 'MainActor'
| `- 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.37.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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
| `- 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:135:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
133 | continuation.resume(throwing: SourceKitSendError.error)
134 | } else {
135 | 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
136 | }
137 | }
[122/162] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[123/162] Compiling SourceKittenFramework SwiftDocKey.swift
[124/162] Compiling SourceKittenFramework SwiftDocs.swift
[125/162] Compiling SourceKittenFramework SwiftVersion.swift
[126/162] Compiling SourceKittenFramework SyntaxKind.swift
[127/162] 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: add '@MainActor' to make var 'sourceKitWaitingRestoredSemaphore' part of global actor 'MainActor'
| `- 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:135:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
133 | continuation.resume(throwing: SourceKitSendError.error)
134 | } else {
135 | 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
136 | }
137 | }
[128/162] 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: add '@MainActor' to make var 'sourceKitWaitingRestoredSemaphore' part of global actor 'MainActor'
| `- 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:135:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
133 | continuation.resume(throwing: SourceKitSendError.error)
134 | } else {
135 | 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
136 | }
137 | }
[129/162] 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: add '@MainActor' to make var 'sourceKitWaitingRestoredSemaphore' part of global actor 'MainActor'
| `- 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:135:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
133 | continuation.resume(throwing: SourceKitSendError.error)
134 | } else {
135 | 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
136 | }
137 | }
[130/162] 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: add '@MainActor' to make var 'sourceKitWaitingRestoredSemaphore' part of global actor 'MainActor'
| `- 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:135:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
133 | continuation.resume(throwing: SourceKitSendError.error)
134 | } else {
135 | 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
136 | }
137 | }
[131/162] 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: add '@MainActor' to make var 'sourceKitWaitingRestoredSemaphore' part of global actor 'MainActor'
| `- 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:135:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
133 | continuation.resume(throwing: SourceKitSendError.error)
134 | } else {
135 | 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
136 | }
137 | }
[132/162] Compiling SourceKittenFramework LinuxCompatibility.swift
[133/162] Compiling SourceKittenFramework Module.swift
[134/162] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[135/162] Compiling SourceKittenFramework OffsetMap.swift
[136/162] Compiling SourceKittenFramework Parameter.swift
[137/162] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[138/162] Compiling SourceKittenFramework Dictionary+Merge.swift
[139/162] Compiling SourceKittenFramework Documentation.swift
[140/162] Compiling SourceKittenFramework Exec.swift
[141/162] Compiling SourceKittenFramework File+Hashable.swift
[142/162] 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: add '@MainActor' to make static property 'untrustedCursorInfoKeys' part of global actor 'MainActor'
| `- 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 |
[143/162] 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: add '@MainActor' to make static property 'untrustedCursorInfoKeys' part of global actor 'MainActor'
| `- 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 |
[144/162] 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: add '@MainActor' to make static property 'untrustedCursorInfoKeys' part of global actor 'MainActor'
| `- 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 |
[145/162] 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: add '@MainActor' to make static property 'untrustedCursorInfoKeys' part of global actor 'MainActor'
| `- 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 |
[146/162] 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: add '@MainActor' to make static property 'untrustedCursorInfoKeys' part of global actor 'MainActor'
| `- 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 |
[147/162] 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.37.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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
[148/162] 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.37.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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
[149/162] 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.37.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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
[150/162] 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.37.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: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
[151/162] Compiling SourceKittenFramework String+SourceKitten.swift
[152/162] Compiling SourceKittenFramework StringView+SourceKitten.swift
[153/162] Compiling SourceKittenFramework StringView.swift
[154/162] Compiling SourceKittenFramework Structure.swift
[155/162] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[156/162] 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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
| `- 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?
[157/162] 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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
| `- 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?
[158/162] 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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
| `- 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?
[159/162] 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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
| `- 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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
| `- 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?
[160/174] Compiling sourcekitten Version.swift
[161/174] Compiling sourcekitten Request.swift
[162/174] Compiling sourcekitten SourceKitten.swift
[163/174] Compiling sourcekitten Structure.swift
[164/174] Compiling sourcekitten Syntax.swift
[165/175] Compiling sourcekitten ModuleInfo.swift
[166/175] Compiling sourcekitten Index.swift
[167/175] Compiling sourcekitten Errors.swift
[168/175] Compiling sourcekitten Format.swift
[169/175] Compiling sourcekitten main.swift
[170/175] Emitting module sourcekitten
[171/175] Compiling sourcekitten Complete.swift
[172/175] Compiling sourcekitten Doc.swift
[172/175] Write Objects.LinkFileList
[173/175] Linking sourcekitten
[174/175] Applying sourcekitten
Build complete! (16.41s)
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/Yams.git from cache
Fetching https://github.com/apple/swift-argument-parser.git from cache
[1/2820] Fetching swxmlhash
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (1.01s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.02s)
Fetched https://github.com/jpsim/Yams.git from cache (1.02s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.60s)
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.50s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.57s)
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.3.1
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
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.