The Swift Package Index logo.Swift Package Index

Build Information

Successful build of CommandLineKit, reference 1.1.4 (d0681f), with Swift 6.1 for Linux on 18 Nov 2026 17:35:25 UTC.

Swift 6 data race errors: 8

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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:linux-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: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-commandlinekit.git
Reference: 1.1.4
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/objecthub/swift-commandlinekit
 * tag               1.1.4      -> FETCH_HEAD
HEAD is now at d0681f1 Finalize release 1.1.4.
Cloned https://github.com/objecthub/swift-commandlinekit.git
Revision (git rev-parse @):
d0681f1876b37acf41810a6a26addfbb97c15bc2
SUCCESS checkout https://github.com/objecthub/swift-commandlinekit.git at 1.1.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/objecthub/swift-commandlinekit.git
https://github.com/objecthub/swift-commandlinekit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/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:linux-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
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:7d3901f429179dbcdf211e3b1483da850ea4f8eb21d9382c50c6a18afc5ab319
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/26] Emitting module CommandLineKit
/host/spi-builder-workspace/Sources/CommandLineKit/FlagError.swift:53:14: warning: stored property 'kind' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'FlagError.Kind'; this is an error in the Swift 6 language mode
42 |
43 |   /// The description of the error.
44 |   public enum Kind {
   |               `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
45 |     case unknownFlag(String)
46 |     case missingValue
   :
51 |
52 |   /// The error kind.
53 |   public let kind: Kind
   |              `- warning: stored property 'kind' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'FlagError.Kind'; this is an error in the Swift 6 language mode
54 |
55 |   /// The flag to which the error belongs. If `flag` is set to nil, the error is related to
/host/spi-builder-workspace/Sources/CommandLineKit/FlagError.swift:57:14: warning: stored property 'flag' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'Flag?'; this is an error in the Swift 6 language mode
55 |   /// The flag to which the error belongs. If `flag` is set to nil, the error is related to
56 |   /// parsing the command-line as a whole.
57 |   public let flag: Flag?
   |              `- warning: stored property 'flag' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'Flag?'; this is an error in the Swift 6 language mode
58 |
59 |   /// Initializes a new flag error from an error kind and a corresponding flag.
/host/spi-builder-workspace/Sources/CommandLineKit/Flag.swift:46:14: note: class 'Flag' does not conform to the 'Sendable' protocol
 44 | /// Method `isOption` can be used to distinguish between options and arguments.
 45 | ///
 46 | public class Flag {
    |              `- note: class 'Flag' does not conform to the 'Sendable' protocol
 47 |
 48 |   /// The short name of the flag.
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:62:12: 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
 60 |                                     replacementChar: Character = "•") throws -> String {
 61 |     print(prompt, terminator: "")
 62 |     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
 63 |     var originalTermios = termios()
 64 |     tcgetattr(STDIN_FILENO, &originalTermios)
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:213: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
211 |           if !allowEmpty && characters.isEmpty {
212 |             print("\u{07}", terminator: "")  // BEL — signal that empty is not allowed
213 |             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
214 |             continue
215 |           }
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:245:22: 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
243 |             case .arrowUp, .arrowDown:
244 |               print("\u{07}", terminator: "") // BEL
245 |               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
246 |               break
247 |             case .unknown:
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:274:18: 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
272 |           characters.removeAll()
273 |           cursorIndex = 0
274 |           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
275 |           continue
276 |         // Printable character
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:292: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
290 |           if let max = maxLength, characters.count >= max {
291 |             print("\u{07}", terminator: "")  // BEL
292 |             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
293 |             continue
294 |           }
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:301: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
299 |             // Cursor is at the end — simple append, no redraw needed
300 |             print("\(replacementChar)", terminator: "")
301 |             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
302 |           } else {
303 |             // Cursor is in the middle — redraw replacement characters from insertion point
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
[5/28] Compiling CommandLineKit AnsiCodes.swift
[6/28] Compiling CommandLineKit AnsiText.swift
[7/28] Compiling CommandLineKit BackgroundColor.swift
[8/28] Compiling CommandLineKit String.swift
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:62:12: 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
 60 |                                     replacementChar: Character = "•") throws -> String {
 61 |     print(prompt, terminator: "")
 62 |     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
 63 |     var originalTermios = termios()
 64 |     tcgetattr(STDIN_FILENO, &originalTermios)
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:171:14: 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
169 |       guard n > 0 else { return }
170 |       print("\u{1B}[\(n)D", terminator: "")
171 |       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
172 |     }
173 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:178:14: 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 |       guard n > 0 else { return }
177 |       print("\u{1B}[\(n)C", terminator: "")
178 |       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
179 |     }
180 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:189: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
187 |         print(String(repeating: replacementChar, count: suffixCount), terminator: "")
188 |         print(String(repeating: " ", count: replacementWidth), terminator: "")
189 |         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
190 |         cursorLeft((suffixCount + 1) * replacementWidth)
191 |       } else {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:194: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
192 |         // Insertion: overwrite old replacement characters and add a new one at the end
193 |         print(String(repeating: replacementChar, count: suffixCount + 1), terminator: "")
194 |         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
195 |         cursorLeft(suffixCount * replacementWidth)
196 |       }
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:213: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
211 |           if !allowEmpty && characters.isEmpty {
212 |             print("\u{07}", terminator: "")  // BEL — signal that empty is not allowed
213 |             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
214 |             continue
215 |           }
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:245:22: 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
243 |             case .arrowUp, .arrowDown:
244 |               print("\u{07}", terminator: "") // BEL
245 |               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
246 |               break
247 |             case .unknown:
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:274:18: 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
272 |           characters.removeAll()
273 |           cursorIndex = 0
274 |           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
275 |           continue
276 |         // Printable character
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:292: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
290 |           if let max = maxLength, characters.count >= max {
291 |             print("\u{07}", terminator: "")  // BEL
292 |             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
293 |             continue
294 |           }
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:301: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
299 |             // Cursor is at the end — simple append, no redraw needed
300 |             print("\(replacementChar)", terminator: "")
301 |             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
302 |           } else {
303 |             // Cursor is in the middle — redraw replacement characters from insertion point
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
[9/28] Compiling CommandLineKit Terminal.swift
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:62:12: 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
 60 |                                     replacementChar: Character = "•") throws -> String {
 61 |     print(prompt, terminator: "")
 62 |     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
 63 |     var originalTermios = termios()
 64 |     tcgetattr(STDIN_FILENO, &originalTermios)
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:171:14: 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
169 |       guard n > 0 else { return }
170 |       print("\u{1B}[\(n)D", terminator: "")
171 |       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
172 |     }
173 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:178:14: 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 |       guard n > 0 else { return }
177 |       print("\u{1B}[\(n)C", terminator: "")
178 |       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
179 |     }
180 |
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:189: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
187 |         print(String(repeating: replacementChar, count: suffixCount), terminator: "")
188 |         print(String(repeating: " ", count: replacementWidth), terminator: "")
189 |         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
190 |         cursorLeft((suffixCount + 1) * replacementWidth)
191 |       } else {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:194: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
192 |         // Insertion: overwrite old replacement characters and add a new one at the end
193 |         print(String(repeating: replacementChar, count: suffixCount + 1), terminator: "")
194 |         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
195 |         cursorLeft(suffixCount * replacementWidth)
196 |       }
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:213: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
211 |           if !allowEmpty && characters.isEmpty {
212 |             print("\u{07}", terminator: "")  // BEL — signal that empty is not allowed
213 |             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
214 |             continue
215 |           }
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:245:22: 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
243 |             case .arrowUp, .arrowDown:
244 |               print("\u{07}", terminator: "") // BEL
245 |               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
246 |               break
247 |             case .unknown:
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:274:18: 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
272 |           characters.removeAll()
273 |           cursorIndex = 0
274 |           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
275 |           continue
276 |         // Printable character
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:292: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
290 |           if let max = maxLength, characters.count >= max {
291 |             print("\u{07}", terminator: "")  // BEL
292 |             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
293 |             continue
294 |           }
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/Terminal.swift:301: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
299 |             // Cursor is at the end — simple append, no redraw needed
300 |             print("\(replacementChar)", terminator: "")
301 |             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
302 |           } else {
303 |             // Cursor is in the middle — redraw replacement characters from insertion point
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
[10/28] Compiling CommandLineKit EditState.swift
/host/spi-builder-workspace/Sources/CommandLineKit/FlagError.swift:53:14: warning: stored property 'kind' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'FlagError.Kind'; this is an error in the Swift 6 language mode
42 |
43 |   /// The description of the error.
44 |   public enum Kind {
   |               `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
45 |     case unknownFlag(String)
46 |     case missingValue
   :
51 |
52 |   /// The error kind.
53 |   public let kind: Kind
   |              `- warning: stored property 'kind' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'FlagError.Kind'; this is an error in the Swift 6 language mode
54 |
55 |   /// The flag to which the error belongs. If `flag` is set to nil, the error is related to
/host/spi-builder-workspace/Sources/CommandLineKit/FlagError.swift:57:14: warning: stored property 'flag' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'Flag?'; this is an error in the Swift 6 language mode
55 |   /// The flag to which the error belongs. If `flag` is set to nil, the error is related to
56 |   /// parsing the command-line as a whole.
57 |   public let flag: Flag?
   |              `- warning: stored property 'flag' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'Flag?'; this is an error in the Swift 6 language mode
58 |
59 |   /// Initializes a new flag error from an error kind and a corresponding flag.
/host/spi-builder-workspace/Sources/CommandLineKit/Flag.swift:46:14: note: class 'Flag' does not conform to the 'Sendable' protocol
 44 | /// Method `isOption` can be used to distinguish between options and arguments.
 45 | ///
 46 | public class Flag {
    |              `- note: class 'Flag' does not conform to the 'Sendable' protocol
 47 |
 48 |   /// The short name of the flag.
[11/28] Compiling CommandLineKit Flag.swift
/host/spi-builder-workspace/Sources/CommandLineKit/FlagError.swift:53:14: warning: stored property 'kind' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'FlagError.Kind'; this is an error in the Swift 6 language mode
42 |
43 |   /// The description of the error.
44 |   public enum Kind {
   |               `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
45 |     case unknownFlag(String)
46 |     case missingValue
   :
51 |
52 |   /// The error kind.
53 |   public let kind: Kind
   |              `- warning: stored property 'kind' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'FlagError.Kind'; this is an error in the Swift 6 language mode
54 |
55 |   /// The flag to which the error belongs. If `flag` is set to nil, the error is related to
/host/spi-builder-workspace/Sources/CommandLineKit/FlagError.swift:57:14: warning: stored property 'flag' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'Flag?'; this is an error in the Swift 6 language mode
55 |   /// The flag to which the error belongs. If `flag` is set to nil, the error is related to
56 |   /// parsing the command-line as a whole.
57 |   public let flag: Flag?
   |              `- warning: stored property 'flag' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'Flag?'; this is an error in the Swift 6 language mode
58 |
59 |   /// Initializes a new flag error from an error kind and a corresponding flag.
/host/spi-builder-workspace/Sources/CommandLineKit/Flag.swift:46:14: note: class 'Flag' does not conform to the 'Sendable' protocol
 44 | /// Method `isOption` can be used to distinguish between options and arguments.
 45 | ///
 46 | public class Flag {
    |              `- note: class 'Flag' does not conform to the 'Sendable' protocol
 47 |
 48 |   /// The short name of the flag.
[12/28] Compiling CommandLineKit FlagError.swift
/host/spi-builder-workspace/Sources/CommandLineKit/FlagError.swift:53:14: warning: stored property 'kind' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'FlagError.Kind'; this is an error in the Swift 6 language mode
42 |
43 |   /// The description of the error.
44 |   public enum Kind {
   |               `- note: consider making enum 'Kind' conform to the 'Sendable' protocol
45 |     case unknownFlag(String)
46 |     case missingValue
   :
51 |
52 |   /// The error kind.
53 |   public let kind: Kind
   |              `- warning: stored property 'kind' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'FlagError.Kind'; this is an error in the Swift 6 language mode
54 |
55 |   /// The flag to which the error belongs. If `flag` is set to nil, the error is related to
/host/spi-builder-workspace/Sources/CommandLineKit/FlagError.swift:57:14: warning: stored property 'flag' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'Flag?'; this is an error in the Swift 6 language mode
55 |   /// The flag to which the error belongs. If `flag` is set to nil, the error is related to
56 |   /// parsing the command-line as a whole.
57 |   public let flag: Flag?
   |              `- warning: stored property 'flag' of 'Sendable'-conforming struct 'FlagError' has non-sendable type 'Flag?'; this is an error in the Swift 6 language mode
58 |
59 |   /// Initializes a new flag error from an error kind and a corresponding flag.
/host/spi-builder-workspace/Sources/CommandLineKit/Flag.swift:46:14: note: class 'Flag' does not conform to the 'Sendable' protocol
 44 | /// Method `isOption` can be used to distinguish between options and arguments.
 45 | ///
 46 | public class Flag {
    |              `- note: class 'Flag' does not conform to the 'Sendable' protocol
 47 |
 48 |   /// The short name of the flag.
[13/28] Compiling CommandLineKit TextProperties.swift
[14/28] Compiling CommandLineKit TextStyle.swift
[15/28] Compiling CommandLineKit TerminalWidthTables.swift
[16/28] Compiling CommandLineKit TextColor.swift
[17/28] Compiling CommandLineKit LineReaderError.swift
[18/28] Compiling CommandLineKit LineReaderHistory.swift
[19/28] Compiling CommandLineKit FlagWrapper.swift
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:197:15: 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
195 |                                  parenProperties: TextProperties) throws -> String {
196 |     var line: String = ""
197 |     if fileno(stdout) == self.outputFile {
    |               `- 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
198 |       fflush(stdout)
199 |     }
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:198:14: 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
196 |     var line: String = ""
197 |     if fileno(stdout) == self.outputFile {
198 |       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
199 |     }
200 |     try self.withRawMode {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
[20/28] Compiling CommandLineKit Flags.swift
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:197:15: 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
195 |                                  parenProperties: TextProperties) throws -> String {
196 |     var line: String = ""
197 |     if fileno(stdout) == self.outputFile {
    |               `- 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
198 |       fflush(stdout)
199 |     }
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:198:14: 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
196 |     var line: String = ""
197 |     if fileno(stdout) == self.outputFile {
198 |       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
199 |     }
200 |     try self.withRawMode {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
[21/28] Compiling CommandLineKit LineReader.swift
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:197:15: 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
195 |                                  parenProperties: TextProperties) throws -> String {
196 |     var line: String = ""
197 |     if fileno(stdout) == self.outputFile {
    |               `- 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
198 |       fflush(stdout)
199 |     }
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
/host/spi-builder-workspace/Sources/CommandLineKit/LineReader.swift:198:14: 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
196 |     var line: String = ""
197 |     if fileno(stdout) == self.outputFile {
198 |       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
199 |     }
200 |     try self.withRawMode {
/usr/include/stdio.h:150:14: note: var declared here
148 | /* Standard streams.  */
149 | extern FILE *stdin;		/* Standard input stream.  */
150 | extern FILE *stdout;		/* Standard output stream.  */
    |              `- note: var declared here
151 | extern FILE *stderr;		/* Standard error output stream.  */
152 | /* C89/C99 say they're macros.  Make them happy.  */
[22/28] Compiling CommandLineKit Command.swift
[23/28] Compiling CommandLineKit ControlCharacters.swift
[24/28] Compiling CommandLineKit ConvertibleFromString.swift
[25/29] Wrapping AST for CommandLineKit for debugging
[27/31] Compiling CommandLineKitDemo CommandLineKitDemo.swift
[28/31] Emitting module CommandLineKitDemo
[29/32] Wrapping AST for CommandLineKitDemo for debugging
[30/32] Write Objects.LinkFileList
[31/32] Linking CommandLineKitDemo
Build complete! (3.78s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "CommandLineKit",
  "name" : "CommandLineKit",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "8.0"
    }
  ],
  "products" : [
    {
      "name" : "CommandLineKit",
      "targets" : [
        "CommandLineKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CommandLineKitDemo",
      "targets" : [
        "CommandLineKitDemo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "CommandLineKitTests",
      "module_type" : "SwiftTarget",
      "name" : "CommandLineKitTests",
      "path" : "Tests/CommandLineKitTests",
      "sources" : [
        "AnsiCodesTests.swift",
        "AnsiTextTests.swift",
        "ColorRGBTests.swift",
        "EditStateTests.swift",
        "FlagTests.swift",
        "LineReaderHistoryTests.swift",
        "TerminalWidthTests.swift"
      ],
      "target_dependencies" : [
        "CommandLineKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CommandLineKitDemo",
      "module_type" : "SwiftTarget",
      "name" : "CommandLineKitDemo",
      "path" : "Sources/CommandLineKitDemo",
      "product_memberships" : [
        "CommandLineKitDemo"
      ],
      "sources" : [
        "CommandLineKitDemo.swift"
      ],
      "target_dependencies" : [
        "CommandLineKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CommandLineKit",
      "module_type" : "SwiftTarget",
      "name" : "CommandLineKit",
      "path" : "Sources/CommandLineKit",
      "product_memberships" : [
        "CommandLineKit",
        "CommandLineKitDemo"
      ],
      "sources" : [
        "AnsiCodes.swift",
        "AnsiText.swift",
        "BackgroundColor.swift",
        "Command.swift",
        "ControlCharacters.swift",
        "ConvertibleFromString.swift",
        "EditState.swift",
        "Flag.swift",
        "FlagError.swift",
        "FlagWrapper.swift",
        "Flags.swift",
        "LineReader.swift",
        "LineReaderError.swift",
        "LineReaderHistory.swift",
        "String.swift",
        "Terminal.swift",
        "TerminalWidthTables.swift",
        "TextColor.swift",
        "TextProperties.swift",
        "TextStyle.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:7d3901f429179dbcdf211e3b1483da850ea4f8eb21d9382c50c6a18afc5ab319
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Done.