Build Information
Successful build of CommandLineKit, reference master (58aa1a), with Swift 6.1 for Linux on 26 Jun 2026 13:31:23 UTC.
Swift 6 data race errors: 8
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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: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>&1Build Log
========================================
RunAll
========================================
Builder version: 0e64495ecc1688c3b3e031a5ef1348b5c05091ae
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/objecthub/swift-commandlinekit.git
Reference: master
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
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 58aa1a2 Finalize 1.1.1 release.
Cloned https://github.com/objecthub/swift-commandlinekit.git
Revision (git rev-parse @):
58aa1a2285c5b8ad54e874a2bd66f790eb7e1766
SUCCESS checkout https://github.com/objecthub/swift-commandlinekit.git at master
========================================
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-53886770-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: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/25] 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: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/CommandLineKit/Terminal.swift:221: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
219 | if !allowEmpty && clusterBytes.isEmpty {
220 | print("\u{07}", terminator: "") // BEL — signal that empty is not allowed
221 | 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
222 | continue
223 | }
/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/CommandLineKit/Terminal.swift:255: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
253 | case .arrowUp, .arrowDown:
254 | print("\u{07}", terminator: "") // BEL
255 | 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
256 | break
257 | case .unknown:
/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/CommandLineKit/Terminal.swift:288: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
286 | clusterWidths.removeAll()
287 | cursorIndex = 0
288 | 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
289 | continue
290 | // Printable character
/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/CommandLineKit/Terminal.swift:299: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
297 | if let max = maxLength, clusterWidths.count >= max {
298 | print("\u{07}", terminator: "") // BEL
299 | 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
300 | continue
301 | }
/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/CommandLineKit/Terminal.swift:309: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
307 | // Cursor is at the end — simple append, no redraw needed
308 | print("\(replacementChar)", terminator: "")
309 | 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
310 | } else {
311 | // Cursor is in the middle — redraw stars from insertion point
/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. */
[5/27] Compiling CommandLineKit TextProperties.swift
[6/27] Compiling CommandLineKit TextStyle.swift
[7/27] 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.
[8/27] 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.
[9/27] 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.
[10/27] 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: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/CommandLineKit/Terminal.swift:177: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
175 | guard n > 0 else { return }
176 | print("\u{1B}[\(n)D", terminator: "")
177 | 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
178 | }
179 |
/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/CommandLineKit/Terminal.swift:184: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
182 | guard n > 0 else { return }
183 | print("\u{1B}[\(n)C", terminator: "")
184 | 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
185 | }
186 |
/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/CommandLineKit/Terminal.swift:197: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
195 | print(String(repeating: replacementChar, count: suffixCount), terminator: "")
196 | print(" ", terminator: "")
197 | 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
198 | cursorLeft(suffixCount + 1)
199 | } 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/CommandLineKit/Terminal.swift:202: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
200 | // Insertion: overwrite old stars and add one new one at the end
201 | print(String(repeating: replacementChar, count: suffixCount + 1), terminator: "")
202 | 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
203 | cursorLeft(suffixCount)
204 | }
/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/CommandLineKit/Terminal.swift:221: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
219 | if !allowEmpty && clusterBytes.isEmpty {
220 | print("\u{07}", terminator: "") // BEL — signal that empty is not allowed
221 | 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
222 | continue
223 | }
/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/CommandLineKit/Terminal.swift:255: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
253 | case .arrowUp, .arrowDown:
254 | print("\u{07}", terminator: "") // BEL
255 | 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
256 | break
257 | case .unknown:
/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/CommandLineKit/Terminal.swift:288: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
286 | clusterWidths.removeAll()
287 | cursorIndex = 0
288 | 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
289 | continue
290 | // Printable character
/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/CommandLineKit/Terminal.swift:299: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
297 | if let max = maxLength, clusterWidths.count >= max {
298 | print("\u{07}", terminator: "") // BEL
299 | 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
300 | continue
301 | }
/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/CommandLineKit/Terminal.swift:309: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
307 | // Cursor is at the end — simple append, no redraw needed
308 | print("\(replacementChar)", terminator: "")
309 | 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
310 | } else {
311 | // Cursor is in the middle — redraw stars from insertion point
/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. */
[11/27] Compiling CommandLineKit TextColor.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: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/CommandLineKit/Terminal.swift:177: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
175 | guard n > 0 else { return }
176 | print("\u{1B}[\(n)D", terminator: "")
177 | 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
178 | }
179 |
/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/CommandLineKit/Terminal.swift:184: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
182 | guard n > 0 else { return }
183 | print("\u{1B}[\(n)C", terminator: "")
184 | 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
185 | }
186 |
/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/CommandLineKit/Terminal.swift:197: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
195 | print(String(repeating: replacementChar, count: suffixCount), terminator: "")
196 | print(" ", terminator: "")
197 | 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
198 | cursorLeft(suffixCount + 1)
199 | } 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/CommandLineKit/Terminal.swift:202: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
200 | // Insertion: overwrite old stars and add one new one at the end
201 | print(String(repeating: replacementChar, count: suffixCount + 1), terminator: "")
202 | 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
203 | cursorLeft(suffixCount)
204 | }
/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/CommandLineKit/Terminal.swift:221: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
219 | if !allowEmpty && clusterBytes.isEmpty {
220 | print("\u{07}", terminator: "") // BEL — signal that empty is not allowed
221 | 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
222 | continue
223 | }
/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/CommandLineKit/Terminal.swift:255: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
253 | case .arrowUp, .arrowDown:
254 | print("\u{07}", terminator: "") // BEL
255 | 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
256 | break
257 | case .unknown:
/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/CommandLineKit/Terminal.swift:288: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
286 | clusterWidths.removeAll()
287 | cursorIndex = 0
288 | 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
289 | continue
290 | // Printable character
/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/CommandLineKit/Terminal.swift:299: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
297 | if let max = maxLength, clusterWidths.count >= max {
298 | print("\u{07}", terminator: "") // BEL
299 | 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
300 | continue
301 | }
/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/CommandLineKit/Terminal.swift:309: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
307 | // Cursor is at the end — simple append, no redraw needed
308 | print("\(replacementChar)", terminator: "")
309 | 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
310 | } else {
311 | // Cursor is in the middle — redraw stars from insertion point
/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. */
[12/27] 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: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/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: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. */
[13/27] Compiling CommandLineKit LineReaderError.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: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/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: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. */
[14/27] Compiling CommandLineKit AnsiCodes.swift
[15/27] Compiling CommandLineKit AnsiText.swift
[16/27] Compiling CommandLineKit BackgroundColor.swift
[17/27] Compiling CommandLineKit FlagWrapper.swift
[18/27] Compiling CommandLineKit Flags.swift
[19/27] Compiling CommandLineKit LineReaderHistory.swift
[20/27] Compiling CommandLineKit String.swift
[21/27] Compiling CommandLineKit Command.swift
[22/27] Compiling CommandLineKit ControlCharacters.swift
[23/27] Compiling CommandLineKit ConvertibleFromString.swift
[24/28] Wrapping AST for CommandLineKit for debugging
[26/30] Compiling CommandLineKitDemo CommandLineKitDemo.swift
[27/30] Emitting module CommandLineKitDemo
[28/31] Wrapping AST for CommandLineKitDemo for debugging
[29/31] Write Objects.LinkFileList
[30/31] Linking CommandLineKitDemo
Build complete! (3.87s)
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"
],
"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",
"TextColor.swift",
"TextProperties.swift",
"TextStyle.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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.