Build Information
Failed to build swiftymocky, reference 4.2.0 (1e81c0
), with Swift 6.1 for Android on 28 May 2025 18:48:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 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: android
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-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/JohnSundell/ShellOut
Fetching https://github.com/luoxiu/Chalk
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/tuist/xcodeproj
Fetching https://github.com/kylef/Commander
[1/329] Fetching chalk
[298/1289] Fetching chalk, shellout
[801/2700] Fetching chalk, shellout, pathkit
[2165/4288] Fetching chalk, shellout, pathkit, commander
Fetched https://github.com/luoxiu/Chalk from cache (0.31s)
Fetched https://github.com/JohnSundell/ShellOut from cache (0.31s)
[1/10657] Fetching yams
Fetched https://github.com/kylef/Commander from cache (0.32s)
[747/33947] Fetching yams, xcodeproj
Fetched https://github.com/kylef/PathKit from cache (1.66s)
Fetched https://github.com/tuist/xcodeproj from cache (1.71s)
Fetched https://github.com/jpsim/Yams from cache (1.72s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (5.29s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (2.76s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.25s)
Computing version for https://github.com/luoxiu/Chalk
Computed https://github.com/luoxiu/Chalk at 0.2.1 (0.88s)
Fetching https://github.com/luoxiu/Rainbow
[1/234] Fetching rainbow
Fetched https://github.com/luoxiu/Rainbow from cache (5.29s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (6.11s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (2.42s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.62s)
Computing version for https://github.com/luoxiu/Rainbow
Computed https://github.com/luoxiu/Rainbow at 0.1.1 (0.60s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 8.27.7 (0.53s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.32s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (2.30s)
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/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/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/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/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 3.0.1
Creating working copy for https://github.com/tuist/xcodeproj
Working copy of https://github.com/tuist/xcodeproj resolved at 8.27.7
Building for debugging...
[0/33] Write sources
[14/33] Compiling reader.c
[15/33] Compiling writer.c
[16/33] Compiling parser.c
[17/33] Compiling api.c
[18/33] Compiling emitter.c
[19/33] Write swift-version-24593BA9C3E375BF.txt
[20/33] Compiling scanner.c
[22/120] Emitting module AEXML
[23/120] Emitting module Rainbow
[24/120] Emitting module ShellOut
[25/120] Compiling ShellOut ShellOut.swift
[26/121] Compiling Rainbow Color+Cocoa.swift
[27/121] Compiling Rainbow NSRegularExpression.swift
[28/121] Compiling Rainbow Color.swift
[29/121] Compiling AEXML Builders.swift
[30/121] Compiling AEXML Document.swift
[31/121] Compiling Mocky_Example_macOS ProtocolWithMethodWithManyParameters.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
| `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
[32/121] Compiling Mocky_Example_macOS ProtocolWithSubscripts.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
| `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
[33/121] Compiling Mocky_Example_macOS SampleService.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
| `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
[35/124] Compiling Mocky_Example_macOS ItemsRepository.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[36/124] Compiling Mocky_Example_macOS MultiThreadAccess.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[37/124] Compiling Mocky_Example_macOS NonSwiftProtocol.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[38/124] Compiling Mocky_Example_macOS ProtocolWithAttributes.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[39/124] Compiling Mocky_Example_macOS ProtocolWithInitializers.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)
[40/124] Compiling Mocky_Example_macOS ProtocolsWithGenerics.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)
[41/124] Compiling Mocky_Example_macOS ExampleProtocols.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | }
[42/124] Compiling Mocky_Example_macOS Excluded.generated.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | }
[43/124] Compiling Mocky_Example_macOS GenericProtocols.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | }
[44/124] Compiling Mocky_Example_macOS InoutParameterProtocols.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | }
[45/124] Compiling Mocky_Example_macOS ProtocolWithProperties.swift
[46/124] Compiling Mocky_Example_macOS ProtocolMethodsThatDifferOnlyInReturnType.swift
[47/124] Compiling Mocky_Example_macOS AllLiteralsContainerProtocol.swift
[48/124] Compiling Mocky_Example_macOS EdgeCasesProtocols.swift
[49/124] Compiling Mocky_Example_macOS SuggestionRepository.swift
[50/124] Compiling Mocky_Example_macOS ProtocolsWithCollections.swift
[51/124] Compiling Mocky_Example_macOS Item.swift
[52/124] Compiling Mocky_Example_macOS Models.swift
[53/124] 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)
/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)
[56/125] 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
[57/125] 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
[58/125] Compiling Shared Stubbing.swift
[61/126] Compiling Shared Policies.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[62/126] Compiling Mocky_Example_macOS ProtocolWithThrowingMethods.swift
[63/127] Compiling Mocky_Example_macOS ProtocolsWithCustomAttributes.swift
[64/127] Compiling Mocky_Example_macOS ProtocolWithStaticMembers.swift
[65/127] Compiling Mocky_Example_macOS ProtocolsWithClosures.swift
[72/127] Compiling Mocky_Example_macOS SimpleProtocols.swift
[73/127] Compiling Mocky_Example_macOS ProtocolWithGenericConstraints.swift
[74/127] Emitting module Mocky_Example_macOS
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
| `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
/host/spi-builder-workspace/Sources/SwiftyMocky/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)
/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)
[83/128] Compiling AEXML Parser.swift
[84/128] Compiling Rainbow Colors.swift
[85/128] Compiling Rainbow Double.swift
[86/128] Compiling AEXML Error.swift
[87/128] Compiling AEXML Element.swift
[88/128] Compiling AEXML Options.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/108] Emitting module SwiftyPrototype
/host/spi-builder-workspace/Sources/SwiftyPrototype/SwiftyMockyTestObserver.swift:5:6: error: Objective-C interoperability is disabled
3 | public class SwiftyMockyTestObserver: NSObject {
4 | /// [Internal] No setup whatsoever
5 | @objc public static func setup() {
| `- error: Objective-C interoperability is disabled
6 | // Empty on purpose
7 | }
[3/109] Compiling Mocky_Example_macOS SuggestionRepository.swift
[4/109] Compiling Mocky_Example_macOS ProtocolsWithCollections.swift
[5/109] Compiling Mocky_Example_macOS ItemsRepository.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[6/109] Compiling Mocky_Example_macOS MultiThreadAccess.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[7/109] Compiling Mocky_Example_macOS NonSwiftProtocol.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[8/109] Compiling Mocky_Example_macOS ProtocolWithAttributes.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
[9/109] Compiling SwiftyPrototype Utils.swift
[10/112] Emitting module ShellOut
[11/112] Compiling Rainbow NSRegularExpression.swift
[12/112] Compiling Mocky_Example_macOS SelfConstrainedProtocol.swift
[13/112] Compiling Mocky_Example_macOS UnnamedAttributesProtocol.swift
[14/112] Compiling Mocky_Example_macOS VariadicParametersProtocol.swift
[15/112] Emitting module SwiftyMocky
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:5:1: warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
3 | // MARK: - ExpressibleByStringLiteral
4 |
5 | extension Optional:
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocols 'ExpressibleByStringLiteral', 'ExpressibleByExtendedGraphemeClusterLiteral', 'ExpressibleByUnicodeScalarLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | ExpressibleByStringLiteral,
7 | ExpressibleByExtendedGraphemeClusterLiteral,
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:61:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
59 | // MARK: - ExpressibleByIntegerLiteral
60 |
61 | extension Optional: ExpressibleByIntegerLiteral where Wrapped: ExpressibleByIntegerLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
62 | public typealias IntegerLiteralType = Wrapped.IntegerLiteralType
63 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:79:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
77 | // MARK: - ExpressibleByBooleanLiteral
78 |
79 | extension Optional: ExpressibleByBooleanLiteral where Wrapped: ExpressibleByBooleanLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByBooleanLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
80 | public typealias BooleanLiteralType = Wrapped.BooleanLiteralType
81 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:97:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
95 | // MARK: - ExpressibleByFloatLiteral
96 |
97 | extension Optional: ExpressibleByFloatLiteral where Wrapped: ExpressibleByFloatLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByFloatLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
98 | public typealias FloatLiteralType = Wrapped.FloatLiteralType
99 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:129:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
127 | }
128 |
129 | extension Optional: ExpressibleByArrayLiteral where Wrapped: ExpressibleByArrayLiteral {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByArrayLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
130 | public typealias ArrayLiteralElement = Wrapped.ArrayLiteralElement
131 |
/host/spi-builder-workspace/Sources/SwiftyMocky/Parameter+Literals.swift:154:1: warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
152 | }
153 |
154 | extension Optional: ExpressibleByDictionaryLiteral where Wrapped: ExpressibleByDictionaryLiteral, Wrapped.Key: Hashable {
| |- warning: extension declares a conformance of imported type 'Optional' to imported protocol 'ExpressibleByDictionaryLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
155 | public typealias Key = Wrapped.Key
156 | public typealias Value = Wrapped.Value
[16/114] Compiling SwiftyPrototype SwiftyMockyTestObserver.swift
/host/spi-builder-workspace/Sources/SwiftyPrototype/SwiftyMockyTestObserver.swift:5:6: error: Objective-C interoperability is disabled
3 | public class SwiftyMockyTestObserver: NSObject {
4 | /// [Internal] No setup whatsoever
5 | @objc public static func setup() {
| `- error: Objective-C interoperability is disabled
6 | // Empty on purpose
7 | }
[17/114] Compiling Shared Stubbing.swift
[18/115] Compiling Rainbow Double.swift
[19/115] Compiling SwiftyMocky Utils.swift
/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 | ))
[20/115] Compiling SwiftyMocky SwiftyMockyTestObserver.swift
/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 | ))
[21/115] Emitting module Shared
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | }
[23/115] Compiling Mocky_Example_macOS Excluded.generated.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | }
[24/115] Compiling Mocky_Example_macOS GenericProtocols.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | }
[25/115] Compiling Mocky_Example_macOS InoutParameterProtocols.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | }
[26/115] Compiling Mocky_Example_macOS ProtocolWithMethodWithManyParameters.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
| `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
[27/115] Compiling Mocky_Example_macOS ProtocolWithSubscripts.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
| `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
[28/115] Compiling Mocky_Example_macOS SampleService.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
| `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
[29/115] Compiling Shared Parameter.swift
[30/115] Compiling Shared Policies.swift
[31/115] Compiling Mocky_Example_macOS Models.swift
[32/115] Compiling Mocky_Example_macOS AllLiteralsContainerProtocol.swift
[33/115] Compiling Mocky_Example_macOS ProtocolsWithClosures.swift
[34/115] Compiling Mocky_Example_macOS Item.swift
[35/115] Compiling Mocky_Example_macOS ProtocolWithStaticMembers.swift
[37/115] Compiling Mocky_Example_macOS ProtocolWithThrowingMethods.swift
[38/115] Compiling Mocky_Example_macOS ProtocolsWithCustomAttributes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/115] Emitting module Mocky_Example_macOS
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
11 | //sourcery: AutoMockable
12 | protocol InoutProtocol: AnyObject {
13 | func passThisAsInOut(value: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
14 | func returnAndInOut(value: inout Int) -> String
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
10 |
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
| `- error: Objective-C interoperability is disabled
13 | @objc optional func returnNoting()
14 | func someMethod()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: 'optional' can only be applied to members of an @objc protocol
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
11 | //sourcery: AutoMockable
12 | @objc protocol NonSwiftProtocol {
13 | @objc optional func returnNoting()
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
14 | func someMethod()
15 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
16 |
17 | //sourcery: AutoMockable
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
| `- error: Objective-C interoperability is disabled
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:20:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
18 | @objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
19 |
20 | @objc(doStaticStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:23:6: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
21 | static func doStaticStuff(parameter1: String, parameter2: String)
22 |
23 | @objc(doStuffWithParameter1: andParameter2:)
| `- error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
24 | func doStuff(parameter1: String, parameter2: String)
25 | }
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
1 | import Foundation
2 |
3 | @available(iOS 14, *) @objc
| `- error: Objective-C interoperability is disabled
4 | protocol ProtocolWithAttributes: AutoMockable {
5 | func funcA()
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
9 | import Foundation
10 |
11 | @objc public protocol AutoMockable { }
| `- error: Objective-C interoperability is disabled
12 |
13 | struct Point {
[40/115] Compiling ShellOut ShellOut.swift
[43/116] Emitting module Rainbow
[44/116] Compiling Mocky_Example_macOS ProtocolWithInitializers.swift
[45/116] Compiling Mocky_Example_macOS ProtocolsWithGenerics.swift
[46/116] Compiling Mocky_Example_macOS ProtocolWithProperties.swift
[47/116] Compiling Mocky_Example_macOS ProtocolMethodsThatDifferOnlyInReturnType.swift
[54/116] Compiling Mocky_Example_macOS SimpleProtocols.swift
[55/116] Compiling Mocky_Example_macOS ProtocolWithGenericConstraints.swift
[60/116] Compiling Rainbow Color+Cocoa.swift
BUILD FAILURE 6.1 android