Build Information
Failed to build swiftymocky, reference 4.2.0 (1e81c0), with Swift 6.3 for Wasm on 13 Apr 2026 19:58:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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.3
Building package at path: $PWD
https://github.com/MakeAWishFoundation/SwiftyMocky.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/kylef/Commander
Fetching https://github.com/tuist/xcodeproj
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/luoxiu/Chalk
Fetching https://github.com/jpsim/Yams
[1/329] Fetching chalk
[330/1917] Fetching chalk, commander
[1712/3369] Fetching chalk, commander, pathkit
[3211/27802] Fetching chalk, commander, pathkit, xcodeproj
[8501/39353] Fetching chalk, commander, pathkit, xcodeproj, yams
Fetched https://github.com/kylef/PathKit from cache (0.48s)
[8386/37901] Fetching chalk, commander, xcodeproj, yams
Fetched https://github.com/kylef/Commander from cache (0.49s)
Fetching https://github.com/JohnSundell/ShellOut
[7042/36313] Fetching chalk, xcodeproj, yams
[17386/37293] Fetching chalk, xcodeproj, yams, shellout
Fetched https://github.com/JohnSundell/ShellOut from cache (0.42s)
[21370/36313] Fetching chalk, xcodeproj, yams
Fetched https://github.com/luoxiu/Chalk from cache (2.61s)
Fetched https://github.com/jpsim/Yams from cache (2.67s)
Fetched https://github.com/tuist/xcodeproj from cache (3.13s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (5.42s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.41s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.24s)
Computing version for https://github.com/luoxiu/Chalk
Computed https://github.com/luoxiu/Chalk at 0.2.1 (0.63s)
Fetching https://github.com/luoxiu/Rainbow
[1/234] Fetching rainbow
Fetched https://github.com/luoxiu/Rainbow from cache (0.20s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.58s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (2.20s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.48s)
Computing version for https://github.com/luoxiu/Rainbow
Computed https://github.com/luoxiu/Rainbow at 0.1.1 (0.42s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 8.27.7 (0.40s)
Fetching https://github.com/tadija/AEXML.git
[1/2155] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.27s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.67s)
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
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/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.0
Creating working copy for https://github.com/luoxiu/Rainbow
Working copy of https://github.com/luoxiu/Rainbow resolved at 0.1.1
Creating working copy for https://github.com/luoxiu/Chalk
Working copy of https://github.com/luoxiu/Chalk resolved at 0.2.1
Creating working copy for https://github.com/kylef/Commander
Working copy of https://github.com/kylef/Commander resolved at 0.9.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/tuist/xcodeproj
Working copy of https://github.com/tuist/xcodeproj resolved at 8.27.7
Building for debugging...
[0/33] Write sources
[14/33] Compiling writer.c
[15/33] Compiling reader.c
[16/33] Write swift-version-24593BA9C3E375BF.txt
[17/61] Compiling parser.c
[18/77] Compiling api.c
[19/85] Compiling emitter.c
[20/85] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/128] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/128] Emitting module Mocky_Example_macOS
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Example 10/ProtocolWithGenericConstraints.swift:17:10: warning: instance method requirement 'extractString()' cannot add constraint 'Self.ContainedType == U?' on 'Self'; this will be an error in a future Swift language mode
15 | var value: ContainedType { get }
16 |
17 | func extractString<U: CustomStringConvertible>() -> String? where ContainedType == Optional<U>
| `- warning: instance method requirement 'extractString()' cannot add constraint 'Self.ContainedType == U?' on 'Self'; this will be an error in a future Swift language mode
18 | }
19 |
/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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/131] 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
/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 | }
[25/133] Emitting module Yams
[26/135] Emitting module Rainbow
[27/135] Compiling Yams YamlError.swift
[28/135] Compiling Yams shim.swift
[29/135] Compiling Shared Parameter.swift
[30/136] Compiling Yams Constructor.swift
[31/136] Compiling Yams Decoder.swift
[32/136] Compiling Mocky_Example_macOS ProtocolWithStaticMembers.swift
[33/136] Compiling Mocky_Example_macOS ProtocolsWithClosures.swift
[34/136] Compiling Yams String+Yams.swift
[35/136] Compiling Yams Tag.swift
[36/136] 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 | }
[37/136] 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 | }
[38/136] 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 | }
[39/136] 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 | }
[40/136] Compiling Mocky_Example_macOS ProtocolWithInitializers.swift
[41/136] Compiling Mocky_Example_macOS ProtocolsWithGenerics.swift
[42/136] Compiling Yams Representer.swift
[43/136] Compiling Yams Resolver.swift
[44/136] Compiling Yams Emitter.swift
[45/136] Compiling Yams Encoder.swift
[46/136] Compiling Rainbow NSRegularExpression.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Example 10/ProtocolWithGenericConstraints.swift:17:10: warning: instance method requirement 'extractString()' cannot add constraint 'Self.ContainedType == U?' on 'Self'; this will be an error in a future Swift language mode
15 | var value: ContainedType { get }
16 |
17 | func extractString<U: CustomStringConvertible>() -> String? where ContainedType == Optional<U>
| `- warning: instance method requirement 'extractString()' cannot add constraint 'Self.ContainedType == U?' on 'Self'; this will be an error in a future Swift language mode
18 | }
19 |
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Example 10/ProtocolWithGenericConstraints.swift:17:10: warning: instance method requirement 'extractString()' cannot add constraint 'Self.ContainedType == U?' on 'Self'; this will be an error in a future Swift language mode
15 | var value: ContainedType { get }
16 |
17 | func extractString<U: CustomStringConvertible>() -> String? where ContainedType == Optional<U>
| `- warning: instance method requirement 'extractString()' cannot add constraint 'Self.ContainedType == U?' on 'Self'; this will be an error in a future Swift language mode
18 | }
19 |
[49/136] Compiling Yams Node.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Example 10/ProtocolWithGenericConstraints.swift:17:10: warning: instance method requirement 'extractString()' cannot add constraint 'Self.ContainedType == U?' on 'Self'; this will be an error in a future Swift language mode
15 | var value: ContainedType { get }
16 |
17 | func extractString<U: CustomStringConvertible>() -> String? where ContainedType == Optional<U>
| `- warning: instance method requirement 'extractString()' cannot add constraint 'Self.ContainedType == U?' on 'Self'; this will be an error in a future Swift language mode
18 | }
19 |
[50/136] Compiling Yams Parser.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Example 10/ProtocolWithGenericConstraints.swift:17:10: warning: instance method requirement 'extractString()' cannot add constraint 'Self.ContainedType == U?' on 'Self'; this will be an error in a future Swift language mode
15 | var value: ContainedType { get }
16 |
17 | func extractString<U: CustomStringConvertible>() -> String? where ContainedType == Optional<U>
| `- warning: instance method requirement 'extractString()' cannot add constraint 'Self.ContainedType == U?' on 'Self'; this will be an error in a future Swift language mode
18 | }
19 |
[53/136] Compiling Mocky_Example_macOS SelfConstrainedProtocol.swift
/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 | ))
[55/136] Compiling Mocky_Example_macOS UnnamedAttributesProtocol.swift
[56/136] Compiling Mocky_Example_macOS VariadicParametersProtocol.swift
[57/136] Compiling SwiftyMocky SwiftyMockyTestObserver.swift
/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 | ))
[58/136] 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
/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/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/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/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()
[65/136] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/136] 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
/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.
/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.
[69/136] Compiling Rainbow Colors.swift
[70/136] Compiling Rainbow Double.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 {
[73/136] Compiling Rainbow Color+Cocoa.swift
BUILD FAILURE 6.3 wasm