The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swiftymocky with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MakeAWishFoundation/SwiftyMocky.git
Reference: 4.2.0
Cloned https://github.com/MakeAWishFoundation/SwiftyMocky.git into spi-builder-workspace
SUCCESS checkout https://github.com/MakeAWishFoundation/SwiftyMocky.git at 4.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/tuist/xcodeproj
Fetching https://github.com/kylef/Commander
[16/1588] Fetching commander
[1542/3614] Fetching commander, aexml
[3615/23512] Fetching commander, aexml, xcodeproj
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/JohnSundell/ShellOut
Fetched https://github.com/kylef/Commander (1.37s)
Fetched https://github.com/tadija/AEXML.git (1.37s)
Fetched https://github.com/tuist/xcodeproj (1.40s)
Fetching https://github.com/luoxiu/Rainbow
[1/1021] Fetching spectre
[1002/1255] Fetching spectre, rainbow
[1069/1933] Fetching spectre, rainbow, shellout
Fetched https://github.com/kylef/Spectre.git (0.25s)
Fetching https://github.com/luoxiu/Chalk
Fetched https://github.com/luoxiu/Rainbow (0.22s)
Fetching https://github.com/jpsim/Yams
Fetched https://github.com/JohnSundell/ShellOut (0.25s)
Fetching https://github.com/kylef/PathKit
[1/329] Fetching chalk
[330/1734] Fetching chalk, pathkit
Fetched https://github.com/luoxiu/Chalk (0.22s)
Fetched https://github.com/kylef/PathKit (0.25s)
[1/8748] Fetching yams
Fetched https://github.com/jpsim/Yams (1.40s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (1.02s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.33s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (1.04s)
Computing version for https://github.com/luoxiu/Chalk
Computed https://github.com/luoxiu/Chalk at 0.2.1 (0.30s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 8.3.1 (0.29s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.29s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.29s)
Computing version for https://github.com/luoxiu/Rainbow
Computed https://github.com/luoxiu/Rainbow at 0.1.1 (0.34s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.36s)
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/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/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 1.0.1
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 3.0.1
Creating working copy for https://github.com/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
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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/17] Compiling emitter.c
[5/29] Compiling scanner.c
[7/106] Emitting module Shared
[8/107] Emitting module Commander
[9/107] Compiling Commander ArgumentConvertible.swift
[10/107] Compiling Commander ArgumentDescription.swift
[11/108] Compiling Commander ArgumentParser.swift
[12/108] Compiling Commander Group.swift
[15/108] Compiling Mocky_Example_macOS ProtocolsWithGenerics.swift
[16/108] Compiling Mocky_Example_macOS ProtocolWithProperties.swift
[17/108] 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 { }
~^~~~~
[18/108] 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 { }
~^~~~~
[19/108] 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 { }
~^~~~~
[20/108] Compiling Mocky_Example_macOS SimpleProtocols.swift
[21/108] Compiling Mocky_Example_macOS ProtocolWithGenericConstraints.swift
[22/110] Compiling Mocky_Example_macOS ProtocolWithInitializers.swift
[24/114] Compiling Mocky_Example_macOS ProtocolWithStaticMembers.swift
[25/114] Compiling Mocky_Example_macOS ProtocolsWithClosures.swift
[26/114] Compiling Mocky_Example_macOS ProtocolWithThrowingMethods.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/114] Compiling Mocky_Example_macOS ProtocolsWithCustomAttributes.swift
[30/114] 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 { }
~^~~~~
[35/114] Compiling Mocky_Example_macOS ProtocolMethodsThatDifferOnlyInReturnType.swift
[36/114] Compiling Mocky_Example_macOS Item.swift
[37/114] Compiling SwiftyMocky SwiftyMockyTestObserver.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
                      ~^~~~
                      
[38/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
                      ~^~~~
                      
[39/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
                      ~^~~~
                      
[40/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
                      ~^~~~
                      
[41/114] 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
    func passThisAsInOut(value: inout URLRequest)
                                      ^~~~~~~~~~
[42/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)
                                      ^~~~~~~~~~
[43/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)
                                      ^~~~~~~~~~
[44/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)
                                      ^~~~~~~~~~
[51/114] Compiling Mocky_Example_macOS Models.swift
[52/114] Compiling Mocky_Example_macOS AllLiteralsContainerProtocol.swift
[58/114] Emitting module SwiftyMocky
[66/114] Compiling SwiftyMocky Utils.swift
[67/114] Compiling Rainbow Double.swift
[68/114] Compiling Rainbow Colors.swift
[71/114] Compiling Rainbow NSRegularExpression.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[78/114] Emitting module SwiftyPrototype
/host/spi-builder-workspace/Sources/SwiftyPrototype/SwiftyMockyTestObserver.swift:5:6: error: Objective-C interoperability is disabled
    @objc public static func setup() {
    ~^~~~~
    
[81/114] Compiling SwiftyPrototype Utils.swift
[82/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() {
    ~^~~~~
    
[83/114] Compiling Shared Utils.swift
[84/114] Compiling Mocky_Example_macOS SelfConstrainedProtocol.swift
[85/114] Compiling Mocky_Example_macOS UnnamedAttributesProtocol.swift
[86/114] Compiling Mocky_Example_macOS VariadicParametersProtocol.swift
[87/114] Compiling Shared Parameter.swift
[88/114] Compiling Shared Stubbing.swift
[89/114] Compiling Shared Policies.swift
[90/115] Compiling Rainbow Color+Cocoa.swift
[91/115] Compiling Rainbow Color.swift
[92/115] Emitting module Rainbow
[94/117] Compiling Commander CommandRunner.swift
[95/117] Compiling Commander Command.swift
[98/118] Compiling Commander Error.swift
[99/118] Emitting module ShellOut
[100/118] Compiling ShellOut ShellOut.swift
[101/118] Emitting module PathKit
BUILD FAILURE 5.8 linux

Build Machine: Linux 2