Build Information
Failed to build mimiq, reference main (3d1923
), with Swift 6.0 for Linux on 27 Nov 2024 18:29:25 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wendyliga/mimiq.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/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: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/wendyliga/mimiq.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/wendyliga/Explorer.git
Fetching https://github.com/wendyliga/ConsoleIO.git
Fetching https://github.com/pointfreeco/swift-tagged.git
Fetching https://github.com/apple/swift-log.git
[1/3698] Fetching swift-log
[1000/3784] Fetching swift-log, consoleio
[1047/4931] Fetching swift-log, consoleio, swift-tagged
[4923/5493] Fetching swift-log, consoleio, swift-tagged, explorer
Fetched https://github.com/wendyliga/Explorer.git from cache (0.35s)
[4923/17326] Fetching swift-log, consoleio, swift-tagged, swift-argument-parser
Fetched https://github.com/wendyliga/ConsoleIO.git from cache (0.72s)
Fetched https://github.com/pointfreeco/swift-tagged.git from cache (0.72s)
Fetched https://github.com/apple/swift-log.git from cache (0.73s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.73s)
Computing version for https://github.com/wendyliga/Explorer.git
Computed https://github.com/wendyliga/Explorer.git at 0.0.6 (0.48s)
Fetching https://github.com/wendyliga/SwiftKit.git
[1/717] Fetching swiftkit
Fetched https://github.com/wendyliga/SwiftKit.git from cache (0.21s)
Computing version for https://github.com/wendyliga/ConsoleIO.git
Computed https://github.com/wendyliga/ConsoleIO.git at 1.0.3 (1.52s)
Computing version for https://github.com/pointfreeco/swift-tagged.git
Computed https://github.com/pointfreeco/swift-tagged.git at 0.10.0 (0.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 0.5.0 (0.54s)
Computing version for https://github.com/wendyliga/SwiftKit.git
Computed https://github.com/wendyliga/SwiftKit.git at 2.4.2 (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.2 (0.50s)
Creating working copy for https://github.com/wendyliga/Explorer.git
Working copy of https://github.com/wendyliga/Explorer.git resolved at 0.0.6
Creating working copy for https://github.com/wendyliga/SwiftKit.git
Working copy of https://github.com/wendyliga/SwiftKit.git resolved at 2.4.2
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 0.5.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.2
Creating working copy for https://github.com/wendyliga/ConsoleIO.git
Working copy of https://github.com/wendyliga/ConsoleIO.git resolved at 1.0.3
Creating working copy for https://github.com/pointfreeco/swift-tagged.git
Working copy of https://github.com/pointfreeco/swift-tagged.git resolved at 0.10.0
Building for debugging...
[0/21] Write sources
[9/21] Write swift-version-24593BA9C3E375BF.txt
[11/41] Emitting module ArgumentParserToolInfo
[12/41] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/42] Wrapping AST for ArgumentParserToolInfo for debugging
[15/76] Compiling Logging MetadataProvider.swift
[16/76] Emitting module Logging
[17/76] Compiling Logging Locks.swift
[18/76] Compiling Logging LogHandler.swift
[19/76] Compiling Logging Logging.swift
[20/77] Wrapping AST for Logging for debugging
[22/77] Compiling ArgumentParser ArgumentHelp.swift
[23/77] Compiling ArgumentParser CompletionKind.swift
[24/77] Compiling ArgumentParser Errors.swift
[25/77] Compiling ArgumentParser Flag.swift
[26/77] Compiling ArgumentParser NameSpecification.swift
[27/81] Compiling Tagged Tagged.swift
[28/81] Compiling SwiftKit Traceable.swift
[29/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[30/82] Compiling ArgumentParser CompletionsGenerator.swift
[31/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[32/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[33/82] Emitting module ArgumentParser
[38/82] Compiling ArgumentParser Argument.swift
[39/82] Emitting module Tagged
[40/82] Compiling Tagged UUID.swift
[41/83] Compiling SwiftKit Shell.swift
[43/83] Compiling SwiftKit NonEmpty.swift
[44/83] Compiling SwiftKit DefaultValue.swift
[45/83] Compiling SwiftKit String+Extension.swift
[46/83] Compiling SwiftKit Log.swift
[47/83] Emitting module SwiftKit
[47/84] Wrapping AST for Tagged for debugging
[49/84] Wrapping AST for SwiftKit for debugging
[51/87] Compiling ArgumentParser ArgumentSet.swift
[52/87] Compiling ArgumentParser CommandParser.swift
[53/87] Compiling ArgumentParser InputOrigin.swift
[54/87] Compiling ArgumentParser Name.swift
[55/87] Compiling ArgumentParser Parsed.swift
[56/87] Compiling ArgumentParser CollectionExtensions.swift
[57/87] Compiling ArgumentParser SequenceExtensions.swift
[58/87] Compiling ArgumentParser StringExtensions.swift
[59/87] Compiling ArgumentParser Tree.swift
[60/88] Compiling ArgumentParser HelpCommand.swift
[61/88] Compiling ArgumentParser HelpGenerator.swift
[62/88] Compiling ArgumentParser MessageInfo.swift
[63/88] Compiling ArgumentParser UsageGenerator.swift
[64/88] Compiling ArgumentParser ParsedValues.swift
[65/88] Compiling ArgumentParser ParserError.swift
[66/88] Compiling ArgumentParser SplitArguments.swift
[67/88] Compiling ArgumentParser DumpHelpGenerator.swift
[68/89] Compiling ArgumentParser Option.swift
[69/89] Compiling ArgumentParser OptionGroup.swift
[70/89] Compiling ArgumentParser CommandConfiguration.swift
[71/89] Compiling ArgumentParser EnumerableFlag.swift
[72/89] Compiling ArgumentParser ExpressibleByArgument.swift
[73/89] Compiling ArgumentParser ParsableArguments.swift
[74/89] Compiling ArgumentParser ParsableArgumentsValidation.swift
[75/89] Compiling ArgumentParser ParsableCommand.swift
[76/89] Compiling ArgumentParser ArgumentDecoder.swift
[77/89] Compiling ArgumentParser ArgumentDefinition.swift
[78/89] Emitting module Explorer
[79/90] Compiling ConsoleIO Input.swift
[80/90] Compiling ConsoleIO Output.swift
[81/90] Emitting module ConsoleIO
[83/91] Wrapping AST for ArgumentParser for debugging
[84/91] Wrapping AST for ConsoleIO for debugging
[86/95] Compiling Explorer Explorer.swift
[88/96] Compiling mimiq_core Runtime.swift
[89/96] Compiling mimiq_core Simulator.swift
[89/96] Wrapping AST for Explorer for debugging
[91/96] Emitting module mimiq_core
[92/96] Compiling mimiq_core Shell.swift
/host/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:42:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
40 | public static func execute(launchPath: String = "/usr/bin/env", arguments: [String], executingWithBash: Bool = true) -> Shell.Result {
41 | let task = Process()
42 | task.launchPath = launchPath
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
43 | task.arguments = (executingWithBash ? ["bash", "-c"] : []) + arguments
44 |
/host/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:51:14: warning: 'launch()' is deprecated: renamed to 'run'
49 | task.standardError = errorPipe
50 |
51 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
52 | task.waitUntilExit()
53 |
/host/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:75:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
73 | ) {
74 | let task = Process()
75 | task.launchPath = launchPath
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
| `- note: use 'executableURL' instead
76 | task.arguments = ["bash", "-c"] + arguments
77 |
/host/spi-builder-workspace/Sources/mimiq-core/Helper/Shell.swift:85:18: warning: 'launch()' is deprecated: renamed to 'run'
83 |
84 | DispatchQueue.global(qos: .background).async {
85 | task.launch()
| |- warning: 'launch()' is deprecated: renamed to 'run'
| `- note: use 'run' instead
86 |
87 | if !task.isRunning {
/host/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),
[93/97] Wrapping AST for mimiq-core for debugging
[95/105] Compiling mimiq Version.swift
[96/106] Compiling mimiq GIFQuality.swift
[97/106] Compiling mimiq OutputResult.swift
[98/106] Compiling mimiq ShellProvider+Mock.swift
/host/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")
/host/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
/host/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")
[99/106] Compiling mimiq ShellProvider.swift
/host/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 {
[100/106] Compiling mimiq main.swift
/host/spi-builder-workspace/Sources/mimiq/main.swift:72:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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",
/host/spi-builder-workspace/Sources/mimiq/main.swift:133:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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",
/host/spi-builder-workspace/Sources/mimiq/main.swift:145:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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",
/host/spi-builder-workspace/Sources/mimiq/main.swift:157:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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",
/host/spi-builder-workspace/Sources/mimiq/main.swift:173:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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",
/host/spi-builder-workspace/Sources/mimiq/main.swift:192:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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:
/host/spi-builder-workspace/Sources/mimiq/main.swift:521:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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:
/host/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 {
/host/spi-builder-workspace/Sources/mimiq/main.swift:408:13: error: cannot find 'Darwin' in scope
406 | logger.debug("failed setup environment")
407 | logger.error("💥 Failed to Setup Enviroment")
408 | Darwin.exit(EXIT_FAILURE)
| `- error: cannot find 'Darwin' in scope
409 | }
410 |
/host/spi-builder-workspace/Sources/mimiq/main.swift:421:17: error: cannot find 'Darwin' in scope
419 |
420 | logger.error("💥 Missing Homebrew, please install Homebrew, for more visit https://brew.sh")
421 | Darwin.exit(EXIT_FAILURE)
| `- error: cannot find 'Darwin' in scope
422 | }
423 |
/host/spi-builder-workspace/Sources/mimiq/main.swift:436:17: error: cannot find 'Darwin' in scope
434 | logger.debug("missing ffmpeg")
435 | logger.error("💥 Missing FFMpeg, please install mpeg, by executing `brew install ffmpeg`")
436 | Darwin.exit(EXIT_FAILURE)
| `- error: cannot find 'Darwin' in scope
437 | }
438 | }
/host/spi-builder-workspace/Sources/mimiq/main.swift:445:13: error: cannot find 'Darwin' in scope
443 | logger.debug("no available simulator")
444 | logger.error("💥 No Available Simulator to mimiq")
445 | Darwin.exit(EXIT_FAILURE)
| `- error: cannot find 'Darwin' in scope
446 | }
447 |
/host/spi-builder-workspace/Sources/mimiq/main.swift:476:17: error: cannot find 'Darwin' in scope
474 | logger.shellOutput(recordResult.errorOuput ?? "no error ouput")
475 | logger.error("💥 Record Failed, Please Try Again")
476 | Darwin.exit(EXIT_FAILURE)
| `- error: cannot find 'Darwin' in scope
477 | }
478 |
/host/spi-builder-workspace/Sources/mimiq/main.swift:510:13: error: cannot find 'Darwin' in scope
508 | logger.shellOutput(generateOutputResult.errorOuput)
509 | logger.error("💥 Failed on Creating output, Please Try Again")
510 | Darwin.exit(EXIT_FAILURE)
| `- error: cannot find 'Darwin' in scope
511 | }
512 |
[101/106] Emitting module mimiq
/host/spi-builder-workspace/Sources/mimiq/main.swift:72:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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",
/host/spi-builder-workspace/Sources/mimiq/main.swift:133:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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",
/host/spi-builder-workspace/Sources/mimiq/main.swift:145:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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",
/host/spi-builder-workspace/Sources/mimiq/main.swift:157:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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",
/host/spi-builder-workspace/Sources/mimiq/main.swift:173:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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",
/host/spi-builder-workspace/Sources/mimiq/main.swift:192:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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:
/host/spi-builder-workspace/Sources/mimiq/main.swift:521:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated 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 nonisolated 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:
/host/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:133:5: warning: let 'systemStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
131 | let systemStdout = MSVCRT.stdout
132 | #else
133 | let systemStderr = Glibc.stderr!
| |- warning: let 'systemStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') 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
134 | let systemStdout = Glibc.stdout!
135 | #endif
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)
/host/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:133:26: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
131 | let systemStdout = MSVCRT.stdout
132 | #else
133 | let systemStderr = Glibc.stderr!
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 | let systemStdout = Glibc.stdout!
135 | #endif
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:134:5: warning: let 'systemStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
132 | #else
133 | let systemStderr = Glibc.stderr!
134 | let systemStdout = Glibc.stdout!
| |- warning: let 'systemStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') 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
135 | #endif
136 |
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)
/host/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:134:26: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | #else
133 | let systemStderr = Glibc.stderr!
134 | let systemStdout = Glibc.stdout!
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | #endif
136 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/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 |
/host/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.
/host/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")
/host/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
/host/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")
/host/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 {
[102/106] Compiling mimiq Extension.swift
/host/spi-builder-workspace/Sources/mimiq/Helper/Extension.swift:33:53: error: value of type 'AnyObject' has no member 'value'
31 | let toplevel = try JSONSerialization.jsonObject(with: data)
32 |
33 | if let nestedJson = (toplevel as AnyObject).value(forKeyPath: keyPath) {
| `- error: value of type 'AnyObject' has no member 'value'
34 | let nestedJsonData = try JSONSerialization.data(withJSONObject: nestedJson)
35 | return try decode(type, from: nestedJsonData)
[103/106] Compiling mimiq Log.swift
/host/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:133:5: warning: let 'systemStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
131 | let systemStdout = MSVCRT.stdout
132 | #else
133 | let systemStderr = Glibc.stderr!
| |- warning: let 'systemStderr' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') 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
134 | let systemStdout = Glibc.stdout!
135 | #endif
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)
/host/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:133:26: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
131 | let systemStdout = MSVCRT.stdout
132 | #else
133 | let systemStderr = Glibc.stderr!
| `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
134 | let systemStdout = Glibc.stdout!
135 | #endif
SwiftGlibc.stderr:1:12: note: var declared here
1 | public var stderr: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:134:5: warning: let 'systemStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') may have shared mutable state; this is an error in the Swift 6 language mode
132 | #else
133 | let systemStderr = Glibc.stderr!
134 | let systemStdout = Glibc.stdout!
| |- warning: let 'systemStdout' is not concurrency-safe because non-'Sendable' type 'UnsafeMutablePointer<FILE>' (aka 'UnsafeMutablePointer<_IO_FILE>') 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
135 | #endif
136 |
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)
/host/spi-builder-workspace/Sources/mimiq/Helper/Log.swift:134:26: warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
132 | #else
133 | let systemStderr = Glibc.stderr!
134 | let systemStdout = Glibc.stdout!
| `- warning: reference to var 'stdout' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
135 | #endif
136 |
SwiftGlibc.stdout:1:12: note: var declared here
1 | public var stdout: UnsafeMutablePointer<FILE>!
| `- note: var declared here
/host/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 |
/host/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.
BUILD FAILURE 6.0 linux