The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Swollama, reference 4.2.0 (f0d56d), with Swift 6.1 for Linux on 20 Jul 2026 23:38:58 UTC.

Swift 6 data race errors: 6

Build Command

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

========================================
RunAll
========================================
Builder version: 333316120c8b89ed7d21f1b34865290794301d91
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/guitaripod/Swollama.git
Reference: 4.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/guitaripod/Swollama
 * tag               4.2.0      -> FETCH_HEAD
HEAD is now at f0d56d5 feat: 4.2.0 — streaming correctness, auth, and Swift 6 readiness
Cloned https://github.com/guitaripod/Swollama.git
Revision (git rev-parse @):
f0d56d5db6bf7126c33f7ffd6c1112ec58385f8b
SUCCESS checkout https://github.com/guitaripod/Swollama.git at 4.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/guitaripod/Swollama.git
https://github.com/guitaripod/Swollama.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/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
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/42] Compiling Swollama OllamaClient+ModelManagement.swift
[5/42] Compiling Swollama OllamaClient.swift
[6/42] Compiling Swollama OllamaConfiguration.swift
[7/42] Compiling Swollama OllamaError.swift
[8/46] Compiling Swollama GenerationOptions.swift
[9/46] Compiling Swollama ChatRequest.swift
[10/46] Compiling Swollama ChatResponse.swift
[11/46] Compiling Swollama CreateModelRequest.swift
[12/46] Compiling Swollama EmbeddingRequest.swift
[13/46] Emitting module Swollama
[14/46] Compiling Swollama EmbeddingResponse.swift
[15/46] Compiling Swollama GenerateRequest.swift
[16/46] Compiling Swollama GenerateResponse.swift
[17/46] Compiling Swollama JSONValue.swift
[18/46] Compiling Swollama LegacyEmbedding.swift
[19/46] Compiling Swollama ToolDefinition.swift
[20/46] Compiling Swollama VersionResponse.swift
[21/46] Compiling Swollama NetworkingSupport+Streaming.swift
[22/46] Compiling Swollama NetworkingSupport.swift
[23/46] Compiling Swollama OllamaClient+Generation.swift
[24/46] Compiling Swollama OperationProgress.swift
[25/46] Compiling Swollama RunningModelsResponse.swift
[26/46] Compiling Swollama ShowModelRequest.swift
[27/46] Compiling Swollama ThinkingMode.swift
[28/46] Compiling Swollama ToolCall.swift
[29/46] Compiling Swollama Logprob.swift
[30/46] Compiling Swollama ModelInformation.swift
[31/46] Compiling Swollama ModelsResponse.swift
[32/46] Compiling Swollama OllamaDate.swift
[33/46] Compiling Swollama OllamaModelName.swift
[34/46] Compiling Swollama AgentConfiguration.swift
[35/46] Compiling Swollama AgentEvent.swift
[36/46] Compiling Swollama OllamaAgent.swift
[37/46] Compiling Swollama ChatOptions.swift
[38/46] Compiling Swollama EmbeddingOptions.swift
[39/46] Compiling Swollama OllamaProtocol+Convenience.swift
[40/46] Compiling Swollama OllamaProtocol.swift
[41/46] Compiling Swollama OllamaWebSearchClient.swift
[42/46] Compiling Swollama WebSearchModels.swift
[43/47] Wrapping AST for Swollama for debugging
[45/75] Emitting module SwollamaCLI
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:5:16: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 |
  4 | struct StreamDebugger {
  5 |     static var isEnabled = false
    |                |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |     static var logFile: FileHandle?
  7 |
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:6:16: warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  4 | struct StreamDebugger {
  5 |     static var isEnabled = false
  6 |     static var logFile: FileHandle?
    |                |- warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'logFile' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'logFile' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  7 |
  8 |     private static let dateFormatter: DateFormatter = {
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:121:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
118 | }
119 |
120 | class NetworkMonitor {
    |       `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
121 |     static let shared = NetworkMonitor()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 |     private var requestCount = 0
/host/spi-builder-workspace/Sources/SwollamaCLI/Tools/Output.swift:15:30: 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
13 |     static let colorsEnabled: Bool = {
14 |         if ProcessInfo.processInfo.environment["NO_COLOR"] != nil { return false }
15 |         return isatty(fileno(stdout)) != 0
   |                              `- 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
16 |     }()
17 | }
/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/Sources/SwollamaCLI/Tools/ProgressTracker.swift:184:24: warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | class CachedTerminalHelper: TerminalHelper {
184 |     private static var cachedWidth: Int?
    |                        |- warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cachedWidth' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cachedWidth' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |     private static var lastCheck: Date?
186 |     private static let cacheDuration: TimeInterval = 1.0
/host/spi-builder-workspace/Sources/SwollamaCLI/Tools/ProgressTracker.swift:185:24: warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | class CachedTerminalHelper: TerminalHelper {
184 |     private static var cachedWidth: Int?
185 |     private static var lastCheck: Date?
    |                        |- warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'lastCheck' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'lastCheck' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |     private static let cacheDuration: TimeInterval = 1.0
187 |
[46/78] Compiling SwollamaCLI SpeedCalculator.swift
[47/78] Compiling SwollamaCLI TerminalHelper.swift
[48/78] Compiling SwollamaCLI TerminalStyle.swift
[49/78] Compiling SwollamaCLI PushCommand.swift
[50/78] Compiling SwollamaCLI ShowModelCommand.swift
[51/78] Compiling SwollamaCLI TestCommand.swift
[52/78] Compiling SwollamaCLI VersionCommand.swift
[53/78] Compiling SwollamaCLI GenerateCommand.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/Commands/GenerateCommand.swift:141: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
139 |             printTimestamp()
140 |             print("\(TerminalStyle.neonBlue)Generated:\(TerminalStyle.reset) ", terminator: "")
141 |             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
142 |
143 |             do {
/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/Sources/SwollamaCLI/Commands/GenerateCommand.swift:217:28: 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
215 |                         terminator: ""
216 |                     )
217 |                     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
218 |                 }
219 |             }
/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/Sources/SwollamaCLI/Commands/GenerateCommand.swift:222:24: 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
220 |             if !response.response.isEmpty {
221 |                 print(response.response, terminator: "")
222 |                 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
223 |                 fullResponse += response.response
224 |             }
/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.  */
[54/78] Compiling SwollamaCLI ListModelsCommand.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/Commands/GenerateCommand.swift:141: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
139 |             printTimestamp()
140 |             print("\(TerminalStyle.neonBlue)Generated:\(TerminalStyle.reset) ", terminator: "")
141 |             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
142 |
143 |             do {
/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/Sources/SwollamaCLI/Commands/GenerateCommand.swift:217:28: 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
215 |                         terminator: ""
216 |                     )
217 |                     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
218 |                 }
219 |             }
/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/Sources/SwollamaCLI/Commands/GenerateCommand.swift:222:24: 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
220 |             if !response.response.isEmpty {
221 |                 print(response.response, terminator: "")
222 |                 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
223 |                 fullResponse += response.response
224 |             }
/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.  */
[55/78] Compiling SwollamaCLI ListRunningModelsCommand.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/Commands/GenerateCommand.swift:141: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
139 |             printTimestamp()
140 |             print("\(TerminalStyle.neonBlue)Generated:\(TerminalStyle.reset) ", terminator: "")
141 |             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
142 |
143 |             do {
/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/Sources/SwollamaCLI/Commands/GenerateCommand.swift:217:28: 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
215 |                         terminator: ""
216 |                     )
217 |                     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
218 |                 }
219 |             }
/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/Sources/SwollamaCLI/Commands/GenerateCommand.swift:222:24: 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
220 |             if !response.response.isEmpty {
221 |                 print(response.response, terminator: "")
222 |                 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
223 |                 fullResponse += response.response
224 |             }
/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.  */
[56/78] Compiling SwollamaCLI PullModelCommand.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/Commands/GenerateCommand.swift:141: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
139 |             printTimestamp()
140 |             print("\(TerminalStyle.neonBlue)Generated:\(TerminalStyle.reset) ", terminator: "")
141 |             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
142 |
143 |             do {
/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/Sources/SwollamaCLI/Commands/GenerateCommand.swift:217:28: 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
215 |                         terminator: ""
216 |                     )
217 |                     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
218 |                 }
219 |             }
/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/Sources/SwollamaCLI/Commands/GenerateCommand.swift:222:24: 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
220 |             if !response.response.isEmpty {
221 |                 print(response.response, terminator: "")
222 |                 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
223 |                 fullResponse += response.response
224 |             }
/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.  */
[57/78] Compiling SwollamaCLI EnhancedSwollamaCLI.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/EnhancedSwollamaCLI.swift:285:16: 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
283 |         print("\u{001B}[?25h", terminator: "")
284 |
285 |         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
286 |     }
287 | }
/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/Sources/SwollamaCLI/InputHandler.swift:106:16: 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 |     func readLine(prompt: String = "") -> String? {
105 |         print(prompt, terminator: "")
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 |
108 |         guard let input = Swift.readLine() else {
/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/Sources/SwollamaCLI/InputHandler.swift:175:16: 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
173 |     func readPassword(prompt: String = "Password: ") -> String? {
174 |         print(prompt, terminator: "")
175 |         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
176 |
177 |         #if os(Linux)
/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/Sources/SwollamaCLI/InputHandler.swift:281:24: 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
279 |                     terminator: ""
280 |                 )
281 |                 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
282 |                 currentFrame = (currentFrame + 1) % frames.count
283 |                 try? await Task.sleep(nanoseconds: 100_000_000)
/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/Sources/SwollamaCLI/InputHandler.swift:286: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
284 |             }
285 |             print("\r\(String(repeating: " ", count: message.count + 4))\r", terminator: "")
286 |             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
287 |         }
288 |     }
/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/Sources/SwollamaCLI/LinuxSupport.swift:54: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
 52 |         private static func cleanupBeforeExit() {
 53 |
 54 |             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
 55 |             fflush(stderr)
 56 |
/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/Sources/SwollamaCLI/LinuxSupport.swift:55:20: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 53 |
 54 |             fflush(stdout)
 55 |             fflush(stderr)
    |                    `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 56 |
 57 |             print("\u{1B}[?25h")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern 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/Sources/SwollamaCLI/ErrorRecovery.swift:292:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
290 |
291 |     func startMonitoring() {
292 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
293 |             while true {
294 |                 await checkHealth()
    |                       `- note: closure captures 'self' which is accessible to code in the current task
295 |                 try? await Task.sleep(nanoseconds: UInt64(checkInterval * 1_000_000_000))
296 |             }
/host/spi-builder-workspace/Sources/SwollamaCLI/InputHandler.swift:275:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
273 |     func start() {
274 |         isRunning = true
275 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
276 |             while isRunning {
    |                   `- note: closure captures 'self' which is accessible to code in the current task
277 |                 print(
278 |                     "\r\(EnhancedTerminalStyle.neonBlue)\(frames[currentFrame])\(EnhancedTerminalStyle.reset) \(message)",
[58/78] Compiling SwollamaCLI ErrorRecovery.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/EnhancedSwollamaCLI.swift:285:16: 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
283 |         print("\u{001B}[?25h", terminator: "")
284 |
285 |         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
286 |     }
287 | }
/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/Sources/SwollamaCLI/InputHandler.swift:106:16: 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 |     func readLine(prompt: String = "") -> String? {
105 |         print(prompt, terminator: "")
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 |
108 |         guard let input = Swift.readLine() else {
/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/Sources/SwollamaCLI/InputHandler.swift:175:16: 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
173 |     func readPassword(prompt: String = "Password: ") -> String? {
174 |         print(prompt, terminator: "")
175 |         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
176 |
177 |         #if os(Linux)
/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/Sources/SwollamaCLI/InputHandler.swift:281:24: 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
279 |                     terminator: ""
280 |                 )
281 |                 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
282 |                 currentFrame = (currentFrame + 1) % frames.count
283 |                 try? await Task.sleep(nanoseconds: 100_000_000)
/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/Sources/SwollamaCLI/InputHandler.swift:286: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
284 |             }
285 |             print("\r\(String(repeating: " ", count: message.count + 4))\r", terminator: "")
286 |             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
287 |         }
288 |     }
/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/Sources/SwollamaCLI/LinuxSupport.swift:54: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
 52 |         private static func cleanupBeforeExit() {
 53 |
 54 |             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
 55 |             fflush(stderr)
 56 |
/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/Sources/SwollamaCLI/LinuxSupport.swift:55:20: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 53 |
 54 |             fflush(stdout)
 55 |             fflush(stderr)
    |                    `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 56 |
 57 |             print("\u{1B}[?25h")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern 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/Sources/SwollamaCLI/ErrorRecovery.swift:292:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
290 |
291 |     func startMonitoring() {
292 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
293 |             while true {
294 |                 await checkHealth()
    |                       `- note: closure captures 'self' which is accessible to code in the current task
295 |                 try? await Task.sleep(nanoseconds: UInt64(checkInterval * 1_000_000_000))
296 |             }
/host/spi-builder-workspace/Sources/SwollamaCLI/InputHandler.swift:275:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
273 |     func start() {
274 |         isRunning = true
275 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
276 |             while isRunning {
    |                   `- note: closure captures 'self' which is accessible to code in the current task
277 |                 print(
278 |                     "\r\(EnhancedTerminalStyle.neonBlue)\(frames[currentFrame])\(EnhancedTerminalStyle.reset) \(message)",
[59/78] Compiling SwollamaCLI InputHandler.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/EnhancedSwollamaCLI.swift:285:16: 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
283 |         print("\u{001B}[?25h", terminator: "")
284 |
285 |         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
286 |     }
287 | }
/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/Sources/SwollamaCLI/InputHandler.swift:106:16: 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 |     func readLine(prompt: String = "") -> String? {
105 |         print(prompt, terminator: "")
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 |
108 |         guard let input = Swift.readLine() else {
/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/Sources/SwollamaCLI/InputHandler.swift:175:16: 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
173 |     func readPassword(prompt: String = "Password: ") -> String? {
174 |         print(prompt, terminator: "")
175 |         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
176 |
177 |         #if os(Linux)
/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/Sources/SwollamaCLI/InputHandler.swift:281:24: 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
279 |                     terminator: ""
280 |                 )
281 |                 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
282 |                 currentFrame = (currentFrame + 1) % frames.count
283 |                 try? await Task.sleep(nanoseconds: 100_000_000)
/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/Sources/SwollamaCLI/InputHandler.swift:286: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
284 |             }
285 |             print("\r\(String(repeating: " ", count: message.count + 4))\r", terminator: "")
286 |             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
287 |         }
288 |     }
/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/Sources/SwollamaCLI/LinuxSupport.swift:54: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
 52 |         private static func cleanupBeforeExit() {
 53 |
 54 |             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
 55 |             fflush(stderr)
 56 |
/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/Sources/SwollamaCLI/LinuxSupport.swift:55:20: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 53 |
 54 |             fflush(stdout)
 55 |             fflush(stderr)
    |                    `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 56 |
 57 |             print("\u{1B}[?25h")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern 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/Sources/SwollamaCLI/ErrorRecovery.swift:292:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
290 |
291 |     func startMonitoring() {
292 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
293 |             while true {
294 |                 await checkHealth()
    |                       `- note: closure captures 'self' which is accessible to code in the current task
295 |                 try? await Task.sleep(nanoseconds: UInt64(checkInterval * 1_000_000_000))
296 |             }
/host/spi-builder-workspace/Sources/SwollamaCLI/InputHandler.swift:275:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
273 |     func start() {
274 |         isRunning = true
275 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
276 |             while isRunning {
    |                   `- note: closure captures 'self' which is accessible to code in the current task
277 |                 print(
278 |                     "\r\(EnhancedTerminalStyle.neonBlue)\(frames[currentFrame])\(EnhancedTerminalStyle.reset) \(message)",
[60/78] Compiling SwollamaCLI LinuxSupport.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/EnhancedSwollamaCLI.swift:285:16: 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
283 |         print("\u{001B}[?25h", terminator: "")
284 |
285 |         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
286 |     }
287 | }
/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/Sources/SwollamaCLI/InputHandler.swift:106:16: 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 |     func readLine(prompt: String = "") -> String? {
105 |         print(prompt, terminator: "")
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 |
108 |         guard let input = Swift.readLine() else {
/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/Sources/SwollamaCLI/InputHandler.swift:175:16: 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
173 |     func readPassword(prompt: String = "Password: ") -> String? {
174 |         print(prompt, terminator: "")
175 |         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
176 |
177 |         #if os(Linux)
/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/Sources/SwollamaCLI/InputHandler.swift:281:24: 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
279 |                     terminator: ""
280 |                 )
281 |                 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
282 |                 currentFrame = (currentFrame + 1) % frames.count
283 |                 try? await Task.sleep(nanoseconds: 100_000_000)
/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/Sources/SwollamaCLI/InputHandler.swift:286: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
284 |             }
285 |             print("\r\(String(repeating: " ", count: message.count + 4))\r", terminator: "")
286 |             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
287 |         }
288 |     }
/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/Sources/SwollamaCLI/LinuxSupport.swift:54: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
 52 |         private static func cleanupBeforeExit() {
 53 |
 54 |             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
 55 |             fflush(stderr)
 56 |
/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/Sources/SwollamaCLI/LinuxSupport.swift:55:20: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 53 |
 54 |             fflush(stdout)
 55 |             fflush(stderr)
    |                    `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 56 |
 57 |             print("\u{1B}[?25h")
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern 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/Sources/SwollamaCLI/ErrorRecovery.swift:292:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
290 |
291 |     func startMonitoring() {
292 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
293 |             while true {
294 |                 await checkHealth()
    |                       `- note: closure captures 'self' which is accessible to code in the current task
295 |                 try? await Task.sleep(nanoseconds: UInt64(checkInterval * 1_000_000_000))
296 |             }
/host/spi-builder-workspace/Sources/SwollamaCLI/InputHandler.swift:275:14: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
273 |     func start() {
274 |         isRunning = true
275 |         Task {
    |              `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
276 |             while isRunning {
    |                   `- note: closure captures 'self' which is accessible to code in the current task
277 |                 print(
278 |                     "\r\(EnhancedTerminalStyle.neonBlue)\(frames[currentFrame])\(EnhancedTerminalStyle.reset) \(message)",
[61/78] Compiling SwollamaCLI AgentCommand.swift
[62/78] Compiling SwollamaCLI BlobCommand.swift
[63/78] Compiling SwollamaCLI CommandProtocol.swift
[64/78] Compiling SwollamaCLI CopyModelCommand.swift
[65/78] Compiling SwollamaCLI CreateCommand.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:165:16: 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
163 |             terminator: ""
164 |         )
165 |         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
166 |
167 |         print("\r", terminator: "")
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:370:16: 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
368 |             terminator: ""
369 |         )
370 |         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
371 |
372 |         guard let client = client as? OllamaClient else {
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:405:28: 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
403 |                     }
404 |                     print(thinking, terminator: "")
405 |                     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
406 |                 }
407 |
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:418:28: 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
416 |                     let content = response.message.content
417 |                     print(content, terminator: "")
418 |                     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
419 |                     fullResponse += content
420 |                     tokenCount += 1
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:571:26: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
569 |             return promptParts.joined(separator: " ")
570 |         }
571 |         if isatty(fileno(stdin)) == 0 {
    |                          `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
572 |             let piped = String(
573 |                 data: FileHandle.standardInput.readDataToEndOfFile(),
/usr/include/stdio.h:143:14: note: var declared here
141 |
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
    |              `- note: var declared here
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
[66/78] Compiling SwollamaCLI DeleteModelCommand.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:165:16: 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
163 |             terminator: ""
164 |         )
165 |         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
166 |
167 |         print("\r", terminator: "")
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:370:16: 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
368 |             terminator: ""
369 |         )
370 |         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
371 |
372 |         guard let client = client as? OllamaClient else {
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:405:28: 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
403 |                     }
404 |                     print(thinking, terminator: "")
405 |                     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
406 |                 }
407 |
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:418:28: 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
416 |                     let content = response.message.content
417 |                     print(content, terminator: "")
418 |                     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
419 |                     fullResponse += content
420 |                     tokenCount += 1
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:571:26: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
569 |             return promptParts.joined(separator: " ")
570 |         }
571 |         if isatty(fileno(stdin)) == 0 {
    |                          `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
572 |             let piped = String(
573 |                 data: FileHandle.standardInput.readDataToEndOfFile(),
/usr/include/stdio.h:143:14: note: var declared here
141 |
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
    |              `- note: var declared here
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
[67/78] Compiling SwollamaCLI EmbeddingsCommand.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:165:16: 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
163 |             terminator: ""
164 |         )
165 |         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
166 |
167 |         print("\r", terminator: "")
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:370:16: 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
368 |             terminator: ""
369 |         )
370 |         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
371 |
372 |         guard let client = client as? OllamaClient else {
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:405:28: 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
403 |                     }
404 |                     print(thinking, terminator: "")
405 |                     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
406 |                 }
407 |
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:418:28: 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
416 |                     let content = response.message.content
417 |                     print(content, terminator: "")
418 |                     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
419 |                     fullResponse += content
420 |                     tokenCount += 1
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:571:26: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
569 |             return promptParts.joined(separator: " ")
570 |         }
571 |         if isatty(fileno(stdin)) == 0 {
    |                          `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
572 |             let piped = String(
573 |                 data: FileHandle.standardInput.readDataToEndOfFile(),
/usr/include/stdio.h:143:14: note: var declared here
141 |
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
    |              `- note: var declared here
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
[68/78] Compiling SwollamaCLI EnhancedChatCommand.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:165:16: 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
163 |             terminator: ""
164 |         )
165 |         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
166 |
167 |         print("\r", terminator: "")
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:370:16: 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
368 |             terminator: ""
369 |         )
370 |         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
371 |
372 |         guard let client = client as? OllamaClient else {
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:405:28: 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
403 |                     }
404 |                     print(thinking, terminator: "")
405 |                     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
406 |                 }
407 |
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:418:28: 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
416 |                     let content = response.message.content
417 |                     print(content, terminator: "")
418 |                     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
419 |                     fullResponse += content
420 |                     tokenCount += 1
/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/Sources/SwollamaCLI/Commands/EnhancedChatCommand.swift:571:26: warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
569 |             return promptParts.joined(separator: " ")
570 |         }
571 |         if isatty(fileno(stdin)) == 0 {
    |                          `- warning: reference to var 'stdin' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
572 |             let piped = String(
573 |                 data: FileHandle.standardInput.readDataToEndOfFile(),
/usr/include/stdio.h:143:14: note: var declared here
141 |
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
    |              `- note: var declared here
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
[69/78] Compiling SwollamaCLI OllamaErrorFormatting.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/Tools/Output.swift:15:30: 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
13 |     static let colorsEnabled: Bool = {
14 |         if ProcessInfo.processInfo.environment["NO_COLOR"] != nil { return false }
15 |         return isatty(fileno(stdout)) != 0
   |                              `- 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
16 |     }()
17 | }
/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/Sources/SwollamaCLI/Tools/ProgressTracker.swift:184:24: warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | class CachedTerminalHelper: TerminalHelper {
184 |     private static var cachedWidth: Int?
    |                        |- warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cachedWidth' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cachedWidth' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |     private static var lastCheck: Date?
186 |     private static let cacheDuration: TimeInterval = 1.0
/host/spi-builder-workspace/Sources/SwollamaCLI/Tools/ProgressTracker.swift:185:24: warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | class CachedTerminalHelper: TerminalHelper {
184 |     private static var cachedWidth: Int?
185 |     private static var lastCheck: Date?
    |                        |- warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'lastCheck' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'lastCheck' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |     private static let cacheDuration: TimeInterval = 1.0
187 |
/host/spi-builder-workspace/Sources/SwollamaCLI/Tools/ProgressTracker.swift:159:16: 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
157 |
158 |         print("\r\u{1B}[K\(progressBar)", terminator: "")
159 |         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
160 |     }
161 |
/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.  */
[70/78] Compiling SwollamaCLI Output.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/Tools/Output.swift:15:30: 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
13 |     static let colorsEnabled: Bool = {
14 |         if ProcessInfo.processInfo.environment["NO_COLOR"] != nil { return false }
15 |         return isatty(fileno(stdout)) != 0
   |                              `- 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
16 |     }()
17 | }
/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/Sources/SwollamaCLI/Tools/ProgressTracker.swift:184:24: warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | class CachedTerminalHelper: TerminalHelper {
184 |     private static var cachedWidth: Int?
    |                        |- warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cachedWidth' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cachedWidth' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |     private static var lastCheck: Date?
186 |     private static let cacheDuration: TimeInterval = 1.0
/host/spi-builder-workspace/Sources/SwollamaCLI/Tools/ProgressTracker.swift:185:24: warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | class CachedTerminalHelper: TerminalHelper {
184 |     private static var cachedWidth: Int?
185 |     private static var lastCheck: Date?
    |                        |- warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'lastCheck' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'lastCheck' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |     private static let cacheDuration: TimeInterval = 1.0
187 |
/host/spi-builder-workspace/Sources/SwollamaCLI/Tools/ProgressTracker.swift:159:16: 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
157 |
158 |         print("\r\u{1B}[K\(progressBar)", terminator: "")
159 |         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
160 |     }
161 |
/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.  */
[71/78] Compiling SwollamaCLI ProgressTracker.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/Tools/Output.swift:15:30: 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
13 |     static let colorsEnabled: Bool = {
14 |         if ProcessInfo.processInfo.environment["NO_COLOR"] != nil { return false }
15 |         return isatty(fileno(stdout)) != 0
   |                              `- 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
16 |     }()
17 | }
/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/Sources/SwollamaCLI/Tools/ProgressTracker.swift:184:24: warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
182 |
183 | class CachedTerminalHelper: TerminalHelper {
184 |     private static var cachedWidth: Int?
    |                        |- warning: static property 'cachedWidth' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'cachedWidth' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'cachedWidth' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 |     private static var lastCheck: Date?
186 |     private static let cacheDuration: TimeInterval = 1.0
/host/spi-builder-workspace/Sources/SwollamaCLI/Tools/ProgressTracker.swift:185:24: warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
183 | class CachedTerminalHelper: TerminalHelper {
184 |     private static var cachedWidth: Int?
185 |     private static var lastCheck: Date?
    |                        |- warning: static property 'lastCheck' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                        |- note: convert 'lastCheck' to a 'let' constant to make 'Sendable' shared state immutable
    |                        |- note: add '@MainActor' to make static property 'lastCheck' part of global actor 'MainActor'
    |                        `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
186 |     private static let cacheDuration: TimeInterval = 1.0
187 |
/host/spi-builder-workspace/Sources/SwollamaCLI/Tools/ProgressTracker.swift:159:16: 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
157 |
158 |         print("\r\u{1B}[K\(progressBar)", terminator: "")
159 |         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
160 |     }
161 |
/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.  */
[72/78] Compiling SwollamaCLI StreamDebugger.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:5:16: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 |
  4 | struct StreamDebugger {
  5 |     static var isEnabled = false
    |                |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |     static var logFile: FileHandle?
  7 |
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:6:16: warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  4 | struct StreamDebugger {
  5 |     static var isEnabled = false
  6 |     static var logFile: FileHandle?
    |                |- warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'logFile' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'logFile' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  7 |
  8 |     private static let dateFormatter: DateFormatter = {
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:121:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
118 | }
119 |
120 | class NetworkMonitor {
    |       `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
121 |     static let shared = NetworkMonitor()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 |     private var requestCount = 0
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:229: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
227 |         for try await response in monitoredStream {
228 |             print(response.response, terminator: "")
229 |             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
230 |         }
231 |         print()
/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/Sources/SwollamaCLI/StreamDebugger.swift:252: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
250 |         for try await response in monitoredStream {
251 |             print(response.message.content, terminator: "")
252 |             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
253 |         }
254 |         print()
/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/Sources/SwollamaCLI/StreamDebugger.swift:277:36: 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
275 |                         for try await response in stream {
276 |                             print(response.message.content, terminator: "")
277 |                             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
278 |                         }
279 |                     } catch {
/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/Sources/SwollamaCLI/StreamDebugger.swift:80:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 78 |     func monitoredStream() -> AsyncThrowingStream<T, Error> {
 79 |         AsyncThrowingStream { continuation in
 80 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 81 |                 do {
 82 |                     for try await value in stream {
    |                                            `- note: closure captures 'self' which is accessible to code in the current task
 83 |                         chunkCount += 1
 84 |
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:99:38: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
 97 |                         }
 98 |
 99 |                         continuation.yield(value)
    |                                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
100 |                     }
101 |
[73/78] Compiling SwollamaCLI SwollamaCLI.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:5:16: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 |
  4 | struct StreamDebugger {
  5 |     static var isEnabled = false
    |                |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |     static var logFile: FileHandle?
  7 |
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:6:16: warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  4 | struct StreamDebugger {
  5 |     static var isEnabled = false
  6 |     static var logFile: FileHandle?
    |                |- warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'logFile' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'logFile' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  7 |
  8 |     private static let dateFormatter: DateFormatter = {
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:121:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
118 | }
119 |
120 | class NetworkMonitor {
    |       `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
121 |     static let shared = NetworkMonitor()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 |     private var requestCount = 0
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:229: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
227 |         for try await response in monitoredStream {
228 |             print(response.response, terminator: "")
229 |             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
230 |         }
231 |         print()
/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/Sources/SwollamaCLI/StreamDebugger.swift:252: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
250 |         for try await response in monitoredStream {
251 |             print(response.message.content, terminator: "")
252 |             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
253 |         }
254 |         print()
/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/Sources/SwollamaCLI/StreamDebugger.swift:277:36: 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
275 |                         for try await response in stream {
276 |                             print(response.message.content, terminator: "")
277 |                             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
278 |                         }
279 |                     } catch {
/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/Sources/SwollamaCLI/StreamDebugger.swift:80:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 78 |     func monitoredStream() -> AsyncThrowingStream<T, Error> {
 79 |         AsyncThrowingStream { continuation in
 80 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 81 |                 do {
 82 |                     for try await value in stream {
    |                                            `- note: closure captures 'self' which is accessible to code in the current task
 83 |                         chunkCount += 1
 84 |
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:99:38: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
 97 |                         }
 98 |
 99 |                         continuation.yield(value)
    |                                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
100 |                     }
101 |
[74/78] Compiling SwollamaCLI CLIError.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:5:16: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 |
  4 | struct StreamDebugger {
  5 |     static var isEnabled = false
    |                |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |     static var logFile: FileHandle?
  7 |
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:6:16: warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  4 | struct StreamDebugger {
  5 |     static var isEnabled = false
  6 |     static var logFile: FileHandle?
    |                |- warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'logFile' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'logFile' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  7 |
  8 |     private static let dateFormatter: DateFormatter = {
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:121:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
118 | }
119 |
120 | class NetworkMonitor {
    |       `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
121 |     static let shared = NetworkMonitor()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 |     private var requestCount = 0
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:229: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
227 |         for try await response in monitoredStream {
228 |             print(response.response, terminator: "")
229 |             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
230 |         }
231 |         print()
/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/Sources/SwollamaCLI/StreamDebugger.swift:252: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
250 |         for try await response in monitoredStream {
251 |             print(response.message.content, terminator: "")
252 |             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
253 |         }
254 |         print()
/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/Sources/SwollamaCLI/StreamDebugger.swift:277:36: 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
275 |                         for try await response in stream {
276 |                             print(response.message.content, terminator: "")
277 |                             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
278 |                         }
279 |                     } catch {
/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/Sources/SwollamaCLI/StreamDebugger.swift:80:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 78 |     func monitoredStream() -> AsyncThrowingStream<T, Error> {
 79 |         AsyncThrowingStream { continuation in
 80 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 81 |                 do {
 82 |                     for try await value in stream {
    |                                            `- note: closure captures 'self' which is accessible to code in the current task
 83 |                         chunkCount += 1
 84 |
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:99:38: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
 97 |                         }
 98 |
 99 |                         continuation.yield(value)
    |                                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
100 |                     }
101 |
[75/78] Compiling SwollamaCLI ModelFormatter.swift
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:5:16: warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  3 |
  4 | struct StreamDebugger {
  5 |     static var isEnabled = false
    |                |- warning: static property 'isEnabled' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'isEnabled' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'isEnabled' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  6 |     static var logFile: FileHandle?
  7 |
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:6:16: warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
  4 | struct StreamDebugger {
  5 |     static var isEnabled = false
  6 |     static var logFile: FileHandle?
    |                |- warning: static property 'logFile' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'logFile' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'logFile' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  7 |
  8 |     private static let dateFormatter: DateFormatter = {
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:121:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
118 | }
119 |
120 | class NetworkMonitor {
    |       `- note: class 'NetworkMonitor' does not conform to the 'Sendable' protocol
121 |     static let shared = NetworkMonitor()
    |                |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'NetworkMonitor' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
122 |
123 |     private var requestCount = 0
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:229: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
227 |         for try await response in monitoredStream {
228 |             print(response.response, terminator: "")
229 |             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
230 |         }
231 |         print()
/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/Sources/SwollamaCLI/StreamDebugger.swift:252: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
250 |         for try await response in monitoredStream {
251 |             print(response.message.content, terminator: "")
252 |             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
253 |         }
254 |         print()
/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/Sources/SwollamaCLI/StreamDebugger.swift:277:36: 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
275 |                         for try await response in stream {
276 |                             print(response.message.content, terminator: "")
277 |                             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
278 |                         }
279 |                     } catch {
/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/Sources/SwollamaCLI/StreamDebugger.swift:80:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 78 |     func monitoredStream() -> AsyncThrowingStream<T, Error> {
 79 |         AsyncThrowingStream { continuation in
 80 |             Task {
    |                  `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 81 |                 do {
 82 |                     for try await value in stream {
    |                                            `- note: closure captures 'self' which is accessible to code in the current task
 83 |                         chunkCount += 1
 84 |
/host/spi-builder-workspace/Sources/SwollamaCLI/StreamDebugger.swift:99:38: warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
 97 |                         }
 98 |
 99 |                         continuation.yield(value)
    |                                      |- warning: sending 'value' risks causing data races; this is an error in the Swift 6 language mode
    |                                      `- note: task-isolated 'value' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
100 |                     }
101 |
[76/79] Wrapping AST for SwollamaCLI for debugging
[77/79] Write Objects.LinkFileList
[78/79] Linking SwollamaCLI
Build complete! (9.06s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Swollama",
  "name" : "Swollama",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    },
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "tvos",
      "version" : "17.0"
    },
    {
      "name" : "watchos",
      "version" : "10.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "Swollama",
      "targets" : [
        "Swollama"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwollamaCLI",
      "targets" : [
        "SwollamaCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwollamaTests",
      "module_type" : "SwiftTarget",
      "name" : "SwollamaTests",
      "path" : "Tests/SwollamaTests",
      "sources" : [
        "APICoverageTests.swift",
        "AgentTests.swift",
        "ConfigurationTests.swift",
        "ConvenienceTests.swift",
        "DigestValidationTests.swift",
        "ErrorHandlingTests.swift",
        "ModelNameParsingTests.swift",
        "NewFeaturesTests.swift",
        "RetryLogicTests.swift",
        "StreamingBufferTests.swift",
        "SwollamaTests.swift"
      ],
      "target_dependencies" : [
        "Swollama"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwollamaCLI",
      "module_type" : "SwiftTarget",
      "name" : "SwollamaCLI",
      "path" : "Sources/SwollamaCLI",
      "product_memberships" : [
        "SwollamaCLI"
      ],
      "sources" : [
        "Commands/AgentCommand.swift",
        "Commands/BlobCommand.swift",
        "Commands/CommandProtocol.swift",
        "Commands/CopyModelCommand.swift",
        "Commands/CreateCommand.swift",
        "Commands/DeleteModelCommand.swift",
        "Commands/EmbeddingsCommand.swift",
        "Commands/EnhancedChatCommand.swift",
        "Commands/GenerateCommand.swift",
        "Commands/ListModelsCommand.swift",
        "Commands/ListRunningModelsCommand.swift",
        "Commands/PullModelCommand.swift",
        "Commands/PushCommand.swift",
        "Commands/ShowModelCommand.swift",
        "Commands/TestCommand.swift",
        "Commands/VersionCommand.swift",
        "EnhancedSwollamaCLI.swift",
        "ErrorRecovery.swift",
        "InputHandler.swift",
        "LinuxSupport.swift",
        "StreamDebugger.swift",
        "SwollamaCLI.swift",
        "Tools/CLIError.swift",
        "Tools/ModelFormatter.swift",
        "Tools/OllamaErrorFormatting.swift",
        "Tools/Output.swift",
        "Tools/ProgressTracker.swift",
        "Tools/SpeedCalculator.swift",
        "Tools/TerminalHelper.swift",
        "Tools/TerminalStyle.swift"
      ],
      "target_dependencies" : [
        "Swollama"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Swollama",
      "module_type" : "SwiftTarget",
      "name" : "Swollama",
      "path" : "Sources/Swollama",
      "product_memberships" : [
        "Swollama",
        "SwollamaCLI"
      ],
      "sources" : [
        "Agent/AgentConfiguration.swift",
        "Agent/AgentEvent.swift",
        "Agent/OllamaAgent.swift",
        "ChatOptions.swift",
        "EmbeddingOptions.swift",
        "GenerationOptions.swift",
        "Models/ChatRequest.swift",
        "Models/ChatResponse.swift",
        "Models/CreateModelRequest.swift",
        "Models/EmbeddingRequest.swift",
        "Models/EmbeddingResponse.swift",
        "Models/GenerateRequest.swift",
        "Models/GenerateResponse.swift",
        "Models/JSONValue.swift",
        "Models/LegacyEmbedding.swift",
        "Models/Logprob.swift",
        "Models/ModelInformation.swift",
        "Models/ModelsResponse.swift",
        "Models/OllamaDate.swift",
        "Models/OllamaModelName.swift",
        "Models/OperationProgress.swift",
        "Models/RunningModelsResponse.swift",
        "Models/ShowModelRequest.swift",
        "Models/ThinkingMode.swift",
        "Models/ToolCall.swift",
        "Models/ToolDefinition.swift",
        "Models/VersionResponse.swift",
        "NetworkingSupport+Streaming.swift",
        "NetworkingSupport.swift",
        "OllamaClient+Generation.swift",
        "OllamaClient+ModelManagement.swift",
        "OllamaClient.swift",
        "OllamaConfiguration.swift",
        "OllamaError.swift",
        "OllamaProtocol+Convenience.swift",
        "OllamaProtocol.swift",
        "WebSearch/OllamaWebSearchClient.swift",
        "WebSearch/WebSearchModels.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
basic-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:0f094b998e61bb35b7a666f42e392cfb12929ea8fa9160622b1badd8b73d5c87
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest
Done.