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 master (9f4946), with Swift 6.1 for Linux on 29 Apr 2025 03:22:05 UTC.

Swift 6 data race errors: 6

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/luizzak/console.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/luizzak/console
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
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 master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/luizzak/console.git
https://github.com/luizzak/console.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/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 finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-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: add '@MainActor' to make static property 'ansiControlSequences' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make static property 'ansiControlSequences' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[7/18] Compiling Console ConsoleType.swift
[8/18] Compiling Console ConsoleColor.swift
[9/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: add '@MainActor' to make var 'standardError' part of global actor 'MainActor'
   |     `- 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 }
[10/18] Compiling Console ConsoleFormat.swift
[11/18] Compiling Console String+ConsoleFormatting.swift
[12/18] Compiling Console ConsoleDataProvider.swift
[13/18] Compiling Console ConsoleMenuController.swift
[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: add '@MainActor' to make static property 'moveHome' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'eraseScreen' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'eraseScreenAndScrollback' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'eraseLine' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'moveHome' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'eraseScreen' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'eraseScreenAndScrollback' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'eraseLine' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'moveHome' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'eraseScreen' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'eraseScreenAndScrollback' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'eraseLine' part of global actor 'MainActor'
    |                           `- 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: add '@MainActor' to make static property 'ansiControlSequences' part of global actor 'MainActor'
   |                       `- 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: add '@MainActor' to make var 'standardError' part of global actor 'MainActor'
   |     `- 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 |
/usr/include/stdio.h:143:14: note: var declared here
141 |
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
    |              `- note: var declared here
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
/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 |
/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/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 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[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 |
/usr/include/stdio.h:143:14: note: var declared here
141 |
142 | /* Standard streams.  */
143 | extern FILE *stdin;		/* Standard input stream.  */
    |              `- note: var declared here
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
/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 |
/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/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 | }
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[20/22] Compiling ConsoleTestHelpers MockConsoleTestAdapterType.swift
[21/22] Compiling ConsoleTestHelpers MockConsole.swift
[22/22] Emitting module ConsoleTestHelpers
Build complete! (8.14s)
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.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.