The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of Console, reference 0.14.1 (9f4946), with Swift 6.0 for Linux on 5 Nov 2024 11:27:01 UTC.

Swift 6 data race errors: 6

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/luizzak/console.git
Reference: 0.14.1
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/luizzak/console
 * tag               0.14.1     -> FETCH_HEAD
HEAD is now at 9f49469 Fixes to NO_COLOR detection and adding StandardErrorTextStream/NullOutputStream
Cloned https://github.com/luizzak/console.git
Revision (git rev-parse @):
9f4946929b7aac54ecc642c3ef15ec4fc05618a0
SUCCESS checkout https://github.com/luizzak/console.git at 0.14.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/luizzak/console.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/17] Compiling Console LinuxSupport.swift
[5/18] Compiling Console ConsoleOutputStream.swift
/host/spi-builder-workspace/Sources/Console/ConsoleOutputStream.swift:20:23: warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | /// Indicates capabilities for `ConsoleOutputStream` types.
 9 | public struct ConsoleOutputCapabilityFlag: OptionSet {
   |               `- note: consider making struct 'ConsoleOutputCapabilityFlag' conform to the 'Sendable' protocol
10 |     public var rawValue: Int
11 |
   :
18 |     /// Specifies that the output stream supports ANSI control sequences for
19 |     /// changing formatting of the text displayed or moving the cursor/screen.
20 |     public static let ansiControlSequences: Self = Self(rawValue: 1 << 0)
   |                       |- warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'ansiControlSequences' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[6/18] Compiling Console ConsoleString.swift
/host/spi-builder-workspace/Sources/Console/ConsoleOutputStream.swift:20:23: warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | /// Indicates capabilities for `ConsoleOutputStream` types.
 9 | public struct ConsoleOutputCapabilityFlag: OptionSet {
   |               `- note: consider making struct 'ConsoleOutputCapabilityFlag' conform to the 'Sendable' protocol
10 |     public var rawValue: Int
11 |
   :
18 |     /// Specifies that the output stream supports ANSI control sequences for
19 |     /// changing formatting of the text displayed or moving the cursor/screen.
20 |     public static let ansiControlSequences: Self = Self(rawValue: 1 << 0)
   |                       |- warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'ansiControlSequences' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[7/18] Compiling Console ConsoleDataProvider.swift
[8/18] Compiling Console ConsoleMenuController.swift
[9/18] Compiling Console ConsoleType.swift
[10/18] Compiling Console ConsoleColor.swift
[11/18] Compiling Console ConsoleFormat.swift
[12/18] Compiling Console String+ConsoleFormatting.swift
[13/18] Compiling Console FileHandle+Ext.swift
/host/spi-builder-workspace/Sources/Console/Platform/FileHandle+Ext.swift:3:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | var standardError = FileHandle.standardError
   |     |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: annotate 'standardError' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 4 |
 5 | extension FileHandle: TextOutputStream {
/host/spi-builder-workspace/Sources/Console/Platform/FileHandle+Ext.swift:5:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 3 | var standardError = FileHandle.standardError
 4 |
 5 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |     public func write(_ string: String) {
 7 |         guard let data = string.data(using: .utf8) else { return }
[14/18] Compiling Console Console+Command.swift
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:14:27: warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
    |                           |- warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'moveHome' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |         /// Erase screen control sequence (`\e[2J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:17:27: warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
 15 |
 16 |         /// Erase screen control sequence (`\e[2J`)
 17 |         public static let eraseScreen = eraseInScreen(.all)
    |                           |- warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'eraseScreen' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |         /// Erase screen and all scroll control sequence (`\e[3J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:20:27: warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
    :
 18 |
 19 |         /// Erase screen and all scroll control sequence (`\e[3J`)
 20 |         public static let eraseScreenAndScrollback = eraseInScreen(.allAndScrollback)
    |                           |- warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'eraseScreenAndScrollback' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |         /// Erase entire line control sequence (`\e[2K`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:23:27: warning: static property 'eraseLine' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
    :
 21 |
 22 |         /// Erase entire line control sequence (`\e[2K`)
 23 |         public static let eraseLine = eraseInLine(.all)
    |                           |- warning: static property 'eraseLine' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'eraseLine' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |
 25 |         /// Move cursor command (`\e[..;..H`)
[15/18] Compiling Console Console+Paging.swift
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:14:27: warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
    |                           |- warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'moveHome' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |         /// Erase screen control sequence (`\e[2J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:17:27: warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
 15 |
 16 |         /// Erase screen control sequence (`\e[2J`)
 17 |         public static let eraseScreen = eraseInScreen(.all)
    |                           |- warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'eraseScreen' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |         /// Erase screen and all scroll control sequence (`\e[3J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:20:27: warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
    :
 18 |
 19 |         /// Erase screen and all scroll control sequence (`\e[3J`)
 20 |         public static let eraseScreenAndScrollback = eraseInScreen(.allAndScrollback)
    |                           |- warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'eraseScreenAndScrollback' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |         /// Erase entire line control sequence (`\e[2K`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:23:27: warning: static property 'eraseLine' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
    :
 21 |
 22 |         /// Erase entire line control sequence (`\e[2K`)
 23 |         public static let eraseLine = eraseInLine(.all)
    |                           |- warning: static property 'eraseLine' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'eraseLine' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |
 25 |         /// Move cursor command (`\e[..;..H`)
[16/18] Emitting module Console
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:14:27: warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
    |                           |- warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'moveHome' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |         /// Erase screen control sequence (`\e[2J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:17:27: warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
 15 |
 16 |         /// Erase screen control sequence (`\e[2J`)
 17 |         public static let eraseScreen = eraseInScreen(.all)
    |                           |- warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'eraseScreen' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |         /// Erase screen and all scroll control sequence (`\e[3J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:20:27: warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
    :
 18 |
 19 |         /// Erase screen and all scroll control sequence (`\e[3J`)
 20 |         public static let eraseScreenAndScrollback = eraseInScreen(.allAndScrollback)
    |                           |- warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'eraseScreenAndScrollback' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |         /// Erase entire line control sequence (`\e[2K`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:23:27: warning: static property 'eraseLine' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
    :
 21 |
 22 |         /// Erase entire line control sequence (`\e[2K`)
 23 |         public static let eraseLine = eraseInLine(.all)
    |                           |- warning: static property 'eraseLine' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'eraseLine' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |
 25 |         /// Move cursor command (`\e[..;..H`)
/host/spi-builder-workspace/Sources/Console/ConsoleOutputStream.swift:20:23: warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | /// Indicates capabilities for `ConsoleOutputStream` types.
 9 | public struct ConsoleOutputCapabilityFlag: OptionSet {
   |               `- note: consider making struct 'ConsoleOutputCapabilityFlag' conform to the 'Sendable' protocol
10 |     public var rawValue: Int
11 |
   :
18 |     /// Specifies that the output stream supports ANSI control sequences for
19 |     /// changing formatting of the text displayed or moving the cursor/screen.
20 |     public static let ansiControlSequences: Self = Self(rawValue: 1 << 0)
   |                       |- warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'ansiControlSequences' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/Console/Platform/FileHandle+Ext.swift:3:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | var standardError = FileHandle.standardError
   |     |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: annotate 'standardError' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 4 |
 5 | extension FileHandle: TextOutputStream {
/host/spi-builder-workspace/Sources/Console/Platform/FileHandle+Ext.swift:5:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
 3 | var standardError = FileHandle.standardError
 4 |
 5 | extension FileHandle: TextOutputStream {
   | |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
 6 |     public func write(_ string: String) {
 7 |         guard let data = string.data(using: .utf8) else { return }
[17/18] Compiling Console Console+Static.swift
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:23:23: 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
21 |     /// terminal.
22 |     static func isTerminalStandardInput() -> Bool {
23 |         isatty(fileno(stdin)) == 1
   |                       `- 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
24 |     }
25 |
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:29:23: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 |     /// terminal.
28 |     static func isTerminalStandardOutput() -> Bool {
29 |         isatty(fileno(stdout)) == 1
   |                       `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 |     }
31 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:35:23: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 |     /// terminal.
34 |     static func isTerminalStandardError() -> Bool {
35 |         isatty(fileno(stderr)) == 1
   |                       `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 |     }
37 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/Console/ConsoleOutputStream.swift:20:23: warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | /// Indicates capabilities for `ConsoleOutputStream` types.
 9 | public struct ConsoleOutputCapabilityFlag: OptionSet {
   |               `- note: consider making struct 'ConsoleOutputCapabilityFlag' conform to the 'Sendable' protocol
10 |     public var rawValue: Int
11 |
   :
18 |     /// Specifies that the output stream supports ANSI control sequences for
19 |     /// changing formatting of the text displayed or moving the cursor/screen.
20 |     public static let ansiControlSequences: Self = Self(rawValue: 1 << 0)
   |                       |- warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'ansiControlSequences' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:17:27: warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
 15 |
 16 |         /// Erase screen control sequence (`\e[2J`)
 17 |         public static let eraseScreen = eraseInScreen(.all)
    |                           |- warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'eraseScreen' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |         /// Erase screen and all scroll control sequence (`\e[3J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:14:27: warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
    |                           |- warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'moveHome' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |         /// Erase screen control sequence (`\e[2J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:20:27: warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
    :
 18 |
 19 |         /// Erase screen and all scroll control sequence (`\e[3J`)
 20 |         public static let eraseScreenAndScrollback = eraseInScreen(.allAndScrollback)
    |                           |- warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'eraseScreenAndScrollback' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |         /// Erase entire line control sequence (`\e[2K`)
/host/spi-builder-workspace/Sources/Console/Platform/FileHandle+Ext.swift:3:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | var standardError = FileHandle.standardError
   |     |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: annotate 'standardError' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 4 |
 5 | extension FileHandle: TextOutputStream {
[18/18] Compiling Console Console.swift
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:23:23: 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
21 |     /// terminal.
22 |     static func isTerminalStandardInput() -> Bool {
23 |         isatty(fileno(stdin)) == 1
   |                       `- 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
24 |     }
25 |
SwiftGlibc.stdin:1:12: note: var declared here
1 | public var stdin: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:29:23: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
27 |     /// terminal.
28 |     static func isTerminalStandardOutput() -> Bool {
29 |         isatty(fileno(stdout)) == 1
   |                       `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 |     }
31 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:35:23: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 |     /// terminal.
34 |     static func isTerminalStandardError() -> Bool {
35 |         isatty(fileno(stderr)) == 1
   |                       `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
36 |     }
37 | }
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
  |            `- note: var declared here
/host/spi-builder-workspace/Sources/Console/ConsoleOutputStream.swift:20:23: warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | /// Indicates capabilities for `ConsoleOutputStream` types.
 9 | public struct ConsoleOutputCapabilityFlag: OptionSet {
   |               `- note: consider making struct 'ConsoleOutputCapabilityFlag' conform to the 'Sendable' protocol
10 |     public var rawValue: Int
11 |
   :
18 |     /// Specifies that the output stream supports ANSI control sequences for
19 |     /// changing formatting of the text displayed or moving the cursor/screen.
20 |     public static let ansiControlSequences: Self = Self(rawValue: 1 << 0)
   |                       |- warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: annotate 'ansiControlSequences' with '@MainActor' if property should only be accessed from the main actor
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:17:27: warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
 15 |
 16 |         /// Erase screen control sequence (`\e[2J`)
 17 |         public static let eraseScreen = eraseInScreen(.all)
    |                           |- warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'eraseScreen' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |         /// Erase screen and all scroll control sequence (`\e[3J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:14:27: warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
    |                           |- warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'moveHome' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |
 16 |         /// Erase screen control sequence (`\e[2J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:20:27: warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
 10 | public extension Terminal {
 11 |     /// Available terminal commands.
 12 |     enum Command {
    |          `- note: consider making enum 'Command' conform to the 'Sendable' protocol
 13 |         /// Move home command (`\e[2J`)
 14 |         public static let moveHome = move(.home)
    :
 18 |
 19 |         /// Erase screen and all scroll control sequence (`\e[3J`)
 20 |         public static let eraseScreenAndScrollback = eraseInScreen(.allAndScrollback)
    |                           |- warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: annotate 'eraseScreenAndScrollback' with '@MainActor' if property should only be accessed from the main actor
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |
 22 |         /// Erase entire line control sequence (`\e[2K`)
/host/spi-builder-workspace/Sources/Console/Platform/FileHandle+Ext.swift:3:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | var standardError = FileHandle.standardError
   |     |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |     |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
   |     |- note: annotate 'standardError' with '@MainActor' if property should only be accessed from the main actor
   |     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 4 |
 5 | extension FileHandle: TextOutputStream {
[20/22] Compiling ConsoleTestHelpers MockConsoleTestAdapterType.swift
[21/22] Compiling ConsoleTestHelpers MockConsole.swift
[22/22] Emitting module ConsoleTestHelpers
Build complete! (13.67s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Console",
  "name" : "Console",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Console",
      "targets" : [
        "Console"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ConsoleTestHelpers",
      "targets" : [
        "ConsoleTestHelpers"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "ConsoleTests",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleTests",
      "path" : "Tests/ConsoleTests",
      "sources" : [
        "ConsoleMenuControllerTests.swift",
        "ConsoleStringTests.swift",
        "ConsoleTestCase.swift",
        "Formatting/String+ConsoleFormattingTests.swift",
        "PagesTests.swift"
      ],
      "target_dependencies" : [
        "Console",
        "ConsoleTestHelpers"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ConsoleTestHelpers",
      "module_type" : "SwiftTarget",
      "name" : "ConsoleTestHelpers",
      "path" : "Sources/ConsoleTestHelpers",
      "product_memberships" : [
        "ConsoleTestHelpers"
      ],
      "sources" : [
        "MockConsole.swift",
        "MockConsoleTestAdapterType.swift"
      ],
      "target_dependencies" : [
        "Console"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Console",
      "module_type" : "SwiftTarget",
      "name" : "Console",
      "path" : "Sources/Console",
      "product_memberships" : [
        "Console",
        "ConsoleTestHelpers"
      ],
      "sources" : [
        "Console+Command.swift",
        "Console+Paging.swift",
        "Console+Static.swift",
        "Console.swift",
        "ConsoleDataProvider.swift",
        "ConsoleMenuController.swift",
        "ConsoleOutputStream.swift",
        "ConsoleString.swift",
        "ConsoleType.swift",
        "Formatting/ConsoleColor.swift",
        "Formatting/ConsoleFormat.swift",
        "Formatting/String+ConsoleFormatting.swift",
        "LinuxSupport.swift",
        "Platform/FileHandle+Ext.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.