Build Information
Successful build of mimiq with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 13
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/wendyliga/mimiq.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wendyliga/mimiq
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 3d1923c Update README.md
Cloned https://github.com/wendyliga/mimiq.git
Revision (git rev-parse @):
3d1923cebd952ae0c99a4323bf79d300dfddd144
SUCCESS checkout https://github.com/wendyliga/mimiq.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/wendyliga/mimiq.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/13] Write sources
[3/13] Write mimiq-entitlement.plist
[4/13] Write sources
[9/13] Write swift-version-6F35C1178C84523A.txt
[11/57] Emitting module Logging
[12/57] Compiling Logging Locks.swift
[13/57] Compiling Logging LogHandler.swift
[14/57] Compiling Logging Logging.swift
[15/57] Emitting module SwiftKit
[16/57] Compiling ArgumentParser Name.swift
[17/57] Compiling ArgumentParser Parsed.swift
[18/57] Compiling ArgumentParser ParsedValues.swift
[19/60] Compiling ArgumentParser Flag.swift
[20/60] Compiling ArgumentParser NameSpecification.swift
[21/60] Compiling ArgumentParser Option.swift
[22/60] Compiling ArgumentParser OptionGroup.swift
[23/60] Compiling ArgumentParser BashCompletionsGenerator.swift
[24/60] Compiling ArgumentParser CompletionsGenerator.swift
[25/60] Compiling ArgumentParser FishCompletionsGenerator.swift
[26/60] Compiling ArgumentParser ZshCompletionsGenerator.swift
[27/60] Emitting module ArgumentParser
[28/60] Compiling ArgumentParser Argument.swift
[29/60] Compiling ArgumentParser ArgumentHelp.swift
[30/60] Compiling ArgumentParser CompletionKind.swift
[31/60] Compiling ArgumentParser Errors.swift
[32/60] Compiling ArgumentParser ArgumentSet.swift
[33/60] Compiling ArgumentParser CommandParser.swift
[34/60] Compiling ArgumentParser InputOrigin.swift
[35/60] Compiling ArgumentParser SequenceExtensions.swift
[36/60] Compiling ArgumentParser StringExtensions.swift
[37/60] Compiling ArgumentParser Tree.swift
[38/60] Compiling ArgumentParser CommandConfiguration.swift
[39/60] Compiling ArgumentParser EnumerableFlag.swift
[40/60] Compiling ArgumentParser ExpressibleByArgument.swift
[41/60] Compiling ArgumentParser ParsableArguments.swift
[42/60] Compiling ArgumentParser ParsableArgumentsValidation.swift
[43/60] Compiling ArgumentParser ParsableCommand.swift
[44/60] Compiling ArgumentParser ArgumentDecoder.swift
[45/60] Compiling ArgumentParser ArgumentDefinition.swift
[46/60] Compiling ArgumentParser ParserError.swift
[47/60] Compiling ArgumentParser SplitArguments.swift
[48/60] Compiling ArgumentParser HelpCommand.swift
[49/60] Compiling ArgumentParser HelpGenerator.swift
[50/60] Compiling ArgumentParser MessageInfo.swift
[51/60] Compiling ArgumentParser UsageGenerator.swift
[52/60] Emitting module Tagged
[53/60] Compiling Tagged Tagged.swift
[54/60] Compiling SwiftKit Result+Extension.swift
[55/60] Compiling SwiftKit Array+Extension.swift
[56/60] Compiling SwiftKit String+Extension.swift
[57/60] Compiling SwiftKit Error.swift
[58/65] Compiling ConsoleIO Output.swift
[59/65] Compiling ConsoleIO Input.swift
[60/65] Emitting module ConsoleIO
[61/69] Emitting module Explorer
[62/69] Compiling Explorer Explorer.swift
[63/69] Compiling mimiq_core Simulator.swift
[64/69] Emitting module mimiq_core
[65/69] Compiling mimiq_core Runtime.swift
[66/69] Compiling mimiq_core Shell.swift
/Users/admin/builder/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:88:17: warning: capture of 'logger' with non-sendable type 'Logger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
86 |
87 | if !task.isRunning {
88 | logger?.error("❌ Task failed to run")
| `- warning: capture of 'logger' with non-sendable type 'Logger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
89 | logger?.debug("task failed to run")
90 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:34:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
32 | /// logger.info("Hello World!")
33 | ///
34 | public struct Logger {
| `- note: struct 'Logger' does not conform to the 'Sendable' protocol
35 | @usableFromInline
36 | var handler: LogHandler
/Users/admin/builder/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:27:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logging'
25 | import Foundation
26 | import ConsoleIO
27 | import Logging
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Logging'
28 | import Tagged
29 |
/Users/admin/builder/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:113:13: warning: capture of 'logger' with non-sendable type 'Logger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
111 | let errorOuput = String(data: errorData, encoding: String.Encoding.utf8)
112 |
113 | logger?.debug("handle completion status \(task.terminationStatus)")
| `- warning: capture of 'logger' with non-sendable type 'Logger?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
114 | completion((
115 | status: task.terminationStatus,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-log/Sources/Logging/Logging.swift:34:15: note: struct 'Logger' does not conform to the 'Sendable' protocol
32 | /// logger.info("Hello World!")
33 | ///
34 | public struct Logger {
| `- note: struct 'Logger' does not conform to the 'Sendable' protocol
35 | @usableFromInline
36 | var handler: LogHandler
/Users/admin/builder/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:114:13: warning: capture of 'completion' with non-sendable type '(Shell.Result) -> Void' (aka '((status: Int32, output: Optional<Tagged<Shell._SuccessOutput, String>>, errorOuput: Optional<Tagged<Shell._ErrorOutput, String>>)) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
112 |
113 | logger?.debug("handle completion status \(task.terminationStatus)")
114 | completion((
| |- warning: capture of 'completion' with non-sendable type '(Shell.Result) -> Void' (aka '((status: Int32, output: Optional<Tagged<Shell._SuccessOutput, String>>, errorOuput: Optional<Tagged<Shell._ErrorOutput, String>>)) -> ()') in a `@Sendable` closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
115 | status: task.terminationStatus,
116 | output: Shell.SuccessOutput(rawValue: output),
[67/78] Compiling mimiq OutputResult.swift
[68/78] Compiling mimiq Version.swift
[69/78] Compiling mimiq GIFQuality.swift
[70/78] Compiling mimiq ShellProvider+Mock.swift
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/ShellProvider+Mock.swift:33:5: warning: let 'dummySimulator' is not concurrency-safe because non-'Sendable' type '[Simulator]' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | #if DEBUG
33 | let dummySimulator: [Simulator] = [
| `- warning: let 'dummySimulator' is not concurrency-safe because non-'Sendable' type '[Simulator]' may have shared mutable state; this is an error in the Swift 6 language mode
34 | Simulator(udid: UUID(uuidString: "00000000-0000-0000-0000-000000000000")!, name: "Mimiq Simulator"),
35 | Simulator(udid: UUID(uuidString: "11111111-1111-1111-1111-111111111111")!, name: "Mimiq Simulator #2")
/Users/admin/builder/spi-builder-workspace/Sources/mimiq-core/Models/Simulator.swift:27:15: note: struct 'Simulator' does not conform to the 'Sendable' protocol
25 | import Foundation
26 |
27 | public struct Simulator: Codable {
| `- note: struct 'Simulator' does not conform to the 'Sendable' protocol
28 | public let udid: UUID
29 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/ShellProvider+Mock.swift:28:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'mimiq_core'
26 | import Foundation
27 | import Logging
28 | import mimiq_core
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'mimiq_core'
29 |
30 | // MARK: - Mock Shell Provider
31 |
32 | #if DEBUG
33 | let dummySimulator: [Simulator] = [
| |- note: annotate 'dummySimulator' 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
34 | Simulator(udid: UUID(uuidString: "00000000-0000-0000-0000-000000000000")!, name: "Mimiq Simulator"),
35 | Simulator(udid: UUID(uuidString: "11111111-1111-1111-1111-111111111111")!, name: "Mimiq Simulator #2")
[71/78] Compiling mimiq Log.swift
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:127:5: warning: let 'systemStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
125 | // Prevent name clashes
126 | #if os(macOS) || os(tvOS) || os(iOS) || os(watchOS)
127 | let systemStderr = Darwin.stderr
| |- warning: let 'systemStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemStderr' 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
128 | let systemStdout = Darwin.stdout
129 | #elseif os(Windows)
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:128:5: warning: let 'systemStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
126 | #if os(macOS) || os(tvOS) || os(iOS) || os(watchOS)
127 | let systemStderr = Darwin.stderr
128 | let systemStdout = Darwin.stdout
| |- warning: let 'systemStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemStdout' 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
129 | #elseif os(Windows)
130 | let systemStderr = MSVCRT.stderr
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:174:25: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
141 | /// ensures access to the underlying `FILE` is locked to prevent
142 | /// cross-thread interleaving of output.
143 | internal struct StdioOutputStream: TextOutputStream {
| `- note: consider making struct 'StdioOutputStream' conform to the 'Sendable' protocol
144 | internal let file: UnsafeMutablePointer<FILE>
145 | internal let flushMode: FlushMode
:
172 | }
173 |
174 | internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
| |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
175 | internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
176 |
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:175:25: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
141 | /// ensures access to the underlying `FILE` is locked to prevent
142 | /// cross-thread interleaving of output.
143 | internal struct StdioOutputStream: TextOutputStream {
| `- note: consider making struct 'StdioOutputStream' conform to the 'Sendable' protocol
144 | internal let file: UnsafeMutablePointer<FILE>
145 | internal let flushMode: FlushMode
:
173 |
174 | internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
175 | internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
| |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
176 |
177 | /// Defines the flushing strategy for the underlying stream.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Explorer/Sources/Explorer/Explorer.swift:13:23: warning: class property 'default' is not concurrency-safe because non-'Sendable' type 'Explorer' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import SwiftKit
3 |
4 | public class Explorer {
| `- note: class 'Explorer' does not conform to the 'Sendable' protocol
5 | /**
6 | File manager instance that will used for `Explorer` Operation
:
11 | Singleton of `Explorer` Class
12 | */
13 | public static let `default` = Explorer()
| |- warning: class property 'default' is not concurrency-safe because non-'Sendable' type 'Explorer' 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
14 |
15 | public init(with fileManager: FileProvider = DefaultFileProvider()) {
[72/78] Compiling mimiq ShellProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/ShellProvider.swift:46:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DefaultShellProvider' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 |
45 | final class DefaultShellProvider: ShellProvider {
| `- note: class 'DefaultShellProvider' does not conform to the 'Sendable' protocol
46 | static let shared = DefaultShellProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DefaultShellProvider' 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
47 |
48 | var isHomebrewInstalled: Bool {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Explorer/Sources/Explorer/Explorer.swift:13:23: warning: class property 'default' is not concurrency-safe because non-'Sendable' type 'Explorer' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import SwiftKit
3 |
4 | public class Explorer {
| `- note: class 'Explorer' does not conform to the 'Sendable' protocol
5 | /**
6 | File manager instance that will used for `Explorer` Operation
:
11 | Singleton of `Explorer` Class
12 | */
13 | public static let `default` = Explorer()
| |- warning: class property 'default' is not concurrency-safe because non-'Sendable' type 'Explorer' 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
14 |
15 | public init(with fileManager: FileProvider = DefaultFileProvider()) {
[73/78] Compiling mimiq Extension.swift
[74/78] Emitting module mimiq
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:72:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | struct List: ParsableCommand {
72 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
73 | commandName: "list",
74 | abstract: "List Available Simulator",
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:133:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
131 |
132 | struct Version: ParsableCommand {
133 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
134 | commandName: "version",
135 | abstract: "\(appName) version",
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:145:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
143 |
144 | struct Cache: ParsableCommand {
145 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
146 | commandName: "clear-cache",
147 | abstract: "Clear all mimiq process cache",
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:157:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | struct OutputTypeList: ParsableCommand {
157 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
158 | commandName: "output-type",
159 | abstract: "List all output types",
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:173:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |
172 | struct QualityList: ParsableCommand {
173 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
174 | commandName: "quality",
175 | abstract: "List available quality",
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:192:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | #if DEBUG
192 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
193 | commandName: "record",
194 | abstract:
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:521:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | struct Main: ParsableCommand {
521 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
522 | commandName: appName,
523 | abstract:
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:127:5: warning: let 'systemStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
125 | // Prevent name clashes
126 | #if os(macOS) || os(tvOS) || os(iOS) || os(watchOS)
127 | let systemStderr = Darwin.stderr
| |- warning: let 'systemStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemStderr' 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
128 | let systemStdout = Darwin.stdout
129 | #elseif os(Windows)
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:128:5: warning: let 'systemStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
126 | #if os(macOS) || os(tvOS) || os(iOS) || os(watchOS)
127 | let systemStderr = Darwin.stderr
128 | let systemStdout = Darwin.stdout
| |- warning: let 'systemStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<__sFILE>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'systemStdout' 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
129 | #elseif os(Windows)
130 | let systemStderr = MSVCRT.stderr
Swift.UnsafeMutablePointer:1:23: note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
1 | @frozen public struct UnsafeMutablePointer<Pointee> : Copyable where Pointee : ~Copyable {
| `- note: generic struct 'UnsafeMutablePointer' does not conform to the 'Sendable' protocol
2 | public let _rawValue: Builtin.RawPointer
3 | public init(_ _rawValue: Builtin.RawPointer)
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:174:25: warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
141 | /// ensures access to the underlying `FILE` is locked to prevent
142 | /// cross-thread interleaving of output.
143 | internal struct StdioOutputStream: TextOutputStream {
| `- note: consider making struct 'StdioOutputStream' conform to the 'Sendable' protocol
144 | internal let file: UnsafeMutablePointer<FILE>
145 | internal let flushMode: FlushMode
:
172 | }
173 |
174 | internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
| |- warning: static property 'stderr' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
175 | internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
176 |
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:175:25: warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
141 | /// ensures access to the underlying `FILE` is locked to prevent
142 | /// cross-thread interleaving of output.
143 | internal struct StdioOutputStream: TextOutputStream {
| `- note: consider making struct 'StdioOutputStream' conform to the 'Sendable' protocol
144 | internal let file: UnsafeMutablePointer<FILE>
145 | internal let flushMode: FlushMode
:
173 |
174 | internal static let stderr = StdioOutputStream(file: systemStderr, flushMode: .always)
175 | internal static let stdout = StdioOutputStream(file: systemStdout, flushMode: .always)
| |- warning: static property 'stdout' is not concurrency-safe because non-'Sendable' type 'StdioOutputStream' may have shared mutable state; this is an error in the Swift 6 language mode
| |- 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
176 |
177 | /// Defines the flushing strategy for the underlying stream.
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/ShellProvider+Mock.swift:33:5: warning: let 'dummySimulator' is not concurrency-safe because non-'Sendable' type '[Simulator]' may have shared mutable state; this is an error in the Swift 6 language mode
31 |
32 | #if DEBUG
33 | let dummySimulator: [Simulator] = [
| `- warning: let 'dummySimulator' is not concurrency-safe because non-'Sendable' type '[Simulator]' may have shared mutable state; this is an error in the Swift 6 language mode
34 | Simulator(udid: UUID(uuidString: "00000000-0000-0000-0000-000000000000")!, name: "Mimiq Simulator"),
35 | Simulator(udid: UUID(uuidString: "11111111-1111-1111-1111-111111111111")!, name: "Mimiq Simulator #2")
/Users/admin/builder/spi-builder-workspace/Sources/mimiq-core/Models/Simulator.swift:27:15: note: struct 'Simulator' does not conform to the 'Sendable' protocol
25 | import Foundation
26 |
27 | public struct Simulator: Codable {
| `- note: struct 'Simulator' does not conform to the 'Sendable' protocol
28 | public let udid: UUID
29 | public let name: String
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/ShellProvider+Mock.swift:28:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'mimiq_core'
26 | import Foundation
27 | import Logging
28 | import mimiq_core
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'mimiq_core'
29 |
30 | // MARK: - Mock Shell Provider
31 |
32 | #if DEBUG
33 | let dummySimulator: [Simulator] = [
| |- note: annotate 'dummySimulator' 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
34 | Simulator(udid: UUID(uuidString: "00000000-0000-0000-0000-000000000000")!, name: "Mimiq Simulator"),
35 | Simulator(udid: UUID(uuidString: "11111111-1111-1111-1111-111111111111")!, name: "Mimiq Simulator #2")
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/ShellProvider.swift:46:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DefaultShellProvider' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 |
45 | final class DefaultShellProvider: ShellProvider {
| `- note: class 'DefaultShellProvider' does not conform to the 'Sendable' protocol
46 | static let shared = DefaultShellProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DefaultShellProvider' 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
47 |
48 | var isHomebrewInstalled: Bool {
[75/78] Compiling mimiq main.swift
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:72:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
70 |
71 | struct List: ParsableCommand {
72 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
73 | commandName: "list",
74 | abstract: "List Available Simulator",
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:133:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
131 |
132 | struct Version: ParsableCommand {
133 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
134 | commandName: "version",
135 | abstract: "\(appName) version",
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:145:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
143 |
144 | struct Cache: ParsableCommand {
145 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
146 | commandName: "clear-cache",
147 | abstract: "Clear all mimiq process cache",
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:157:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
155 |
156 | struct OutputTypeList: ParsableCommand {
157 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
158 | commandName: "output-type",
159 | abstract: "List all output types",
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:173:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
171 |
172 | struct QualityList: ParsableCommand {
173 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
174 | commandName: "quality",
175 | abstract: "List available quality",
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:192:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
190 |
191 | #if DEBUG
192 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
193 | commandName: "record",
194 | abstract:
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/main.swift:521:16: warning: static property 'configuration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
519 |
520 | struct Main: ParsableCommand {
521 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' 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 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'configuration' 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
522 | commandName: appName,
523 | abstract:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/Explorer/Sources/Explorer/Explorer.swift:13:23: warning: class property 'default' is not concurrency-safe because non-'Sendable' type 'Explorer' may have shared mutable state; this is an error in the Swift 6 language mode
2 | import SwiftKit
3 |
4 | public class Explorer {
| `- note: class 'Explorer' does not conform to the 'Sendable' protocol
5 | /**
6 | File manager instance that will used for `Explorer` Operation
:
11 | Singleton of `Explorer` Class
12 | */
13 | public static let `default` = Explorer()
| |- warning: class property 'default' is not concurrency-safe because non-'Sendable' type 'Explorer' 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
14 |
15 | public init(with fileManager: FileProvider = DefaultFileProvider()) {
/Users/admin/builder/spi-builder-workspace/Sources/mimiq/Helper/ShellProvider.swift:46:16: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DefaultShellProvider' may have shared mutable state; this is an error in the Swift 6 language mode
43 | }
44 |
45 | final class DefaultShellProvider: ShellProvider {
| `- note: class 'DefaultShellProvider' does not conform to the 'Sendable' protocol
46 | static let shared = DefaultShellProvider()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'DefaultShellProvider' 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
47 |
48 | var isHomebrewInstalled: Bool {
[75/78] Write Objects.LinkFileList
[76/78] Linking mimiq
[77/78] Applying mimiq
Build complete! (30.04s)
Fetching https://github.com/wendyliga/SwiftKit.git
Fetching https://github.com/wendyliga/ConsoleIO.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/wendyliga/Explorer.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/pointfreeco/swift-tagged.git
[1/717] Fetching swiftkit
[102/1826] Fetching swiftkit, swift-tagged
[136/2388] Fetching swiftkit, swift-tagged, explorer
[237/2474] Fetching swiftkit, swift-tagged, explorer, consoleio
[311/5835] Fetching swiftkit, swift-tagged, explorer, consoleio, swift-log
[3434/17549] Fetching swiftkit, swift-tagged, explorer, consoleio, swift-log, swift-argument-parser
Fetched https://github.com/wendyliga/Explorer.git from cache (1.16s)
[5508/16987] Fetching swiftkit, swift-tagged, consoleio, swift-log, swift-argument-parser
Fetched https://github.com/wendyliga/ConsoleIO.git from cache (1.65s)
Fetched https://github.com/pointfreeco/swift-tagged.git from cache (1.65s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.65s)
Fetched https://github.com/wendyliga/SwiftKit.git from cache (1.65s)
Fetched https://github.com/apple/swift-log.git from cache (1.65s)
Computing version for https://github.com/wendyliga/Explorer.git
Computed https://github.com/wendyliga/Explorer.git at 0.0.5 (0.67s)
Computing version for https://github.com/wendyliga/ConsoleIO.git
Computed https://github.com/wendyliga/ConsoleIO.git at 1.0.3 (0.67s)
Computing version for https://github.com/pointfreeco/swift-tagged.git
Computed https://github.com/pointfreeco/swift-tagged.git at 0.5.0 (0.70s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.4.0 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.3.1 (0.69s)
Computing version for https://github.com/wendyliga/SwiftKit.git
Computed https://github.com/wendyliga/SwiftKit.git at 2.0.1 (0.68s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.3.1
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.4.0
Creating working copy for https://github.com/wendyliga/Explorer.git
Working copy of https://github.com/wendyliga/Explorer.git resolved at 0.0.5
Creating working copy for https://github.com/wendyliga/SwiftKit.git
Working copy of https://github.com/wendyliga/SwiftKit.git resolved at 2.0.1
Creating working copy for https://github.com/pointfreeco/swift-tagged.git
Working copy of https://github.com/pointfreeco/swift-tagged.git resolved at 0.5.0
Creating working copy for https://github.com/wendyliga/ConsoleIO.git
Working copy of https://github.com/wendyliga/ConsoleIO.git resolved at 1.0.3
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "0.3.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log.git"
},
{
"identity" : "swift-tagged",
"requirement" : {
"range" : [
{
"lower_bound" : "0.5.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/pointfreeco/swift-tagged.git"
},
{
"identity" : "consoleio",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/wendyliga/ConsoleIO.git"
},
{
"identity" : "explorer",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/wendyliga/Explorer.git"
}
],
"manifest_display_name" : "mimiq",
"name" : "mimiq",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "mimiq",
"targets" : [
"mimiq"
],
"type" : {
"executable" : null
}
},
{
"name" : "MimiqCore",
"targets" : [
"mimiq-core"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "mimiqTests",
"module_type" : "SwiftTarget",
"name" : "mimiqTests",
"path" : "Tests/mimiqTests",
"sources" : [
"mimiqTests.swift"
],
"target_dependencies" : [
"mimiq"
],
"type" : "test"
},
{
"c99name" : "mimiq_core",
"module_type" : "SwiftTarget",
"name" : "mimiq-core",
"path" : "Sources/mimiq-core",
"product_dependencies" : [
"ConsoleIO",
"Logging",
"Tagged"
],
"product_memberships" : [
"mimiq",
"MimiqCore"
],
"sources" : [
"Helper/Shell.swift",
"Models/Runtime.swift",
"Models/Simulator.swift"
],
"type" : "library"
},
{
"c99name" : "mimiq",
"module_type" : "SwiftTarget",
"name" : "mimiq",
"path" : "Sources/mimiq",
"product_dependencies" : [
"ArgumentParser",
"Explorer",
"ConsoleIO",
"Logging",
"Tagged"
],
"product_memberships" : [
"mimiq"
],
"sources" : [
"Helper/Extension.swift",
"Helper/Log.swift",
"Helper/ShellProvider+Mock.swift",
"Helper/ShellProvider.swift",
"Model/GIFQuality.swift",
"Model/OutputResult.swift",
"Version.swift",
"main.swift"
],
"target_dependencies" : [
"mimiq-core"
],
"type" : "executable"
}
],
"tools_version" : "5.1"
}
Done.