The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of SourceKitten, reference main (0b2cd2), 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: 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 0b2cd2e SPM: Explicit declarations for external dependencies (#832)
Cloned https://github.com/jpsim/SourceKitten.git
Revision (git rev-parse @):
0b2cd2e475f3f917034f706554cdb27d35190fc1
SUCCESS checkout https://github.com/jpsim/SourceKitten.git at main
========================================
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
[1/20] Write sourcekitten-entitlement.plist
[1/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 parser.c
[12/47] Compiling api.c
[13/47] Compiling emitter.c
[14/47] Compiling scanner.c
[15/47] Compiling reader.c
[16/47] Compiling writer.c
[18/47] Compiling ArgumentParserToolInfo ToolInfo.swift
[19/47] Emitting module ArgumentParserToolInfo
[20/105] Emitting module ArgumentParser
[21/109] Emitting module SWXMLHash
[22/111] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/111] Compiling ArgumentParser CompletionsGenerator.swift
[24/111] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/111] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/111] Compiling ArgumentParser Argument.swift
[28/111] Compiling ArgumentParser CommandConfiguration.swift
[29/113] Compiling ArgumentParser Platform.swift
[30/113] Compiling ArgumentParser SequenceExtensions.swift
[31/113] Compiling ArgumentParser StringExtensions.swift
[32/113] Compiling ArgumentParser Tree.swift
[33/113] Compiling ArgumentParser NameSpecification.swift
[34/113] Compiling ArgumentParser Option.swift
[35/113] Compiling ArgumentParser OptionGroup.swift
[36/113] Compiling ArgumentParser AsyncParsableCommand.swift
[37/113] Compiling ArgumentParser ParsableArguments.swift
[38/113] Compiling ArgumentParser ParsableArgumentsValidation.swift
[39/113] Compiling ArgumentParser ParsableCommand.swift
[40/113] Compiling ArgumentParser ArgumentDecoder.swift
[41/113] Compiling Yams YamlError.swift
[42/113] Compiling Yams YamlTagProviding.swift
[43/113] Compiling SWXMLHash XMLIndexer.swift
[44/113] Compiling SWXMLHash shim.swift
[53/113] Compiling ArgumentParser CommandGroup.swift
[54/113] Compiling ArgumentParser MessageInfo.swift
[55/113] Compiling ArgumentParser UsageGenerator.swift
[56/113] Compiling ArgumentParser CollectionExtensions.swift
[57/113] Compiling ArgumentParser EnumerableFlag.swift
[58/113] Compiling ArgumentParser ExpressibleByArgument.swift
[59/113] Compiling ArgumentParser HelpGenerator.swift
[72/113] Compiling ArgumentParser InputKey.swift
[74/113] Compiling ArgumentParser ArgumentDefinition.swift
[76/113] Compiling ArgumentParser ArgumentHelp.swift
[77/113] Compiling ArgumentParser ArgumentVisibility.swift
[78/113] Compiling ArgumentParser CompletionKind.swift
[84/113] Compiling ArgumentParser InputOrigin.swift
[85/113] Compiling ArgumentParser Name.swift
[86/113] Compiling ArgumentParser Parsed.swift
[87/113] Compiling ArgumentParser ParsedValues.swift
[88/113] Compiling ArgumentParser ParserError.swift
[89/113] Compiling ArgumentParser SplitArguments.swift
[90/113] Compiling ArgumentParser DumpHelpGenerator.swift
[91/113] Compiling ArgumentParser HelpCommand.swift
[108/113] Emitting module Yams
[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 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 |
[117/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 |
[118/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 |
[119/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 |
[120/162] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[121/162] Compiling SourceKittenFramework Dictionary+Merge.swift
[122/162] Compiling SourceKittenFramework Documentation.swift
[123/162] Compiling SourceKittenFramework Exec.swift
[124/162] Compiling SourceKittenFramework File+Hashable.swift
[125/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
[126/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
[127/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
[128/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
[129/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
[130/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 |                 }
[131/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 |
[132/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 |
[133/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 |
[134/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 |
[135/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 |
[136/162] Compiling SourceKittenFramework SwiftDeclarationKind.swift
[137/162] Compiling SourceKittenFramework SwiftDocKey.swift
[138/162] Compiling SourceKittenFramework SwiftDocs.swift
[139/162] Compiling SourceKittenFramework SwiftVersion.swift
[140/162] Compiling SourceKittenFramework SyntaxKind.swift
[141/162] Compiling SourceKittenFramework String+SourceKitten.swift
[142/162] Compiling SourceKittenFramework StringView+SourceKitten.swift
[143/162] Compiling SourceKittenFramework StringView.swift
[144/162] Compiling SourceKittenFramework Structure.swift
[145/162] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[146/162] Compiling SourceKittenFramework LinuxCompatibility.swift
[147/162] Compiling SourceKittenFramework Module.swift
[148/162] Compiling SourceKittenFramework ObjCDeclarationKind.swift
[149/162] Compiling SourceKittenFramework OffsetMap.swift
[150/162] Compiling SourceKittenFramework Parameter.swift
[151/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 |                 }
[152/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 |                 }
[153/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 |                 }
[154/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 |                 }
[155/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 |                 }
[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 Syntax.swift
[162/174] Compiling sourcekitten SourceKitten.swift
[163/175] Compiling sourcekitten Request.swift
[164/175] Compiling sourcekitten Structure.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! (17.80s)
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/jpsim/Yams.git from cache (0.90s)
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.93s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.93s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (1.56s)
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.52s)
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/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
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
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.