Build Information
Successful build of console-kit with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 4
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
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 /Users/admin/builder/spi-builder-workspace/.git/
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: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/swifweb/console-kit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/9] Write sources
[2/9] Write ConsoleKitExample-entitlement.plist
[2/9] Write sources
[5/9] Write swift-version-6F35C1178C84523A.txt
[7/14] Compiling Logging LogHandler.swift
[8/14] Compiling Logging MetadataProvider.swift
[9/14] Compiling Logging Locks.swift
[10/14] Compiling Logging Logging.swift
[11/14] Emitting module Logging
[12/59] Emitting module ConsoleKit
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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.
/Users/admin/builder/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 }
[13/63] Compiling ConsoleKit Console+Wait.swift
/Users/admin/builder/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 |
[14/63] Compiling ConsoleKit ConsoleColor.swift
/Users/admin/builder/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 |
[15/63] Compiling ConsoleKit ConsoleStyle.swift
/Users/admin/builder/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 |
[16/63] Compiling ConsoleKit ConsoleText.swift
/Users/admin/builder/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 |
[17/63] Compiling ConsoleKit ConsoleTextFragment.swift
/Users/admin/builder/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 |
[18/63] Compiling ConsoleKit AnyCommand.swift
[19/63] Compiling ConsoleKit Argument.swift
[20/63] Compiling ConsoleKit AnyAsyncCommand.swift
[21/63] Compiling ConsoleKit AsyncCommand.swift
[22/63] Compiling ConsoleKit AsyncCommandGroup.swift
[23/63] Compiling ConsoleKit ActivityBar.swift
/Users/admin/builder/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 {
[24/63] Compiling ConsoleKit ActivityIndicator.swift
/Users/admin/builder/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 {
[25/63] Compiling ConsoleKit ActivityIndicatorRenderer.swift
/Users/admin/builder/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 {
[26/63] Compiling ConsoleKit ActivityIndicatorState.swift
/Users/admin/builder/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 {
[27/63] Compiling ConsoleKit CustomActivity.swift
/Users/admin/builder/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 {
[28/63] Compiling ConsoleKit AsyncCommands.swift
[29/63] Compiling ConsoleKit Command.swift
[30/63] Compiling ConsoleKit CommandContext.swift
[31/63] Compiling ConsoleKit CommandError.swift
[32/63] Compiling ConsoleKit CommandGroup.swift
[33/63] Compiling ConsoleKit LoadingBar.swift
[34/63] Compiling ConsoleKit ProgressBar.swift
[35/63] Compiling ConsoleKit Console+Clear.swift
[36/63] Compiling ConsoleKit Console+Ephemeral.swift
[37/63] Compiling ConsoleKit ConsoleClear.swift
[38/63] Compiling ConsoleKit Flag.swift
/Users/admin/builder/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 |
[39/63] Compiling ConsoleKit Option.swift
/Users/admin/builder/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 |
[40/63] Compiling ConsoleKit Utilities.swift
/Users/admin/builder/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 |
[41/63] Compiling ConsoleKit Console.swift
/Users/admin/builder/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 |
[42/63] Compiling ConsoleKit Console+Ask.swift
/Users/admin/builder/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 |
[43/63] Compiling ConsoleKit CommandInput.swift
[44/63] Compiling ConsoleKit CommandSignature.swift
[45/63] Compiling ConsoleKit Commands.swift
[46/63] Compiling ConsoleKit Completion.swift
[47/63] Compiling ConsoleKit Console+Run.swift
[48/63] Compiling ConsoleKit ANSI.swift
/Users/admin/builder/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
/Users/admin/builder/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 | }
[49/63] Compiling ConsoleKit Terminal.swift
/Users/admin/builder/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
/Users/admin/builder/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 | }
[50/63] Compiling ConsoleKit readpassphrase_linux.swift
/Users/admin/builder/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
/Users/admin/builder/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 | }
[51/63] Compiling ConsoleKit ConsoleError.swift
/Users/admin/builder/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
/Users/admin/builder/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 | }
[52/63] Compiling ConsoleKit Console+Choose.swift
[53/63] Compiling ConsoleKit Console+Confirm.swift
[54/63] Compiling ConsoleKit Console+Input.swift
[55/63] Compiling ConsoleKit Console+Center.swift
[56/63] Compiling ConsoleKit Console+Output.swift
[57/63] Compiling ConsoleKit ConsoleLogger.swift
/Users/admin/builder/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.
/Users/admin/builder/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/63] Compiling ConsoleKit GenerateAsyncAutocompleteCommand.swift
/Users/admin/builder/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.
/Users/admin/builder/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/63] Compiling ConsoleKit GenerateAutocompleteCommand.swift
/Users/admin/builder/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.
/Users/admin/builder/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/63] Compiling ConsoleKit String+LevenshteinDistance.swift
/Users/admin/builder/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.
/Users/admin/builder/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/69] Compiling ConsoleKitExample main.swift
[62/69] Compiling ConsoleKitAsyncExample entry.swift
/Users/admin/builder/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)
[63/69] Emitting module ConsoleKitAsyncExample
[64/69] Compiling ConsoleKitAsyncExample DemoCommand.swift
[65/69] Emitting module ConsoleKitExample
[66/69] Compiling ConsoleKitExample DemoCommand.swift
[66/69] Write Objects.LinkFileList
[67/69] Linking ConsoleKitExample
[68/69] Applying ConsoleKitExample
Build complete! (24.55s)
Fetching https://github.com/apple/swift-log.git
[1/3353] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.08s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.5.4 (0.63s)
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()'
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" : "/Users/admin/builder/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.