Build Information
Successful build of console-kit, reference 4.5.0 (a7e67a
), with Swift 6.0 for Linux on 4 Nov 2024 04:11:44 UTC.
Swift 6 data race errors: 4
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swifweb/console-kit.git
Reference: 4.5.0
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
* tag 4.5.0 -> FETCH_HEAD
HEAD is now at a7e67a1 Update Supported Swift Versions (#169)
Cloned https://github.com/swifweb/console-kit.git
Revision (git rev-parse @):
a7e67a1719933318b5ab7eaaed355cde020465b1
SUCCESS checkout https://github.com/swifweb/console-kit.git at 4.5.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/swifweb/console-kit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-log.git
[1/3660] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.1 (0.43s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.1
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] Compiling Logging Logging.swift
[7/15] Compiling Logging LogHandler.swift
[8/15] Compiling Logging Locks.swift
[9/15] Emitting module Logging
[10/15] Compiling Logging MetadataProvider.swift
[11/16] Wrapping AST for Logging for debugging
[13/59] Emitting module ConsoleKit
/host/spi-builder-workspace/Sources/ConsoleKit/Activity/ActivityBar.swift:38:13: warning: var '_width' is not concurrency-safe because it is nonisolated 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 nonisolated 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 nonisolated 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 nonisolated 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 }
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
2 |
3 | /// Outputs logs to a `Console`.
4 | public struct ConsoleLogger: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
5 | public let label: String
6 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:191:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(level: Logger.Level,
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | message: Logger.Message,
137 | metadata: Logger.Metadata?,
:
189 | extension LogHandler {
190 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
191 | public func log(level: Logger.Level,
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
192 | message: Logger.Message,
193 | metadata: Logger.Metadata?,
[14/65] 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 nonisolated 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 nonisolated 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/65] 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 nonisolated 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 nonisolated 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/65] 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 nonisolated 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 nonisolated 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/65] 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 nonisolated 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 nonisolated 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/65] 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 nonisolated 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 nonisolated 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/65] 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 nonisolated 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 nonisolated 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 {
[20/65] Compiling ConsoleKit ProgressBar.swift
[21/65] Compiling ConsoleKit Console+Clear.swift
[22/65] Compiling ConsoleKit Console+Ephemeral.swift
[23/65] Compiling ConsoleKit ConsoleClear.swift
[24/65] Compiling ConsoleKit AnyCommand.swift
[25/65] Compiling ConsoleKit Argument.swift
[26/65] Compiling ConsoleKit AnyAsyncCommand.swift
[27/65] Compiling ConsoleKit AsyncCommand.swift
[28/65] Compiling ConsoleKit AsyncCommandGroup.swift
[29/65] Compiling ConsoleKit AsyncCommands.swift
[30/65] Compiling ConsoleKit Command.swift
[31/65] Compiling ConsoleKit CommandContext.swift
[32/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 |
[33/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 |
[34/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 |
[35/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 |
[36/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 |
[37/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 |
[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 CommandError.swift
[45/65] Compiling ConsoleKit CommandGroup.swift
[46/65] Compiling ConsoleKit CommandInput.swift
[47/65] Compiling ConsoleKit CommandSignature.swift
[48/65] Compiling ConsoleKit Commands.swift
[49/65] Compiling ConsoleKit Completion.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 nonisolated 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 nonisolated 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 }
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
2 |
3 | /// Outputs logs to a `Console`.
4 | public struct ConsoleLogger: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
5 | public let label: String
6 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:191:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(level: Logger.Level,
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | message: Logger.Message,
137 | metadata: Logger.Metadata?,
:
189 | extension LogHandler {
190 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
191 | public func log(level: Logger.Level,
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
192 | message: Logger.Message,
193 | metadata: Logger.Metadata?,
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:110:57: warning: capture of 'console' with non-sendable type 'any Console' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | public static func bootstrap(console: Console, level: Logger.Level = .info, metadata: Logger.Metadata = [:]) {
109 | self.bootstrap { label in
110 | return ConsoleLogger(label: label, console: console, level: level, metadata: metadata)
| `- warning: capture of 'console' with non-sendable type 'any Console' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 | }
112 | }
/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 nonisolated 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 nonisolated 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 }
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
2 |
3 | /// Outputs logs to a `Console`.
4 | public struct ConsoleLogger: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
5 | public let label: String
6 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:191:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(level: Logger.Level,
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | message: Logger.Message,
137 | metadata: Logger.Metadata?,
:
189 | extension LogHandler {
190 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
191 | public func log(level: Logger.Level,
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
192 | message: Logger.Message,
193 | metadata: Logger.Metadata?,
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:110:57: warning: capture of 'console' with non-sendable type 'any Console' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | public static func bootstrap(console: Console, level: Logger.Level = .info, metadata: Logger.Metadata = [:]) {
109 | self.bootstrap { label in
110 | return ConsoleLogger(label: label, console: console, level: level, metadata: metadata)
| `- warning: capture of 'console' with non-sendable type 'any Console' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 | }
112 | }
/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 nonisolated 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 nonisolated 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 }
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
2 |
3 | /// Outputs logs to a `Console`.
4 | public struct ConsoleLogger: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
5 | public let label: String
6 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:191:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(level: Logger.Level,
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | message: Logger.Message,
137 | metadata: Logger.Metadata?,
:
189 | extension LogHandler {
190 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
191 | public func log(level: Logger.Level,
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
192 | message: Logger.Message,
193 | metadata: Logger.Metadata?,
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:110:57: warning: capture of 'console' with non-sendable type 'any Console' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | public static func bootstrap(console: Console, level: Logger.Level = .info, metadata: Logger.Metadata = [:]) {
109 | self.bootstrap { label in
110 | return ConsoleLogger(label: label, console: console, level: level, metadata: metadata)
| `- warning: capture of 'console' with non-sendable type 'any Console' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 | }
112 | }
/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 nonisolated 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 nonisolated 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 }
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
2 |
3 | /// Outputs logs to a `Console`.
4 | public struct ConsoleLogger: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
5 | public let label: String
6 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:191:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(level: Logger.Level,
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | message: Logger.Message,
137 | metadata: Logger.Metadata?,
:
189 | extension LogHandler {
190 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
191 | public func log(level: Logger.Level,
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
192 | message: Logger.Message,
193 | metadata: Logger.Metadata?,
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:110:57: warning: capture of 'console' with non-sendable type 'any Console' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | public static func bootstrap(console: Console, level: Logger.Level = .info, metadata: Logger.Metadata = [:]) {
109 | self.bootstrap { label in
110 | return ConsoleLogger(label: label, console: console, level: level, metadata: metadata)
| `- warning: capture of 'console' with non-sendable type 'any Console' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 | }
112 | }
/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 nonisolated 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 nonisolated 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 }
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
2 |
3 | /// Outputs logs to a `Console`.
4 | public struct ConsoleLogger: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
5 | public let label: String
6 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:191:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(level: Logger.Level,
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | message: Logger.Message,
137 | metadata: Logger.Metadata?,
:
189 | extension LogHandler {
190 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
191 | public func log(level: Logger.Level,
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
192 | message: Logger.Message,
193 | metadata: Logger.Metadata?,
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:110:57: warning: capture of 'console' with non-sendable type 'any Console' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | public static func bootstrap(console: Console, level: Logger.Level = .info, metadata: Logger.Metadata = [:]) {
109 | self.bootstrap { label in
110 | return ConsoleLogger(label: label, console: console, level: level, metadata: metadata)
| `- warning: capture of 'console' with non-sendable type 'any Console' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 | }
112 | }
/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 nonisolated 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 nonisolated 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 }
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:4:15: warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
2 |
3 | /// Outputs logs to a `Console`.
4 | public struct ConsoleLogger: LogHandler {
| `- warning: deprecated default implementation is used to satisfy instance method 'log(level:message:metadata:source:file:function:line:)' required by protocol 'LogHandler': You should implement this method instead of using the default implementation
5 | public let label: String
6 |
/host/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/LogHandler.swift:191:17: note: 'log(level:message:metadata:source:file:function:line:)' declared here
133 | /// - function: The function the log line was emitted from.
134 | /// - line: The line the log message was emitted from.
135 | func log(level: Logger.Level,
| `- note: requirement 'log(level:message:metadata:source:file:function:line:)' declared here
136 | message: Logger.Message,
137 | metadata: Logger.Metadata?,
:
189 | extension LogHandler {
190 | @available(*, deprecated, message: "You should implement this method instead of using the default implementation")
191 | public func log(level: Logger.Level,
| `- note: 'log(level:message:metadata:source:file:function:line:)' declared here
192 | message: Logger.Message,
193 | metadata: Logger.Metadata?,
/host/spi-builder-workspace/Sources/ConsoleKit/Utilities/ConsoleLogger.swift:110:57: warning: capture of 'console' with non-sendable type 'any Console' in a `@Sendable` closure; this is an error in the Swift 6 language mode
108 | public static func bootstrap(console: Console, level: Logger.Level = .info, metadata: Logger.Metadata = [:]) {
109 | self.bootstrap { label in
110 | return ConsoleLogger(label: label, console: console, level: level, metadata: metadata)
| `- warning: capture of 'console' with non-sendable type 'any Console' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 | }
112 | }
/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/66] Wrapping AST for ConsoleKit for debugging
[64/72] 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)
[65/72] Compiling ConsoleKitExample main.swift
[66/72] Emitting module ConsoleKitExample
[67/72] Compiling ConsoleKitExample DemoCommand.swift
[68/72] Compiling ConsoleKitAsyncExample DemoCommand.swift
[69/72] Emitting module ConsoleKitAsyncExample
[71/74] Wrapping AST for ConsoleKitExample for debugging
[72/74] Write Objects.LinkFileList
[73/74] Linking ConsoleKitExample
Build complete! (14.46s)
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"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
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.