The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swiftymocky with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/tuist/xcodeproj
[1/1405] Fetching pathkit
[1406/21303] Fetching pathkit, xcodeproj
[17723/30051] Fetching pathkit, xcodeproj, yams
Fetched https://github.com/kylef/PathKit (1.35s)
Fetching https://github.com/tadija/AEXML.git
Fetched https://github.com/jpsim/Yams (1.39s)
Fetching https://github.com/kylef/Commander
Fetched https://github.com/tuist/xcodeproj (1.39s)
Fetching https://github.com/kylef/Spectre.git
[1/2026] Fetching aexml
[1643/3047] Fetching aexml, spectre
[3048/4635] Fetching aexml, spectre, commander
Fetched https://github.com/kylef/Spectre.git (0.21s)
Fetching https://github.com/JohnSundell/ShellOut
Fetched https://github.com/tadija/AEXML.git (0.26s)
Fetching https://github.com/luoxiu/Chalk
Fetched https://github.com/kylef/Commander (0.24s)
Fetching https://github.com/luoxiu/Rainbow
[1/234] Fetching rainbow
[48/563] Fetching rainbow, chalk
[242/1241] Fetching rainbow, chalk, shellout
Fetched https://github.com/luoxiu/Rainbow (0.22s)
Fetched https://github.com/luoxiu/Chalk (0.24s)
Fetched https://github.com/JohnSundell/ShellOut (0.25s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 3.0.1 (0.86s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 1.0.1 (0.29s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.2 (0.89s)
Computing version for https://github.com/luoxiu/Chalk
Computed https://github.com/luoxiu/Chalk at 0.2.1 (0.35s)
Computing version for https://github.com/tuist/xcodeproj
Computed https://github.com/tuist/xcodeproj at 8.3.1 (0.32s)
Computing version for https://github.com/JohnSundell/ShellOut
Computed https://github.com/JohnSundell/ShellOut at 2.3.0 (0.25s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.27s)
Computing version for https://github.com/luoxiu/Rainbow
Computed https://github.com/luoxiu/Rainbow at 0.1.1 (0.31s)
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/luoxiu/Rainbow
Working copy of https://github.com/luoxiu/Rainbow resolved at 0.1.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/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
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/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/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/Commander
Working copy of https://github.com/kylef/Commander resolved at 0.9.2
Building for debugging...
[0/17] Compiling writer.c
[1/17] Compiling reader.c
[2/17] Compiling parser.c
error: emit-module command failed with exit code 1 (use -v to see invocation)[4/106] Emitting module SwiftyPrototype
/host/spi-builder-workspace/Sources/SwiftyPrototype/SwiftyMockyTestObserver.swift:5:6: error: Objective-C interoperability is disabled
    @objc public static func setup() {
    ~^~~~~
    
error: emit-module command failed with exit code 1 (use -v to see invocation)[5/106] 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 { }
~^~~~~
[6/110] Emitting module Rainbow
[7/110] Compiling Commander ArgumentParser.swift
[8/111] Compiling Commander CommandType.swift
[9/111] Compiling Commander Group.swift
[10/111] 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
                      ~^~~~
                      
[11/111] 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
                      ~^~~~
                      
[12/111] 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
                      ~^~~~
                      
[13/111] 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
                      ~^~~~
                      
[14/111] Compiling Commander ArgumentConvertible.swift
[15/111] Compiling Commander ArgumentDescription.swift
[16/111] Compiling Mocky_Example_macOS SimpleProtocols.swift
[17/111] Compiling Mocky_Example_macOS ProtocolWithGenericConstraints.swift
[18/111] Compiling Mocky_Example_macOS ProtocolWithThrowingMethods.swift
[19/111] Compiling Mocky_Example_macOS ProtocolsWithCustomAttributes.swift
[20/111] Compiling Mocky_Example_macOS ProtocolWithStaticMembers.swift
[21/111] Compiling Mocky_Example_macOS ProtocolsWithClosures.swift
[22/111] 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 { }
~^~~~~
[23/111] 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 { }
~^~~~~
[24/111] 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 { }
~^~~~~
[25/111] Emitting module Commander
[28/111] Compiling Mocky_Example_macOS ProtocolsWithGenerics.swift
[29/111] Compiling Mocky_Example_macOS ProtocolWithProperties.swift
[30/111] Compiling Mocky_Example_macOS Excluded.generated.swift
[31/111] Compiling Mocky_Example_macOS GenericProtocols.swift
[32/113] Compiling Rainbow Colors.swift
[33/113] Compiling Shared Parameter.swift
[34/113] Compiling Mocky_Example_macOS ProtocolWithInitializers.swift
[37/113] Compiling Mocky_Example_macOS ProtocolMethodsThatDifferOnlyInReturnType.swift
[39/114] Compiling Mocky_Example_macOS InoutParameterProtocols.swift
[40/114] Compiling SwiftyPrototype Utils.swift
[44/114] Compiling Mocky_Example_macOS ExampleProtocols.swift
[47/114] Emitting module Shared
[51/114] Compiling Mocky_Example_macOS Item.swift
[52/114] Compiling Mocky_Example_macOS Models.swift
[53/114] Compiling Mocky_Example_macOS AllLiteralsContainerProtocol.swift
[54/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() {
    ~^~~~~
    
[62/114] Compiling SwiftyMocky Utils.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)
                                      ^~~~~~~~~~
/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/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
    func passThisAsInOut(value: inout URLRequest)
                                      ^~~~~~~~~~
/host/spi-builder-workspace/SwiftyMocky-Example/Shared/Other/InoutParameterProtocols.swift:13:39: error: cannot find type 'URLRequest' in scope
    func passThisAsInOut(value: inout URLRequest)
                                      ^~~~~~~~~~
[67/114] Compiling Mocky_Example_macOS SelfConstrainedProtocol.swift
[68/114] Compiling Mocky_Example_macOS UnnamedAttributesProtocol.swift
[69/114] Compiling Mocky_Example_macOS VariadicParametersProtocol.swift
[80/114] Emitting module SwiftyMocky
[84/114] Emitting module ShellOut
[85/114] Compiling ShellOut ShellOut.swift
[86/114] Compiling Commander Error.swift
[86/114] Compiling scanner.c
[86/114] Compiling emitter.c
[86/114] Compiling api.c
[87/114] Compiling Rainbow Color+Cocoa.swift
[88/114] Emitting module PathKit
BUILD FAILURE 5.7 linux

Build Machine: Linux 1