The Swift Package Index logo.Swift Package Index

Build Information

Successful build of SourceKitten, reference main (02d1db), with Swift 6.1 for Linux on 1 Apr 2026 00:05:39 UTC.

Swift 6 data race errors: 7

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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

/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
[126/180] Compiling SourceKittenFramework Clang+SourceKitten.swift
[127/180] Compiling SourceKittenFramework ClangTranslationUnit.swift
[128/180] Compiling SourceKittenFramework CodeCompletionItem.swift
[129/180] Compiling SourceKittenFramework CursorInfo+Parsing.swift
[130/180] Compiling SourceKittenFramework Dictionary+Merge.swift
[131/180] Compiling SourceKittenFramework Documentation.swift
[132/180] Compiling SourceKittenFramework Exec.swift
[133/180] Compiling SourceKittenFramework File+Hashable.swift
[134/180] Compiling SourceKittenFramework File.swift
[135/180] Compiling SourceKittenFramework JSONOutput.swift
[136/180] Compiling SourceKittenFramework OffsetMap.swift
[137/180] Compiling SourceKittenFramework Parameter.swift
[138/180] Compiling SourceKittenFramework Request.swift
[139/181] Wrapping AST for ArgumentParser for debugging
/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
/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
/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
/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
/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
/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
/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 |                 }
/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 |                 }
/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 |                 }
/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 |                 }
/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 |                 }
/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 |                 }
[159/181] Emitting module SourceKittenFramework
/host/spi-builder-workspace/Source/SourceKittenFramework/File.swift:322:24: warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
320 |
321 |     /// Keys to ignore from cursorinfo when already have dictionary from editor.open
322 |     private static let untrustedCursorInfoKeys: [SwiftDocKey] = [
    |                        |- warning: static property 'untrustedCursorInfoKeys' is not concurrency-safe because non-'Sendable' type '[SwiftDocKey]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: 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/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/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.3")
  |                       |- 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 |                 }
/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
/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
/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
/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
/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
/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
[172/181] 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?
[173/181] 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?
[174/181] 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?
[175/181] 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?
[176/181] 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?
[177/181] 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?
[178/182] Wrapping AST for SourceKittenFramework for debugging
[180/194] Compiling sourcekitten Syntax.swift
[181/194] Compiling sourcekitten Version.swift
[182/194] Compiling sourcekitten Structure.swift
[183/195] Compiling sourcekitten Index.swift
[184/195] Compiling sourcekitten ModuleInfo.swift
[185/195] Compiling sourcekitten Request.swift
[186/195] Compiling sourcekitten SourceKitten.swift
[187/195] Compiling sourcekitten main.swift
[188/195] Emitting module sourcekitten
[189/195] Compiling sourcekitten Errors.swift
[190/195] Compiling sourcekitten Format.swift
[191/195] Compiling sourcekitten Complete.swift
[192/195] Compiling sourcekitten Doc.swift
[193/196] Wrapping AST for sourcekitten for debugging
[194/196] Write Objects.LinkFileList
[195/196] Linking sourcekitten
Build complete! (22.00s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.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" : "6.2.1",
            "upper_bound" : "7.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 swiftpackageindex/spi-images
Digest: sha256:108e10880bce35e9496fba26782956e40a8e91a2a227f9b90af7e4cd93d2c183
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Done.