The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of SourceKitten, reference main (0b2cd2), with Swift 6.1 for Linux on 30 Apr 2025 15:18:32 UTC.

Swift 6 data race errors: 7

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

108 |             sourceKitWaitingRestoredSemaphore.signal()
109 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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: add '@MainActor' to make var 'sourceKitWaitingRestoredSemaphore' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/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.37.0")
  |                       |- warning: static property 'current' is not concurrency-safe because non-'Sendable' type 'Version' may have shared mutable state; this is an error in the Swift 6 language mode
  |                       |- note: add '@MainActor' to make static property 'current' part of global actor 'MainActor'
  |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | }
6 |
/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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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:135:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
133 |                         continuation.resume(throwing: SourceKitSendError.error)
134 |                     } else {
135 |                         continuation.resume(returning: response)
    |                                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
136 |                     }
137 |                 }
[125/170] Compiling SourceKittenFramework SwiftDeclarationKind.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocs.swift:43: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
41 |             )
42 |         } catch let error as Request.Error {
43 |             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
44 |             return nil
45 |         } catch {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[126/170] Compiling SourceKittenFramework SwiftDocKey.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocs.swift:43: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
41 |             )
42 |         } catch let error as Request.Error {
43 |             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
44 |             return nil
45 |         } catch {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[127/170] Compiling SourceKittenFramework SwiftDocs.swift
/host/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocs.swift:43: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
41 |             )
42 |         } catch let error as Request.Error {
43 |             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
44 |             return nil
45 |         } catch {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocs.swift:43: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
41 |             )
42 |         } catch let error as Request.Error {
43 |             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
44 |             return nil
45 |         } catch {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocs.swift:43: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
41 |             )
42 |         } catch let error as Request.Error {
43 |             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
44 |             return nil
45 |         } catch {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/host/spi-builder-workspace/Source/SourceKittenFramework/SwiftDocs.swift:43: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
41 |             )
42 |         } catch let error as Request.Error {
43 |             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
44 |             return nil
45 |         } catch {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[131/170] 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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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),
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[132/170] 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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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),
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[133/170] 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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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),
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[134/170] 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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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),
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[135/170] 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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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),
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[136/170] 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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 {
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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),
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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)
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[137/170] 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: add '@MainActor' to make static property 'untrustedCursorInfoKeys' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 |         .kind,   // values from editor.open are more accurate than cursorinfo
324 |         .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/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 |                     }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[138/170] 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: add '@MainActor' to make static property 'untrustedCursorInfoKeys' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 |         .kind,   // values from editor.open are more accurate than cursorinfo
324 |         .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/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 |                     }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[139/170] 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: add '@MainActor' to make static property 'untrustedCursorInfoKeys' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 |         .kind,   // values from editor.open are more accurate than cursorinfo
324 |         .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/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 |                     }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[140/170] 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: add '@MainActor' to make static property 'untrustedCursorInfoKeys' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 |         .kind,   // values from editor.open are more accurate than cursorinfo
324 |         .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/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 |                     }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[141/170] 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: add '@MainActor' to make static property 'untrustedCursorInfoKeys' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 |         .kind,   // values from editor.open are more accurate than cursorinfo
324 |         .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/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 |                     }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[142/170] 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: add '@MainActor' to make static property 'untrustedCursorInfoKeys' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 |         .kind,   // values from editor.open are more accurate than cursorinfo
324 |         .offset, // usually same as nameoffset, but for extension, value locates **type's declaration** in type's file
/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 |                     }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[143/170] Compiling SourceKittenFramework OffsetMap.swift
/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()
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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: add '@MainActor' to make var 'sourceKitWaitingRestoredSemaphore' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/host/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:135:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
133 |                         continuation.resume(throwing: SourceKitSendError.error)
134 |                     } else {
135 |                         continuation.resume(returning: response)
    |                                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
136 |                     }
137 |                 }
[144/170] Compiling SourceKittenFramework Parameter.swift
/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()
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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: add '@MainActor' to make var 'sourceKitWaitingRestoredSemaphore' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/host/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:135:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
133 |                         continuation.resume(throwing: SourceKitSendError.error)
134 |                     } else {
135 |                         continuation.resume(returning: response)
    |                                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
136 |                     }
137 |                 }
[145/170] Compiling SourceKittenFramework Request.swift
/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()
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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: add '@MainActor' to make var 'sourceKitWaitingRestoredSemaphore' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/host/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:135:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
133 |                         continuation.resume(throwing: SourceKitSendError.error)
134 |                     } else {
135 |                         continuation.resume(returning: response)
    |                                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
136 |                     }
137 |                 }
[146/170] Compiling SourceKittenFramework SourceDeclaration.swift
/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()
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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: add '@MainActor' to make var 'sourceKitWaitingRestoredSemaphore' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/host/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:135:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
133 |                         continuation.resume(throwing: SourceKitSendError.error)
134 |                     } else {
135 |                         continuation.resume(returning: response)
    |                                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
136 |                     }
137 |                 }
[147/170] Compiling SourceKittenFramework SourceKitObject.swift
/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()
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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: add '@MainActor' to make var 'sourceKitWaitingRestoredSemaphore' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/host/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:135:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
133 |                         continuation.resume(throwing: SourceKitSendError.error)
134 |                     } else {
135 |                         continuation.resume(returning: response)
    |                                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
136 |                     }
137 |                 }
[148/170] Compiling SourceKittenFramework SourceLocation.swift
/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()
/usr/include/stdio.h:144:14: note: var declared here
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
145 | extern FILE *stderr;		/* Standard error output stream.  */
146 | /* C89/C99 say they're macros.  Make them happy.  */
/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 |         }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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: add '@MainActor' to make var 'sourceKitWaitingRestoredSemaphore' part of global actor 'MainActor'
    |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | private extension String {
/host/spi-builder-workspace/Source/SourceKittenFramework/SourceKitObject.swift:135:38: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
133 |                         continuation.resume(throwing: SourceKitSendError.error)
134 |                     } else {
135 |                         continuation.resume(returning: response)
    |                                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
136 |                     }
137 |                 }
[149/170] Compiling SourceKittenFramework ByteCount.swift
[150/170] Compiling SourceKittenFramework ByteRange.swift
[151/170] Compiling SourceKittenFramework Clang+SourceKitten.swift
[152/170] Compiling SourceKittenFramework ClangTranslationUnit.swift
[153/170] Compiling SourceKittenFramework CodeCompletionItem.swift
[154/170] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[161/170] 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 |     }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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/170] 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 |     }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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?
[163/170] 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 |     }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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?
[164/170] 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 |     }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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?
[165/170] 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 |     }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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?
[166/170] 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 |     }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
/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: add '@MainActor' to make let 'library' part of global actor 'MainActor'
   |             `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 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?
[167/171] Wrapping AST for SourceKittenFramework for debugging
[169/183] Compiling sourcekitten Version.swift
[170/184] Compiling sourcekitten Structure.swift
[171/184] Compiling sourcekitten Syntax.swift
[172/184] Compiling sourcekitten main.swift
[173/184] Compiling sourcekitten Errors.swift
[174/184] Compiling sourcekitten Format.swift
[175/184] Compiling sourcekitten Index.swift
[176/184] Compiling sourcekitten ModuleInfo.swift
[177/184] Compiling sourcekitten Request.swift
[178/184] Compiling sourcekitten SourceKitten.swift
[179/184] Emitting module sourcekitten
[180/184] Compiling sourcekitten Complete.swift
[181/184] Compiling sourcekitten Doc.swift
[182/185] Wrapping AST for sourcekitten for debugging
[183/185] Write Objects.LinkFileList
[184/185] Linking sourcekitten
Build complete! (35.47s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.