Build Information
Failed to build swiftymocky, reference master (3672ee
), with Swift 6.0 for Linux on 3 Nov 2024 12:09:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MakeAWishFoundation/SwiftyMocky.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/MakeAWishFoundation/SwiftyMocky
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3672eea Merge pull request #363 from mapierce/xcode-16-fixes
Cloned https://github.com/MakeAWishFoundation/SwiftyMocky.git
Revision (git rev-parse @):
3672eea08c7098214ac54ee26c7a7e39ea01a2f1
SUCCESS checkout https://github.com/MakeAWishFoundation/SwiftyMocky.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/MakeAWishFoundation/SwiftyMocky.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/luoxiu/Chalk
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/kylef/Commander
Fetching https://github.com/JohnSundell/ShellOut
[1/1588] Fetching commander
[1589/2999] Fetching commander, pathkit
[2210/3328] Fetching commander, pathkit, chalk
[3054/4288] Fetching commander, pathkit, chalk, shellout
[3704/14190] Fetching commander, pathkit, chalk, shellout, yams
Fetching https://github.com/tuist/xcodeproj
Fetched https://github.com/kylef/Commander from cache (0.49s)
Fetched https://github.com/JohnSundell/ShellOut from cache (0.45s)
[2236/11642] Fetching pathkit, chalk, yams
[7485/33491] Fetching pathkit, chalk, yams, xcodeproj
Fetched https://github.com/luoxiu/Chalk from cache (2.01s)
Fetched https://github.com/kylef/PathKit from cache (2.02s)
Fetched https://github.com/jpsim/Yams from cache (2.09s)
[16606/21849] Fetching xcodeproj
Fetched https://github.com/tuist/xcodeproj from cache (2.51s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.91s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.36s)
Computing version for https://github.com/luoxiu/Chalk
Computed https://github.com/luoxiu/Chalk at 0.2.1 (3.90s)
Fetching https://github.com/luoxiu/Rainbow
[1/234] Fetching rainbow
Fetched https://github.com/luoxiu/Rainbow from cache (0.30s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.89s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (3.89s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.94s)
Computing version for https://github.com/luoxiu/Rainbow
Computed https://github.com/luoxiu/Rainbow at 0.1.1 (0.98s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.1.3 (0.91s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 8.24.8 (0.56s)
Fetching https://github.com/tadija/AEXML.git
[1/2102] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.43s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (1.03s)
Creating working copy for https://github.com/luoxiu/Chalk
Working copy of https://github.com/luoxiu/Chalk resolved at 0.2.1
Creating working copy for https://github.com/kylef/Commander
Working copy of https://github.com/kylef/Commander resolved at 0.9.2
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.1.3
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/tuist/xcodeproj
Working copy of https://github.com/tuist/xcodeproj resolved at 8.24.8
Creating working copy for https://github.com/luoxiu/Rainbow
Working copy of https://github.com/luoxiu/Rainbow resolved at 0.1.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
Creating working copy for https://github.com/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
Building for debugging...
[0/33] Write sources
[14/33] Compiling writer.c
[15/33] Compiling reader.c
[16/33] Compiling parser.c
[17/33] Compiling api.c
[18/33] Write swift-version-24593BA9C3E375BF.txt
[19/33] Compiling emitter.c
[20/33] Compiling scanner.c
[22/122] Emitting module SwiftyMocky
/host/spi-builder-workspace/Sources/SwiftyMocky/MockyAssert.swift:14:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// You can use it to define assertion behaviour.
13 | /// Leave blank to not assert at all.
14 | public static var handler: ((Bool, String, StaticString, UInt) -> Void)?
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalErrorHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Mock+Assertions.swift:149:24: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | public struct FatalErrorUtil {
148 | /// [Internal] Handler
149 | private static var handler: (String) -> Never = {
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' 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
150 | print($0)
151 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Mock+Assertions.swift:154:24: warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | }
153 | /// [Internal] Default handler
154 | private static var defalutHandler: (String) -> Never = {
| |- warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defalutHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defalutHandler' 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
155 | print($0)
156 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:8:24: warning: static property 'currentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public class SwiftyMockyTestObserver: NSObject, XCTestObservation {
7 | /// [Internal] Current test case
8 | private static var currentTestCase: XCTestCase?
| |- warning: static property 'currentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentTestCase' 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 | /// [Internal] Setup observing once
10 | private static let setupBlock: (() -> Void) = {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:10:24: warning: static property 'setupBlock' is not concurrency-safe because non-'Sendable' type '() -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
8 | private static var currentTestCase: XCTestCase?
9 | /// [Internal] Setup observing once
10 | private static let setupBlock: (() -> Void) = {
| |- warning: static property 'setupBlock' is not concurrency-safe because non-'Sendable' type '() -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setupBlock' 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
11 | Matcher.fatalErrorHandler = SwiftyMockyTestObserver.handleFatalError
12 | let addObserver = { XCTestObservationCenter.shared.addTestObserver(SwiftyMockyTestObserver()) }
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:17:17: warning: capture of 'addObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | } else {
16 | DispatchQueue.main.async {
17 | addObserver()
| |- warning: capture of 'addObserver' with non-sendable type '() -> ()' 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'
18 | }
19 | }
[23/124] Emitting module Rainbow
[24/124] Compiling Rainbow Colors.swift
[25/124] Compiling Rainbow Color+Cocoa.swift
[26/124] Compiling Mocky_Example_macOS SuggestionRepository.swift
[27/124] Compiling Mocky_Example_macOS ProtocolsWithCollections.swift
[28/125] Compiling Commander Group.swift
[29/125] Compiling Commander ArgumentParser.swift
[30/125] Compiling Commander Command.swift
[31/125] Emitting module Commander
[32/125] Compiling Commander CommandRunner.swift
[33/125] Compiling Mocky_Example_macOS Item.swift
[34/125] Compiling Mocky_Example_macOS Models.swift
[35/125] Compiling Mocky_Example_macOS AllLiteralsContainerProtocol.swift
[36/125] Compiling SwiftyMocky Utils.swift
[37/128] Compiling Rainbow NSRegularExpression.swift
[38/128] Compiling Mocky_Example_macOS ProtocolWithMethodWithManyParameters.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
| `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
[39/128] Compiling Mocky_Example_macOS ProtocolWithSubscripts.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
| `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
[40/128] Compiling Mocky_Example_macOS SampleService.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
| `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
[41/128] Emitting module ShellOut
[42/128] Compiling ShellOut ShellOut.swift
[45/128] Compiling Mocky_Example_macOS SimpleProtocols.swift
[46/128] Compiling Mocky_Example_macOS ProtocolWithGenericConstraints.swift
[49/128] Compiling Mocky_Example_macOS ProtocolWithThrowingMethods.swift
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
[50/128] Compiling Mocky_Example_macOS ProtocolsWithCustomAttributes.swift
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
[51/128] Compiling Mocky_Example_macOS ProtocolWithInitializers.swift
[52/128] Compiling Mocky_Example_macOS ProtocolsWithGenerics.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[53/129] Emitting module SwiftyPrototype
/host/spi-builder-workspace/Sources/SwiftyPrototype/MockyAssert.swift:11:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | /// You can use it to define assertion behaviour.
10 | /// Leave blank to not assert at all.
11 | public static var handler: ((Bool, String, StaticString, UInt) -> Void)?
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' 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
12 | }
13 |
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalErrorHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Mock+Assertions.swift:149:24: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | public struct FatalErrorUtil {
148 | /// [Internal] Handler
149 | private static var handler: (String) -> Never = {
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' 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
150 | print($0)
151 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Mock+Assertions.swift:154:24: warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | }
153 | /// [Internal] Default handler
154 | private static var defalutHandler: (String) -> Never = {
| |- warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defalutHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defalutHandler' 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
155 | print($0)
156 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyPrototype/SwiftyMockyTestObserver.swift:5:6: error: Objective-C interoperability is disabled
3 | public class SwiftyMockyTestObserver: NSObject {
4 | /// [Internal] No setup whatsoever
5 | @objc public static func setup() {
| `- error: Objective-C interoperability is disabled
6 | // Empty on purpose
7 | }
/host/spi-builder-workspace/Sources/SwiftyPrototype/MockyAssert.swift:11:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | /// You can use it to define assertion behaviour.
10 | /// Leave blank to not assert at all.
11 | public static var handler: ((Bool, String, StaticString, UInt) -> Void)?
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' 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
12 | }
13 |
/host/spi-builder-workspace/Sources/SwiftyPrototype/MockyAssert.swift:11:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
9 | /// You can use it to define assertion behaviour.
10 | /// Leave blank to not assert at all.
11 | public static var handler: ((Bool, String, StaticString, UInt) -> Void)?
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' 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
12 | }
13 |
[58/129] Compiling PathKit PathKit.swift
[59/129] Emitting module PathKit
[60/131] Compiling Shared Stubbing.swift
[61/131] Compiling Rainbow Color.swift
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalErrorHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Mock+Assertions.swift:149:24: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | public struct FatalErrorUtil {
148 | /// [Internal] Handler
149 | private static var handler: (String) -> Never = {
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' 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
150 | print($0)
151 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Mock+Assertions.swift:154:24: warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | }
153 | /// [Internal] Default handler
154 | private static var defalutHandler: (String) -> Never = {
| |- warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defalutHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defalutHandler' 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
155 | print($0)
156 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalErrorHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Mock+Assertions.swift:149:24: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | public struct FatalErrorUtil {
148 | /// [Internal] Handler
149 | private static var handler: (String) -> Never = {
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' 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
150 | print($0)
151 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Mock+Assertions.swift:154:24: warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | }
153 | /// [Internal] Default handler
154 | private static var defalutHandler: (String) -> Never = {
| |- warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defalutHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defalutHandler' 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
155 | print($0)
156 | exit(0)
[64/132] Compiling Rainbow Double.swift
[65/133] Compiling Mocky_Example_macOS ProtocolWithProperties.swift
[66/133] Compiling Mocky_Example_macOS ProtocolMethodsThatDifferOnlyInReturnType.swift
[67/133] Compiling SwiftyPrototype Utils.swift
[68/133] Compiling Mocky_Example_macOS ProtocolWithStaticMembers.swift
[69/133] Compiling Mocky_Example_macOS ProtocolsWithClosures.swift
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalErrorHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Mock+Assertions.swift:149:24: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | public struct FatalErrorUtil {
148 | /// [Internal] Handler
149 | private static var handler: (String) -> Never = {
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' 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
150 | print($0)
151 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Mock+Assertions.swift:154:24: warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | }
153 | /// [Internal] Default handler
154 | private static var defalutHandler: (String) -> Never = {
| |- warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defalutHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defalutHandler' 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
155 | print($0)
156 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalErrorHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Mock+Assertions.swift:149:24: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | public struct FatalErrorUtil {
148 | /// [Internal] Handler
149 | private static var handler: (String) -> Never = {
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' 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
150 | print($0)
151 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Mock+Assertions.swift:154:24: warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | }
153 | /// [Internal] Default handler
154 | private static var defalutHandler: (String) -> Never = {
| |- warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defalutHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defalutHandler' 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
155 | print($0)
156 | exit(0)
[78/133] Compiling SwiftyMocky SwiftyMockyTestObserver.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | func genericInOutClosure<T>(closure: (inout T) -> Void)
[79/133] Compiling Mocky_Example_macOS Excluded.generated.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | func genericInOutClosure<T>(closure: (inout T) -> Void)
[80/133] Compiling Mocky_Example_macOS GenericProtocols.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | func genericInOutClosure<T>(closure: (inout T) -> Void)
[81/133] Compiling Mocky_Example_macOS InoutParameterProtocols.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | func genericInOutClosure<T>(closure: (inout T) -> Void)
[82/133] Compiling Mocky_Example_macOS ItemsRepository.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[83/133] Compiling Mocky_Example_macOS MultiThreadAccess.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[84/133] Compiling Mocky_Example_macOS NonSwiftProtocol.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[85/133] Compiling Mocky_Example_macOS ProtocolWithAttributes.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[86/133] Compiling Commander Error.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[91/133] Emitting module Mocky_Example_macOS
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | func genericInOutClosure<T>(closure: (inout T) -> Void)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
| `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
/host/spi-builder-workspace/Sources/SwiftyMocky/MockyAssert.swift:14:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// You can use it to define assertion behaviour.
13 | /// Leave blank to not assert at all.
14 | public static var handler: ((Bool, String, StaticString, UInt) -> Void)?
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/host/spi-builder-workspace/Sources/SwiftyMocky/MockyAssert.swift:14:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// You can use it to define assertion behaviour.
13 | /// Leave blank to not assert at all.
14 | public static var handler: ((Bool, String, StaticString, UInt) -> Void)?
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/host/spi-builder-workspace/Sources/SwiftyMocky/MockyAssert.swift:14:23: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | /// You can use it to define assertion behaviour.
13 | /// Leave blank to not assert at all.
14 | public static var handler: ((Bool, String, StaticString, UInt) -> Void)?
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'handler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
[101/133] Compiling SwiftyPrototype SwiftyMockyTestObserver.swift
/host/spi-builder-workspace/Sources/SwiftyPrototype/SwiftyMockyTestObserver.swift:5:6: error: Objective-C interoperability is disabled
3 | public class SwiftyMockyTestObserver: NSObject {
4 | /// [Internal] No setup whatsoever
5 | @objc public static func setup() {
| `- error: Objective-C interoperability is disabled
6 | // Empty on purpose
7 | }
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:8:24: warning: static property 'currentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public class SwiftyMockyTestObserver: NSObject, XCTestObservation {
7 | /// [Internal] Current test case
8 | private static var currentTestCase: XCTestCase?
| |- warning: static property 'currentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentTestCase' 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 | /// [Internal] Setup observing once
10 | private static let setupBlock: (() -> Void) = {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:10:24: warning: static property 'setupBlock' is not concurrency-safe because non-'Sendable' type '() -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
8 | private static var currentTestCase: XCTestCase?
9 | /// [Internal] Setup observing once
10 | private static let setupBlock: (() -> Void) = {
| |- warning: static property 'setupBlock' is not concurrency-safe because non-'Sendable' type '() -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setupBlock' 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
11 | Matcher.fatalErrorHandler = SwiftyMockyTestObserver.handleFatalError
12 | let addObserver = { XCTestObservationCenter.shared.addTestObserver(SwiftyMockyTestObserver()) }
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalErrorHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:17:17: warning: capture of 'addObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | } else {
16 | DispatchQueue.main.async {
17 | addObserver()
| |- warning: capture of 'addObserver' with non-sendable type '() -> ()' 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'
18 | }
19 | }
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:29: error: cannot find 'XCTIssue' in scope
57 | let methodName = getNameOfExtecutedTestCase(testCase)
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
| `- error: cannot find 'XCTIssue' in scope
60 | type: .system,
61 | compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:22: error: value of type 'XCTestCase' has no member 'record'
57 | let methodName = getNameOfExtecutedTestCase(testCase)
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
| `- error: value of type 'XCTestCase' has no member 'record'
60 | type: .system,
61 | compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:60:24: error: cannot infer contextual base in reference to member 'system'
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
60 | type: .system,
| `- error: cannot infer contextual base in reference to member 'system'
61 | compactDescription: message,
62 | detailedDescription: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:62:38: error: 'nil' requires a contextual type
60 | type: .system,
61 | compactDescription: message,
62 | detailedDescription: nil,
| `- error: 'nil' requires a contextual type
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
64 | associatedError: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:37: error: cannot infer contextual base in reference to member 'init'
61 | compactDescription: message,
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
| `- error: cannot infer contextual base in reference to member 'init'
64 | associatedError: nil,
65 | attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:53: error: cannot infer contextual base in reference to member 'init'
61 | compactDescription: message,
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
| `- error: cannot infer contextual base in reference to member 'init'
64 | associatedError: nil,
65 | attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:64:34: error: 'nil' requires a contextual type
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
64 | associatedError: nil,
| `- error: 'nil' requires a contextual type
65 | attachments: []
66 | ))
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:8:24: warning: static property 'currentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public class SwiftyMockyTestObserver: NSObject, XCTestObservation {
7 | /// [Internal] Current test case
8 | private static var currentTestCase: XCTestCase?
| |- warning: static property 'currentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'currentTestCase' 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 | /// [Internal] Setup observing once
10 | private static let setupBlock: (() -> Void) = {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:10:24: warning: static property 'setupBlock' is not concurrency-safe because non-'Sendable' type '() -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
8 | private static var currentTestCase: XCTestCase?
9 | /// [Internal] Setup observing once
10 | private static let setupBlock: (() -> Void) = {
| |- warning: static property 'setupBlock' is not concurrency-safe because non-'Sendable' type '() -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'setupBlock' 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
11 | Matcher.fatalErrorHandler = SwiftyMockyTestObserver.handleFatalError
12 | let addObserver = { XCTestObservationCenter.shared.addTestObserver(SwiftyMockyTestObserver()) }
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'fatalErrorHandler' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:17:17: warning: capture of 'addObserver' with non-sendable type '() -> ()' in a `@Sendable` closure; this is an error in the Swift 6 language mode
15 | } else {
16 | DispatchQueue.main.async {
17 | addObserver()
| |- warning: capture of 'addObserver' with non-sendable type '() -> ()' 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'
18 | }
19 | }
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:29: error: cannot find 'XCTIssue' in scope
57 | let methodName = getNameOfExtecutedTestCase(testCase)
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
| `- error: cannot find 'XCTIssue' in scope
60 | type: .system,
61 | compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:22: error: value of type 'XCTestCase' has no member 'record'
57 | let methodName = getNameOfExtecutedTestCase(testCase)
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
| `- error: value of type 'XCTestCase' has no member 'record'
60 | type: .system,
61 | compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:60:24: error: cannot infer contextual base in reference to member 'system'
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
60 | type: .system,
| `- error: cannot infer contextual base in reference to member 'system'
61 | compactDescription: message,
62 | detailedDescription: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:62:38: error: 'nil' requires a contextual type
60 | type: .system,
61 | compactDescription: message,
62 | detailedDescription: nil,
| `- error: 'nil' requires a contextual type
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
64 | associatedError: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:37: error: cannot infer contextual base in reference to member 'init'
61 | compactDescription: message,
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
| `- error: cannot infer contextual base in reference to member 'init'
64 | associatedError: nil,
65 | attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:53: error: cannot infer contextual base in reference to member 'init'
61 | compactDescription: message,
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
| `- error: cannot infer contextual base in reference to member 'init'
64 | associatedError: nil,
65 | attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:64:34: error: 'nil' requires a contextual type
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
64 | associatedError: nil,
| `- error: 'nil' requires a contextual type
65 | attachments: []
66 | ))
[104/133] Compiling Shared Parameter.swift
/host/spi-builder-workspace/Sources/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
[105/133] Compiling Shared Policies.swift
[106/133] Compiling Commander Commands.swift
[107/133] Compiling Commander CommandType.swift
BUILD FAILURE 6.0 linux