Build Information
Successful build of console-kit with Swift 6.0 for Linux.
Swift 6 data race errors: 4
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swifweb/console-kit.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/swifweb/console-kit
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 1ee91b3 Merge remote-tracking branch 'github.com/main'
Cloned https://github.com/swifweb/console-kit.git
Revision (git rev-parse @):
1ee91b326edcbc1d90e4d93784bc26564f2b139d
SUCCESS checkout https://github.com/swifweb/console-kit.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/swifweb/console-kit.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" 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
Fetching https://github.com/apple/swift-log.git
[1/3353] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.35s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.45s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.5.4
warning: 'spi-builder-workspace': 'ConsoleKitExample' was identified as an executable target given the presence of a 'main.swift' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
Building for debugging...
[0/10] Write sources
[4/10] Write swift-version-24593BA9C3E375BF.txt
[6/15] Emitting module Logging
[7/15] Compiling Logging Locks.swift
[8/15] Compiling Logging LogHandler.swift
[9/15] Compiling Logging MetadataProvider.swift
[10/15] Compiling Logging Logging.swift
[11/16] Wrapping AST for Logging for debugging
[13/59] Compiling ConsoleKit ActivityBar.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Activity/ActivityBar.swift:38:13: warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Defines the width of all `ActivityBar`s in characters.
38 | private var _width: Int = 25
| |- warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_width' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_width' 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
39 |
40 | extension ActivityBar {
[14/59] Compiling ConsoleKit ActivityIndicator.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Activity/ActivityBar.swift:38:13: warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Defines the width of all `ActivityBar`s in characters.
38 | private var _width: Int = 25
| |- warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_width' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_width' 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
39 |
40 | extension ActivityBar {
[15/59] Compiling ConsoleKit ActivityIndicatorRenderer.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Activity/ActivityBar.swift:38:13: warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Defines the width of all `ActivityBar`s in characters.
38 | private var _width: Int = 25
| |- warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_width' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_width' 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
39 |
40 | extension ActivityBar {
[16/59] Compiling ConsoleKit ActivityIndicatorState.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Activity/ActivityBar.swift:38:13: warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Defines the width of all `ActivityBar`s in characters.
38 | private var _width: Int = 25
| |- warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_width' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_width' 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
39 |
40 | extension ActivityBar {
[17/59] Compiling ConsoleKit CustomActivity.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Activity/ActivityBar.swift:38:13: warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Defines the width of all `ActivityBar`s in characters.
38 | private var _width: Int = 25
| |- warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_width' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_width' 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
39 |
40 | extension ActivityBar {
[18/59] Compiling ConsoleKit LoadingBar.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Activity/ActivityBar.swift:38:13: warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Defines the width of all `ActivityBar`s in characters.
38 | private var _width: Int = 25
| |- warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_width' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_width' 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
39 |
40 | extension ActivityBar {
[19/59] Compiling ConsoleKit ProgressBar.swift
[20/59] Compiling ConsoleKit Console+Clear.swift
[21/59] Compiling ConsoleKit Console+Ephemeral.swift
[22/59] Compiling ConsoleKit ConsoleClear.swift
[23/59] Compiling ConsoleKit AnyCommand.swift
[24/59] Compiling ConsoleKit Argument.swift
[25/65] Emitting module ConsoleKit
/host/spi-builder-workspace/Sources/ConsoleKit/Activity/ActivityBar.swift:38:13: warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
36 |
37 | /// Defines the width of all `ActivityBar`s in characters.
38 | private var _width: Int = 25
| |- warning: var '_width' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert '_width' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate '_width' 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
39 |
40 | extension ActivityBar {
/host/spi-builder-workspace/Sources/ConsoleKit/Output/ConsoleText.swift:78:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
26 | ///
27 | /// See `Console.output(_:newLine:)` for more information.
28 | public struct ConsoleText: RandomAccessCollection, ExpressibleByArrayLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'ConsoleText' conform to the 'Sendable' protocol
29 | /// See `Collection`.
30 | public var startIndex: Int {
:
76 |
77 | /// `\n` character with plain styling.
78 | public static let newLine: ConsoleText = "\n"
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' 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
79 | }
80 |
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/readpassphrase_linux.swift:104:17: warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
102 | /// storage rather than a simple array. It is never deallocated and will be considered a leak by memory
103 | /// analysis tools.
104 | fileprivate var linux_readpassphrase_signos: VeryUnsafeMutableSigAtomicBufferPointer = .init(capacity: NSIG)
| |- warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'linux_readpassphrase_signos' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'linux_readpassphrase_signos' 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
105 |
106 | /// A version of `UnsafeMutableBufferPointer` which avoids any references to the Swift runtime, including conformance to
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:14:16: warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
12 |
13 | /// The conosle that the messages will get logged to.
14 | public let console: Console
| `- warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
15 |
16 | /// Creates a new `ConsoleLogger` instance.
/host/spi-builder-workspace/Sources/ConsoleKit/Console.swift:37:17: note: protocol 'Console' does not conform to the 'Sendable' protocol
35 | /// Get the `Console`'s current size using the `size` property.
36 | ///
37 | public protocol Console: AnyObject {
| `- note: protocol 'Console' does not conform to the 'Sendable' protocol
38 | /// The size of the `Console` window. Used for calculating lines printed and centering text.
39 | var size: (width: Int, height: Int) { get }
[26/65] Compiling ConsoleKit Console+Run.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Output/ConsoleText.swift:78:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
26 | ///
27 | /// See `Console.output(_:newLine:)` for more information.
28 | public struct ConsoleText: RandomAccessCollection, ExpressibleByArrayLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'ConsoleText' conform to the 'Sendable' protocol
29 | /// See `Collection`.
30 | public var startIndex: Int {
:
76 |
77 | /// `\n` character with plain styling.
78 | public static let newLine: ConsoleText = "\n"
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' 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
79 | }
80 |
[27/65] Compiling ConsoleKit Flag.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Output/ConsoleText.swift:78:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
26 | ///
27 | /// See `Console.output(_:newLine:)` for more information.
28 | public struct ConsoleText: RandomAccessCollection, ExpressibleByArrayLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'ConsoleText' conform to the 'Sendable' protocol
29 | /// See `Collection`.
30 | public var startIndex: Int {
:
76 |
77 | /// `\n` character with plain styling.
78 | public static let newLine: ConsoleText = "\n"
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' 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
79 | }
80 |
[28/65] Compiling ConsoleKit Option.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Output/ConsoleText.swift:78:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
26 | ///
27 | /// See `Console.output(_:newLine:)` for more information.
28 | public struct ConsoleText: RandomAccessCollection, ExpressibleByArrayLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'ConsoleText' conform to the 'Sendable' protocol
29 | /// See `Collection`.
30 | public var startIndex: Int {
:
76 |
77 | /// `\n` character with plain styling.
78 | public static let newLine: ConsoleText = "\n"
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' 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
79 | }
80 |
[29/65] Compiling ConsoleKit Utilities.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Output/ConsoleText.swift:78:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
26 | ///
27 | /// See `Console.output(_:newLine:)` for more information.
28 | public struct ConsoleText: RandomAccessCollection, ExpressibleByArrayLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'ConsoleText' conform to the 'Sendable' protocol
29 | /// See `Collection`.
30 | public var startIndex: Int {
:
76 |
77 | /// `\n` character with plain styling.
78 | public static let newLine: ConsoleText = "\n"
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' 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
79 | }
80 |
[30/65] Compiling ConsoleKit Console.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Output/ConsoleText.swift:78:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
26 | ///
27 | /// See `Console.output(_:newLine:)` for more information.
28 | public struct ConsoleText: RandomAccessCollection, ExpressibleByArrayLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'ConsoleText' conform to the 'Sendable' protocol
29 | /// See `Collection`.
30 | public var startIndex: Int {
:
76 |
77 | /// `\n` character with plain styling.
78 | public static let newLine: ConsoleText = "\n"
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' 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
79 | }
80 |
[31/65] Compiling ConsoleKit Console+Ask.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Output/ConsoleText.swift:78:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
26 | ///
27 | /// See `Console.output(_:newLine:)` for more information.
28 | public struct ConsoleText: RandomAccessCollection, ExpressibleByArrayLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'ConsoleText' conform to the 'Sendable' protocol
29 | /// See `Collection`.
30 | public var startIndex: Int {
:
76 |
77 | /// `\n` character with plain styling.
78 | public static let newLine: ConsoleText = "\n"
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' 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
79 | }
80 |
[32/65] Compiling ConsoleKit CommandError.swift
[33/65] Compiling ConsoleKit CommandGroup.swift
[34/65] Compiling ConsoleKit CommandInput.swift
[35/65] Compiling ConsoleKit CommandSignature.swift
[36/65] Compiling ConsoleKit Commands.swift
[37/65] Compiling ConsoleKit Completion.swift
[38/65] Compiling ConsoleKit Console+Choose.swift
[39/65] Compiling ConsoleKit Console+Confirm.swift
[40/65] Compiling ConsoleKit Console+Input.swift
[41/65] Compiling ConsoleKit Console+Center.swift
[42/65] Compiling ConsoleKit Console+Output.swift
[43/65] Compiling ConsoleKit Console+Wait.swift
[44/65] Compiling ConsoleKit AnyAsyncCommand.swift
[45/65] Compiling ConsoleKit AsyncCommand.swift
[46/65] Compiling ConsoleKit AsyncCommandGroup.swift
[47/65] Compiling ConsoleKit AsyncCommands.swift
[48/65] Compiling ConsoleKit Command.swift
[49/65] Compiling ConsoleKit CommandContext.swift
[50/65] Compiling ConsoleKit ConsoleColor.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Output/ConsoleText.swift:78:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
26 | ///
27 | /// See `Console.output(_:newLine:)` for more information.
28 | public struct ConsoleText: RandomAccessCollection, ExpressibleByArrayLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'ConsoleText' conform to the 'Sendable' protocol
29 | /// See `Collection`.
30 | public var startIndex: Int {
:
76 |
77 | /// `\n` character with plain styling.
78 | public static let newLine: ConsoleText = "\n"
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' 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
79 | }
80 |
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/Terminal.swift:121: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
119 | }
120 | Swift.print(output, terminator: terminator)
121 | 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
122 | }
123 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[51/65] Compiling ConsoleKit ConsoleStyle.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Output/ConsoleText.swift:78:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
26 | ///
27 | /// See `Console.output(_:newLine:)` for more information.
28 | public struct ConsoleText: RandomAccessCollection, ExpressibleByArrayLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'ConsoleText' conform to the 'Sendable' protocol
29 | /// See `Collection`.
30 | public var startIndex: Int {
:
76 |
77 | /// `\n` character with plain styling.
78 | public static let newLine: ConsoleText = "\n"
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' 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
79 | }
80 |
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/Terminal.swift:121: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
119 | }
120 | Swift.print(output, terminator: terminator)
121 | 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
122 | }
123 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[52/65] Compiling ConsoleKit ConsoleText.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Output/ConsoleText.swift:78:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
26 | ///
27 | /// See `Console.output(_:newLine:)` for more information.
28 | public struct ConsoleText: RandomAccessCollection, ExpressibleByArrayLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'ConsoleText' conform to the 'Sendable' protocol
29 | /// See `Collection`.
30 | public var startIndex: Int {
:
76 |
77 | /// `\n` character with plain styling.
78 | public static let newLine: ConsoleText = "\n"
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' 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
79 | }
80 |
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/Terminal.swift:121: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
119 | }
120 | Swift.print(output, terminator: terminator)
121 | 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
122 | }
123 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[53/65] Compiling ConsoleKit ConsoleTextFragment.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Output/ConsoleText.swift:78:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
26 | ///
27 | /// See `Console.output(_:newLine:)` for more information.
28 | public struct ConsoleText: RandomAccessCollection, ExpressibleByArrayLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'ConsoleText' conform to the 'Sendable' protocol
29 | /// See `Collection`.
30 | public var startIndex: Int {
:
76 |
77 | /// `\n` character with plain styling.
78 | public static let newLine: ConsoleText = "\n"
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' 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
79 | }
80 |
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/Terminal.swift:121: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
119 | }
120 | Swift.print(output, terminator: terminator)
121 | 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
122 | }
123 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[54/65] Compiling ConsoleKit ANSI.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Output/ConsoleText.swift:78:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
26 | ///
27 | /// See `Console.output(_:newLine:)` for more information.
28 | public struct ConsoleText: RandomAccessCollection, ExpressibleByArrayLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'ConsoleText' conform to the 'Sendable' protocol
29 | /// See `Collection`.
30 | public var startIndex: Int {
:
76 |
77 | /// `\n` character with plain styling.
78 | public static let newLine: ConsoleText = "\n"
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' 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
79 | }
80 |
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/Terminal.swift:121: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
119 | }
120 | Swift.print(output, terminator: terminator)
121 | 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
122 | }
123 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[55/65] Compiling ConsoleKit Terminal.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Output/ConsoleText.swift:78:23: warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
26 | ///
27 | /// See `Console.output(_:newLine:)` for more information.
28 | public struct ConsoleText: RandomAccessCollection, ExpressibleByArrayLiteral, ExpressibleByStringLiteral, CustomStringConvertible {
| `- note: consider making struct 'ConsoleText' conform to the 'Sendable' protocol
29 | /// See `Collection`.
30 | public var startIndex: Int {
:
76 |
77 | /// `\n` character with plain styling.
78 | public static let newLine: ConsoleText = "\n"
| |- warning: static property 'newLine' is not concurrency-safe because non-'Sendable' type 'ConsoleText' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'newLine' 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
79 | }
80 |
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/Terminal.swift:121: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
119 | }
120 | Swift.print(output, terminator: terminator)
121 | 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
122 | }
123 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
[56/65] Compiling ConsoleKit readpassphrase_linux.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/readpassphrase_linux.swift:104:17: warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
102 | /// storage rather than a simple array. It is never deallocated and will be considered a leak by memory
103 | /// analysis tools.
104 | fileprivate var linux_readpassphrase_signos: VeryUnsafeMutableSigAtomicBufferPointer = .init(capacity: NSIG)
| |- warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'linux_readpassphrase_signos' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'linux_readpassphrase_signos' 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
105 |
106 | /// A version of `UnsafeMutableBufferPointer` which avoids any references to the Swift runtime, including conformance to
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/readpassphrase_linux.swift:138:26: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
136 |
137 | func reset() {
138 | self.baseAddress.assign(repeating: 0, count: self.capacity)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
139 | }
140 | }
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:14:16: warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
12 |
13 | /// The conosle that the messages will get logged to.
14 | public let console: Console
| `- warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
15 |
16 | /// Creates a new `ConsoleLogger` instance.
/host/spi-builder-workspace/Sources/ConsoleKit/Console.swift:37:17: note: protocol 'Console' does not conform to the 'Sendable' protocol
35 | /// Get the `Console`'s current size using the `size` property.
36 | ///
37 | public protocol Console: AnyObject {
| `- note: protocol 'Console' does not conform to the 'Sendable' protocol
38 | /// The size of the `Console` window. Used for calculating lines printed and centering text.
39 | var size: (width: Int, height: Int) { get }
[57/65] Compiling ConsoleKit ConsoleError.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/readpassphrase_linux.swift:104:17: warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
102 | /// storage rather than a simple array. It is never deallocated and will be considered a leak by memory
103 | /// analysis tools.
104 | fileprivate var linux_readpassphrase_signos: VeryUnsafeMutableSigAtomicBufferPointer = .init(capacity: NSIG)
| |- warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'linux_readpassphrase_signos' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'linux_readpassphrase_signos' 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
105 |
106 | /// A version of `UnsafeMutableBufferPointer` which avoids any references to the Swift runtime, including conformance to
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/readpassphrase_linux.swift:138:26: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
136 |
137 | func reset() {
138 | self.baseAddress.assign(repeating: 0, count: self.capacity)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
139 | }
140 | }
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:14:16: warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
12 |
13 | /// The conosle that the messages will get logged to.
14 | public let console: Console
| `- warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
15 |
16 | /// Creates a new `ConsoleLogger` instance.
/host/spi-builder-workspace/Sources/ConsoleKit/Console.swift:37:17: note: protocol 'Console' does not conform to the 'Sendable' protocol
35 | /// Get the `Console`'s current size using the `size` property.
36 | ///
37 | public protocol Console: AnyObject {
| `- note: protocol 'Console' does not conform to the 'Sendable' protocol
38 | /// The size of the `Console` window. Used for calculating lines printed and centering text.
39 | var size: (width: Int, height: Int) { get }
[58/65] Compiling ConsoleKit ConsoleLogger.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/readpassphrase_linux.swift:104:17: warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
102 | /// storage rather than a simple array. It is never deallocated and will be considered a leak by memory
103 | /// analysis tools.
104 | fileprivate var linux_readpassphrase_signos: VeryUnsafeMutableSigAtomicBufferPointer = .init(capacity: NSIG)
| |- warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'linux_readpassphrase_signos' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'linux_readpassphrase_signos' 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
105 |
106 | /// A version of `UnsafeMutableBufferPointer` which avoids any references to the Swift runtime, including conformance to
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/readpassphrase_linux.swift:138:26: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
136 |
137 | func reset() {
138 | self.baseAddress.assign(repeating: 0, count: self.capacity)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
139 | }
140 | }
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:14:16: warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
12 |
13 | /// The conosle that the messages will get logged to.
14 | public let console: Console
| `- warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
15 |
16 | /// Creates a new `ConsoleLogger` instance.
/host/spi-builder-workspace/Sources/ConsoleKit/Console.swift:37:17: note: protocol 'Console' does not conform to the 'Sendable' protocol
35 | /// Get the `Console`'s current size using the `size` property.
36 | ///
37 | public protocol Console: AnyObject {
| `- note: protocol 'Console' does not conform to the 'Sendable' protocol
38 | /// The size of the `Console` window. Used for calculating lines printed and centering text.
39 | var size: (width: Int, height: Int) { get }
[59/65] Compiling ConsoleKit GenerateAsyncAutocompleteCommand.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/readpassphrase_linux.swift:104:17: warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
102 | /// storage rather than a simple array. It is never deallocated and will be considered a leak by memory
103 | /// analysis tools.
104 | fileprivate var linux_readpassphrase_signos: VeryUnsafeMutableSigAtomicBufferPointer = .init(capacity: NSIG)
| |- warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'linux_readpassphrase_signos' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'linux_readpassphrase_signos' 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
105 |
106 | /// A version of `UnsafeMutableBufferPointer` which avoids any references to the Swift runtime, including conformance to
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/readpassphrase_linux.swift:138:26: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
136 |
137 | func reset() {
138 | self.baseAddress.assign(repeating: 0, count: self.capacity)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
139 | }
140 | }
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:14:16: warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
12 |
13 | /// The conosle that the messages will get logged to.
14 | public let console: Console
| `- warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
15 |
16 | /// Creates a new `ConsoleLogger` instance.
/host/spi-builder-workspace/Sources/ConsoleKit/Console.swift:37:17: note: protocol 'Console' does not conform to the 'Sendable' protocol
35 | /// Get the `Console`'s current size using the `size` property.
36 | ///
37 | public protocol Console: AnyObject {
| `- note: protocol 'Console' does not conform to the 'Sendable' protocol
38 | /// The size of the `Console` window. Used for calculating lines printed and centering text.
39 | var size: (width: Int, height: Int) { get }
[60/65] Compiling ConsoleKit GenerateAutocompleteCommand.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/readpassphrase_linux.swift:104:17: warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
102 | /// storage rather than a simple array. It is never deallocated and will be considered a leak by memory
103 | /// analysis tools.
104 | fileprivate var linux_readpassphrase_signos: VeryUnsafeMutableSigAtomicBufferPointer = .init(capacity: NSIG)
| |- warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'linux_readpassphrase_signos' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'linux_readpassphrase_signos' 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
105 |
106 | /// A version of `UnsafeMutableBufferPointer` which avoids any references to the Swift runtime, including conformance to
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/readpassphrase_linux.swift:138:26: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
136 |
137 | func reset() {
138 | self.baseAddress.assign(repeating: 0, count: self.capacity)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
139 | }
140 | }
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:14:16: warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
12 |
13 | /// The conosle that the messages will get logged to.
14 | public let console: Console
| `- warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
15 |
16 | /// Creates a new `ConsoleLogger` instance.
/host/spi-builder-workspace/Sources/ConsoleKit/Console.swift:37:17: note: protocol 'Console' does not conform to the 'Sendable' protocol
35 | /// Get the `Console`'s current size using the `size` property.
36 | ///
37 | public protocol Console: AnyObject {
| `- note: protocol 'Console' does not conform to the 'Sendable' protocol
38 | /// The size of the `Console` window. Used for calculating lines printed and centering text.
39 | var size: (width: Int, height: Int) { get }
[61/65] Compiling ConsoleKit String+LevenshteinDistance.swift
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/readpassphrase_linux.swift:104:17: warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
102 | /// storage rather than a simple array. It is never deallocated and will be considered a leak by memory
103 | /// analysis tools.
104 | fileprivate var linux_readpassphrase_signos: VeryUnsafeMutableSigAtomicBufferPointer = .init(capacity: NSIG)
| |- warning: var 'linux_readpassphrase_signos' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'linux_readpassphrase_signos' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'linux_readpassphrase_signos' 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
105 |
106 | /// A version of `UnsafeMutableBufferPointer` which avoids any references to the Swift runtime, including conformance to
/host/spi-builder-workspace/Sources/ConsoleKit/Terminal/readpassphrase_linux.swift:138:26: warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
136 |
137 | func reset() {
138 | self.baseAddress.assign(repeating: 0, count: self.capacity)
| |- warning: 'assign(repeating:count:)' is deprecated: renamed to 'update(repeating:count:)'
| `- note: use 'update(repeating:count:)' instead
139 | }
140 | }
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:14:16: warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
12 |
13 | /// The conosle that the messages will get logged to.
14 | public let console: Console
| `- warning: stored property 'console' of 'Sendable'-conforming struct 'ConsoleLogger' has non-sendable type 'any Console'; this is an error in the Swift 6 language mode
15 |
16 | /// Creates a new `ConsoleLogger` instance.
/host/spi-builder-workspace/Sources/ConsoleKit/Console.swift:37:17: note: protocol 'Console' does not conform to the 'Sendable' protocol
35 | /// Get the `Console`'s current size using the `size` property.
36 | ///
37 | public protocol Console: AnyObject {
| `- note: protocol 'Console' does not conform to the 'Sendable' protocol
38 | /// The size of the `Console` window. Used for calculating lines printed and centering text.
39 | var size: (width: Int, height: Int) { get }
[62/69] Wrapping AST for ConsoleKit for debugging
[64/72] Compiling ConsoleKitExample DemoCommand.swift
[65/72] Compiling ConsoleKitExample main.swift
[66/72] Emitting module ConsoleKitExample
[67/73] Compiling ConsoleKitAsyncExample entry.swift
/host/spi-builder-workspace/Sources/ConsoleKitAsyncExample/entry.swift:10:13: warning: initialization of variable 'context' was never used; consider replacing with assignment to '_' or removing it
8 | let console: Console = Terminal()
9 | let input = CommandInput(arguments: CommandLine.arguments)
10 | var context = CommandContext(console: console, input: input)
| `- warning: initialization of variable 'context' was never used; consider replacing with assignment to '_' or removing it
11 |
12 | var commands = AsyncCommands(enableAutocomplete: true)
[68/73] Emitting module ConsoleKitAsyncExample
[69/73] Compiling ConsoleKitAsyncExample DemoCommand.swift
[71/74] Wrapping AST for ConsoleKitExample for debugging
[72/74] Write Objects.LinkFileList
[73/74] Linking ConsoleKitExample
Build complete! (14.13s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
}
],
"manifest_display_name" : "console-kit",
"name" : "console-kit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ConsoleKit",
"targets" : [
"ConsoleKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ConsoleKitExample",
"targets" : [
"ConsoleKitExample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "ConsoleKitTests",
"module_type" : "SwiftTarget",
"name" : "ConsoleKitTests",
"path" : "Tests/ConsoleKitTests",
"sources" : [
"CommandErrorTests.swift",
"CommandTests.swift",
"ConsoleTests.swift",
"LoggingTests.swift",
"TerminalTests.swift",
"Utilities.swift"
],
"target_dependencies" : [
"ConsoleKit"
],
"type" : "test"
},
{
"c99name" : "ConsoleKitExample",
"module_type" : "SwiftTarget",
"name" : "ConsoleKitExample",
"path" : "Sources/ConsoleKitExample",
"product_memberships" : [
"ConsoleKitExample"
],
"sources" : [
"DemoCommand.swift",
"main.swift"
],
"target_dependencies" : [
"ConsoleKit"
],
"type" : "executable"
},
{
"c99name" : "ConsoleKitAsyncExample",
"module_type" : "SwiftTarget",
"name" : "ConsoleKitAsyncExample",
"path" : "Sources/ConsoleKitAsyncExample",
"sources" : [
"DemoCommand.swift",
"entry.swift"
],
"target_dependencies" : [
"ConsoleKit"
],
"type" : "library"
},
{
"c99name" : "ConsoleKit",
"module_type" : "SwiftTarget",
"name" : "ConsoleKit",
"path" : "Sources/ConsoleKit",
"product_dependencies" : [
"Logging"
],
"product_memberships" : [
"ConsoleKit",
"ConsoleKitExample"
],
"sources" : [
"Activity/ActivityBar.swift",
"Activity/ActivityIndicator.swift",
"Activity/ActivityIndicatorRenderer.swift",
"Activity/ActivityIndicatorState.swift",
"Activity/CustomActivity.swift",
"Activity/LoadingBar.swift",
"Activity/ProgressBar.swift",
"Clear/Console+Clear.swift",
"Clear/Console+Ephemeral.swift",
"Clear/ConsoleClear.swift",
"Command/AnyCommand.swift",
"Command/Argument.swift",
"Command/Async/AnyAsyncCommand.swift",
"Command/Async/AsyncCommand.swift",
"Command/Async/AsyncCommandGroup.swift",
"Command/Async/AsyncCommands.swift",
"Command/Command.swift",
"Command/CommandContext.swift",
"Command/CommandError.swift",
"Command/CommandGroup.swift",
"Command/CommandInput.swift",
"Command/CommandSignature.swift",
"Command/Commands.swift",
"Command/Completion.swift",
"Command/Console+Run.swift",
"Command/Flag.swift",
"Command/Option.swift",
"Command/Utilities.swift",
"Console.swift",
"Input/Console+Ask.swift",
"Input/Console+Choose.swift",
"Input/Console+Confirm.swift",
"Input/Console+Input.swift",
"Output/Console+Center.swift",
"Output/Console+Output.swift",
"Output/Console+Wait.swift",
"Output/ConsoleColor.swift",
"Output/ConsoleStyle.swift",
"Output/ConsoleText.swift",
"Output/ConsoleTextFragment.swift",
"Terminal/ANSI.swift",
"Terminal/Terminal.swift",
"Terminal/readpassphrase_linux.swift",
"Utilities/ConsoleError.swift",
"Utilities/ConsoleLogger.swift",
"Utilities/GenerateAsyncAutocompleteCommand.swift",
"Utilities/GenerateAutocompleteCommand.swift",
"Utilities/String+LevenshteinDistance.swift"
],
"type" : "library"
},
{
"c99name" : "AsyncConsoleKitTests",
"module_type" : "SwiftTarget",
"name" : "AsyncConsoleKitTests",
"path" : "Tests/AsyncConsoleKitTests",
"sources" : [
"AsyncCommandErrorTests.swift",
"AsyncCommandTests.swift",
"AsyncUtilities.swift"
],
"target_dependencies" : [
"ConsoleKit"
],
"type" : "test"
}
],
"tools_version" : "5.4"
}
warning: 'spi-builder-workspace': 'ConsoleKitExample' was identified as an executable target given the presence of a 'main.swift' file. Starting with tools version 5.4.0 executable targets should be declared as 'executableTarget()'
Done.