Build Information
Successful build of SourceKitten, reference 0.36.0 (fbd6bb
), with Swift 6.0 for Linux on 5 Nov 2024 14:21:54 UTC.
Swift 6 data race errors: 7
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jpsim/SourceKitten.git
Reference: 0.36.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/jpsim/SourceKitten
* tag 0.36.0 -> FETCH_HEAD
HEAD is now at fbd6bbc Release 0.36.0
Cloned https://github.com/jpsim/SourceKitten.git
Revision (git rev-parse @):
fbd6bbcddffa97dca4b8a6b5d5a8246a430be9c7
SUCCESS checkout https://github.com/jpsim/SourceKitten.git at 0.36.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/jpsim/SourceKitten.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/drmohundro/SWXMLHash.git
Fetching https://github.com/jpsim/Yams.git
[1/2820] Fetching swxmlhash
[2821/12722] Fetching swxmlhash, yams
[4406/25075] Fetching swxmlhash, yams, swift-argument-parser
Fetched https://github.com/drmohundro/SWXMLHash.git from cache (0.66s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.67s)
[9902/9902] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (0.91s)
Computing version for https://github.com/drmohundro/SWXMLHash.git
Computed https://github.com/drmohundro/SWXMLHash.git at 7.0.2 (0.42s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.1.3 (0.42s)
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.39s)
Creating working copy for https://github.com/drmohundro/SWXMLHash.git
Working copy of https://github.com/drmohundro/SWXMLHash.git resolved at 7.0.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.1.3
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/24] Write sources
[5/24] Compiling SourceKit SourceKit.c
[6/24] Compiling writer.c
[6/24] Write sources
[9/24] Compiling reader.c
[10/24] Compiling parser.c
[11/24] Compiling api.c
[12/24] Compiling scanner.c
[13/24] Compiling Clang_C Clang_C.c
[14/24] Write swift-version-24593BA9C3E375BF.txt
[15/24] Compiling emitter.c
[17/65] Emitting module SWXMLHash
[18/68] Emitting module ArgumentParserToolInfo
[19/68] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/69] Wrapping AST for ArgumentParserToolInfo for debugging
[22/107] Compiling ArgumentParser ArgumentVisibility.swift
[23/107] Compiling ArgumentParser CompletionKind.swift
[24/107] Compiling ArgumentParser Errors.swift
[25/107] Compiling ArgumentParser Flag.swift
[26/107] Compiling ArgumentParser NameSpecification.swift
[27/107] Compiling ArgumentParser Option.swift
[28/112] Emitting module ArgumentParser
[29/112] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/112] Compiling ArgumentParser CompletionsGenerator.swift
[31/112] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/112] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/112] Compiling ArgumentParser Argument.swift
[34/112] Compiling ArgumentParser ArgumentHelp.swift
[35/112] Compiling ArgumentParser OptionGroup.swift
[36/112] Compiling ArgumentParser AsyncParsableCommand.swift
[37/112] Compiling ArgumentParser CommandConfiguration.swift
[38/112] Compiling ArgumentParser CommandGroup.swift
[39/112] Compiling ArgumentParser EnumerableFlag.swift
[40/112] Compiling ArgumentParser ArgumentDefinition.swift
[41/112] Compiling ArgumentParser ArgumentSet.swift
[42/112] Compiling ArgumentParser CommandParser.swift
[43/112] Compiling ArgumentParser InputKey.swift
[44/112] Compiling ArgumentParser InputOrigin.swift
[45/112] Compiling ArgumentParser ExpressibleByArgument.swift
[46/112] Compiling ArgumentParser ParsableArguments.swift
[47/112] Compiling ArgumentParser ParsableArgumentsValidation.swift
[48/112] Compiling ArgumentParser ParsableCommand.swift
[49/112] Compiling ArgumentParser ArgumentDecoder.swift
[50/112] Compiling ArgumentParser CollectionExtensions.swift
[51/112] Compiling ArgumentParser Platform.swift
[52/112] Compiling ArgumentParser SequenceExtensions.swift
[53/112] Compiling ArgumentParser StringExtensions.swift
[54/112] Compiling ArgumentParser Tree.swift
[96/114] Emitting module Yams
[97/114] Compiling Yams YamlError.swift
[97/115] Wrapping AST for SWXMLHash for debugging
[99/115] Wrapping AST for Yams for debugging
[101/158] Compiling SourceKittenFramework SwiftVersion.swift
[102/158] Compiling SourceKittenFramework SyntaxKind.swift
[103/158] Compiling SourceKittenFramework SyntaxMap.swift
[104/158] Compiling SourceKittenFramework StatementKind.swift
[105/158] Compiling SourceKittenFramework String+SourceKitten.swift
[106/158] Compiling SourceKittenFramework StringView+SourceKitten.swift
[107/158] Compiling SourceKittenFramework StringView.swift
[108/158] Compiling SourceKittenFramework Structure.swift
[109/158] Compiling SourceKittenFramework SwiftDeclarationAttributeKind.swift
[110/158] Compiling SourceKittenFramework ByteCount.swift
[111/159] Wrapping AST for ArgumentParser for debugging
[114/159] Compiling SourceKittenFramework ByteRange.swift
[115/159] Compiling SourceKittenFramework Clang+SourceKitten.swift
[116/159] Compiling SourceKittenFramework ClangTranslationUnit.swift
[117/159] Compiling SourceKittenFramework CodeCompletionItem.swift
[118/159] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[119/165] Compiling SourceKittenFramework SwiftDeclarationKind.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocs.swift:37:38: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 | )
36 | } catch let error as Request.Error {
37 | fputs(error.description, stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 | return nil
39 | } catch {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[120/165] Compiling SourceKittenFramework SwiftDocKey.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocs.swift:37:38: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 | )
36 | } catch let error as Request.Error {
37 | fputs(error.description, stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 | return nil
39 | } catch {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[121/165] Compiling SourceKittenFramework SwiftDocs.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocs.swift:37:38: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 | )
36 | } catch let error as Request.Error {
37 | fputs(error.description, stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 | return nil
39 | } catch {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocs.swift:37:38: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 | )
36 | } catch let error as Request.Error {
37 | fputs(error.description, stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 | return nil
39 | } catch {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocs.swift:37:38: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 | )
36 | } catch let error as Request.Error {
37 | fputs(error.description, stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 | return nil
39 | } catch {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocs.swift:37:38: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
35 | )
36 | } catch let error as Request.Error {
37 | fputs(error.description, stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
38 | return nil
39 | } catch {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[125/165] Compiling SourceKittenFramework SyntaxToken.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Version.swift:4:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
2 | public let value: String
3 |
4 | public static let current = Version(value: "0.36.0")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
[126/165] Compiling SourceKittenFramework Text.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Version.swift:4:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
2 | public let value: String
3 |
4 | public static let current = Version(value: "0.36.0")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
[127/165] Compiling SourceKittenFramework UID.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Version.swift:4:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
2 | public let value: String
3 |
4 | public static let current = Version(value: "0.36.0")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
[128/165] Compiling SourceKittenFramework UIDRepresentable.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Version.swift:4:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
2 | public let value: String
3 |
4 | public static let current = Version(value: "0.36.0")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
[129/165] Compiling SourceKittenFramework UncheckedSendable.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Version.swift:4:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
2 | public let value: String
3 |
4 | public static let current = Version(value: "0.36.0")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
[130/165] Compiling SourceKittenFramework Version.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Version.swift:4:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
2 | public let value: String
3 |
4 | public static let current = Version(value: "0.36.0")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
[131/165] Compiling SourceKittenFramework Language.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:20:83: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | let filename = $0.bridge().lastPathComponent
19 | if let file = File(path: $0) {
20 | fputs("Parsing \(filename) (\(fileIndex)/\(sourceFilesCount))\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | fileIndex += 1
22 | return SwiftDocs(file: file, arguments: compilerArguments)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:24:148: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | return SwiftDocs(file: file, arguments: compilerArguments)
23 | }
24 | fputs("Could not parse `\(filename)`. Please open an issue at https://github.com/jpsim/SourceKitten/issues with the file contents.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 | return nil
26 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:43:110: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 | guard let yaml = try? Yams.compose(yaml: String(contentsOfFile: yamlPath, encoding: .utf8)),
42 | let commands = (yaml as Node?)?["commands"]?.mapping?.values else {
43 | fputs("SPM build manifest does not exist at `\(yamlPath)` or does not match expected format.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | return nil
45 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:57:107: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 |
56 | guard let moduleCommand = commands.first(where: matchModuleName) else {
57 | fputs("Could not find SPM module '\(spmName ?? "(any)")'. Here are the modules available:\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | let availableModules = commands.compactMap(\.swiftModuleName)
59 | fputs("\(availableModules.map({ " - " + $0 }).joined(separator: "\n"))\n", stderr)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:59:89: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 | fputs("Could not find SPM module '\(spmName ?? "(any)")'. Here are the modules available:\n", stderr)
58 | let availableModules = commands.compactMap(\.swiftModuleName)
59 | fputs("\(availableModules.map({ " - " + $0 }).joined(separator: "\n"))\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
60 | return nil
61 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:65:89: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
63 | guard let moduleName = moduleCommand.swiftModuleName,
64 | let compilerArguments = moduleCommand.swiftCompilerArguments else {
65 | fputs("SPM build manifest '\(yamlPath)` does not match expected format.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
66 | return nil
67 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:84:40: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | */
83 | public init?(spmArguments: [String], spmName: String? = nil, inPath path: String = FileManager.default.currentDirectoryPath) {
84 | fputs("Running swift build\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | let buildResults = Exec.run("/usr/bin/env", ["swift", "build"] + spmArguments, currentDirectory: path, stderr: .merge)
86 | guard buildResults.terminationStatus == 0 else {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:89:81: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("swift-build-\(UUID().uuidString).log")
88 | _ = try? buildResults.data.write(to: file)
89 | fputs("Build failed, saved `swift build` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
90 | return nil
91 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:115:65: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
113 | let results = XcodeBuild.build(arguments: xcodeBuildArguments, inPath: path)
114 | if results.terminationStatus != 0 {
115 | fputs("Could not successfully run `xcodebuild`.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
116 | fputs("Please check the build arguments.\n", stderr)
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:116:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
114 | if results.terminationStatus != 0 {
115 | fputs("Could not successfully run `xcodebuild`.\n", stderr)
116 | fputs("Please check the build arguments.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
118 | _ = try? results.data.write(to: file)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:119:66: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
118 | _ = try? results.data.write(to: file)
119 | fputs("Saved `xcodebuild` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 | return nil
121 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:129:59: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
127 | }
128 | // Check New Build System is used
129 | fputs("Checking xcodebuild -showBuildSettings\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 | if let projectTempRoot = buildSettings?.firstBuildSettingValue(for: { $0.PROJECT_TEMP_ROOT }),
131 | let arguments = checkNewBuildSystem(in: projectTempRoot, moduleName: name),
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:139:85: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | let xcodeBuildOutput = XcodeBuild.cleanBuild(arguments: xcodeBuildArguments, inPath: path).string ?? ""
138 | guard let arguments = parseCompilerArguments(xcodebuildOutput: xcodeBuildOutput, language: .swift, moduleName: name) else {
139 | fputs("Could not parse compiler arguments from `xcodebuild` output.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | fputs("Please confirm that `xcodebuild` is building a Swift module.\n", stderr)
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:140:85: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | guard let arguments = parseCompilerArguments(xcodebuildOutput: xcodeBuildOutput, language: .swift, moduleName: name) else {
139 | fputs("Could not parse compiler arguments from `xcodebuild` output.\n", stderr)
140 | fputs("Please confirm that `xcodebuild` is building a Swift module.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
142 | _ = try? xcodeBuildOutput.data(using: .utf8)?.write(to: file)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:143:66: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
142 | _ = try? xcodeBuildOutput.data(using: .utf8)?.write(to: file)
143 | fputs("Saved `xcodebuild` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
144 | return nil
145 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:147:77: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
145 | }
146 | guard let moduleName = moduleName(fromArguments: arguments) else {
147 | fputs("Could not parse module name from compiler arguments.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
148 | return nil
149 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[132/165] Compiling SourceKittenFramework LibraryWrapperGenerator.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:20:83: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | let filename = $0.bridge().lastPathComponent
19 | if let file = File(path: $0) {
20 | fputs("Parsing \(filename) (\(fileIndex)/\(sourceFilesCount))\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | fileIndex += 1
22 | return SwiftDocs(file: file, arguments: compilerArguments)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:24:148: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | return SwiftDocs(file: file, arguments: compilerArguments)
23 | }
24 | fputs("Could not parse `\(filename)`. Please open an issue at https://github.com/jpsim/SourceKitten/issues with the file contents.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 | return nil
26 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:43:110: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 | guard let yaml = try? Yams.compose(yaml: String(contentsOfFile: yamlPath, encoding: .utf8)),
42 | let commands = (yaml as Node?)?["commands"]?.mapping?.values else {
43 | fputs("SPM build manifest does not exist at `\(yamlPath)` or does not match expected format.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | return nil
45 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:57:107: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 |
56 | guard let moduleCommand = commands.first(where: matchModuleName) else {
57 | fputs("Could not find SPM module '\(spmName ?? "(any)")'. Here are the modules available:\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | let availableModules = commands.compactMap(\.swiftModuleName)
59 | fputs("\(availableModules.map({ " - " + $0 }).joined(separator: "\n"))\n", stderr)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:59:89: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 | fputs("Could not find SPM module '\(spmName ?? "(any)")'. Here are the modules available:\n", stderr)
58 | let availableModules = commands.compactMap(\.swiftModuleName)
59 | fputs("\(availableModules.map({ " - " + $0 }).joined(separator: "\n"))\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
60 | return nil
61 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:65:89: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
63 | guard let moduleName = moduleCommand.swiftModuleName,
64 | let compilerArguments = moduleCommand.swiftCompilerArguments else {
65 | fputs("SPM build manifest '\(yamlPath)` does not match expected format.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
66 | return nil
67 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:84:40: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | */
83 | public init?(spmArguments: [String], spmName: String? = nil, inPath path: String = FileManager.default.currentDirectoryPath) {
84 | fputs("Running swift build\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | let buildResults = Exec.run("/usr/bin/env", ["swift", "build"] + spmArguments, currentDirectory: path, stderr: .merge)
86 | guard buildResults.terminationStatus == 0 else {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:89:81: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("swift-build-\(UUID().uuidString).log")
88 | _ = try? buildResults.data.write(to: file)
89 | fputs("Build failed, saved `swift build` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
90 | return nil
91 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:115:65: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
113 | let results = XcodeBuild.build(arguments: xcodeBuildArguments, inPath: path)
114 | if results.terminationStatus != 0 {
115 | fputs("Could not successfully run `xcodebuild`.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
116 | fputs("Please check the build arguments.\n", stderr)
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:116:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
114 | if results.terminationStatus != 0 {
115 | fputs("Could not successfully run `xcodebuild`.\n", stderr)
116 | fputs("Please check the build arguments.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
118 | _ = try? results.data.write(to: file)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:119:66: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
118 | _ = try? results.data.write(to: file)
119 | fputs("Saved `xcodebuild` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 | return nil
121 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:129:59: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
127 | }
128 | // Check New Build System is used
129 | fputs("Checking xcodebuild -showBuildSettings\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 | if let projectTempRoot = buildSettings?.firstBuildSettingValue(for: { $0.PROJECT_TEMP_ROOT }),
131 | let arguments = checkNewBuildSystem(in: projectTempRoot, moduleName: name),
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:139:85: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | let xcodeBuildOutput = XcodeBuild.cleanBuild(arguments: xcodeBuildArguments, inPath: path).string ?? ""
138 | guard let arguments = parseCompilerArguments(xcodebuildOutput: xcodeBuildOutput, language: .swift, moduleName: name) else {
139 | fputs("Could not parse compiler arguments from `xcodebuild` output.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | fputs("Please confirm that `xcodebuild` is building a Swift module.\n", stderr)
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:140:85: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | guard let arguments = parseCompilerArguments(xcodebuildOutput: xcodeBuildOutput, language: .swift, moduleName: name) else {
139 | fputs("Could not parse compiler arguments from `xcodebuild` output.\n", stderr)
140 | fputs("Please confirm that `xcodebuild` is building a Swift module.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
142 | _ = try? xcodeBuildOutput.data(using: .utf8)?.write(to: file)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:143:66: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
142 | _ = try? xcodeBuildOutput.data(using: .utf8)?.write(to: file)
143 | fputs("Saved `xcodebuild` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
144 | return nil
145 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:147:77: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
145 | }
146 | guard let moduleName = moduleName(fromArguments: arguments) else {
147 | fputs("Could not parse module name from compiler arguments.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
148 | return nil
149 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[133/165] Compiling SourceKittenFramework Line.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:20:83: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | let filename = $0.bridge().lastPathComponent
19 | if let file = File(path: $0) {
20 | fputs("Parsing \(filename) (\(fileIndex)/\(sourceFilesCount))\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | fileIndex += 1
22 | return SwiftDocs(file: file, arguments: compilerArguments)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:24:148: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | return SwiftDocs(file: file, arguments: compilerArguments)
23 | }
24 | fputs("Could not parse `\(filename)`. Please open an issue at https://github.com/jpsim/SourceKitten/issues with the file contents.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 | return nil
26 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:43:110: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 | guard let yaml = try? Yams.compose(yaml: String(contentsOfFile: yamlPath, encoding: .utf8)),
42 | let commands = (yaml as Node?)?["commands"]?.mapping?.values else {
43 | fputs("SPM build manifest does not exist at `\(yamlPath)` or does not match expected format.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | return nil
45 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:57:107: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 |
56 | guard let moduleCommand = commands.first(where: matchModuleName) else {
57 | fputs("Could not find SPM module '\(spmName ?? "(any)")'. Here are the modules available:\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | let availableModules = commands.compactMap(\.swiftModuleName)
59 | fputs("\(availableModules.map({ " - " + $0 }).joined(separator: "\n"))\n", stderr)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:59:89: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 | fputs("Could not find SPM module '\(spmName ?? "(any)")'. Here are the modules available:\n", stderr)
58 | let availableModules = commands.compactMap(\.swiftModuleName)
59 | fputs("\(availableModules.map({ " - " + $0 }).joined(separator: "\n"))\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
60 | return nil
61 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:65:89: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
63 | guard let moduleName = moduleCommand.swiftModuleName,
64 | let compilerArguments = moduleCommand.swiftCompilerArguments else {
65 | fputs("SPM build manifest '\(yamlPath)` does not match expected format.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
66 | return nil
67 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:84:40: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | */
83 | public init?(spmArguments: [String], spmName: String? = nil, inPath path: String = FileManager.default.currentDirectoryPath) {
84 | fputs("Running swift build\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | let buildResults = Exec.run("/usr/bin/env", ["swift", "build"] + spmArguments, currentDirectory: path, stderr: .merge)
86 | guard buildResults.terminationStatus == 0 else {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:89:81: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("swift-build-\(UUID().uuidString).log")
88 | _ = try? buildResults.data.write(to: file)
89 | fputs("Build failed, saved `swift build` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
90 | return nil
91 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:115:65: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
113 | let results = XcodeBuild.build(arguments: xcodeBuildArguments, inPath: path)
114 | if results.terminationStatus != 0 {
115 | fputs("Could not successfully run `xcodebuild`.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
116 | fputs("Please check the build arguments.\n", stderr)
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:116:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
114 | if results.terminationStatus != 0 {
115 | fputs("Could not successfully run `xcodebuild`.\n", stderr)
116 | fputs("Please check the build arguments.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
118 | _ = try? results.data.write(to: file)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:119:66: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
118 | _ = try? results.data.write(to: file)
119 | fputs("Saved `xcodebuild` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 | return nil
121 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:129:59: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
127 | }
128 | // Check New Build System is used
129 | fputs("Checking xcodebuild -showBuildSettings\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 | if let projectTempRoot = buildSettings?.firstBuildSettingValue(for: { $0.PROJECT_TEMP_ROOT }),
131 | let arguments = checkNewBuildSystem(in: projectTempRoot, moduleName: name),
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:139:85: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | let xcodeBuildOutput = XcodeBuild.cleanBuild(arguments: xcodeBuildArguments, inPath: path).string ?? ""
138 | guard let arguments = parseCompilerArguments(xcodebuildOutput: xcodeBuildOutput, language: .swift, moduleName: name) else {
139 | fputs("Could not parse compiler arguments from `xcodebuild` output.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | fputs("Please confirm that `xcodebuild` is building a Swift module.\n", stderr)
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:140:85: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | guard let arguments = parseCompilerArguments(xcodebuildOutput: xcodeBuildOutput, language: .swift, moduleName: name) else {
139 | fputs("Could not parse compiler arguments from `xcodebuild` output.\n", stderr)
140 | fputs("Please confirm that `xcodebuild` is building a Swift module.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
142 | _ = try? xcodeBuildOutput.data(using: .utf8)?.write(to: file)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:143:66: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
142 | _ = try? xcodeBuildOutput.data(using: .utf8)?.write(to: file)
143 | fputs("Saved `xcodebuild` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
144 | return nil
145 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:147:77: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
145 | }
146 | guard let moduleName = moduleName(fromArguments: arguments) else {
147 | fputs("Could not parse module name from compiler arguments.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
148 | return nil
149 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[134/165] Compiling SourceKittenFramework LinuxCompatibility.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:20:83: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | let filename = $0.bridge().lastPathComponent
19 | if let file = File(path: $0) {
20 | fputs("Parsing \(filename) (\(fileIndex)/\(sourceFilesCount))\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | fileIndex += 1
22 | return SwiftDocs(file: file, arguments: compilerArguments)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:24:148: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | return SwiftDocs(file: file, arguments: compilerArguments)
23 | }
24 | fputs("Could not parse `\(filename)`. Please open an issue at https://github.com/jpsim/SourceKitten/issues with the file contents.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 | return nil
26 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:43:110: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 | guard let yaml = try? Yams.compose(yaml: String(contentsOfFile: yamlPath, encoding: .utf8)),
42 | let commands = (yaml as Node?)?["commands"]?.mapping?.values else {
43 | fputs("SPM build manifest does not exist at `\(yamlPath)` or does not match expected format.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | return nil
45 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:57:107: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 |
56 | guard let moduleCommand = commands.first(where: matchModuleName) else {
57 | fputs("Could not find SPM module '\(spmName ?? "(any)")'. Here are the modules available:\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | let availableModules = commands.compactMap(\.swiftModuleName)
59 | fputs("\(availableModules.map({ " - " + $0 }).joined(separator: "\n"))\n", stderr)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:59:89: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 | fputs("Could not find SPM module '\(spmName ?? "(any)")'. Here are the modules available:\n", stderr)
58 | let availableModules = commands.compactMap(\.swiftModuleName)
59 | fputs("\(availableModules.map({ " - " + $0 }).joined(separator: "\n"))\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
60 | return nil
61 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:65:89: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
63 | guard let moduleName = moduleCommand.swiftModuleName,
64 | let compilerArguments = moduleCommand.swiftCompilerArguments else {
65 | fputs("SPM build manifest '\(yamlPath)` does not match expected format.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
66 | return nil
67 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:84:40: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | */
83 | public init?(spmArguments: [String], spmName: String? = nil, inPath path: String = FileManager.default.currentDirectoryPath) {
84 | fputs("Running swift build\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | let buildResults = Exec.run("/usr/bin/env", ["swift", "build"] + spmArguments, currentDirectory: path, stderr: .merge)
86 | guard buildResults.terminationStatus == 0 else {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:89:81: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("swift-build-\(UUID().uuidString).log")
88 | _ = try? buildResults.data.write(to: file)
89 | fputs("Build failed, saved `swift build` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
90 | return nil
91 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:115:65: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
113 | let results = XcodeBuild.build(arguments: xcodeBuildArguments, inPath: path)
114 | if results.terminationStatus != 0 {
115 | fputs("Could not successfully run `xcodebuild`.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
116 | fputs("Please check the build arguments.\n", stderr)
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:116:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
114 | if results.terminationStatus != 0 {
115 | fputs("Could not successfully run `xcodebuild`.\n", stderr)
116 | fputs("Please check the build arguments.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
118 | _ = try? results.data.write(to: file)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:119:66: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
118 | _ = try? results.data.write(to: file)
119 | fputs("Saved `xcodebuild` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 | return nil
121 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:129:59: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
127 | }
128 | // Check New Build System is used
129 | fputs("Checking xcodebuild -showBuildSettings\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 | if let projectTempRoot = buildSettings?.firstBuildSettingValue(for: { $0.PROJECT_TEMP_ROOT }),
131 | let arguments = checkNewBuildSystem(in: projectTempRoot, moduleName: name),
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:139:85: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | let xcodeBuildOutput = XcodeBuild.cleanBuild(arguments: xcodeBuildArguments, inPath: path).string ?? ""
138 | guard let arguments = parseCompilerArguments(xcodebuildOutput: xcodeBuildOutput, language: .swift, moduleName: name) else {
139 | fputs("Could not parse compiler arguments from `xcodebuild` output.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | fputs("Please confirm that `xcodebuild` is building a Swift module.\n", stderr)
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:140:85: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | guard let arguments = parseCompilerArguments(xcodebuildOutput: xcodeBuildOutput, language: .swift, moduleName: name) else {
139 | fputs("Could not parse compiler arguments from `xcodebuild` output.\n", stderr)
140 | fputs("Please confirm that `xcodebuild` is building a Swift module.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
142 | _ = try? xcodeBuildOutput.data(using: .utf8)?.write(to: file)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:143:66: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
142 | _ = try? xcodeBuildOutput.data(using: .utf8)?.write(to: file)
143 | fputs("Saved `xcodebuild` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
144 | return nil
145 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:147:77: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
145 | }
146 | guard let moduleName = moduleName(fromArguments: arguments) else {
147 | fputs("Could not parse module name from compiler arguments.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
148 | return nil
149 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[135/165] Compiling SourceKittenFramework Module.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:20:83: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | let filename = $0.bridge().lastPathComponent
19 | if let file = File(path: $0) {
20 | fputs("Parsing \(filename) (\(fileIndex)/\(sourceFilesCount))\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | fileIndex += 1
22 | return SwiftDocs(file: file, arguments: compilerArguments)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:24:148: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | return SwiftDocs(file: file, arguments: compilerArguments)
23 | }
24 | fputs("Could not parse `\(filename)`. Please open an issue at https://github.com/jpsim/SourceKitten/issues with the file contents.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 | return nil
26 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:43:110: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 | guard let yaml = try? Yams.compose(yaml: String(contentsOfFile: yamlPath, encoding: .utf8)),
42 | let commands = (yaml as Node?)?["commands"]?.mapping?.values else {
43 | fputs("SPM build manifest does not exist at `\(yamlPath)` or does not match expected format.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | return nil
45 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:57:107: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 |
56 | guard let moduleCommand = commands.first(where: matchModuleName) else {
57 | fputs("Could not find SPM module '\(spmName ?? "(any)")'. Here are the modules available:\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | let availableModules = commands.compactMap(\.swiftModuleName)
59 | fputs("\(availableModules.map({ " - " + $0 }).joined(separator: "\n"))\n", stderr)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:59:89: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 | fputs("Could not find SPM module '\(spmName ?? "(any)")'. Here are the modules available:\n", stderr)
58 | let availableModules = commands.compactMap(\.swiftModuleName)
59 | fputs("\(availableModules.map({ " - " + $0 }).joined(separator: "\n"))\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
60 | return nil
61 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:65:89: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
63 | guard let moduleName = moduleCommand.swiftModuleName,
64 | let compilerArguments = moduleCommand.swiftCompilerArguments else {
65 | fputs("SPM build manifest '\(yamlPath)` does not match expected format.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
66 | return nil
67 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:84:40: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | */
83 | public init?(spmArguments: [String], spmName: String? = nil, inPath path: String = FileManager.default.currentDirectoryPath) {
84 | fputs("Running swift build\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | let buildResults = Exec.run("/usr/bin/env", ["swift", "build"] + spmArguments, currentDirectory: path, stderr: .merge)
86 | guard buildResults.terminationStatus == 0 else {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:89:81: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("swift-build-\(UUID().uuidString).log")
88 | _ = try? buildResults.data.write(to: file)
89 | fputs("Build failed, saved `swift build` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
90 | return nil
91 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:115:65: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
113 | let results = XcodeBuild.build(arguments: xcodeBuildArguments, inPath: path)
114 | if results.terminationStatus != 0 {
115 | fputs("Could not successfully run `xcodebuild`.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
116 | fputs("Please check the build arguments.\n", stderr)
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:116:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
114 | if results.terminationStatus != 0 {
115 | fputs("Could not successfully run `xcodebuild`.\n", stderr)
116 | fputs("Please check the build arguments.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
118 | _ = try? results.data.write(to: file)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:119:66: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
118 | _ = try? results.data.write(to: file)
119 | fputs("Saved `xcodebuild` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 | return nil
121 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:129:59: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
127 | }
128 | // Check New Build System is used
129 | fputs("Checking xcodebuild -showBuildSettings\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 | if let projectTempRoot = buildSettings?.firstBuildSettingValue(for: { $0.PROJECT_TEMP_ROOT }),
131 | let arguments = checkNewBuildSystem(in: projectTempRoot, moduleName: name),
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:139:85: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | let xcodeBuildOutput = XcodeBuild.cleanBuild(arguments: xcodeBuildArguments, inPath: path).string ?? ""
138 | guard let arguments = parseCompilerArguments(xcodebuildOutput: xcodeBuildOutput, language: .swift, moduleName: name) else {
139 | fputs("Could not parse compiler arguments from `xcodebuild` output.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | fputs("Please confirm that `xcodebuild` is building a Swift module.\n", stderr)
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:140:85: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | guard let arguments = parseCompilerArguments(xcodebuildOutput: xcodeBuildOutput, language: .swift, moduleName: name) else {
139 | fputs("Could not parse compiler arguments from `xcodebuild` output.\n", stderr)
140 | fputs("Please confirm that `xcodebuild` is building a Swift module.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
142 | _ = try? xcodeBuildOutput.data(using: .utf8)?.write(to: file)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:143:66: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
142 | _ = try? xcodeBuildOutput.data(using: .utf8)?.write(to: file)
143 | fputs("Saved `xcodebuild` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
144 | return nil
145 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:147:77: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
145 | }
146 | guard let moduleName = moduleName(fromArguments: arguments) else {
147 | fputs("Could not parse module name from compiler arguments.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
148 | return nil
149 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[136/165] Compiling SourceKittenFramework ObjCDeclarationKind.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:20:83: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
18 | let filename = $0.bridge().lastPathComponent
19 | if let file = File(path: $0) {
20 | fputs("Parsing \(filename) (\(fileIndex)/\(sourceFilesCount))\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | fileIndex += 1
22 | return SwiftDocs(file: file, arguments: compilerArguments)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:24:148: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
22 | return SwiftDocs(file: file, arguments: compilerArguments)
23 | }
24 | fputs("Could not parse `\(filename)`. Please open an issue at https://github.com/jpsim/SourceKitten/issues with the file contents.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
25 | return nil
26 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:43:110: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
41 | guard let yaml = try? Yams.compose(yaml: String(contentsOfFile: yamlPath, encoding: .utf8)),
42 | let commands = (yaml as Node?)?["commands"]?.mapping?.values else {
43 | fputs("SPM build manifest does not exist at `\(yamlPath)` or does not match expected format.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
44 | return nil
45 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:57:107: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
55 |
56 | guard let moduleCommand = commands.first(where: matchModuleName) else {
57 | fputs("Could not find SPM module '\(spmName ?? "(any)")'. Here are the modules available:\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
58 | let availableModules = commands.compactMap(\.swiftModuleName)
59 | fputs("\(availableModules.map({ " - " + $0 }).joined(separator: "\n"))\n", stderr)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:59:89: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
57 | fputs("Could not find SPM module '\(spmName ?? "(any)")'. Here are the modules available:\n", stderr)
58 | let availableModules = commands.compactMap(\.swiftModuleName)
59 | fputs("\(availableModules.map({ " - " + $0 }).joined(separator: "\n"))\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
60 | return nil
61 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:65:89: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
63 | guard let moduleName = moduleCommand.swiftModuleName,
64 | let compilerArguments = moduleCommand.swiftCompilerArguments else {
65 | fputs("SPM build manifest '\(yamlPath)` does not match expected format.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
66 | return nil
67 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:84:40: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
82 | */
83 | public init?(spmArguments: [String], spmName: String? = nil, inPath path: String = FileManager.default.currentDirectoryPath) {
84 | fputs("Running swift build\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
85 | let buildResults = Exec.run("/usr/bin/env", ["swift", "build"] + spmArguments, currentDirectory: path, stderr: .merge)
86 | guard buildResults.terminationStatus == 0 else {
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:89:81: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
87 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("swift-build-\(UUID().uuidString).log")
88 | _ = try? buildResults.data.write(to: file)
89 | fputs("Build failed, saved `swift build` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
90 | return nil
91 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:115:65: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
113 | let results = XcodeBuild.build(arguments: xcodeBuildArguments, inPath: path)
114 | if results.terminationStatus != 0 {
115 | fputs("Could not successfully run `xcodebuild`.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
116 | fputs("Please check the build arguments.\n", stderr)
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:116:58: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
114 | if results.terminationStatus != 0 {
115 | fputs("Could not successfully run `xcodebuild`.\n", stderr)
116 | fputs("Please check the build arguments.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
118 | _ = try? results.data.write(to: file)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:119:66: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
117 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
118 | _ = try? results.data.write(to: file)
119 | fputs("Saved `xcodebuild` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
120 | return nil
121 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:129:59: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
127 | }
128 | // Check New Build System is used
129 | fputs("Checking xcodebuild -showBuildSettings\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
130 | if let projectTempRoot = buildSettings?.firstBuildSettingValue(for: { $0.PROJECT_TEMP_ROOT }),
131 | let arguments = checkNewBuildSystem(in: projectTempRoot, moduleName: name),
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:139:85: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
137 | let xcodeBuildOutput = XcodeBuild.cleanBuild(arguments: xcodeBuildArguments, inPath: path).string ?? ""
138 | guard let arguments = parseCompilerArguments(xcodebuildOutput: xcodeBuildOutput, language: .swift, moduleName: name) else {
139 | fputs("Could not parse compiler arguments from `xcodebuild` output.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
140 | fputs("Please confirm that `xcodebuild` is building a Swift module.\n", stderr)
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:140:85: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
138 | guard let arguments = parseCompilerArguments(xcodebuildOutput: xcodeBuildOutput, language: .swift, moduleName: name) else {
139 | fputs("Could not parse compiler arguments from `xcodebuild` output.\n", stderr)
140 | fputs("Please confirm that `xcodebuild` is building a Swift module.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
142 | _ = try? xcodeBuildOutput.data(using: .utf8)?.write(to: file)
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:143:66: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
141 | let file = URL(fileURLWithPath: NSTemporaryDirectory()).appendingPathComponent("xcodebuild-\(NSUUID().uuidString).log")
142 | _ = try? xcodeBuildOutput.data(using: .utf8)?.write(to: file)
143 | fputs("Saved `xcodebuild` log file: \(file.path)\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
144 | return nil
145 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Module.swift:147:77: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
145 | }
146 | guard let moduleName = moduleName(fromArguments: arguments) else {
147 | fputs("Could not parse module name from compiler arguments.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
148 | return nil
149 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[137/165] Emitting module SourceKittenFramework
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 | private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
| |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'untrustedCursorInfoKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | .kind, // values from editor.open are more accurate than cursorinfo
324 | .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/host/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 |
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:115:13: warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// dispatch_semaphore_t used when waiting for sourcekitd to be restored.
115 | private var sourceKitWaitingRestoredSemaphore = DispatchSemaphore(value: 0)
| |- warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sourceKitWaitingRestoredSemaphore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sourceKitWaitingRestoredSemaphore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:106:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 | sourcekitd_set_notification_handler { response in
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
108 | sourceKitWaitingRestoredSemaphore.signal()
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:107:79: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | sourceKitWaitingRestoredSemaphore.signal()
109 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Version.swift:4:23: warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
2 | public let value: String
3 |
4 | public static let current = Version(value: "0.36.0")
| |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'current' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/host/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_SourceKit.swift:6: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
4 |
5 | #if os(Linux)
6 | private let library = toolchainLoader.load(path: "libsourcekitdInProc.so")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #elseif os(Windows)
8 | private let library = toolchainLoader.load(path: "sourcekitdInProc.dll")
/host/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?
/host/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:128:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
126 | continuation.resume(throwing: SourceKitSendError.error)
127 | } else {
128 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
129 | }
130 | }
[138/165] Compiling SourceKittenFramework Dictionary+Merge.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 | private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
| |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'untrustedCursorInfoKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | .kind, // values from editor.open are more accurate than cursorinfo
324 | .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/host/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 |
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:23:74: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | _contents = try String(contentsOfFile: path!, encoding: .utf8)
22 | } catch {
23 | fputs("Could not read contents of `\(path!)`\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 | _contents = ""
25 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:77:61: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | _contents = try String(contentsOfFile: path, encoding: .utf8)
76 | } catch {
77 | fputs("Could not read contents of `\(path)`\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
78 | return nil
79 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[139/165] Compiling SourceKittenFramework Documentation.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 | private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
| |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'untrustedCursorInfoKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | .kind, // values from editor.open are more accurate than cursorinfo
324 | .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/host/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 |
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:23:74: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | _contents = try String(contentsOfFile: path!, encoding: .utf8)
22 | } catch {
23 | fputs("Could not read contents of `\(path!)`\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 | _contents = ""
25 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:77:61: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | _contents = try String(contentsOfFile: path, encoding: .utf8)
76 | } catch {
77 | fputs("Could not read contents of `\(path)`\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
78 | return nil
79 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[140/165] Compiling SourceKittenFramework Exec.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 | private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
| |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'untrustedCursorInfoKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | .kind, // values from editor.open are more accurate than cursorinfo
324 | .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/host/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 |
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:23:74: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | _contents = try String(contentsOfFile: path!, encoding: .utf8)
22 | } catch {
23 | fputs("Could not read contents of `\(path!)`\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 | _contents = ""
25 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:77:61: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | _contents = try String(contentsOfFile: path, encoding: .utf8)
76 | } catch {
77 | fputs("Could not read contents of `\(path)`\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
78 | return nil
79 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[141/165] Compiling SourceKittenFramework File+Hashable.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 | private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
| |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'untrustedCursorInfoKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | .kind, // values from editor.open are more accurate than cursorinfo
324 | .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/host/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 |
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:23:74: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | _contents = try String(contentsOfFile: path!, encoding: .utf8)
22 | } catch {
23 | fputs("Could not read contents of `\(path!)`\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 | _contents = ""
25 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:77:61: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | _contents = try String(contentsOfFile: path, encoding: .utf8)
76 | } catch {
77 | fputs("Could not read contents of `\(path)`\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
78 | return nil
79 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[142/165] Compiling SourceKittenFramework File.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 | private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
| |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'untrustedCursorInfoKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | .kind, // values from editor.open are more accurate than cursorinfo
324 | .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/host/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 |
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:23:74: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | _contents = try String(contentsOfFile: path!, encoding: .utf8)
22 | } catch {
23 | fputs("Could not read contents of `\(path!)`\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 | _contents = ""
25 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:77:61: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | _contents = try String(contentsOfFile: path, encoding: .utf8)
76 | } catch {
77 | fputs("Could not read contents of `\(path)`\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
78 | return nil
79 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[143/165] Compiling SourceKittenFramework JSONOutput.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 | /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 | private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
| |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'untrustedCursorInfoKeys' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | .kind, // values from editor.open are more accurate than cursorinfo
324 | .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/host/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 |
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:23:74: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
21 | _contents = try String(contentsOfFile: path!, encoding: .utf8)
22 | } catch {
23 | fputs("Could not read contents of `\(path!)`\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
24 | _contents = ""
25 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:77:61: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
75 | _contents = try String(contentsOfFile: path, encoding: .utf8)
76 | } catch {
77 | fputs("Could not read contents of `\(path)`\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
78 | return nil
79 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[150/165] Compiling SourceKittenFramework OffsetMap.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:115:13: warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// dispatch_semaphore_t used when waiting for sourcekitd to be restored.
115 | private var sourceKitWaitingRestoredSemaphore = DispatchSemaphore(value: 0)
| |- warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sourceKitWaitingRestoredSemaphore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sourceKitWaitingRestoredSemaphore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:106:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 | sourcekitd_set_notification_handler { response in
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
108 | sourceKitWaitingRestoredSemaphore.signal()
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:107:79: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | sourceKitWaitingRestoredSemaphore.signal()
109 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:128:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
126 | continuation.resume(throwing: SourceKitSendError.error)
127 | } else {
128 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
129 | }
130 | }
[151/165] Compiling SourceKittenFramework Parameter.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:115:13: warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// dispatch_semaphore_t used when waiting for sourcekitd to be restored.
115 | private var sourceKitWaitingRestoredSemaphore = DispatchSemaphore(value: 0)
| |- warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sourceKitWaitingRestoredSemaphore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sourceKitWaitingRestoredSemaphore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:106:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 | sourcekitd_set_notification_handler { response in
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
108 | sourceKitWaitingRestoredSemaphore.signal()
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:107:79: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | sourceKitWaitingRestoredSemaphore.signal()
109 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:128:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
126 | continuation.resume(throwing: SourceKitSendError.error)
127 | } else {
128 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
129 | }
130 | }
[152/165] Compiling SourceKittenFramework Request.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:115:13: warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// dispatch_semaphore_t used when waiting for sourcekitd to be restored.
115 | private var sourceKitWaitingRestoredSemaphore = DispatchSemaphore(value: 0)
| |- warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sourceKitWaitingRestoredSemaphore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sourceKitWaitingRestoredSemaphore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:106:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 | sourcekitd_set_notification_handler { response in
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
108 | sourceKitWaitingRestoredSemaphore.signal()
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:107:79: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | sourceKitWaitingRestoredSemaphore.signal()
109 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:128:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
126 | continuation.resume(throwing: SourceKitSendError.error)
127 | } else {
128 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
129 | }
130 | }
[153/165] Compiling SourceKittenFramework SourceDeclaration.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:115:13: warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// dispatch_semaphore_t used when waiting for sourcekitd to be restored.
115 | private var sourceKitWaitingRestoredSemaphore = DispatchSemaphore(value: 0)
| |- warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sourceKitWaitingRestoredSemaphore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sourceKitWaitingRestoredSemaphore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:106:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 | sourcekitd_set_notification_handler { response in
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
108 | sourceKitWaitingRestoredSemaphore.signal()
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:107:79: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | sourceKitWaitingRestoredSemaphore.signal()
109 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:128:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
126 | continuation.resume(throwing: SourceKitSendError.error)
127 | } else {
128 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
129 | }
130 | }
[154/165] Compiling SourceKittenFramework SourceKitObject.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:115:13: warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// dispatch_semaphore_t used when waiting for sourcekitd to be restored.
115 | private var sourceKitWaitingRestoredSemaphore = DispatchSemaphore(value: 0)
| |- warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sourceKitWaitingRestoredSemaphore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sourceKitWaitingRestoredSemaphore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:106:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 | sourcekitd_set_notification_handler { response in
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
108 | sourceKitWaitingRestoredSemaphore.signal()
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:107:79: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | sourceKitWaitingRestoredSemaphore.signal()
109 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:128:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
126 | continuation.resume(throwing: SourceKitSendError.error)
127 | } else {
128 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
129 | }
130 | }
[155/165] Compiling SourceKittenFramework SourceLocation.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:115:13: warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
113 |
114 | /// dispatch_semaphore_t used when waiting for sourcekitd to be restored.
115 | private var sourceKitWaitingRestoredSemaphore = DispatchSemaphore(value: 0)
| |- warning: var 'sourceKitWaitingRestoredSemaphore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'sourceKitWaitingRestoredSemaphore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'sourceKitWaitingRestoredSemaphore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:106:20: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
104 | sourcekitd_set_notification_handler { response in
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
108 | sourceKitWaitingRestoredSemaphore.signal()
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Request.swift:107:79: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
105 | if !sourcekitd_response_is_error(response!) {
106 | fflush(stdout)
107 | fputs("sourcekitten: connection to SourceKitService restored!\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
108 | sourceKitWaitingRestoredSemaphore.signal()
109 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:128:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
126 | continuation.resume(throwing: SourceKitSendError.error)
127 | } else {
128 | continuation.resume(returning: response)
| |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
129 | }
130 | }
[156/165] Compiling SourceKittenFramework WindowsError.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Xcode.swift:30:39: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
28 | "CODE_SIGNING_REQUIRED=NO",
29 | "CODE_SIGNING_ALLOWED=NO"]
30 | fputs("Running xcodebuild\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | return launch(arguments: arguments, inPath: path, pipingStandardError: true)
32 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Xcode.swift:245:59: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
243 |
244 | if result != nil {
245 | fputs("Assuming New Build System is used.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
246 | }
247 | return result
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_SourceKit.swift:6: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
4 |
5 | #if os(Linux)
6 | private let library = toolchainLoader.load(path: "libsourcekitdInProc.so")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #elseif os(Windows)
8 | private let library = toolchainLoader.load(path: "sourcekitdInProc.dll")
/host/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/165] Compiling SourceKittenFramework Xcode.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Xcode.swift:30:39: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
28 | "CODE_SIGNING_REQUIRED=NO",
29 | "CODE_SIGNING_ALLOWED=NO"]
30 | fputs("Running xcodebuild\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | return launch(arguments: arguments, inPath: path, pipingStandardError: true)
32 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Xcode.swift:245:59: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
243 |
244 | if result != nil {
245 | fputs("Assuming New Build System is used.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
246 | }
247 | return result
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_SourceKit.swift:6: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
4 |
5 | #if os(Linux)
6 | private let library = toolchainLoader.load(path: "libsourcekitdInProc.so")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #elseif os(Windows)
8 | private let library = toolchainLoader.load(path: "sourcekitdInProc.dll")
/host/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/165] Compiling SourceKittenFramework XcodeBuildSetting.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Xcode.swift:30:39: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
28 | "CODE_SIGNING_REQUIRED=NO",
29 | "CODE_SIGNING_ALLOWED=NO"]
30 | fputs("Running xcodebuild\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | return launch(arguments: arguments, inPath: path, pipingStandardError: true)
32 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Xcode.swift:245:59: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
243 |
244 | if result != nil {
245 | fputs("Assuming New Build System is used.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
246 | }
247 | return result
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_SourceKit.swift:6: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
4 |
5 | #if os(Linux)
6 | private let library = toolchainLoader.load(path: "libsourcekitdInProc.so")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #elseif os(Windows)
8 | private let library = toolchainLoader.load(path: "sourcekitdInProc.dll")
/host/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/165] Compiling SourceKittenFramework library_wrapper.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Xcode.swift:30:39: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
28 | "CODE_SIGNING_REQUIRED=NO",
29 | "CODE_SIGNING_ALLOWED=NO"]
30 | fputs("Running xcodebuild\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | return launch(arguments: arguments, inPath: path, pipingStandardError: true)
32 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Xcode.swift:245:59: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
243 |
244 | if result != nil {
245 | fputs("Assuming New Build System is used.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
246 | }
247 | return result
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_SourceKit.swift:6: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
4 |
5 | #if os(Linux)
6 | private let library = toolchainLoader.load(path: "libsourcekitdInProc.so")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #elseif os(Windows)
8 | private let library = toolchainLoader.load(path: "sourcekitdInProc.dll")
/host/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/165] Compiling SourceKittenFramework library_wrapper_Clang_C.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Xcode.swift:30:39: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
28 | "CODE_SIGNING_REQUIRED=NO",
29 | "CODE_SIGNING_ALLOWED=NO"]
30 | fputs("Running xcodebuild\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | return launch(arguments: arguments, inPath: path, pipingStandardError: true)
32 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Xcode.swift:245:59: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
243 |
244 | if result != nil {
245 | fputs("Assuming New Build System is used.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
246 | }
247 | return result
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_SourceKit.swift:6: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
4 |
5 | #if os(Linux)
6 | private let library = toolchainLoader.load(path: "libsourcekitdInProc.so")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #elseif os(Windows)
8 | private let library = toolchainLoader.load(path: "sourcekitdInProc.dll")
/host/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?
[161/165] Compiling SourceKittenFramework library_wrapper_SourceKit.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/Xcode.swift:30:39: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
28 | "CODE_SIGNING_REQUIRED=NO",
29 | "CODE_SIGNING_ALLOWED=NO"]
30 | fputs("Running xcodebuild\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
31 | return launch(arguments: arguments, inPath: path, pipingStandardError: true)
32 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/Xcode.swift:245:59: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
243 |
244 | if result != nil {
245 | fputs("Assuming New Build System is used.\n", stderr)
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
246 | }
247 | return result
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Source/SourceKittenFramework/library_wrapper_SourceKit.swift:6: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
4 |
5 | #if os(Linux)
6 | private let library = toolchainLoader.load(path: "libsourcekitdInProc.so")
| |- warning: let 'library' is not concurrency-safe because non-'Sendable' type 'DynamicLinkLibrary' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'library' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | #elseif os(Windows)
8 | private let library = toolchainLoader.load(path: "sourcekitdInProc.dll")
/host/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?
[162/166] Wrapping AST for SourceKittenFramework for debugging
[164/178] Compiling sourcekitten Version.swift
[165/178] Compiling sourcekitten Syntax.swift
[166/179] Compiling sourcekitten Structure.swift
[167/179] Compiling sourcekitten Request.swift
[168/179] Compiling sourcekitten SourceKitten.swift
[169/179] Compiling sourcekitten main.swift
[170/179] Compiling sourcekitten Index.swift
[171/179] Compiling sourcekitten ModuleInfo.swift
[172/179] Compiling sourcekitten Errors.swift
[173/179] Compiling sourcekitten Format.swift
[174/179] Compiling sourcekitten Complete.swift
[175/179] Compiling sourcekitten Doc.swift
[176/179] Emitting module sourcekitten
[177/180] Wrapping AST for sourcekitten for debugging
[178/180] Write Objects.LinkFileList
[179/180] Linking sourcekitten
Build complete! (23.61s)
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" : "/host/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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.