Build Information
Failed to build swiftymocky, reference 4.2.0 (1e81c0
), with Swift 6.0 for Linux on 29 Nov 2024 20:41:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MakeAWishFoundation/SwiftyMocky.git
Reference: 4.2.0
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
* tag 4.2.0 -> FETCH_HEAD
HEAD is now at 1e81c0c Deploy 4.2.0
Cloned https://github.com/MakeAWishFoundation/SwiftyMocky.git
Revision (git rev-parse @):
1e81c0c566c26d2d4e4cc2d799afad7d3ef931ab
SUCCESS checkout https://github.com/MakeAWishFoundation/SwiftyMocky.git at 4.2.0
========================================
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-4609320-0":/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/JohnSundell/ShellOut
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/kylef/Commander
Fetching https://github.com/luoxiu/Chalk
Fetching https://github.com/tuist/xcodeproj
[1/1588] Fetching commander
[637/2548] Fetching commander, shellout
[2549/3959] Fetching commander, shellout, pathkit
[3735/4288] Fetching commander, shellout, pathkit, chalk
Fetched https://github.com/kylef/Commander from cache (0.23s)
Fetched https://github.com/luoxiu/Chalk from cache (0.23s)
[1/21990] Fetching xcodeproj
[2860/31926] Fetching xcodeproj, yams
Fetched https://github.com/kylef/PathKit from cache (1.03s)
Fetched https://github.com/JohnSundell/ShellOut from cache (1.18s)
Fetched https://github.com/tuist/xcodeproj from cache (1.21s)
Fetched https://github.com/jpsim/Yams from cache (1.21s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (1.78s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.42s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.18s)
Computing version for https://github.com/luoxiu/Chalk
Computed https://github.com/luoxiu/Chalk at 0.2.1 (0.42s)
Fetching https://github.com/luoxiu/Rainbow
[1/234] Fetching rainbow
Fetched https://github.com/luoxiu/Rainbow from cache (0.15s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.42s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (1.78s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.43s)
Computing version for https://github.com/luoxiu/Rainbow
Computed https://github.com/luoxiu/Rainbow at 0.1.1 (0.42s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 8.24.11 (0.38s)
Fetching https://github.com/tadija/AEXML.git
[1/2102] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.22s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.42s)
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/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
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/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
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/tuist/xcodeproj
Working copy of https://github.com/tuist/xcodeproj resolved at 8.24.11
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 3.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/kylef/Commander
Working copy of https://github.com/kylef/Commander resolved at 0.9.2
Building for debugging...
[0/33] Write sources
[14/33] Compiling reader.c
[15/33] Compiling writer.c
[16/33] Compiling parser.c
[17/33] Compiling api.c
[18/33] Compiling emitter.c
[19/33] Write swift-version-24593BA9C3E375BF.txt
[20/33] Compiling scanner.c
[22/100] Emitting module ShellOut
[23/100] Compiling Shared Count.swift
[24/100] Compiling Shared Countable.swift
[25/100] Compiling Commander ArgumentParser.swift
[26/100] Emitting module Commander
[27/101] Compiling Commander Group.swift
[28/101] Compiling Commander Command.swift
[29/101] Compiling Commander CommandRunner.swift
[30/101] Compiling SwiftyPrototype Parameter+Optionals.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)] = []
[31/101] Compiling SwiftyPrototype Parameter.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)] = []
[32/103] Compiling Rainbow Color+Cocoa.swift
[33/103] Emitting module Rainbow
[34/103] Compiling Rainbow Color.swift
[35/103] Compiling Rainbow NSRegularExpression.swift
[36/103] Compiling AEXML Error.swift
[37/103] Emitting module AEXML
[38/103] Compiling AEXML Document.swift
[39/103] Compiling AEXML Element.swift
[40/103] Compiling AEXML Options.swift
[41/103] Compiling AEXML Parser.swift
[42/104] Compiling SwiftyMocky Policies.swift
[43/104] Compiling SwiftyMocky Stubbing.swift
[44/104] Compiling SwiftyPrototype Policies.swift
/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 |
[45/104] Compiling SwiftyPrototype Stubbing.swift
/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 |
[46/104] Compiling SwiftyMocky MockyAssert.swift
/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 |
[48/104] Compiling ShellOut ShellOut.swift
[49/105] Emitting module Shared
/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)] = []
/host/spi-builder-workspace/Sources/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/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/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)
[50/105] Compiling Shared Parameter+Compare.swift
[51/105] Compiling Shared Parameter+Optionals.swift
[52/105] Compiling Shared Mock+Assertions.swift
/host/spi-builder-workspace/Sources/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/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)
[53/105] Compiling Shared Mock.swift
/host/spi-builder-workspace/Sources/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/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)
[54/105] Compiling Shared GenericAttribute.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)] = []
/host/spi-builder-workspace/Sources/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.
[55/105] Compiling Shared Matcher.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)] = []
/host/spi-builder-workspace/Sources/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.
[58/106] Compiling Shared Policies.swift
[59/106] Compiling Shared Stubbing.swift
[60/106] Compiling Rainbow Colors.swift
[61/106] Compiling Rainbow Double.swift
[62/107] Compiling SwiftyMocky Utils.swift
/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: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 | ))
[63/107] Compiling SwiftyMocky SwiftyMockyTestObserver.swift
/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: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 | ))
[65/107] Compiling Commander Error.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)
[71/123] Compiling Yams Representer.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: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)
[72/123] Compiling Yams Resolver.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: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)
[73/123] Compiling Yams Mark.swift
[74/123] Compiling Yams Node.Mapping.swift
[75/123] Compiling Yams Emitter.swift
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:5:1: warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
3 | // MARK: - ExpressibleByStringLiteral
4 |
5 | extension Optional:
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | ExpressibleByStringLiteral,
7 | ExpressibleByExtendedGraphemeClusterLiteral,
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:61:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
59 | // MARK: - ExpressibleByIntegerLiteral
60 |
61 | extension Optional: ExpressibleByIntegerLiteral where Wrapped: ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
62 | public typealias IntegerLiteralType = Wrapped.IntegerLiteralType
63 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:79:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
77 | // MARK: - ExpressibleByBooleanLiteral
78 |
79 | extension Optional: ExpressibleByBooleanLiteral where Wrapped: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
80 | public typealias BooleanLiteralType = Wrapped.BooleanLiteralType
81 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:97:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
95 | // MARK: - ExpressibleByFloatLiteral
96 |
97 | extension Optional: ExpressibleByFloatLiteral where Wrapped: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
98 | public typealias FloatLiteralType = Wrapped.FloatLiteralType
99 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:129:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
127 | }
128 |
129 | extension Optional: ExpressibleByArrayLiteral where Wrapped: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
130 | public typealias ArrayLiteralElement = Wrapped.ArrayLiteralElement
131 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:154:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
152 | }
153 |
154 | extension Optional: ExpressibleByDictionaryLiteral where Wrapped: ExpressibleByDictionaryLiteral, Wrapped.Key: Hashable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
155 | public typealias Key = Wrapped.Key
156 | public typealias Value = Wrapped.Value
[76/123] Compiling Yams Encoder.swift
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:5:1: warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
3 | // MARK: - ExpressibleByStringLiteral
4 |
5 | extension Optional:
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | ExpressibleByStringLiteral,
7 | ExpressibleByExtendedGraphemeClusterLiteral,
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:61:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
59 | // MARK: - ExpressibleByIntegerLiteral
60 |
61 | extension Optional: ExpressibleByIntegerLiteral where Wrapped: ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
62 | public typealias IntegerLiteralType = Wrapped.IntegerLiteralType
63 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:79:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
77 | // MARK: - ExpressibleByBooleanLiteral
78 |
79 | extension Optional: ExpressibleByBooleanLiteral where Wrapped: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
80 | public typealias BooleanLiteralType = Wrapped.BooleanLiteralType
81 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:97:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
95 | // MARK: - ExpressibleByFloatLiteral
96 |
97 | extension Optional: ExpressibleByFloatLiteral where Wrapped: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
98 | public typealias FloatLiteralType = Wrapped.FloatLiteralType
99 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:129:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
127 | }
128 |
129 | extension Optional: ExpressibleByArrayLiteral where Wrapped: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
130 | public typealias ArrayLiteralElement = Wrapped.ArrayLiteralElement
131 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:154:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
152 | }
153 |
154 | extension Optional: ExpressibleByDictionaryLiteral where Wrapped: ExpressibleByDictionaryLiteral, Wrapped.Key: Hashable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
155 | public typealias Key = Wrapped.Key
156 | public typealias Value = Wrapped.Value
[77/123] 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/Parameter+Literals.swift:5:1: warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
3 | // MARK: - ExpressibleByStringLiteral
4 |
5 | extension Optional:
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | ExpressibleByStringLiteral,
7 | ExpressibleByExtendedGraphemeClusterLiteral,
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:61:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
59 | // MARK: - ExpressibleByIntegerLiteral
60 |
61 | extension Optional: ExpressibleByIntegerLiteral where Wrapped: ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
62 | public typealias IntegerLiteralType = Wrapped.IntegerLiteralType
63 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:79:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
77 | // MARK: - ExpressibleByBooleanLiteral
78 |
79 | extension Optional: ExpressibleByBooleanLiteral where Wrapped: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
80 | public typealias BooleanLiteralType = Wrapped.BooleanLiteralType
81 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:97:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
95 | // MARK: - ExpressibleByFloatLiteral
96 |
97 | extension Optional: ExpressibleByFloatLiteral where Wrapped: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
98 | public typealias FloatLiteralType = Wrapped.FloatLiteralType
99 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:129:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
127 | }
128 |
129 | extension Optional: ExpressibleByArrayLiteral where Wrapped: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
130 | public typealias ArrayLiteralElement = Wrapped.ArrayLiteralElement
131 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:154:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
152 | }
153 |
154 | extension Optional: ExpressibleByDictionaryLiteral where Wrapped: ExpressibleByDictionaryLiteral, Wrapped.Key: Hashable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
155 | public typealias Key = Wrapped.Key
156 | public typealias Value = Wrapped.Value
/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()) }
[78/123] Compiling Yams Constructor.swift
[79/123] Compiling Yams Decoder.swift
[80/123] Emitting module PathKit
[81/123] Compiling PathKit PathKit.swift
[82/124] 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)] = []
[83/124] Compiling Commander CommandType.swift
BUILD FAILURE 6.0 linux