Build Information
Successful build of KippleTools with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 8
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bdrelling/KippleTools.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bdrelling/KippleTools
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d250ed2 Disabled the redundantBackticks rule
Cloned https://github.com/bdrelling/KippleTools.git
Revision (git rev-parse @):
d250ed2d2751c5d0b6c32db7819b35ccd3de269a
SPI manifest file found: $workDir/.spi.yml
SUCCESS checkout https://github.com/bdrelling/KippleTools.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/bdrelling/KippleTools.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftFormatPlugin
Building for debugging...
[2/18] Write sources
[5/18] Write kipple-entitlement.plist
[5/18] Write sources
[8/18] Copying pre-commit
[8/18] Write sources
[9/18] Copying default.swiftlint.yml
[10/18] Copying default.swiftformat
[12/18] Copying default.gitignore
[12/18] Copying app.gitignore
[14/18] Write swift-version-6F35C1178C84523A.txt
[16/38] Emitting module ArgumentParserToolInfo
[17/38] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/76] Compiling ArgumentParser ArgumentHelp.swift
[19/76] Compiling ArgumentParser ArgumentVisibility.swift
[20/76] Compiling ArgumentParser CompletionKind.swift
[21/76] Compiling ArgumentParser Errors.swift
[22/80] Compiling ArgumentParser AsyncParsableCommand.swift
[23/80] Compiling ArgumentParser CommandConfiguration.swift
[24/80] Compiling ArgumentParser EnumerableFlag.swift
[25/80] Compiling ArgumentParser ExpressibleByArgument.swift
[26/80] Emitting module ArgumentParser
[27/80] Compiling ArgumentParser BashCompletionsGenerator.swift
[28/80] Compiling ArgumentParser CompletionsGenerator.swift
[29/80] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/80] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/80] Compiling ArgumentParser Argument.swift
[32/80] Compiling ArgumentParser Platform.swift
[33/80] Compiling ArgumentParser SequenceExtensions.swift
[34/80] Compiling ArgumentParser StringExtensions.swift
[35/80] Compiling ArgumentParser Tree.swift
[36/80] Compiling ArgumentParser Flag.swift
[37/80] Compiling ArgumentParser NameSpecification.swift
[38/80] Compiling ArgumentParser Option.swift
[39/80] Compiling ArgumentParser OptionGroup.swift
[42/81] Compiling ArgumentParser InputOrigin.swift
[43/81] Compiling ArgumentParser Name.swift
[44/81] Compiling ArgumentParser Parsed.swift
[45/81] Compiling ArgumentParser ParsedValues.swift
[46/81] Compiling ArgumentParser HelpGenerator.swift
[47/81] Compiling ArgumentParser MessageInfo.swift
[48/81] Compiling ArgumentParser UsageGenerator.swift
[49/81] Compiling ArgumentParser CollectionExtensions.swift
[50/81] Compiling ArgumentParser ArgumentDefinition.swift
[51/81] Compiling ArgumentParser ArgumentSet.swift
[52/81] Compiling ArgumentParser CommandParser.swift
[53/81] Compiling ArgumentParser InputKey.swift
[54/81] Compiling ArgumentParser ParsableArguments.swift
[55/81] Compiling ArgumentParser ParsableArgumentsValidation.swift
[56/81] Compiling ArgumentParser ParsableCommand.swift
[57/81] Compiling ArgumentParser ArgumentDecoder.swift
[58/81] Compiling ArgumentParser ParserError.swift
[59/81] Compiling ArgumentParser SplitArguments.swift
[60/81] Compiling ArgumentParser DumpHelpGenerator.swift
[61/81] Compiling ArgumentParser HelpCommand.swift
[62/91] Compiling KippleToolsCore VerboseLogging.swift
[63/91] Compiling KippleToolsCore ShellError.swift
[64/91] Compiling KippleToolsCore ShellCommand.swift
[65/91] Compiling KippleToolsCore Shell.swift
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:66:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
64 |
65 | public extension Shell {
66 | static let `default`: Self = .sh
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:68:16: warning: static property 'sh' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
66 | static let `default`: Self = .sh
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
| |- warning: static property 'sh' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sh' 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
69 | static let bash: Self = .init(executablePath: "/bin/bash")
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:69:16: warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
69 | static let bash: Self = .init(executablePath: "/bin/bash")
| |- warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bash' 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
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:70:16: warning: static property 'zsh' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
68 | static let sh: Self = .init(executablePath: "/bin/sh")
69 | static let bash: Self = .init(executablePath: "/bin/bash")
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
| |- warning: static property 'zsh' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zsh' 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
71 | }
72 |
[66/91] Compiling KippleToolsCore ShellCommand+SwiftPackageManager.swift
[67/91] Compiling KippleToolsCore Process+Convenience.swift
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Extensions/Process+Convenience.swift:108:17: warning: mutation of captured var 'outputData' in concurrently-executing code; this is an error in the Swift 6 language mode
106 | let data = handler.availableData
107 | outputQueue.async {
108 | outputData.append(data)
| `- warning: mutation of captured var 'outputData' in concurrently-executing code; this is an error in the Swift 6 language mode
109 | outputHandle?.write(data)
110 | }
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Extensions/Process+Convenience.swift:116:17: warning: mutation of captured var 'errorData' in concurrently-executing code; this is an error in the Swift 6 language mode
114 | let data = handler.availableData
115 | outputQueue.async {
116 | errorData.append(data)
| `- warning: mutation of captured var 'errorData' in concurrently-executing code; this is an error in the Swift 6 language mode
117 | errorHandle?.write(data)
118 | }
[68/91] Compiling KippleToolsCore Data+ShellOutput.swift
[69/91] Emitting module KippleToolsCore
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:66:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
64 |
65 | public extension Shell {
66 | static let `default`: Self = .sh
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:68:16: warning: static property 'sh' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
66 | static let `default`: Self = .sh
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
| |- warning: static property 'sh' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sh' 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
69 | static let bash: Self = .init(executablePath: "/bin/bash")
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:69:16: warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
69 | static let bash: Self = .init(executablePath: "/bin/bash")
| |- warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bash' 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
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:70:16: warning: static property 'zsh' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
68 | static let sh: Self = .init(executablePath: "/bin/sh")
69 | static let bash: Self = .init(executablePath: "/bin/bash")
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
| |- warning: static property 'zsh' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'zsh' 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
71 | }
72 |
[70/91] Compiling KippleToolsCore ShellCommand+Git.swift
[71/91] Compiling KippleToolsCore ShellCommand+FileSystem.swift
[72/91] Compiling SwiftFormat SwiftFormat.swift
[73/91] Compiling SwiftFormat Tokenizer.swift
[80/91] Emitting module SwiftFormat
[89/105] Compiling KippleFramework UninstallCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:69:16: warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
69 | static let bash: Self = .init(executablePath: "/bin/bash")
| |- warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bash' 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
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
71 | }
[90/106] Compiling KippleFramework TestCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/SwiftBuilder.swift:8:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import KippleToolsCore
4 |
5 | final class SwiftBuilder {
| `- note: class 'SwiftBuilder' does not conform to the 'Sendable' protocol
6 | // MARK: Shared Instance
7 |
8 | static let shared = SwiftBuilder()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
9 |
10 | // MARK: Properties
[91/106] Compiling KippleFramework SwiftVersion.swift
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/SwiftBuilder.swift:8:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import KippleToolsCore
4 |
5 | final class SwiftBuilder {
| `- note: class 'SwiftBuilder' does not conform to the 'Sendable' protocol
6 | // MARK: Shared Instance
7 |
8 | static let shared = SwiftBuilder()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
9 |
10 | // MARK: Properties
[92/106] Compiling KippleFramework BuildCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/SwiftBuilder.swift:8:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import KippleToolsCore
4 |
5 | final class SwiftBuilder {
| `- note: class 'SwiftBuilder' does not conform to the 'Sendable' protocol
6 | // MARK: Shared Instance
7 |
8 | static let shared = SwiftBuilder()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
9 |
10 | // MARK: Properties
[93/106] Compiling KippleFramework FormatCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/FileFormatter.swift:9:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FileFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import KippleToolsCore
5 |
6 | final class FileFormatter {
| `- note: class 'FileFormatter' does not conform to the 'Sendable' protocol
7 | // MARK: Shared Instance
8 |
9 | static let shared = FileFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FileFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
10 |
11 | // MARK: Constants
[94/106] Compiling KippleFramework SetupCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:69:16: warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
69 | static let bash: Self = .init(executablePath: "/bin/bash")
| |- warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bash' 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
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
71 | }
[95/106] Compiling KippleFramework InstallCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:69:16: warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
69 | static let bash: Self = .init(executablePath: "/bin/bash")
| |- warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bash' 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
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
71 | }
[96/106] Compiling KippleFramework SwiftBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/SwiftBuilder.swift:8:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import KippleToolsCore
4 |
5 | final class SwiftBuilder {
| `- note: class 'SwiftBuilder' does not conform to the 'Sendable' protocol
6 | // MARK: Shared Instance
7 |
8 | static let shared = SwiftBuilder()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
9 |
10 | // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:69:16: warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
69 | static let bash: Self = .init(executablePath: "/bin/bash")
| |- warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bash' 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
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/SwiftFormat.swift:56:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
54 | }
55 |
56 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
57 | public func write(_ string: String) {
58 | self.write(Data(string.utf8))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftFormat/Sources/CommandLine.swift:49:16: warning: static property 'print' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// Output handler - override this to intercept output from the CLI
49 | static var print: (String, OutputType) -> Void = { _, _ in
| |- warning: static property 'print' 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 'print' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'print' 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
50 | fatalError("No print hook set.")
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/SwiftFormat.swift:13:13: warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | init() {
13 | CLI.print = self.print
| `- warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftFormat/Sources/CommandLine.swift:49:16: note: static property declared here
47 |
48 | /// Output handler - override this to intercept output from the CLI
49 | static var print: (String, OutputType) -> Void = { _, _ in
| `- note: static property declared here
50 | fatalError("No print hook set.")
51 | }
[97/106] Compiling KippleFramework SwiftFormat.swift
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/SwiftBuilder.swift:8:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import KippleToolsCore
4 |
5 | final class SwiftBuilder {
| `- note: class 'SwiftBuilder' does not conform to the 'Sendable' protocol
6 | // MARK: Shared Instance
7 |
8 | static let shared = SwiftBuilder()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
9 |
10 | // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:69:16: warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
69 | static let bash: Self = .init(executablePath: "/bin/bash")
| |- warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bash' 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
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/SwiftFormat.swift:56:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
54 | }
55 |
56 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
57 | public func write(_ string: String) {
58 | self.write(Data(string.utf8))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftFormat/Sources/CommandLine.swift:49:16: warning: static property 'print' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
47 |
48 | /// Output handler - override this to intercept output from the CLI
49 | static var print: (String, OutputType) -> Void = { _, _ in
| |- warning: static property 'print' 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 'print' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'print' 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
50 | fatalError("No print hook set.")
51 | }
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/SwiftFormat.swift:13:13: warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
11 |
12 | init() {
13 | CLI.print = self.print
| `- warning: reference to static property 'print' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftFormat/Sources/CommandLine.swift:49:16: note: static property declared here
47 |
48 | /// Output handler - override this to intercept output from the CLI
49 | static var print: (String, OutputType) -> Void = { _, _ in
| `- note: static property declared here
50 | fatalError("No print hook set.")
51 | }
[98/106] Compiling KippleFramework resource_bundle_accessor.swift
[99/106] Compiling KippleFramework MainCommand.swift
[100/106] Compiling KippleFramework Platform.swift
[101/106] Compiling KippleFramework BuildEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:66:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
64 |
65 | public extension Shell {
66 | static let `default`: Self = .sh
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/FileFormatter.swift:9:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FileFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import KippleToolsCore
5 |
6 | final class FileFormatter {
| `- note: class 'FileFormatter' does not conform to the 'Sendable' protocol
7 | // MARK: Shared Instance
8 |
9 | static let shared = FileFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FileFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
10 |
11 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:69:16: warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
69 | static let bash: Self = .init(executablePath: "/bin/bash")
| |- warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bash' 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
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
71 | }
[102/106] Compiling KippleFramework FileFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:66:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
64 |
65 | public extension Shell {
66 | static let `default`: Self = .sh
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/FileFormatter.swift:9:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FileFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import KippleToolsCore
5 |
6 | final class FileFormatter {
| `- note: class 'FileFormatter' does not conform to the 'Sendable' protocol
7 | // MARK: Shared Instance
8 |
9 | static let shared = FileFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FileFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
10 |
11 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:69:16: warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
69 | static let bash: Self = .init(executablePath: "/bin/bash")
| |- warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bash' 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
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
71 | }
[103/106] Emitting module KippleFramework
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:66:16: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
64 |
65 | public extension Shell {
66 | static let `default`: Self = .sh
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'default' 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
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/FileFormatter.swift:9:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FileFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
4 | import KippleToolsCore
5 |
6 | final class FileFormatter {
| `- note: class 'FileFormatter' does not conform to the 'Sendable' protocol
7 | // MARK: Shared Instance
8 |
9 | static let shared = FileFormatter()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'FileFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
10 |
11 | // MARK: Constants
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/SwiftBuilder.swift:8:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import KippleToolsCore
4 |
5 | final class SwiftBuilder {
| `- note: class 'SwiftBuilder' does not conform to the 'Sendable' protocol
6 | // MARK: Shared Instance
7 |
8 | static let shared = SwiftBuilder()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'SwiftBuilder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' 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
9 |
10 | // MARK: Properties
/Users/admin/builder/spi-builder-workspace/Sources/KippleToolsCore/Helpers/Shell.swift:69:16: warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
3 | import Foundation
4 |
5 | public struct Shell {
| `- note: consider making struct 'Shell' conform to the 'Sendable' protocol
6 | private let executablePath: String
7 | private let outputPipe: Pipe
:
67 |
68 | static let sh: Self = .init(executablePath: "/bin/sh")
69 | static let bash: Self = .init(executablePath: "/bin/bash")
| |- warning: static property 'bash' is not concurrency-safe because non-'Sendable' type 'Shell' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bash' 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
70 | static let zsh: Self = .init(executablePath: "/bin/zsh")
71 | }
/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Core/Helpers/SwiftFormat.swift:56:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
54 | }
55 |
56 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
57 | public func write(_ string: String) {
58 | self.write(Data(string.utf8))
[104/108] Emitting module kipple
[105/108] Compiling kipple main.swift
[105/108] Write Objects.LinkFileList
[106/108] Linking kipple
[107/108] Applying kipple
Build complete! (113.75s)
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/nicklockwood/SwiftFormat
[1/11679] Fetching swift-argument-parser
[702/50104] Fetching swift-argument-parser, swiftformat
Fetched https://github.com/nicklockwood/SwiftFormat from cache (79.20s)
Fetched https://github.com/apple/swift-argument-parser from cache (79.20s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.53.10 (1.02s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.4.0 (0.58s)
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.53.10
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.4.0
warning: 'swiftformat': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/.build/checkouts/SwiftFormat/Sources/Info.plist
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swiftformat",
"requirement" : {
"range" : [
{
"lower_bound" : "0.53.10",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/nicklockwood/SwiftFormat"
}
],
"manifest_display_name" : "KippleTools",
"name" : "KippleTools",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "kipple",
"targets" : [
"kipple"
],
"type" : {
"executable" : null
}
},
{
"name" : "KippleToolsCore",
"targets" : [
"KippleToolsCore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "kipple",
"module_type" : "SwiftTarget",
"name" : "kipple",
"path" : "Sources/kipple",
"product_memberships" : [
"kipple"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"KippleFramework"
],
"type" : "executable"
},
{
"c99name" : "KippleToolsCoreTests",
"module_type" : "SwiftTarget",
"name" : "KippleToolsCoreTests",
"path" : "Tests/KippleToolsCoreTests",
"sources" : [
"ShellCommandTests.swift",
"ShellTests.swift"
],
"target_dependencies" : [
"KippleToolsCore"
],
"type" : "test"
},
{
"c99name" : "KippleToolsCore",
"module_type" : "SwiftTarget",
"name" : "KippleToolsCore",
"path" : "Sources/KippleToolsCore",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"kipple",
"KippleToolsCore"
],
"sources" : [
"Extensions/Data+ShellOutput.swift",
"Extensions/Process+Convenience.swift",
"Extensions/ShellCommand+FileSystem.swift",
"Extensions/ShellCommand+Git.swift",
"Extensions/ShellCommand+SwiftPackageManager.swift",
"Helpers/Shell.swift",
"Models/ShellCommand.swift",
"Models/ShellError.swift",
"Protocols/VerboseLogging.swift"
],
"type" : "library"
},
{
"c99name" : "KippleFrameworkTests",
"module_type" : "SwiftTarget",
"name" : "KippleFrameworkTests",
"path" : "Tests/KippleFrameworkTests",
"sources" : [
"PrintCommandTests.swift",
"ResourceTests.swift"
],
"target_dependencies" : [
"KippleFramework"
],
"type" : "test"
},
{
"c99name" : "KippleFramework",
"module_type" : "SwiftTarget",
"name" : "KippleFramework",
"path" : "Sources/KippleFramework",
"product_dependencies" : [
"SwiftFormat"
],
"product_memberships" : [
"kipple"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Resources/swiftformat/default.swiftformat",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Resources/gitignore/app.gitignore",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Resources/gitignore/default.gitignore",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Resources/swiftlint/default.swiftlint.yml",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/KippleFramework/Resources/git-hooks/pre-commit",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"Core/Helpers/BuildEnvironment.swift",
"Core/Helpers/FileFormatter.swift",
"Core/Helpers/SwiftBuilder.swift",
"Core/Helpers/SwiftFormat.swift",
"Core/MainCommand.swift",
"Core/Models/Platform.swift",
"Core/Models/SwiftVersion.swift",
"Core/Subcommands/BuildCommand.swift",
"Core/Subcommands/FormatCommand.swift",
"Core/Subcommands/InstallCommand.swift",
"Core/Subcommands/SetupCommand.swift",
"Core/Subcommands/TestCommand.swift",
"Core/Subcommands/UninstallCommand.swift"
],
"target_dependencies" : [
"KippleToolsCore"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.