Build Information
Successful build of swiftymocky, reference 4.2.0 (1e81c0
), with Swift 6.0 for macOS (SPM) on 3 Nov 2024 12:15:43 UTC.
Swift 6 data race errors: 28
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MakeAWishFoundation/SwiftyMocky.git
Reference: 4.2.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
Fetching https://github.com/JohnSundell/ShellOut
Fetching https://github.com/luoxiu/Rainbow
Fetching https://github.com/tuist/xcodeproj
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/luoxiu/Chalk
Fetching https://github.com/kylef/PathKit
[1/329] Fetching chalk
[41/1289] Fetching chalk, shellout
[52/2700] Fetching chalk, shellout, pathkit
[422/2934] Fetching chalk, shellout, pathkit, rainbow
[814/3955] Fetching chalk, shellout, pathkit, rainbow, spectre
[1882/13857] Fetching chalk, shellout, pathkit, rainbow, spectre, yams
Fetched https://github.com/JohnSundell/ShellOut from cache (0.91s)
Fetching https://github.com/tadija/AEXML.git
[2558/34746] Fetching chalk, pathkit, rainbow, spectre, yams, xcodeproj
[20020/36848] Fetching chalk, pathkit, rainbow, spectre, yams, xcodeproj, aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.95s)
Fetching https://github.com/kylef/Commander
[29323/34746] Fetching chalk, pathkit, rainbow, spectre, yams, xcodeproj
Fetched https://github.com/kylef/Spectre.git from cache (1.98s)
[28482/33725] Fetching chalk, pathkit, rainbow, yams, xcodeproj
Fetched https://github.com/jpsim/Yams from cache (1.98s)
Fetched https://github.com/kylef/PathKit from cache (1.98s)
Fetched https://github.com/luoxiu/Chalk from cache (1.98s)
[17058/22083] Fetching rainbow, xcodeproj
Fetched https://github.com/luoxiu/Rainbow from cache (2.26s)
Fetched https://github.com/tuist/xcodeproj from cache (2.26s)
[1/1588] Fetching commander
Fetched https://github.com/kylef/Commander from cache (0.97s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (2.67s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.64s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (2.61s)
Computing version for https://github.com/luoxiu/Chalk
Computed https://github.com/luoxiu/Chalk at 0.2.1 (0.66s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 8.3.1 (0.63s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.64s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.66s)
Computing version for https://github.com/luoxiu/Rainbow
Computed https://github.com/luoxiu/Rainbow at 0.1.1 (0.67s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.70s)
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/luoxiu/Rainbow
Working copy of https://github.com/luoxiu/Rainbow resolved at 0.1.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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 3.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/tuist/xcodeproj
Working copy of https://github.com/tuist/xcodeproj resolved at 8.3.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/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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "swiftymocky",
"name": "swiftymocky",
"url": "https://github.com/MakeAWishFoundation/SwiftyMocky.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftyMocky",
"dependencies": [
{
"identity": "shellout",
"name": "ShellOut",
"url": "https://github.com/JohnSundell/ShellOut",
"version": "2.3.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ShellOut",
"dependencies": [
]
},
{
"identity": "xcodeproj",
"name": "XcodeProj",
"url": "https://github.com/tuist/xcodeproj",
"version": "8.24.8",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xcodeproj",
"dependencies": [
{
"identity": "aexml",
"name": "AEXML",
"url": "https://github.com/tadija/AEXML.git",
"version": "4.6.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/AEXML",
"dependencies": [
]
},
{
"identity": "pathkit",
"name": "PathKit",
"url": "https://github.com/kylef/PathKit",
"version": "1.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
"dependencies": [
{
"identity": "spectre",
"name": "Spectre",
"url": "https://github.com/kylef/Spectre.git",
"version": "0.10.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
"dependencies": [
]
}
]
}
]
},
{
"identity": "chalk",
"name": "Chalk",
"url": "https://github.com/luoxiu/Chalk",
"version": "0.2.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Chalk",
"dependencies": [
{
"identity": "rainbow",
"name": "Rainbow",
"url": "https://github.com/luoxiu/Rainbow",
"version": "0.1.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Rainbow",
"dependencies": [
]
}
]
},
{
"identity": "commander",
"name": "Commander",
"url": "https://github.com/kylef/Commander",
"version": "0.9.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Commander",
"dependencies": [
{
"identity": "spectre",
"name": "Spectre",
"url": "https://github.com/kylef/Spectre.git",
"version": "0.10.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
"dependencies": [
]
}
]
},
{
"identity": "pathkit",
"name": "PathKit",
"url": "https://github.com/kylef/PathKit",
"version": "1.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
"dependencies": [
{
"identity": "spectre",
"name": "Spectre",
"url": "https://github.com/kylef/Spectre.git",
"version": "0.10.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
"dependencies": [
]
}
]
},
{
"identity": "yams",
"name": "Yams",
"url": "https://github.com/jpsim/Yams",
"version": "3.0.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Yams",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/MakeAWishFoundation/SwiftyMocky.git
[1/9410] Fetching swiftymocky
Fetched https://github.com/MakeAWishFoundation/SwiftyMocky.git from cache (18.23s)
Fetching https://github.com/kylef/Commander from cache
Fetching https://github.com/tuist/xcodeproj from cache
Fetching https://github.com/JohnSundell/ShellOut from cache
Fetching https://github.com/kylef/PathKit from cache
Fetching https://github.com/jpsim/Yams from cache
Fetching https://github.com/luoxiu/Chalk from cache
Fetched https://github.com/luoxiu/Chalk from cache (0.60s)
Fetched https://github.com/tuist/xcodeproj from cache (0.60s)
Fetched https://github.com/kylef/Commander from cache (0.60s)
Fetched https://github.com/JohnSundell/ShellOut from cache (0.63s)
Fetched https://github.com/kylef/PathKit from cache (0.63s)
Fetched https://github.com/jpsim/Yams from cache (0.63s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (0.03s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.02s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.47s)
Computing version for https://github.com/luoxiu/Chalk
Computed https://github.com/luoxiu/Chalk at 0.2.1 (0.02s)
Fetching https://github.com/luoxiu/Rainbow from cache
Fetched https://github.com/luoxiu/Rainbow from cache (0.46s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.03s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (0.02s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.03s)
Computing version for https://github.com/luoxiu/Rainbow
Computed https://github.com/luoxiu/Rainbow at 0.1.1 (0.02s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 8.24.8 (0.49s)
Fetching https://github.com/tadija/AEXML.git from cache
Fetched https://github.com/tadija/AEXML.git from cache (0.46s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.02s)
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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
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/luoxiu/Chalk
Working copy of https://github.com/luoxiu/Chalk resolved at 0.2.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/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
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/MakeAWishFoundation/SwiftyMocky.git
Working copy of https://github.com/MakeAWishFoundation/SwiftyMocky.git resolved at 4.2.0 (1e81c0c)
Found 6 product dependencies
- ShellOut
- XcodeProj
- Chalk
- Commander
- PathKit
- Yams
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/MakeAWishFoundation/SwiftyMocky.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/25] Write swiftymocky-entitlement.plist
[0/25] Write sources
[15/25] Write swift-version--7754E27361AE5C74.txt
[16/68] Compiling reader.c
[17/68] Compiling writer.c
[18/68] Compiling api.c
[19/68] Compiling emitter.c
[20/68] Compiling parser.c
[21/122] Compiling scanner.c
[23/138] Emitting module Mocky_Example_macOS
[24/141] Compiling Yams YamlError.swift
[25/141] Compiling Yams Tag.swift
[26/142] Compiling Yams shim.swift
[27/142] Compiling Commander Group.swift
[28/142] Compiling SwiftyPrototype Stubbing.swift
[29/143] Compiling AEXML Options.swift
[30/143] Compiling AEXML Error.swift
[31/143] Compiling AEXML Parser.swift
[32/143] Compiling Shared Parameter.swift
/Users/admin/builder/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)] = []
[33/143] Compiling SwiftyPrototype Policies.swift
[34/144] Emitting module AEXML
[35/144] Compiling AEXML Element.swift
[36/144] Compiling AEXML Document.swift
[37/144] Compiling ShellOut ShellOut.swift
[38/144] Emitting module ShellOut
[39/144] Compiling Shared Mock+Assertions.swift
/Users/admin/builder/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)
/Users/admin/builder/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)
[40/144] Compiling Shared Mock.swift
[41/144] Compiling PathKit PathKit.swift
[42/144] Emitting module PathKit
[43/144] Compiling SwiftyPrototype Parameter+Optionals.swift
[44/144] Compiling Yams Node.swift
[45/144] Compiling Yams Parser.swift
[46/144] Compiling SwiftyPrototype Parameter.swift
/Users/admin/builder/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)] = []
[47/144] Compiling SwiftyPrototype Utils.swift
[48/144] Compiling Shared Policies.swift
[49/144] Compiling Shared Stubbing.swift
[50/144] Compiling Mocky_Example_macOS SelfConstrainedProtocol.swift
[51/144] Compiling Mocky_Example_macOS UnnamedAttributesProtocol.swift
[52/144] Compiling Mocky_Example_macOS VariadicParametersProtocol.swift
[53/144] Compiling Yams Emitter.swift
[54/144] Compiling Yams Encoder.swift
[55/144] Compiling Yams Mark.swift
[56/144] Compiling Yams Node.Mapping.swift
/Users/admin/builder/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)] = []
/Users/admin/builder/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.
/Users/admin/builder/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)] = []
/Users/admin/builder/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.
[61/144] Emitting module Shared
/Users/admin/builder/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)] = []
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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)
[62/144] Compiling Shared Parameter+Optionals.swift
[63/144] Compiling Shared Parameter+Compare.swift
[67/144] Compiling Yams Node.Scalar.swift
/Users/admin/builder/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 |
[70/144] Compiling Yams Node.Sequence.swift
/Users/admin/builder/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 |
/Users/admin/builder/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)] = []
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)] = []
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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)
[73/144] Emitting module SwiftyPrototype
/Users/admin/builder/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 |
/Users/admin/builder/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)] = []
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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)
[77/144] Compiling SwiftyPrototype SwiftyMockyTestObserver.swift
[78/145] Compiling Mocky_Example_macOS MultiThreadAccess.swift
[79/145] Compiling Mocky_Example_macOS NonSwiftProtocol.swift
[80/145] Compiling Mocky_Example_macOS ProtocolWithAttributes.swift
[81/145] Compiling Mocky_Example_macOS ProtocolsWithGenerics.swift
[82/145] Compiling Mocky_Example_macOS ProtocolWithProperties.swift
[83/145] Compiling Mocky_Example_macOS ProtocolMethodsThatDifferOnlyInReturnType.swift
[84/145] Compiling Mocky_Example_macOS SuggestionRepository.swift
[85/145] Compiling Mocky_Example_macOS ProtocolsWithCollections.swift
[86/145] Compiling Mocky_Example_macOS SimpleProtocols.swift
[89/145] Compiling Yams Representer.swift
[90/145] Compiling Yams Resolver.swift
[91/145] Compiling Yams Constructor.swift
[92/145] Compiling Yams Decoder.swift
[93/145] Compiling Mocky_Example_macOS ProtocolWithGenericConstraints.swift
[94/145] Compiling Mocky_Example_macOS ProtocolWithThrowingMethods.swift
[95/145] Compiling Mocky_Example_macOS ProtocolsWithCustomAttributes.swift
[96/145] Compiling Mocky_Example_macOS ProtocolWithStaticMembers.swift
[97/145] Compiling Mocky_Example_macOS ProtocolsWithClosures.swift
[98/145] Compiling Mocky_Example_macOS ProtocolWithInitializers.swift
[99/230] Compiling Commander Commands.swift
[100/230] Compiling Commander CommandType.swift
[101/230] Compiling Commander Command.swift
[102/230] Compiling Commander ArgumentDescription.swift
[103/230] Compiling Commander ArgumentParser.swift
[104/230] Emitting module Commander
[105/230] Compiling Commander CommandRunner.swift
[106/230] Compiling Commander Error.swift
[107/230] Compiling Commander ArgumentConvertible.swift
[108/230] Compiling Yams String+Yams.swift
[109/230] Emitting module Yams
[110/230] Compiling XcodeProj PBXLegacyTarget.swift
[111/230] Compiling XcodeProj PBXNativeTarget.swift
[112/230] Compiling XcodeProj XCSwiftPackageProductDependency.swift
[113/230] Compiling XcodeProj PBXAggregateTarget.swift
[114/230] Compiling XcodeProj PBXProductType.swift
[115/230] Compiling XcodeProj PBXReferenceProxy.swift
[116/230] Compiling XcodeProj PBXTarget.swift
[117/230] Compiling XcodeProj PBXTargetDependency.swift
[118/230] Compiling Shared Utils.swift
[119/230] Compiling Rainbow Double.swift
[120/230] Compiling Rainbow Colors.swift
[121/230] Compiling Rainbow NSRegularExpression.swift
[122/230] Compiling Rainbow Color.swift
[123/230] Compiling XcodeProj XCScheme+AditionalOption.swift
[124/230] Compiling XcodeProj XCScheme+AnalyzeAction.swift
[125/230] Compiling XcodeProj XCScheme+ArchiveAction.swift
[126/230] Compiling XcodeProj XCScheme+BuildAction.swift
[127/230] Compiling XcodeProj XCScheme+BuildableProductRunnable.swift
[128/230] Compiling XcodeProj XCScheme+BuildableReference.swift
[129/230] Compiling XcodeProj XCScheme+CommandLineArguments.swift
[130/230] Compiling XcodeProj XCScheme+EnvironmentVariable.swift
[131/230] Compiling XcodeProj XCScheme+ExecutionAction.swift
[132/239] Compiling XcodeProj Sourcery.swift
[133/239] Compiling XcodeProj XCRemoteSwiftPackageReference.swift
[134/239] Compiling XcodeProj PBXProject.swift
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
[135/239] Compiling XcodeProj Equality.generated.swift
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
[136/239] Emitting module SwiftyMocky
/Users/admin/builder/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 |
/Users/admin/builder/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,
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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)] = []
/Users/admin/builder/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.
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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'
/Users/admin/builder/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()) }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:17:17: warning: capture of 'addObserver' with non-sendable type '() -> Void' 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 '() -> Void' 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 | }
[137/240] Compiling XcodeProj WorkspaceSettings.swift
/Users/admin/builder/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)] = []
[138/240] Compiling XcodeProj XCBreakpointList.swift
/Users/admin/builder/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)] = []
[139/240] Compiling SwiftyMocky Utils.swift
[140/240] Compiling SwiftyMocky Stubbing.swift
/Users/admin/builder/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)] = []
/Users/admin/builder/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.
/Users/admin/builder/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)] = []
/Users/admin/builder/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.
[145/240] Emitting module Rainbow
[146/240] Compiling Rainbow Color+Cocoa.swift
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
[151/248] Compiling SwiftyMocky SwiftyMockyTestObserver.swift
/Users/admin/builder/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'
/Users/admin/builder/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()) }
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:17:17: warning: capture of 'addObserver' with non-sendable type '() -> Void' 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 '() -> Void' 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 | }
[152/248] Compiling Chalk TerminalSupportedColor.swift
[153/248] Compiling Chalk TerminalString.swift
[154/248] Compiling Chalk String+RegRxp.swift
[155/248] Compiling Chalk TerminalStringConvertible.swift
[156/248] Compiling Chalk Style.swift
[157/248] Compiling Chalk Color.swift
[158/248] Emitting module Chalk
[159/248] Compiling Chalk Modifier.swift
[160/248] Compiling XcodeProj String+md5.swift
[161/248] Compiling XcodeProj BuildPhase.swift
[162/248] Compiling XcodeProj PBXBuildFile.swift
[163/248] Compiling XcodeProj PBXBuildPhase.swift
[164/248] Compiling XcodeProj PBXBuildRule.swift
[165/248] Compiling XcodeProj PBXCopyFilesBuildPhase.swift
[166/248] Compiling XcodeProj PBXFrameworksBuildPhase.swift
[167/248] Compiling XcodeProj PBXHeadersBuildPhase.swift
[168/248] Compiling XcodeProj PBXResourcesBuildPhase.swift
[169/248] Compiling XcodeProj PBXRezBuildPhase.swift
[170/248] Compiling XcodeProj PlistValue.swift
[171/248] Compiling XcodeProj ReferenceGenerator.swift
[172/248] Compiling XcodeProj XCConfig.swift
[173/248] Compiling XcodeProj XCWorkspace.swift
[174/248] Compiling XcodeProj XCWorkspaceData.swift
[175/248] Compiling XcodeProj XCWorkspaceDataElement.swift
[176/248] Compiling XcodeProj XCWorkspaceDataElementLocationType.swift
[177/248] Compiling XcodeProj XCWorkspaceDataFileRef.swift
[178/248] Compiling XcodeProj XCWorkspaceDataGroup.swift
[193/248] Compiling XcodeProj XCSharedData.swift
[194/248] Compiling XcodeProj Xcode.swift
[195/248] Compiling XcodeProj XcodeProj.swift
[196/248] Compiling XcodeProj Writable.swift
[197/248] Compiling XcodeProj Errors.swift
[198/248] Compiling XcodeProj AEXML+XcodeFormat.swift
[199/248] Compiling XcodeProj Array+Extras.swift
[200/248] Compiling XcodeProj Bool+Extras.swift
[201/248] Compiling XcodeProj Dictionary+Enumerate.swift
[202/248] Compiling XcodeProj Dictionary+Extras.swift
[203/248] Compiling XcodeProj KeyedDecodingContainer+Additions.swift
[204/248] Compiling XcodeProj NSRecursiveLock+Sync.swift
[205/248] Compiling XcodeProj Path+Extras.swift
[206/248] Compiling XcodeProj String+Utils.swift
[207/248] Compiling XcodeProj PBXShellScriptBuildPhase.swift
[208/248] Compiling XcodeProj PBXSourcesBuildPhase.swift
[209/248] Compiling XcodeProj BuildSettings.swift
[210/248] Compiling XcodeProj XCBuildConfiguration.swift
[211/248] Compiling XcodeProj XCConfigurationList.swift
[212/248] Compiling XcodeProj PBXContainerItem.swift
[213/248] Compiling XcodeProj PBXContainerItemProxy.swift
[214/248] Compiling XcodeProj PBXFileElement.swift
[215/248] Compiling XcodeProj PBXFileReference.swift
[216/248] Compiling XcodeProj PBXGroup.swift
[217/248] Compiling XcodeProj PBXSourceTree.swift
[218/248] Compiling XcodeProj PBXVariantGroup.swift
[219/248] Compiling XcodeProj XCVersionGroup.swift
[220/248] Compiling XcodeProj PBXObject.swift
[221/248] Compiling XcodeProj PBXObjectParser.swift
[222/248] Compiling XcodeProj PBXObjectReference.swift
[223/248] Compiling XcodeProj PBXObjects.swift
[224/248] Compiling XcodeProj PBXOutputSettings.swift
[225/248] Compiling XcodeProj PBXProj.swift
[226/248] Compiling XcodeProj PBXProjEncoder.swift
[227/248] Compiling XcodeProj XCScheme+LaunchAction.swift
[228/248] Compiling XcodeProj XCScheme+LocationScenarioReference.swift
[229/248] Compiling XcodeProj XCScheme+PathRunnable.swift
[230/248] Compiling XcodeProj XCScheme+ProfileAction.swift
[231/248] Compiling XcodeProj XCScheme+RemoteRunnable.swift
[232/248] Compiling XcodeProj XCScheme+Runnable.swift
[233/248] Compiling XcodeProj XCScheme+SerialAction.swift
[234/248] Compiling XcodeProj XCScheme+StoreKitConfigurationFileReference.swift
[235/248] Compiling XcodeProj XCScheme+TestAction.swift
[236/248] Compiling XcodeProj XCScheme+TestItem.swift
[237/248] Compiling XcodeProj XCScheme+TestPlanReference.swift
[238/248] Compiling XcodeProj XCScheme+TestableReference.swift
[239/248] Compiling XcodeProj XCScheme.swift
[240/248] Compiling XcodeProj BuildSettingsProvider.swift
[241/248] Compiling XcodeProj CommentedString.swift
[242/248] Compiling XcodeProj Decoders.swift
[243/248] Compiling XcodeProj JSONDecoding.swift
[244/248] Compiling XcodeProj PBXBatchUpdater.swift
[245/248] Emitting module XcodeProj
[246/270] Compiling SwiftyMockyCLICore SelectableOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:4:12: warning: var 'kSwiftyMockyCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | import PathKit
3 |
4 | public var kSwiftyMockyCommand = Path("mocky")
| |- warning: var 'kSwiftyMockyCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kSwiftyMockyCommand' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kSwiftyMockyCommand' 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
5 | public var kSourceryVersion = "1.8.0"
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:5:12: warning: var 'kSourceryVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public var kSwiftyMockyCommand = Path("mocky")
5 | public var kSourceryVersion = "1.8.0"
| |- warning: var 'kSourceryVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kSourceryVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kSourceryVersion' 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
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
7 |
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:6:12: warning: var 'kDefaultSourceryCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public var kSwiftyMockyCommand = Path("mocky")
5 | public var kSourceryVersion = "1.8.0"
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
| |- warning: var 'kDefaultSourceryCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kDefaultSourceryCommand' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kDefaultSourceryCommand' 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 |
8 | public protocol AutoMockable {}
[247/270] Compiling SwiftyMockyCLICore Global.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:4:12: warning: var 'kSwiftyMockyCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | import PathKit
3 |
4 | public var kSwiftyMockyCommand = Path("mocky")
| |- warning: var 'kSwiftyMockyCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kSwiftyMockyCommand' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kSwiftyMockyCommand' 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
5 | public var kSourceryVersion = "1.8.0"
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:5:12: warning: var 'kSourceryVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public var kSwiftyMockyCommand = Path("mocky")
5 | public var kSourceryVersion = "1.8.0"
| |- warning: var 'kSourceryVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kSourceryVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kSourceryVersion' 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
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
7 |
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:6:12: warning: var 'kDefaultSourceryCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public var kSwiftyMockyCommand = Path("mocky")
5 | public var kSourceryVersion = "1.8.0"
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
| |- warning: var 'kDefaultSourceryCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kDefaultSourceryCommand' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kDefaultSourceryCommand' 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 |
8 | public protocol AutoMockable {}
[248/272] Compiling SwiftyMockyCLICore Booloption.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/InteractiveOptions/ProjectOption.swift:8:24: warning: static property 'projects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public typealias RawValue = String
7 |
8 | private static var projects: [Path] = []
| |- warning: static property 'projects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'projects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'projects' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var rawValue: String
[249/272] Compiling SwiftyMockyCLICore ProjectOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/InteractiveOptions/ProjectOption.swift:8:24: warning: static property 'projects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public typealias RawValue = String
7 |
8 | private static var projects: [Path] = []
| |- warning: static property 'projects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'projects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'projects' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var rawValue: String
[250/272] Compiling SwiftyMockyCLICore Application.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/InstanceFactory.swift:5:37: warning: static property 'factory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public enum Instance {
5 | public internal(set) static var factory: InstanceFactory = InstanceFactoryConcrete()
| |- warning: static property 'factory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'factory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'factory' 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
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:7:27: warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
| |- warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allTypes' 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
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:8:27: warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
| |- warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mock' 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 | public static let prototype: AssetFile = Files.prototype
10 | }
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:9:27: warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
| |- warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prototype' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
[251/272] Compiling SwiftyMockyCLICore Assets.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/InstanceFactory.swift:5:37: warning: static property 'factory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public enum Instance {
5 | public internal(set) static var factory: InstanceFactory = InstanceFactoryConcrete()
| |- warning: static property 'factory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'factory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'factory' 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
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:7:27: warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
| |- warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allTypes' 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
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:8:27: warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
| |- warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mock' 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 | public static let prototype: AssetFile = Files.prototype
10 | }
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:9:27: warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
| |- warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prototype' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
[252/272] Compiling SwiftyMockyCLICore Messages.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/InstanceFactory.swift:5:37: warning: static property 'factory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public enum Instance {
5 | public internal(set) static var factory: InstanceFactory = InstanceFactoryConcrete()
| |- warning: static property 'factory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'factory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'factory' 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
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:7:27: warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
| |- warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allTypes' 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
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:8:27: warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
| |- warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mock' 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 | public static let prototype: AssetFile = Files.prototype
10 | }
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:9:27: warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
| |- warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prototype' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
[253/272] Compiling SwiftyMockyCLICore XCodeProj+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Message.swift:5:23: warning: static property 'indentString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public enum Message {
5 | public static var indentString = " "
| |- warning: static property 'indentString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indentString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'indentString' 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
6 | private static var indentCount = 0
7 | private static var count = 0
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Message.swift:6:24: warning: static property 'indentCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public enum Message {
5 | public static var indentString = " "
6 | private static var indentCount = 0
| |- warning: static property 'indentCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indentCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'indentCount' 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 | private static var count = 0
8 |
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Message.swift:7:24: warning: static property 'count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public static var indentString = " "
6 | private static var indentCount = 0
7 | private static var count = 0
| |- warning: static property 'count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'count' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'count' 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
8 |
9 | private static var indentation: String {
[254/272] Compiling SwiftyMockyCLICore Message.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Message.swift:5:23: warning: static property 'indentString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public enum Message {
5 | public static var indentString = " "
| |- warning: static property 'indentString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indentString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'indentString' 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
6 | private static var indentCount = 0
7 | private static var count = 0
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Message.swift:6:24: warning: static property 'indentCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public enum Message {
5 | public static var indentString = " "
6 | private static var indentCount = 0
| |- warning: static property 'indentCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indentCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'indentCount' 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 | private static var count = 0
8 |
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Message.swift:7:24: warning: static property 'count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public static var indentString = " "
6 | private static var indentCount = 0
7 | private static var count = 0
| |- warning: static property 'count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'count' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'count' 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
8 |
9 | private static var indentation: String {
[255/272] Compiling SwiftyMockyCLICore InstanceFactory.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/InstanceFactory.swift:5:37: warning: static property 'factory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public enum Instance {
5 | public internal(set) static var factory: InstanceFactory = InstanceFactoryConcrete()
| |- warning: static property 'factory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'factory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'factory' 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
6 | }
7 |
[256/272] Compiling SwiftyMockyCLICore AddingOption.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/InstanceFactory.swift:5:37: warning: static property 'factory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public enum Instance {
5 | public internal(set) static var factory: InstanceFactory = InstanceFactoryConcrete()
| |- warning: static property 'factory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'factory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'factory' 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
6 | }
7 |
[257/272] Emitting module SwiftyMockyCLICore
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:7:27: warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
| |- warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allTypes' 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
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:8:27: warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
| |- warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mock' 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 | public static let prototype: AssetFile = Files.prototype
10 | }
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:9:27: warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
| |- warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prototype' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:6:12: warning: var 'kDefaultSourceryCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public var kSwiftyMockyCommand = Path("mocky")
5 | public var kSourceryVersion = "1.8.0"
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
| |- warning: var 'kDefaultSourceryCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kDefaultSourceryCommand' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kDefaultSourceryCommand' 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 |
8 | public protocol AutoMockable {}
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:5:12: warning: var 'kSourceryVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public var kSwiftyMockyCommand = Path("mocky")
5 | public var kSourceryVersion = "1.8.0"
| |- warning: var 'kSourceryVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kSourceryVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kSourceryVersion' 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
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
7 |
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/InstanceFactory.swift:5:37: warning: static property 'factory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public enum Instance {
5 | public internal(set) static var factory: InstanceFactory = InstanceFactoryConcrete()
| |- warning: static property 'factory' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'factory' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'factory' 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
6 | }
7 |
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/InteractiveOptions/ProjectOption.swift:8:24: warning: static property 'projects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public typealias RawValue = String
7 |
8 | private static var projects: [Path] = []
| |- warning: static property 'projects' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'projects' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'projects' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | public var rawValue: String
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:4:12: warning: var 'kSwiftyMockyCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 | import PathKit
3 |
4 | public var kSwiftyMockyCommand = Path("mocky")
| |- warning: var 'kSwiftyMockyCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kSwiftyMockyCommand' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kSwiftyMockyCommand' 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
5 | public var kSourceryVersion = "1.8.0"
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Message.swift:5:23: warning: static property 'indentString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public enum Message {
5 | public static var indentString = " "
| |- warning: static property 'indentString' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indentString' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'indentString' 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
6 | private static var indentCount = 0
7 | private static var count = 0
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Message.swift:6:24: warning: static property 'indentCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public enum Message {
5 | public static var indentString = " "
6 | private static var indentCount = 0
| |- warning: static property 'indentCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indentCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'indentCount' 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 | private static var count = 0
8 |
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Message.swift:7:24: warning: static property 'count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
5 | public static var indentString = " "
6 | private static var indentCount = 0
7 | private static var count = 0
| |- warning: static property 'count' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'count' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'count' 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
8 |
9 | private static var indentation: String {
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/ShellOut+Extensions.swift:4:7: warning: class 'ProxyFileHandle' must restate inherited '@unchecked Sendable' conformance
2 |
3 | #if os(macOS)
4 | class ProxyFileHandle: FileHandle {
| `- warning: class 'ProxyFileHandle' must restate inherited '@unchecked Sendable' conformance
5 | override func write(_ data: Data) {
6 | FileHandle.standardOutput.write(data)
[258/272] Compiling SwiftyMockyCLICore ShellOut+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/ShellOut+Extensions.swift:4:7: warning: class 'ProxyFileHandle' must restate inherited '@unchecked Sendable' conformance
2 |
3 | #if os(macOS)
4 | class ProxyFileHandle: FileHandle {
| `- warning: class 'ProxyFileHandle' must restate inherited '@unchecked Sendable' conformance
5 | override func write(_ data: Data) {
6 | FileHandle.standardOutput.write(data)
[259/272] Compiling SwiftyMockyCLICore WorkingDirectory.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/ShellOut+Extensions.swift:4:7: warning: class 'ProxyFileHandle' must restate inherited '@unchecked Sendable' conformance
2 |
3 | #if os(macOS)
4 | class ProxyFileHandle: FileHandle {
| `- warning: class 'ProxyFileHandle' must restate inherited '@unchecked Sendable' conformance
5 | override func write(_ data: Data) {
6 | FileHandle.standardOutput.write(data)
[260/272] Compiling SwiftyMockyCLICore ProjectSetupController.swift
[261/272] Compiling SwiftyMockyCLICore MockfileInteractor.swift
[262/272] Compiling SwiftyMockyCLICore MockConfiguration.swift
[263/272] Compiling SwiftyMockyCLICore PathKit+Extensions.swift
[264/272] Compiling SwiftyMockyCLICore ProjectFile.swift
[265/272] Compiling SwiftyMockyCLICore Mockfile.swift
[266/272] Compiling SwiftyMockyCLICore SourceryConfiguration.swift
[267/272] Compiling SwiftyMockyCLICore GenerationController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:6:12: warning: var 'kDefaultSourceryCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public var kSwiftyMockyCommand = Path("mocky")
5 | public var kSourceryVersion = "1.8.0"
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
| |- warning: var 'kDefaultSourceryCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kDefaultSourceryCommand' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kDefaultSourceryCommand' 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 |
8 | public protocol AutoMockable {}
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:5:12: warning: var 'kSourceryVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public var kSwiftyMockyCommand = Path("mocky")
5 | public var kSourceryVersion = "1.8.0"
| |- warning: var 'kSourceryVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kSourceryVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kSourceryVersion' 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
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
7 |
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:7:27: warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
| |- warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allTypes' 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
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:8:27: warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
| |- warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mock' 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 | public static let prototype: AssetFile = Files.prototype
10 | }
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:9:27: warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
| |- warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prototype' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
[268/272] Compiling SwiftyMockyCLICore InspectionController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:6:12: warning: var 'kDefaultSourceryCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public var kSwiftyMockyCommand = Path("mocky")
5 | public var kSourceryVersion = "1.8.0"
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
| |- warning: var 'kDefaultSourceryCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kDefaultSourceryCommand' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kDefaultSourceryCommand' 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 |
8 | public protocol AutoMockable {}
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:5:12: warning: var 'kSourceryVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public var kSwiftyMockyCommand = Path("mocky")
5 | public var kSourceryVersion = "1.8.0"
| |- warning: var 'kSourceryVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kSourceryVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kSourceryVersion' 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
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
7 |
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:7:27: warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
| |- warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allTypes' 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
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:8:27: warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
| |- warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mock' 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 | public static let prototype: AssetFile = Files.prototype
10 | }
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:9:27: warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
| |- warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prototype' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
[269/272] Compiling SwiftyMockyCLICore MigrationController.swift
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:6:12: warning: var 'kDefaultSourceryCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public var kSwiftyMockyCommand = Path("mocky")
5 | public var kSourceryVersion = "1.8.0"
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
| |- warning: var 'kDefaultSourceryCommand' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kDefaultSourceryCommand' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kDefaultSourceryCommand' 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 |
8 | public protocol AutoMockable {}
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Utils/Global.swift:5:12: warning: var 'kSourceryVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | public var kSwiftyMockyCommand = Path("mocky")
5 | public var kSourceryVersion = "1.8.0"
| |- warning: var 'kSourceryVersion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'kSourceryVersion' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'kSourceryVersion' 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
6 | public var kDefaultSourceryCommand: (String) -> String = { version in "mint run krzysztofzablocki/Sourcery@\(version) sourcery"}
7 |
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:7:27: warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
5 |
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
| |- warning: static property 'allTypes' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allTypes' 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
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:8:27: warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
6 | public enum swifttemplate {
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
| |- warning: static property 'mock' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mock' 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 | public static let prototype: AssetFile = Files.prototype
10 | }
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
/Users/admin/builder/spi-builder-workspace/Sources/CLI/Core/Assets/Assets.swift:9:27: warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
7 | public static let allTypes: AssetFile = Files.allTypes
8 | public static let mock: AssetFile = Files.mock
9 | public static let prototype: AssetFile = Files.prototype
| |- warning: static property 'prototype' is not concurrency-safe because non-'Sendable' type 'any AssetFile' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'prototype' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
10 | }
11 |
:
28 | }
29 |
30 | public protocol AssetFile {
| `- note: protocol 'AssetFile' does not conform to the 'Sendable' protocol
31 |
32 | var name: String { get }
[270/274] Compiling SwiftyMockyCLI main.swift
[271/274] Emitting module SwiftyMockyCLI
[271/274] Write Objects.LinkFileList
[272/274] Linking swiftymocky
[273/274] Applying swiftymocky
Build complete! (79.04s)
Build complete.
{
"dependencies" : [
{
"identity" : "shellout",
"requirement" : {
"range" : [
{
"lower_bound" : "2.3.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JohnSundell/ShellOut"
},
{
"identity" : "xcodeproj",
"requirement" : {
"range" : [
{
"lower_bound" : "8.3.1",
"upper_bound" : "9.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/xcodeproj"
},
{
"identity" : "chalk",
"requirement" : {
"exact" : [
"0.2.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/luoxiu/Chalk"
},
{
"identity" : "commander",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/Commander"
},
{
"identity" : "pathkit",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/PathKit"
},
{
"identity" : "yams",
"requirement" : {
"exact" : [
"3.0.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/jpsim/Yams"
}
],
"manifest_display_name" : "swiftymocky",
"name" : "swiftymocky",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftyMocky",
"targets" : [
"SwiftyMocky"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftyPrototype",
"targets" : [
"SwiftyPrototype"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "swiftymocky",
"targets" : [
"SwiftyMockyCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftyPrototype",
"module_type" : "SwiftTarget",
"name" : "SwiftyPrototype",
"path" : "Sources/SwiftyPrototype",
"product_memberships" : [
"SwiftyPrototype"
],
"sources" : [
"MockyAssert.swift",
"Shared/Count.swift",
"Shared/Countable.swift",
"Shared/GenericAttribute.swift",
"Shared/Matcher.swift",
"Shared/Mock+Assertions.swift",
"Shared/Mock.swift",
"Shared/Parameter+Compare.swift",
"Shared/Parameter+Optionals.swift",
"Shared/Parameter.swift",
"Shared/Policies.swift",
"Shared/Stubbing.swift",
"Shared/Utils.swift",
"SwiftyMockyTestObserver.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftyMockyTests",
"module_type" : "SwiftTarget",
"name" : "SwiftyMockyTests",
"path" : "Tests/SwiftyMockyTests",
"sources" : [
"Mock.generated.swift",
"Shared/AssociatedTypes/SuggestionRepositoryTests.swift",
"Shared/Example 1/ProtocolsWithCollectionsTests.swift",
"Shared/Example 1/SimpleProtocolsTests.swift",
"Shared/Example 10/ProtocolWithGenericConstraintsTests.swift",
"Shared/Example 2/ProtocolWithThrowingMehtodsTests.swift",
"Shared/Example 3/ProtocolsWithCustomAttributesTests.swift",
"Shared/Example 4/ProtocolWithStaticMembersTests.swift",
"Shared/Example 5/ProtocolWithClosuresTests.swift",
"Shared/Example 6/ProtocolWithInitializersTests.swift",
"Shared/Example 7/ProtocolsWithGenericsTests.swift",
"Shared/Example 8/ProtocolWithPropertiesTests.swift",
"Shared/Example 9/ProtocolMethodsThatDifferOnlyInReturnTypeTests.swift",
"Shared/Other/ComplicatedServiceTests.swift",
"Shared/Other/ComposedServiceTests.swift",
"Shared/Other/CustomAssertionsTests.swift",
"Shared/Other/EdgeCasesTests.swift",
"Shared/Other/ExampleTests.swift",
"Shared/Other/ExpressibleByLiteralsTests.swift",
"Shared/Other/GenericProtocolsTests.swift",
"Shared/Other/InoutParameterTests.swift",
"Shared/Other/MatcherTests.swift",
"Shared/Other/MockClearTests.swift",
"Shared/Other/MultiThreadAccessTests.swift",
"Shared/Other/PropertiesHandlingTests.swift",
"Shared/Other/ProtocolWithAttributesTests.swift",
"Shared/Other/SampleServiceTests.swift",
"Shared/Other/SelfConstrainedProtocolTests.swift",
"Shared/Other/SimpleSequencingTests.swift",
"Shared/Other/SubscriptsTests.swift",
"Shared/Other/UnnamedAttributesTests.swift",
"Shared/Other/VariadicParametersTests.swift",
"Shared/Other/VerifyMessagesTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Mocky_Example_macOS",
"SwiftyMocky"
],
"type" : "test"
},
{
"c99name" : "SwiftyMockyCLICoreTests",
"module_type" : "SwiftTarget",
"name" : "SwiftyMockyCLICoreTests",
"path" : "Tests/SwiftyMockyCLICoreTests",
"sources" : [
"CommandLineInterfaceTests.swift",
"Mock.generated.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftyMockyCLICore",
"SwiftyMocky"
],
"type" : "test"
},
{
"c99name" : "SwiftyMockyCLICore",
"module_type" : "SwiftTarget",
"name" : "SwiftyMockyCLICore",
"path" : "Sources/CLI/Core",
"product_dependencies" : [
"ShellOut",
"Chalk",
"XcodeProj",
"PathKit",
"Yams"
],
"product_memberships" : [
"swiftymocky"
],
"sources" : [
"Application.swift",
"Assets/Assets.swift",
"Assets/Messages.swift",
"Commands/GenerationController.swift",
"Commands/MacOS/InspectionController.swift",
"Commands/MacOS/MigrationController.swift",
"Commands/MacOS/ProjectSetupController.swift",
"Commands/MockfileInteractor.swift",
"Entities/MockConfiguration.swift",
"Entities/Mockfile.swift",
"Entities/SourceryConfiguration.swift",
"InstanceFactory.swift",
"InteractiveOptions/AddingOption.swift",
"InteractiveOptions/Booloption.swift",
"InteractiveOptions/ProjectOption.swift",
"InteractiveOptions/SelectableOption.swift",
"Utils/Global.swift",
"Utils/MacOS/XCodeProj+Extensions.swift",
"Utils/Message.swift",
"Utils/PathKit+Extensions.swift",
"Utils/ProjectFile.swift",
"Utils/ShellOut+Extensions.swift",
"Utils/WorkingDirectory.swift"
],
"type" : "library"
},
{
"c99name" : "SwiftyMockyCLI",
"module_type" : "SwiftTarget",
"name" : "SwiftyMockyCLI",
"path" : "Sources/CLI/App",
"product_dependencies" : [
"Commander"
],
"product_memberships" : [
"swiftymocky"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"SwiftyMockyCLICore"
],
"type" : "executable"
},
{
"c99name" : "SwiftyMocky",
"module_type" : "SwiftTarget",
"name" : "SwiftyMocky",
"path" : "Sources/SwiftyMocky",
"product_memberships" : [
"SwiftyMocky"
],
"sources" : [
"ArgumentCaptor.swift",
"CustomAssertions.swift",
"MockyAssert.swift",
"Parameter+Literals.swift",
"Shared/Count.swift",
"Shared/Countable.swift",
"Shared/GenericAttribute.swift",
"Shared/Matcher.swift",
"Shared/Mock+Assertions.swift",
"Shared/Mock.swift",
"Shared/Parameter+Compare.swift",
"Shared/Parameter+Optionals.swift",
"Shared/Parameter.swift",
"Shared/Policies.swift",
"Shared/Stubbing.swift",
"Shared/Utils.swift",
"SwiftyMockyTestObserver.swift"
],
"type" : "library"
},
{
"c99name" : "Shared",
"module_type" : "SwiftTarget",
"name" : "Shared",
"path" : "Sources/Shared",
"sources" : [
"Count.swift",
"Countable.swift",
"GenericAttribute.swift",
"Matcher.swift",
"Mock+Assertions.swift",
"Mock.swift",
"Parameter+Compare.swift",
"Parameter+Optionals.swift",
"Parameter.swift",
"Policies.swift",
"Stubbing.swift",
"Utils.swift"
],
"type" : "library"
},
{
"c99name" : "RuntimeLibaryTests",
"module_type" : "SwiftTarget",
"name" : "RuntimeLibaryTests",
"path" : "Tests/RuntimeLibaryTests",
"sources" : [
"MatcherTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftyMocky"
],
"type" : "test"
},
{
"c99name" : "Mocky_Example_macOS",
"module_type" : "SwiftTarget",
"name" : "Mocky_Example_macOS",
"path" : "SwiftyMocky-Example/Shared",
"sources" : [
"AssociatedTypes/SuggestionRepository.swift",
"Example 1/ProtocolsWithCollections.swift",
"Example 1/SimpleProtocols.swift",
"Example 10/ProtocolWithGenericConstraints.swift",
"Example 2/ProtocolWithThrowingMethods.swift",
"Example 3/ProtocolsWithCustomAttributes.swift",
"Example 4/ProtocolWithStaticMembers.swift",
"Example 5/ProtocolsWithClosures.swift",
"Example 6/ProtocolWithInitializers.swift",
"Example 7/ProtocolsWithGenerics.swift",
"Example 8/ProtocolWithProperties.swift",
"Example 9/ProtocolMethodsThatDifferOnlyInReturnType.swift",
"Model/Item.swift",
"Model/Models.swift",
"Other/AllLiteralsContainerProtocol.swift",
"Other/EdgeCasesProtocols.swift",
"Other/ExampleProtocols.swift",
"Other/Excluded.generated.swift",
"Other/GenericProtocols.swift",
"Other/InoutParameterProtocols.swift",
"Other/ItemsRepository.swift",
"Other/MultiThreadAccess.swift",
"Other/NonSwiftProtocol.swift",
"Other/ProtocolWithAttributes.swift",
"Other/ProtocolWithMethodWithManyParameters.swift",
"Other/ProtocolWithSubscripts.swift",
"Other/SampleService.swift",
"Other/SelfConstrainedProtocol.swift",
"Other/UnnamedAttributesProtocol.swift",
"Other/VariadicParametersProtocol.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.