Build Information
Successful build of Mint with Swift 6.0 for Linux.
Swift 6 data race errors: 9
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/Mint.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/yonaskolb/Mint
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 7b55208 Update CHANGELOG.md
Cloned https://github.com/yonaskolb/Mint.git
Revision (git rev-parse @):
7b55208b2609e590303a3c498372b72b3b7b4c03
SUCCESS checkout https://github.com/yonaskolb/Mint.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/yonaskolb/Mint.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/mxcl/Version.git
[1/251] Fetching version
[147/1272] Fetching version, spectre
[411/6346] Fetching version, spectre, swiftcli
[518/7464] Fetching version, spectre, swiftcli, rainbow
[765/8875] Fetching version, spectre, swiftcli, rainbow, pathkit
Fetched https://github.com/onevcat/Rainbow.git from cache (0.65s)
Fetched https://github.com/mxcl/Version.git from cache (0.71s)
Fetched https://github.com/kylef/PathKit.git from cache (0.71s)
Fetched https://github.com/kylef/Spectre.git from cache (0.71s)
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.72s)
Computing version for https://github.com/mxcl/Version.git
Computed https://github.com/mxcl/Version.git at 2.0.1 (2.08s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.46s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.0.1 (1.07s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.12s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.45s)
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/mxcl/Version.git
Working copy of https://github.com/mxcl/Version.git resolved at 2.0.1
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/57] Compiling Version Version.swift
[10/57] Compiling Rainbow StringGenerator.swift
[11/58] Compiling SwiftCLI Error.swift
[12/58] Compiling SwiftCLI HelpCommand.swift
[13/58] Compiling SwiftCLI HelpMessageGenerator.swift
[14/60] Compiling SwiftCLI Command.swift
[15/60] Compiling SwiftCLI Compatibility.swift
[16/60] Compiling Version Version+Codable.swift
[17/60] Compiling Version Version+Range.swift
[18/60] Compiling Rainbow String+Rainbow.swift
[19/60] Compiling Rainbow Style.swift
[20/60] Compiling SwiftCLI ValueBox.swift
[21/60] Compiling SwiftCLI VersionCommand.swift
[22/60] Compiling SwiftCLI Term.swift
[23/60] Compiling SwiftCLI Validation.swift
[24/60] Emitting module Version
[25/60] Compiling Version Version+Foundation.swift
[26/60] Compiling Version Version+Comparable.swift
[27/61] Compiling SwiftCLI Input.swift
[28/61] Compiling SwiftCLI Option.swift
[29/61] Compiling SwiftCLI OptionGroup.swift
[31/61] Compiling SwiftCLI ArgumentListManipulator.swift
[32/61] Compiling SwiftCLI CLI.swift
[33/61] Emitting module Rainbow
[34/61] Compiling SwiftCLI CompletionGenerator.swift
[35/61] Compiling SwiftCLI ArgumentList.swift
[36/61] Compiling Rainbow OutputTarget.swift
[37/61] Compiling Rainbow Rainbow.swift
[41/62] Compiling SwiftCLI Path.swift
[42/62] Compiling SwiftCLI Stream.swift
[43/62] Compiling SwiftCLI Task.swift
[44/62] Compiling SwiftCLI OptionRegistry.swift
[45/62] Compiling SwiftCLI Parameter.swift
[46/62] Compiling SwiftCLI Parser.swift
[48/62] Emitting module SwiftCLI
[51/63] Wrapping AST for Version for debugging
[53/63] Wrapping AST for Rainbow for debugging
[54/63] Wrapping AST for SwiftCLI for debugging
[56/63] Emitting module PathKit
[57/63] Compiling PathKit PathKit.swift
[58/64] Wrapping AST for PathKit for debugging
[60/76] Compiling MintKit ProcessInfoExtensions.swift
[61/76] Compiling MintKit StringExtensions.swift
[62/76] Compiling MintKit PackageReference.swift
[63/77] Compiling MintKit SwiftPackage.swift
[64/77] Compiling MintKit Cache.swift
[65/77] Compiling MintKit GitTag.swift
[66/77] Compiling MintKit Mintfile.swift
[67/77] Compiling MintKit PackagePath.swift
[68/77] Emitting module MintKit
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Term.swift:14:23: warning: static property 'stdout' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 | public static var stdout: WritableStream = WriteStream.stdout
| |- warning: static property 'stdout' 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 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static var stderr: WritableStream = WriteStream.stderr
16 | public static var stdin: ReadableStream = ReadStream.stdin
/host/spi-builder-workspace/Sources/MintKit/Mint.swift:31:44: warning: reference to static property 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | linkPath: Path,
30 | mintFilePath: Path = "Mintfile",
31 | standardOut: WritableStream = Term.stdout,
| `- warning: reference to static property 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | standardError: WritableStream = Term.stderr
33 | ) {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Term.swift:14:23: note: static property declared here
12 | public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 | public static var stdout: WritableStream = WriteStream.stdout
| `- note: static property declared here
15 | public static var stderr: WritableStream = WriteStream.stderr
16 | public static var stdin: ReadableStream = ReadStream.stdin
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Term.swift:15:23: warning: static property 'stderr' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public static var stdout: WritableStream = WriteStream.stdout
15 | public static var stderr: WritableStream = WriteStream.stderr
| |- warning: static property 'stderr' 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 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderr' 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
16 | public static var stdin: ReadableStream = ReadStream.stdin
17 | public static var read: () -> String? = { readLine() }
/host/spi-builder-workspace/Sources/MintKit/Mint.swift:32:46: warning: reference to static property 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | mintFilePath: Path = "Mintfile",
31 | standardOut: WritableStream = Term.stdout,
32 | standardError: WritableStream = Term.stderr
| `- warning: reference to static property 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | ) {
34 | self.standardOut = standardOut
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Term.swift:15:23: note: static property declared here
13 |
14 | public static var stdout: WritableStream = WriteStream.stdout
15 | public static var stderr: WritableStream = WriteStream.stderr
| `- note: static property declared here
16 | public static var stdin: ReadableStream = ReadStream.stdin
17 | public static var read: () -> String? = { readLine() }
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:7:10: warning: associated value 'missingExecutable' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
5 | case packageNotFound(String)
6 | case repoNotFound(String)
7 | case missingExecutable(PackageReference)
| `- warning: associated value 'missingExecutable' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
8 | case invalidExecutable(String)
9 | case cloneError(PackageReference)
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:9:10: warning: associated value 'cloneError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
7 | case missingExecutable(PackageReference)
8 | case invalidExecutable(String)
9 | case cloneError(PackageReference)
| `- warning: associated value 'cloneError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
10 | case mintfileNotFound(String)
11 | case packageResolveError(PackageReference)
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:11:10: warning: associated value 'packageResolveError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
9 | case cloneError(PackageReference)
10 | case mintfileNotFound(String)
11 | case packageResolveError(PackageReference)
| `- warning: associated value 'packageResolveError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
12 | case packageBuildError(PackageReference)
13 | case packageReadError(String)
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:12:10: warning: associated value 'packageBuildError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
10 | case mintfileNotFound(String)
11 | case packageResolveError(PackageReference)
12 | case packageBuildError(PackageReference)
| `- warning: associated value 'packageBuildError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
13 | case packageReadError(String)
14 | case packageNotInstalled(PackageReference)
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:14:10: warning: associated value 'packageNotInstalled' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
12 | case packageBuildError(PackageReference)
13 | case packageReadError(String)
14 | case packageNotInstalled(PackageReference)
| `- warning: associated value 'packageNotInstalled' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
15 | case inconsistentCache(String)
16 |
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
[69/77] Compiling MintKit InputReader.swift
[70/77] Compiling MintKit InstallStatus.swift
[71/77] Compiling MintKit Mint.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Term.swift:14:23: warning: static property 'stdout' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 | public static var stdout: WritableStream = WriteStream.stdout
| |- warning: static property 'stdout' 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 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static var stderr: WritableStream = WriteStream.stderr
16 | public static var stdin: ReadableStream = ReadStream.stdin
/host/spi-builder-workspace/Sources/MintKit/Mint.swift:31:44: warning: reference to static property 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | linkPath: Path,
30 | mintFilePath: Path = "Mintfile",
31 | standardOut: WritableStream = Term.stdout,
| `- warning: reference to static property 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | standardError: WritableStream = Term.stderr
33 | ) {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Term.swift:14:23: note: static property declared here
12 | public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 | public static var stdout: WritableStream = WriteStream.stdout
| `- note: static property declared here
15 | public static var stderr: WritableStream = WriteStream.stderr
16 | public static var stdin: ReadableStream = ReadStream.stdin
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Term.swift:15:23: warning: static property 'stderr' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public static var stdout: WritableStream = WriteStream.stdout
15 | public static var stderr: WritableStream = WriteStream.stderr
| |- warning: static property 'stderr' 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 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderr' 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
16 | public static var stdin: ReadableStream = ReadStream.stdin
17 | public static var read: () -> String? = { readLine() }
/host/spi-builder-workspace/Sources/MintKit/Mint.swift:32:46: warning: reference to static property 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | mintFilePath: Path = "Mintfile",
31 | standardOut: WritableStream = Term.stdout,
32 | standardError: WritableStream = Term.stderr
| `- warning: reference to static property 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | ) {
34 | self.standardOut = standardOut
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Term.swift:15:23: note: static property declared here
13 |
14 | public static var stdout: WritableStream = WriteStream.stdout
15 | public static var stderr: WritableStream = WriteStream.stderr
| `- note: static property declared here
16 | public static var stdin: ReadableStream = ReadStream.stdin
17 | public static var read: () -> String? = { readLine() }
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:7:10: warning: associated value 'missingExecutable' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
5 | case packageNotFound(String)
6 | case repoNotFound(String)
7 | case missingExecutable(PackageReference)
| `- warning: associated value 'missingExecutable' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
8 | case invalidExecutable(String)
9 | case cloneError(PackageReference)
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:9:10: warning: associated value 'cloneError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
7 | case missingExecutable(PackageReference)
8 | case invalidExecutable(String)
9 | case cloneError(PackageReference)
| `- warning: associated value 'cloneError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
10 | case mintfileNotFound(String)
11 | case packageResolveError(PackageReference)
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:11:10: warning: associated value 'packageResolveError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
9 | case cloneError(PackageReference)
10 | case mintfileNotFound(String)
11 | case packageResolveError(PackageReference)
| `- warning: associated value 'packageResolveError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
12 | case packageBuildError(PackageReference)
13 | case packageReadError(String)
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:12:10: warning: associated value 'packageBuildError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
10 | case mintfileNotFound(String)
11 | case packageResolveError(PackageReference)
12 | case packageBuildError(PackageReference)
| `- warning: associated value 'packageBuildError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
13 | case packageReadError(String)
14 | case packageNotInstalled(PackageReference)
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:14:10: warning: associated value 'packageNotInstalled' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
12 | case packageBuildError(PackageReference)
13 | case packageReadError(String)
14 | case packageNotInstalled(PackageReference)
| `- warning: associated value 'packageNotInstalled' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
15 | case inconsistentCache(String)
16 |
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
[72/77] Compiling MintKit MintError.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Term.swift:14:23: warning: static property 'stdout' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
12 | public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 | public static var stdout: WritableStream = WriteStream.stdout
| |- warning: static property 'stdout' 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 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stdout' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static var stderr: WritableStream = WriteStream.stderr
16 | public static var stdin: ReadableStream = ReadStream.stdin
/host/spi-builder-workspace/Sources/MintKit/Mint.swift:31:44: warning: reference to static property 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
29 | linkPath: Path,
30 | mintFilePath: Path = "Mintfile",
31 | standardOut: WritableStream = Term.stdout,
| `- warning: reference to static property 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
32 | standardError: WritableStream = Term.stderr
33 | ) {
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Term.swift:14:23: note: static property declared here
12 | public static let isTTY = isatty(fileno(Foundation.stdout)) != 0
13 |
14 | public static var stdout: WritableStream = WriteStream.stdout
| `- note: static property declared here
15 | public static var stderr: WritableStream = WriteStream.stderr
16 | public static var stdin: ReadableStream = ReadStream.stdin
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Term.swift:15:23: warning: static property 'stderr' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | public static var stdout: WritableStream = WriteStream.stdout
15 | public static var stderr: WritableStream = WriteStream.stderr
| |- warning: static property 'stderr' 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 'stderr' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'stderr' 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
16 | public static var stdin: ReadableStream = ReadStream.stdin
17 | public static var read: () -> String? = { readLine() }
/host/spi-builder-workspace/Sources/MintKit/Mint.swift:32:46: warning: reference to static property 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
30 | mintFilePath: Path = "Mintfile",
31 | standardOut: WritableStream = Term.stdout,
32 | standardError: WritableStream = Term.stderr
| `- warning: reference to static property 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
33 | ) {
34 | self.standardOut = standardOut
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Term.swift:15:23: note: static property declared here
13 |
14 | public static var stdout: WritableStream = WriteStream.stdout
15 | public static var stderr: WritableStream = WriteStream.stderr
| `- note: static property declared here
16 | public static var stdin: ReadableStream = ReadStream.stdin
17 | public static var read: () -> String? = { readLine() }
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:7:10: warning: associated value 'missingExecutable' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
5 | case packageNotFound(String)
6 | case repoNotFound(String)
7 | case missingExecutable(PackageReference)
| `- warning: associated value 'missingExecutable' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
8 | case invalidExecutable(String)
9 | case cloneError(PackageReference)
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:9:10: warning: associated value 'cloneError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
7 | case missingExecutable(PackageReference)
8 | case invalidExecutable(String)
9 | case cloneError(PackageReference)
| `- warning: associated value 'cloneError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
10 | case mintfileNotFound(String)
11 | case packageResolveError(PackageReference)
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:11:10: warning: associated value 'packageResolveError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
9 | case cloneError(PackageReference)
10 | case mintfileNotFound(String)
11 | case packageResolveError(PackageReference)
| `- warning: associated value 'packageResolveError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
12 | case packageBuildError(PackageReference)
13 | case packageReadError(String)
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:12:10: warning: associated value 'packageBuildError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
10 | case mintfileNotFound(String)
11 | case packageResolveError(PackageReference)
12 | case packageBuildError(PackageReference)
| `- warning: associated value 'packageBuildError' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
13 | case packageReadError(String)
14 | case packageNotInstalled(PackageReference)
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
/host/spi-builder-workspace/Sources/MintKit/MintError.swift:14:10: warning: associated value 'packageNotInstalled' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
12 | case packageBuildError(PackageReference)
13 | case packageReadError(String)
14 | case packageNotInstalled(PackageReference)
| `- warning: associated value 'packageNotInstalled' of 'Sendable'-conforming enum 'MintError' has non-sendable type 'PackageReference'; this is an error in the Swift 6 language mode
15 | case inconsistentCache(String)
16 |
/host/spi-builder-workspace/Sources/MintKit/PackageReference.swift:4:14: note: class 'PackageReference' does not conform to the 'Sendable' protocol
2 | import PathKit
3 |
4 | public class PackageReference {
| `- note: class 'PackageReference' does not conform to the 'Sendable' protocol
5 | public var repo: String
6 | public var version: String
[73/78] Wrapping AST for MintKit for debugging
[75/88] Compiling MintCLI RunCommand.swift
[76/89] Compiling MintCLI UninstallCommand.swift
[77/89] Compiling MintCLI WhichCommand.swift
[78/89] Compiling MintCLI PackageCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/Stream.swift:64:23: warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
11 | // MARK: - WritableStream
12 |
13 | public protocol WritableStream: AnyObject {
| `- note: protocol 'WritableStream' does not conform to the 'Sendable' protocol
14 | var writeHandle: FileHandle { get }
15 | var processObject: Any { get }
:
62 |
63 | /// A stream which does nothing upon write
64 | public static let null: WritableStream = WriteStream.for(path: "/dev/null")!
| |- warning: static property 'null' is not concurrency-safe because non-'Sendable' type 'any WritableStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'null' 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
65 |
66 | /// Create a stream which writes to the given path
[79/89] Compiling MintCLI MintFileCommand.swift
[80/89] Compiling MintCLI ListCommand.swift
[81/89] Compiling MintCLI MintCommand.swift
[82/89] Emitting module MintCLI
/host/spi-builder-workspace/Sources/MintCLI/MintCLI.swift:49:1: warning: extension declares a conformance of imported type 'MintError' to imported protocol 'ProcessError'; this will not behave correctly if the owners of 'MintKit' introduce this conformance in the future
47 | }
48 |
49 | extension MintError: ProcessError {
| |- warning: extension declares a conformance of imported type 'MintError' to imported protocol 'ProcessError'; this will not behave correctly if the owners of 'MintKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
50 |
51 | public var message: String? {
[83/89] Compiling MintCLI BootstrapCommand.swift
[84/89] Compiling MintCLI InstallCommand.swift
[85/89] Compiling MintCLI MintCLI.swift
/host/spi-builder-workspace/Sources/MintCLI/MintCLI.swift:49:1: warning: extension declares a conformance of imported type 'MintError' to imported protocol 'ProcessError'; this will not behave correctly if the owners of 'MintKit' introduce this conformance in the future
47 | }
48 |
49 | extension MintError: ProcessError {
| |- warning: extension declares a conformance of imported type 'MintError' to imported protocol 'ProcessError'; this will not behave correctly if the owners of 'MintKit' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
50 |
51 | public var message: String? {
[86/90] Wrapping AST for MintCLI for debugging
[88/92] Compiling Mint main.swift
[89/92] Emitting module Mint
[90/93] Wrapping AST for Mint for debugging
[91/93] Write Objects.LinkFileList
[92/93] Linking mint
Build complete! (30.20s)
Build complete.
{
"dependencies" : [
{
"identity" : "pathkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/PathKit.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.1",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow.git"
},
{
"identity" : "swiftcli",
"requirement" : {
"range" : [
{
"lower_bound" : "6.0.3",
"upper_bound" : "7.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/jakeheis/SwiftCLI.git"
},
{
"identity" : "version",
"requirement" : {
"range" : [
{
"lower_bound" : "2.0.1",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mxcl/Version.git"
}
],
"manifest_display_name" : "Mint",
"name" : "Mint",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "mint",
"targets" : [
"Mint"
],
"type" : {
"executable" : null
}
},
{
"name" : "MintKit",
"targets" : [
"MintKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "MintTests",
"module_type" : "SwiftTarget",
"name" : "MintTests",
"path" : "Tests/MintTests",
"sources" : [
"Fixtures.swift",
"MintTests.swift",
"MintfileTests.swift",
"PackageTests.swift",
"ProcessInfoExtensionTests.swift",
"TestHelpers.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"MintKit"
],
"type" : "test"
},
{
"c99name" : "MintKit",
"module_type" : "SwiftTarget",
"name" : "MintKit",
"path" : "Sources/MintKit",
"product_dependencies" : [
"Rainbow",
"PathKit",
"Version",
"SwiftCLI"
],
"product_memberships" : [
"mint",
"MintKit"
],
"sources" : [
"Cache.swift",
"GitTag.swift",
"InputReader.swift",
"InstallStatus.swift",
"Mint.swift",
"MintError.swift",
"Mintfile.swift",
"PackagePath.swift",
"PackageReference.swift",
"ProcessInfoExtensions.swift",
"StringExtensions.swift",
"SwiftPackage.swift"
],
"type" : "library"
},
{
"c99name" : "MintCLI",
"module_type" : "SwiftTarget",
"name" : "MintCLI",
"path" : "Sources/MintCLI",
"product_dependencies" : [
"Rainbow",
"SwiftCLI"
],
"product_memberships" : [
"mint"
],
"sources" : [
"Commands/BootstrapCommand.swift",
"Commands/InstallCommand.swift",
"Commands/ListCommand.swift",
"Commands/MintCommand.swift",
"Commands/MintFileCommand.swift",
"Commands/PackageCommand.swift",
"Commands/RunCommand.swift",
"Commands/UninstallCommand.swift",
"Commands/WhichCommand.swift",
"MintCLI.swift"
],
"target_dependencies" : [
"MintKit"
],
"type" : "library"
},
{
"c99name" : "Mint",
"module_type" : "SwiftTarget",
"name" : "Mint",
"path" : "Sources/Mint",
"product_memberships" : [
"mint"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"MintCLI"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Done.