Build Information
Failed to build swiftymocky, reference 4.2.0 (1e81c0
), with Swift 6.1 for Wasm on 28 May 2025 18:48:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MakeAWishFoundation/SwiftyMocky.git
Reference: 4.2.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/MakeAWishFoundation/SwiftyMocky
* tag 4.2.0 -> FETCH_HEAD
HEAD is now at 1e81c0c Deploy 4.2.0
Cloned https://github.com/MakeAWishFoundation/SwiftyMocky.git
Revision (git rev-parse @):
1e81c0c566c26d2d4e4cc2d799afad7d3ef931ab
SUCCESS checkout https://github.com/MakeAWishFoundation/SwiftyMocky.git at 4.2.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/MakeAWishFoundation/SwiftyMocky.git
https://github.com/MakeAWishFoundation/SwiftyMocky.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"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" : "/host/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"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/tuist/xcodeproj
Fetching https://github.com/luoxiu/Chalk
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/kylef/Commander
[1/1588] Fetching commander
[1129/2999] Fetching commander, pathkit
[1373/3328] Fetching commander, pathkit, chalk
[2892/13985] Fetching commander, pathkit, chalk, yams
[3756/37275] Fetching commander, pathkit, chalk, yams, xcodeproj
Fetched https://github.com/kylef/Commander from cache (0.50s)
[2613/35687] Fetching pathkit, chalk, yams, xcodeproj
Fetched https://github.com/luoxiu/Chalk from cache (0.52s)
[2517/35358] Fetching pathkit, yams, xcodeproj
Fetched https://github.com/kylef/PathKit from cache (0.54s)
[1805/33947] Fetching yams, xcodeproj
Fetching https://github.com/JohnSundell/ShellOut
Fetched https://github.com/jpsim/Yams from cache (2.56s)
Fetched https://github.com/tuist/xcodeproj from cache (2.56s)
[1/960] Fetching shellout
Fetched https://github.com/JohnSundell/ShellOut from cache (0.35s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (5.71s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (1.20s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.41s)
Computing version for https://github.com/luoxiu/Chalk
Computed https://github.com/luoxiu/Chalk at 0.2.1 (2.49s)
Fetching https://github.com/luoxiu/Rainbow
[1/234] Fetching rainbow
Fetched https://github.com/luoxiu/Rainbow from cache (0.23s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.95s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (3.41s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.67s)
Computing version for https://github.com/luoxiu/Rainbow
Computed https://github.com/luoxiu/Rainbow at 0.1.1 (0.55s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 8.27.7 (0.57s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.39s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.98s)
Creating working copy for https://github.com/luoxiu/Chalk
Working copy of https://github.com/luoxiu/Chalk resolved at 0.2.1
Creating working copy for https://github.com/tuist/xcodeproj
Working copy of https://github.com/tuist/xcodeproj resolved at 8.27.7
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/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.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/luoxiu/Rainbow
Working copy of https://github.com/luoxiu/Rainbow resolved at 0.1.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/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Building for debugging...
[0/33] Write sources
[14/33] Compiling writer.c
[15/33] Compiling reader.c
[16/33] Compiling parser.c
[17/33] Compiling api.c
[18/33] Compiling emitter.c
[19/33] Write swift-version-24593BA9C3E375BF.txt
[19/33] Compiling scanner.c
[22/107] Compiling Rainbow Color+Cocoa.swift
[23/107] Emitting module Rainbow
[24/107] Emitting module AEXML
[25/107] Compiling AEXML Builders.swift
[26/107] Compiling Shared Mock+Assertions.swift
[27/107] Compiling Shared Mock.swift
[28/109] Compiling Yams YamlError.swift
[29/109] Compiling Yams shim.swift
[30/109] Compiling Shared Stubbing.swift
[31/110] Emitting module Shared
/host/spi-builder-workspace/Sources/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fatalErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/Shared/Mock+Assertions.swift:149:24: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | public struct FatalErrorUtil {
148 | /// [Internal] Handler
149 | private static var handler: (String) -> Never = {
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | print($0)
151 | exit(0)
/host/spi-builder-workspace/Sources/Shared/Mock+Assertions.swift:154:24: warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | }
153 | /// [Internal] Default handler
154 | private static var defalutHandler: (String) -> Never = {
| |- warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defalutHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defalutHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | print($0)
156 | exit(0)
[32/110] Compiling Shared Count.swift
[33/110] Compiling Shared Countable.swift
[34/110] Compiling Shared Policies.swift
[35/110] Compiling AEXML Parser.swift
[36/110] Compiling Shared GenericAttribute.swift
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fatalErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Mock+Assertions.swift:149:24: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | public struct FatalErrorUtil {
148 | /// [Internal] Handler
149 | private static var handler: (String) -> Never = {
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | print($0)
151 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Mock+Assertions.swift:154:24: warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | }
153 | /// [Internal] Default handler
154 | private static var defalutHandler: (String) -> Never = {
| |- warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defalutHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defalutHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | print($0)
156 | exit(0)
[37/110] Compiling Shared Matcher.swift
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fatalErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Mock+Assertions.swift:149:24: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | public struct FatalErrorUtil {
148 | /// [Internal] Handler
149 | private static var handler: (String) -> Never = {
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | print($0)
151 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyMocky/Shared/Mock+Assertions.swift:154:24: warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | }
153 | /// [Internal] Default handler
154 | private static var defalutHandler: (String) -> Never = {
| |- warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defalutHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defalutHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | print($0)
156 | exit(0)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[38/112] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[39/112] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
[40/112] Compiling AEXML Options.swift
[41/112] Compiling AEXML Error.swift
[42/112] Compiling SwiftyMocky Utils.swift
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:8:24: warning: static property 'currentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public class SwiftyMockyTestObserver: NSObject, XCTestObservation {
7 | /// [Internal] Current test case
8 | private static var currentTestCase: XCTestCase?
| |- warning: static property 'currentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'currentTestCase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | /// [Internal] Setup observing once
10 | private static let setupBlock: (() -> Void) = {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:10:24: warning: static property 'setupBlock' is not concurrency-safe because non-'Sendable' type '() -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
8 | private static var currentTestCase: XCTestCase?
9 | /// [Internal] Setup observing once
10 | private static let setupBlock: (() -> Void) = {
| |- warning: static property 'setupBlock' is not concurrency-safe because non-'Sendable' type '() -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'setupBlock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | Matcher.fatalErrorHandler = SwiftyMockyTestObserver.handleFatalError
12 | let addObserver = { XCTestObservationCenter.shared.addTestObserver(SwiftyMockyTestObserver()) }
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:13:12: error: cannot find 'Thread' in scope
11 | Matcher.fatalErrorHandler = SwiftyMockyTestObserver.handleFatalError
12 | let addObserver = { XCTestObservationCenter.shared.addTestObserver(SwiftyMockyTestObserver()) }
13 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
14 | addObserver()
15 | } else {
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:16:13: error: cannot find 'DispatchQueue' in scope
14 | addObserver()
15 | } else {
16 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
17 | addObserver()
18 | }
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:29: error: cannot find 'XCTIssue' in scope
57 | let methodName = getNameOfExtecutedTestCase(testCase)
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
| `- error: cannot find 'XCTIssue' in scope
60 | type: .system,
61 | compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:22: error: value of type 'XCTestCase' has no member 'record'
57 | let methodName = getNameOfExtecutedTestCase(testCase)
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
| `- error: value of type 'XCTestCase' has no member 'record'
60 | type: .system,
61 | compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:60:24: error: cannot infer contextual base in reference to member 'system'
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
60 | type: .system,
| `- error: cannot infer contextual base in reference to member 'system'
61 | compactDescription: message,
62 | detailedDescription: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:62:38: error: 'nil' requires a contextual type
60 | type: .system,
61 | compactDescription: message,
62 | detailedDescription: nil,
| `- error: 'nil' requires a contextual type
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
64 | associatedError: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:37: error: cannot infer contextual base in reference to member 'init'
61 | compactDescription: message,
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
| `- error: cannot infer contextual base in reference to member 'init'
64 | associatedError: nil,
65 | attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:53: error: cannot infer contextual base in reference to member 'init'
61 | compactDescription: message,
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
| `- error: cannot infer contextual base in reference to member 'init'
64 | associatedError: nil,
65 | attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:64:34: error: 'nil' requires a contextual type
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
64 | associatedError: nil,
| `- error: 'nil' requires a contextual type
65 | attachments: []
66 | ))
[43/112] Compiling SwiftyMocky SwiftyMockyTestObserver.swift
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:8:24: warning: static property 'currentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
6 | public class SwiftyMockyTestObserver: NSObject, XCTestObservation {
7 | /// [Internal] Current test case
8 | private static var currentTestCase: XCTestCase?
| |- warning: static property 'currentTestCase' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'currentTestCase' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'currentTestCase' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 | /// [Internal] Setup observing once
10 | private static let setupBlock: (() -> Void) = {
<unknown>:0: note: a function type must be marked '@Sendable' to conform to 'Sendable'
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:10:24: warning: static property 'setupBlock' is not concurrency-safe because non-'Sendable' type '() -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
8 | private static var currentTestCase: XCTestCase?
9 | /// [Internal] Setup observing once
10 | private static let setupBlock: (() -> Void) = {
| |- warning: static property 'setupBlock' is not concurrency-safe because non-'Sendable' type '() -> Void' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'setupBlock' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
11 | Matcher.fatalErrorHandler = SwiftyMockyTestObserver.handleFatalError
12 | let addObserver = { XCTestObservationCenter.shared.addTestObserver(SwiftyMockyTestObserver()) }
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:13:12: error: cannot find 'Thread' in scope
11 | Matcher.fatalErrorHandler = SwiftyMockyTestObserver.handleFatalError
12 | let addObserver = { XCTestObservationCenter.shared.addTestObserver(SwiftyMockyTestObserver()) }
13 | if Thread.isMainThread {
| `- error: cannot find 'Thread' in scope
14 | addObserver()
15 | } else {
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:16:13: error: cannot find 'DispatchQueue' in scope
14 | addObserver()
15 | } else {
16 | DispatchQueue.main.async {
| `- error: cannot find 'DispatchQueue' in scope
17 | addObserver()
18 | }
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:29: error: cannot find 'XCTIssue' in scope
57 | let methodName = getNameOfExtecutedTestCase(testCase)
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
| `- error: cannot find 'XCTIssue' in scope
60 | type: .system,
61 | compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:22: error: value of type 'XCTestCase' has no member 'record'
57 | let methodName = getNameOfExtecutedTestCase(testCase)
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
| `- error: value of type 'XCTestCase' has no member 'record'
60 | type: .system,
61 | compactDescription: message,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:60:24: error: cannot infer contextual base in reference to member 'system'
58 | if let name = methodName, let failingLine = FilesExlorer().findTestCaseLine(for: name, file: file) {
59 | testCase.record(XCTIssue(
60 | type: .system,
| `- error: cannot infer contextual base in reference to member 'system'
61 | compactDescription: message,
62 | detailedDescription: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:62:38: error: 'nil' requires a contextual type
60 | type: .system,
61 | compactDescription: message,
62 | detailedDescription: nil,
| `- error: 'nil' requires a contextual type
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
64 | associatedError: nil,
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:37: error: cannot infer contextual base in reference to member 'init'
61 | compactDescription: message,
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
| `- error: cannot infer contextual base in reference to member 'init'
64 | associatedError: nil,
65 | attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:53: error: cannot infer contextual base in reference to member 'init'
61 | compactDescription: message,
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
| `- error: cannot infer contextual base in reference to member 'init'
64 | associatedError: nil,
65 | attachments: []
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:64:34: error: 'nil' requires a contextual type
62 | detailedDescription: nil,
63 | sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
64 | associatedError: nil,
| `- error: 'nil' requires a contextual type
65 | attachments: []
66 | ))
[44/112] Compiling Yams String+Yams.swift
[45/112] Compiling Yams Tag.swift
[46/112] Compiling AEXML Element.swift
[47/112] Compiling AEXML Document.swift
[48/112] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:306:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
304 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
305 | // it uses with `String(format:...)`
306 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
307 | // "%*.g" does not use scientific notation if the exponent is less than –4.
308 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[49/112] Compiling Yams Resolver.swift
/host/spi-builder-workspace/.build/checkouts/Yams/Sources/Yams/Representer.swift:306:45: error: cannot find 'DBL_DECIMAL_DIG' in scope
304 | // Since `NumberFormatter` creates a string with insufficient precision for Decode,
305 | // it uses with `String(format:...)`
306 | let string = String(format: "%.*g", DBL_DECIMAL_DIG, self)
| `- error: cannot find 'DBL_DECIMAL_DIG' in scope
307 | // "%*.g" does not use scientific notation if the exponent is less than –4.
308 | // So fallback to using `NumberFormatter` if string does not uses scientific notation.
[52/113] Compiling SwiftyPrototype Utils.swift
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fatalErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Mock+Assertions.swift:149:24: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | public struct FatalErrorUtil {
148 | /// [Internal] Handler
149 | private static var handler: (String) -> Never = {
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | print($0)
151 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Mock+Assertions.swift:154:24: warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | }
153 | /// [Internal] Default handler
154 | private static var defalutHandler: (String) -> Never = {
| |- warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defalutHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defalutHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | print($0)
156 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fatalErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Mock+Assertions.swift:149:24: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | public struct FatalErrorUtil {
148 | /// [Internal] Handler
149 | private static var handler: (String) -> Never = {
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | print($0)
151 | exit(0)
/host/spi-builder-workspace/Sources/SwiftyPrototype/Shared/Mock+Assertions.swift:154:24: warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
152 | }
153 | /// [Internal] Default handler
154 | private static var defalutHandler: (String) -> Never = {
| |- warning: static property 'defalutHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defalutHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defalutHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
155 | print($0)
156 | exit(0)
[55/114] Compiling Shared Parameter+Compare.swift
[56/114] Compiling Shared Parameter+Optionals.swift
[57/114] Compiling Yams Node.swift
[58/114] Compiling Yams Parser.swift
[59/114] Emitting module Yams
[60/114] Compiling Shared Utils.swift
/host/spi-builder-workspace/Sources/Shared/Matcher.swift:6:23: warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
4 | public class Matcher {
5 | /// Shared **Matcher** instance
6 | public static var `default` = Matcher()
| |- warning: static property 'default' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'default' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fatalErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
/host/spi-builder-workspace/Sources/Shared/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: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | /// [Internal] Matchers storage
8 | private var matchers: [(Mirror,Any)] = []
/host/spi-builder-workspace/Sources/Shared/Matcher.swift:14:23: warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | private var line: UInt?
13 | /// [Internal] matcher fatal error handler
14 | public static var fatalErrorHandler: (String, StaticString, UInt) -> Void = { _,_,_ in}
| |- warning: static property 'fatalErrorHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'fatalErrorHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'fatalErrorHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Create new clean matcher instance.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[63/114] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
6 |
7 | import Foundation
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 |
10 | // MARK: - API
[64/114] Compiling Rainbow Colors.swift
/host/spi-builder-workspace/Sources/Shared/Mock+Assertions.swift:149:24: warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
147 | public struct FatalErrorUtil {
148 | /// [Internal] Handler
149 | private static var handler: (String) -> Never = {
| |- warning: static property 'handler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'handler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'handler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
150 | print($0)
151 | exit(0)
[65/114] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
6 |
7 | import Foundation
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 |
10 | // MARK: - API
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/13] Write swift-version-24593BA9C3E375BF.txt
[2/84] Compiling Rainbow Color+Cocoa.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/84] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
6 |
7 | import Foundation
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 |
10 | // MARK: - API
[4/84] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:8:8: error: no such module 'Dispatch'
6 |
7 | import Foundation
8 | import Dispatch
| `- error: no such module 'Dispatch'
9 |
10 | // MARK: - API
BUILD FAILURE 6.1 wasm