Build Information
Failed to build swiftymocky with Swift 5.9 for Linux.
Build Command
Build command unavailable
Build Log
========================================
RunAll
========================================
Builder version: 4.28.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: linux
Swift version: 5.9
Building package at path: $PWD/checkout
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$PWD/checkout" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/luoxiu/Chalk
Fetching https://github.com/kylef/Commander
[1/1588] Fetching commander
[1589/1917] Fetching commander, chalk
[1918/10731] Fetching commander, chalk, yams
Fetched https://github.com/luoxiu/Chalk (0.29s)
Fetching https://github.com/JohnSundell/ShellOut
[2558/10402] Fetching commander, yams
[8024/11358] Fetching commander, yams, shellout
Fetched https://github.com/JohnSundell/ShellOut (0.30s)
Fetching https://github.com/kylef/Spectre.git
[8375/10402] Fetching commander, yams
[10403/11423] Fetching commander, yams, spectre
Fetched https://github.com/kylef/Spectre.git (0.33s)
Fetching https://github.com/tadija/AEXML.git
Fetched https://github.com/kylef/Commander (1.00s)
Fetching https://github.com/kylef/PathKit
Fetched https://github.com/jpsim/Yams (1.02s)
Fetching https://github.com/tuist/xcodeproj
[1/2032] Fetching aexml
[2033/3436] Fetching aexml, pathkit
Fetched https://github.com/tadija/AEXML.git (0.33s)
Fetching https://github.com/luoxiu/Rainbow
Fetched https://github.com/kylef/PathKit (0.27s)
[1/20278] Fetching xcodeproj
[6896/20512] Fetching xcodeproj, rainbow
Fetched https://github.com/luoxiu/Rainbow (0.22s)
[8314/20278] Fetching xcodeproj
Fetched https://github.com/tuist/xcodeproj (1.37s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (1.26s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.44s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (1.25s)
Computing version for https://github.com/luoxiu/Chalk
Computed https://github.com/luoxiu/Chalk at 0.2.1 (0.64s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 8.3.1 (0.50s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.70s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.69s)
Computing version for https://github.com/luoxiu/Rainbow
Computed https://github.com/luoxiu/Rainbow at 0.1.1 (0.70s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.71s)
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/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/JohnSundell/ShellOut
Working copy of https://github.com/JohnSundell/ShellOut resolved at 2.3.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/luoxiu/Rainbow
Working copy of https://github.com/luoxiu/Rainbow resolved at 0.1.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
Creating working copy for https://github.com/tuist/xcodeproj
Working copy of https://github.com/tuist/xcodeproj resolved at 8.3.1
Creating working copy for https://github.com/luoxiu/Chalk
Working copy of https://github.com/luoxiu/Chalk resolved at 0.2.1
Building for debugging...
[0/17] Compiling writer.c
[1/17] Compiling reader.c
[2/17] Compiling parser.c
[3/17] Compiling api.c
[4/39] Compiling emitter.c
[5/69] Compiling scanner.c
[7/106] Emitting module Rainbow
[8/106] Compiling Commander ArgumentConvertible.swift
[9/106] Compiling Commander ArgumentDescription.swift
[10/106] Emitting module Commander
[11/106] Compiling Commander ArgumentParser.swift
[12/107] Compiling Commander Group.swift
[13/107] Compiling Rainbow Colors.swift
[14/107] Compiling Mocky_Example_macOS AllLiteralsContainerProtocol.swift
[15/107] Compiling Mocky_Example_macOS EdgeCasesProtocols.swift
[16/108] Compiling Rainbow Double.swift
[17/108] Compiling Rainbow NSRegularExpression.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[18/108] Emitting module SwiftyPrototype
/host/spi-builder-workspace/Sources/SwiftyPrototype/SwiftyMockyTestObserver.swift:5:6: error: Objective-C interoperability is disabled
@objc public static func setup() {
~^~~~~
[19/109] Compiling Mocky_Example_macOS ProtocolWithThrowingMethods.swift
[20/109] Compiling Mocky_Example_macOS ProtocolsWithCustomAttributes.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/109] Compiling Mocky_Example_macOS ProtocolWithStaticMembers.swift
[24/109] Compiling Mocky_Example_macOS ProtocolsWithClosures.swift
[25/109] Compiling Mocky_Example_macOS SuggestionRepository.swift
[26/109] Compiling Mocky_Example_macOS ProtocolsWithCollections.swift
[27/109] Compiling Mocky_Example_macOS SimpleProtocols.swift
[28/109] Compiling Mocky_Example_macOS ProtocolWithGenericConstraints.swift
[29/109] Emitting module Mocky_Example_macOS
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
func passThisAsInOut(value: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
@objc protocol NonSwiftProtocol {
~^~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func returnNoting()
^~~~~~~~~
/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
@objc optional func returnNoting()
~^~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
@objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
~^~~~~~~~~~~~~~~~~~~~~~~~~
/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
@objc(doStaticStuffWithParameter1: andParameter2:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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
@objc(doStuffWithParameter1: andParameter2:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
@available(iOS 14, *) @objc
~^~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
@objc public protocol AutoMockable { }
~^~~~~
[39/114] Compiling Shared Stubbing.swift
[40/114] Compiling Commander Command.swift
[42/114] Compiling SwiftyPrototype Utils.swift
[44/114] Compiling Mocky_Example_macOS ProtocolWithInitializers.swift
[45/114] Compiling Mocky_Example_macOS ProtocolsWithGenerics.swift
[46/114] Compiling Mocky_Example_macOS ProtocolWithProperties.swift
[47/114] Compiling SwiftyMocky Utils.swift
[52/114] Emitting module SwiftyMocky
[53/114] Compiling Commander Error.swift
[60/114] Compiling SwiftyMocky SwiftyMockyTestObserver.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
func passThisAsInOut(value: inout URLRequest)
^~~~~~~~~~
[61/114] 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
func passThisAsInOut(value: inout URLRequest)
^~~~~~~~~~
[62/114] 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
func passThisAsInOut(value: inout URLRequest)
^~~~~~~~~~
[63/114] 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
func passThisAsInOut(value: inout URLRequest)
^~~~~~~~~~
[64/114] Compiling Mocky_Example_macOS ItemsRepository.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
@objc protocol NonSwiftProtocol {
~^~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func returnNoting()
^~~~~~~~~
/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
@objc optional func returnNoting()
~^~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
@objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
~^~~~~~~~~~~~~~~~~~~~~~~~~
/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
@objc(doStaticStuffWithParameter1: andParameter2:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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
@objc(doStuffWithParameter1: andParameter2:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
@available(iOS 14, *) @objc
~^~~~
[65/114] Compiling Mocky_Example_macOS MultiThreadAccess.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
@objc protocol NonSwiftProtocol {
~^~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func returnNoting()
^~~~~~~~~
/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
@objc optional func returnNoting()
~^~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
@objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
~^~~~~~~~~~~~~~~~~~~~~~~~~
/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
@objc(doStaticStuffWithParameter1: andParameter2:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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
@objc(doStuffWithParameter1: andParameter2:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
@available(iOS 14, *) @objc
~^~~~
[66/114] Compiling Mocky_Example_macOS NonSwiftProtocol.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
@objc protocol NonSwiftProtocol {
~^~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func returnNoting()
^~~~~~~~~
/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
@objc optional func returnNoting()
~^~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
@objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
~^~~~~~~~~~~~~~~~~~~~~~~~~
/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
@objc(doStaticStuffWithParameter1: andParameter2:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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
@objc(doStuffWithParameter1: andParameter2:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
@available(iOS 14, *) @objc
~^~~~
[67/114] Compiling Mocky_Example_macOS ProtocolWithAttributes.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:12:2: error: Objective-C interoperability is disabled
@objc protocol NonSwiftProtocol {
~^~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:13:11: error: 'optional' can only be applied to members of an @objc protocol
@objc optional func returnNoting()
^~~~~~~~~
/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
@objc optional func returnNoting()
~^~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/NonSwiftProtocol.swift:18:2: error: Objective-C interoperability is disabled
@objc(PRProtocolWithObjc) public protocol ProtocolWithObjc {
~^~~~~~~~~~~~~~~~~~~~~~~~~
/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
@objc(doStaticStuffWithParameter1: andParameter2:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/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
@objc(doStuffWithParameter1: andParameter2:)
~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/ProtocolWithAttributes.swift:3:24: error: Objective-C interoperability is disabled
@available(iOS 14, *) @objc
~^~~~
[72/114] Compiling Mocky_Example_macOS ProtocolWithMethodWithManyParameters.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
@objc public protocol AutoMockable { }
~^~~~~
[73/114] Compiling Mocky_Example_macOS ProtocolWithSubscripts.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
@objc public protocol AutoMockable { }
~^~~~~
[74/114] Compiling Mocky_Example_macOS SampleService.swift
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/SampleService.swift:11:2: error: Objective-C interoperability is disabled
@objc public protocol AutoMockable { }
~^~~~~
[75/114] Compiling SwiftyPrototype SwiftyMockyTestObserver.swift
/host/spi-builder-workspace/Sources/SwiftyPrototype/SwiftyMockyTestObserver.swift:5:6: error: Objective-C interoperability is disabled
@objc public static func setup() {
~^~~~~
[76/114] Compiling Mocky_Example_macOS SelfConstrainedProtocol.swift
[77/114] Compiling Mocky_Example_macOS UnnamedAttributesProtocol.swift
[78/114] Compiling Mocky_Example_macOS VariadicParametersProtocol.swift
[79/114] Compiling Rainbow Color+Cocoa.swift
[80/114] Compiling Rainbow Color.swift
[91/115] Compiling Shared Parameter.swift
[92/115] Compiling Shared Policies.swift
[93/115] Emitting module ShellOut
[94/115] Compiling ShellOut ShellOut.swift
[95/115] Emitting module Shared
error: fatalError
[96/115] Compiling Commander CommandType.swift
[97/115] Compiling Commander CommandRunner.swift
[0/1] Planning build
Building for debugging...
[1/43] Compiling AEXML Error.swift
[2/43] Compiling SwiftyPrototype SwiftyMockyTestObserver.swift
/host/spi-builder-workspace/Sources/SwiftyPrototype/SwiftyMockyTestObserver.swift:5:6: error: Objective-C interoperability is disabled
@objc public static func setup() {
~^~~~~
[3/43] Compiling AEXML Document.swift
[4/43] Emitting module AEXML
[5/43] Emitting module ShellOut
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/43] Emitting module SwiftyPrototype
/host/spi-builder-workspace/Sources/SwiftyPrototype/SwiftyMockyTestObserver.swift:5:6: error: Objective-C interoperability is disabled
@objc public static func setup() {
~^~~~~
[7/43] Compiling AEXML Options.swift
[8/43] Compiling AEXML Parser.swift
[9/43] Compiling SwiftyMocky SwiftyMockyTestObserver.swift
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:29: error: cannot find 'XCTIssue' in scope
testCase.record(XCTIssue(
^~~~~~~~
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:59:22: error: value of type 'XCTestCase' has no member 'record'
testCase.record(XCTIssue(
~~~~~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:60:24: error: cannot infer contextual base in reference to member 'system'
type: .system,
~^~~~~~
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:62:38: error: 'nil' requires a contextual type
detailedDescription: nil,
^
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:37: error: cannot infer contextual base in reference to member 'init'
sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
~^~~~
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:63:53: error: cannot infer contextual base in reference to member 'init'
sourceCodeContext: .init(location: .init(filePath: file.description, lineNumber: Int(failingLine))),
~^~~~
/host/spi-builder-workspace/Sources/SwiftyMocky/SwiftyMockyTestObserver.swift:64:34: error: 'nil' requires a contextual type
associatedError: nil,
^
error: fatalError
[10/44] Emitting module PathKit
BUILD FAILURE 5.9 linux