The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Franz with Swift 5.9 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kellanburket/franz.git
Reference: master
Cloned https://github.com/kellanburket/franz.git into spi-builder-workspace
SUCCESS checkout https://github.com/kellanburket/franz.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Building for debugging...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/27] Emitting module Franz
/host/spi-builder-workspace/Sources/Franz/API/GroupMembershipAPI.swift:419:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
        struct GroupAssignment<T: KafkaMetadata>: KafkaType {
                               ^
/host/spi-builder-workspace/Sources/Franz/API/GroupMembershipAPI.swift:373:32: note: 'T' previously declared here
struct SyncGroupRequestMessage<T: KafkaMetadata>: KafkaType {
                               ^
/host/spi-builder-workspace/Sources/Franz/Connection.swift:89:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:90:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:43:3: error: Objective-C interoperability is disabled
        @objc private func commitGroupoffsets() {
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:48:3: error: Objective-C interoperability is disabled
        @objc private func sendHeartbeat() {
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/Crypt/CRC32.swift:145:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'CRC32' to 'Hashable' by implementing 'hash(into:)' instead
    var hashValue: Int {
        ^
/host/spi-builder-workspace/Sources/Franz/Group.swift:72:2: warning: 'internal(set)' modifier is redundant for an internal property
        internal(set) var assignedPartitions = [TopicName: [PartitionId]]()
        ^~~~~~~~~~~~~~
        
/host/spi-builder-workspace/Sources/Franz/MessageSet.swift:12:2: error: Objective-C interoperability is disabled
@objc public class MessageSet: NSObject, KafkaType {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/MessageSet.swift:168:2: error: Objective-C interoperability is disabled
@objc public class Message: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol ConsumerDelegate {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:31:3: error: Objective-C interoperability is disabled
        @objc optional func fetchDidFail(
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:49:3: error: Objective-C interoperability is disabled
        @objc optional func shouldRetryFailedFetch(
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:69:3: error: Objective-C interoperability is disabled
        @objc optional func topicPartitionLeaderNotFound(_ topic: String, partition: Int32)
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:76:2: error: Objective-C interoperability is disabled
@objc public protocol HighLevelConsumerDelegate: ConsumerDelegate {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:86:3: error: Objective-C interoperability is disabled
        @objc optional func shouldCommitOffset(_ topic: String, partition: Int32, offset: Int64) -> Bool
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:97:3: error: Objective-C interoperability is disabled
        @objc optional func shouldAttachOffsetMetadata(_ topic: String, partition: Int32, offset: Int64) -> String?
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:106:3: error: Objective-C interoperability is disabled
        @objc optional func offsetDidCommit(_ topic: String, partition: Int32, offset: Int64)
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:117:3: error: Objective-C interoperability is disabled
        @objc optional func offsetCommitDidFail(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String)
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:130:3: error: Objective-C interoperability is disabled
        @objc optional func shouldRetryFailedOffsetCommit(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String) -> Bool
        ~^~~~~
        
[2/30] Compiling Franz KafkaProtocol.swift
[3/30] Compiling Franz KafkaRequest.swift
[4/30] Compiling Franz KafkaResponse.swift
[5/30] Compiling Franz PlainMechanism.swift
/host/spi-builder-workspace/Sources/Franz/Connection.swift:89:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:90:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
[6/30] Compiling Franz SaslMechanism.swift
/host/spi-builder-workspace/Sources/Franz/Connection.swift:89:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:90:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
[7/30] Compiling Franz Topic.swift
/host/spi-builder-workspace/Sources/Franz/Connection.swift:89:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:90:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
[8/30] Compiling Franz GroupCoordinatorAPI.swift
/host/spi-builder-workspace/Sources/Franz/API/GroupMembershipAPI.swift:419:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
        struct GroupAssignment<T: KafkaMetadata>: KafkaType {
                               ^
/host/spi-builder-workspace/Sources/Franz/API/GroupMembershipAPI.swift:373:32: note: 'T' previously declared here
struct SyncGroupRequestMessage<T: KafkaMetadata>: KafkaType {
                               ^
[9/30] Compiling Franz GroupMembershipAPI.swift
/host/spi-builder-workspace/Sources/Franz/API/GroupMembershipAPI.swift:419:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
        struct GroupAssignment<T: KafkaMetadata>: KafkaType {
                               ^
/host/spi-builder-workspace/Sources/Franz/API/GroupMembershipAPI.swift:373:32: note: 'T' previously declared here
struct SyncGroupRequestMessage<T: KafkaMetadata>: KafkaType {
                               ^
[10/30] Compiling Franz MetadataAPI.swift
/host/spi-builder-workspace/Sources/Franz/API/GroupMembershipAPI.swift:419:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
        struct GroupAssignment<T: KafkaMetadata>: KafkaType {
                               ^
/host/spi-builder-workspace/Sources/Franz/API/GroupMembershipAPI.swift:373:32: note: 'T' previously declared here
struct SyncGroupRequestMessage<T: KafkaMetadata>: KafkaType {
                               ^
[11/30] Compiling Franz OffsetAPI.swift
/host/spi-builder-workspace/Sources/Franz/API/GroupMembershipAPI.swift:419:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
        struct GroupAssignment<T: KafkaMetadata>: KafkaType {
                               ^
/host/spi-builder-workspace/Sources/Franz/API/GroupMembershipAPI.swift:373:32: note: 'T' previously declared here
struct SyncGroupRequestMessage<T: KafkaMetadata>: KafkaType {
                               ^
[12/30] Compiling Franz APIVersionsAPI.swift
[13/30] Compiling Franz AdminAPI.swift
[14/30] Compiling Franz CreateTopicsAPI.swift
[15/30] Compiling Franz FetchAPI.swift
[16/30] Compiling Franz Assignment.swift
/host/spi-builder-workspace/Sources/Franz/Connection.swift:89:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:90:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:121:9: error: cannot find 'CFStreamCreatePairWithSocketToHost' in scope
        CFStreamCreatePairWithSocketToHost(
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:122:13: error: cannot find 'kCFAllocatorDefault' in scope
            kCFAllocatorDefault,
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:123:21: error: cannot find type 'CFString' in scope
            host as CFString,
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:136:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:142:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:252:12: warning: result of call to 'write(_:maxLength:)' is unused
                                stream.write(bytes, maxLength: data.count)
                                       ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:288:22: warning: result of call to 'read(_:maxLength:)' is unused
                        activeInputStream.read(&buffer, maxLength: Int(length))
                                          ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:375:49: error: type 'RunLoop.Mode' has no member 'defaultRunLoopMode'
                        inputStream?.remove(from: runLoop, forMode: .defaultRunLoopMode)
                                                                    ~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:376:50: error: type 'RunLoop.Mode' has no member 'defaultRunLoopMode'
                        outputStream?.remove(from: runLoop, forMode: .defaultRunLoopMode)
                                                                     ~^~~~~~~~~~~~~~~~~~
[17/30] Compiling Franz Broker.swift
/host/spi-builder-workspace/Sources/Franz/Connection.swift:89:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:90:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:121:9: error: cannot find 'CFStreamCreatePairWithSocketToHost' in scope
        CFStreamCreatePairWithSocketToHost(
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:122:13: error: cannot find 'kCFAllocatorDefault' in scope
            kCFAllocatorDefault,
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:123:21: error: cannot find type 'CFString' in scope
            host as CFString,
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:136:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:142:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:252:12: warning: result of call to 'write(_:maxLength:)' is unused
                                stream.write(bytes, maxLength: data.count)
                                       ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:288:22: warning: result of call to 'read(_:maxLength:)' is unused
                        activeInputStream.read(&buffer, maxLength: Int(length))
                                          ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:375:49: error: type 'RunLoop.Mode' has no member 'defaultRunLoopMode'
                        inputStream?.remove(from: runLoop, forMode: .defaultRunLoopMode)
                                                                    ~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:376:50: error: type 'RunLoop.Mode' has no member 'defaultRunLoopMode'
                        outputStream?.remove(from: runLoop, forMode: .defaultRunLoopMode)
                                                                     ~^~~~~~~~~~~~~~~~~~
[18/30] Compiling Franz Cluster.swift
/host/spi-builder-workspace/Sources/Franz/Connection.swift:89:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:90:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:121:9: error: cannot find 'CFStreamCreatePairWithSocketToHost' in scope
        CFStreamCreatePairWithSocketToHost(
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:122:13: error: cannot find 'kCFAllocatorDefault' in scope
            kCFAllocatorDefault,
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:123:21: error: cannot find type 'CFString' in scope
            host as CFString,
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:136:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:142:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:252:12: warning: result of call to 'write(_:maxLength:)' is unused
                                stream.write(bytes, maxLength: data.count)
                                       ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:288:22: warning: result of call to 'read(_:maxLength:)' is unused
                        activeInputStream.read(&buffer, maxLength: Int(length))
                                          ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:375:49: error: type 'RunLoop.Mode' has no member 'defaultRunLoopMode'
                        inputStream?.remove(from: runLoop, forMode: .defaultRunLoopMode)
                                                                    ~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:376:50: error: type 'RunLoop.Mode' has no member 'defaultRunLoopMode'
                        outputStream?.remove(from: runLoop, forMode: .defaultRunLoopMode)
                                                                     ~^~~~~~~~~~~~~~~~~~
[19/30] Compiling Franz Connection.swift
/host/spi-builder-workspace/Sources/Franz/Connection.swift:89:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:90:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:121:9: error: cannot find 'CFStreamCreatePairWithSocketToHost' in scope
        CFStreamCreatePairWithSocketToHost(
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:122:13: error: cannot find 'kCFAllocatorDefault' in scope
            kCFAllocatorDefault,
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:123:21: error: cannot find type 'CFString' in scope
            host as CFString,
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:136:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:142:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:252:12: warning: result of call to 'write(_:maxLength:)' is unused
                                stream.write(bytes, maxLength: data.count)
                                       ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:288:22: warning: result of call to 'read(_:maxLength:)' is unused
                        activeInputStream.read(&buffer, maxLength: Int(length))
                                          ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:375:49: error: type 'RunLoop.Mode' has no member 'defaultRunLoopMode'
                        inputStream?.remove(from: runLoop, forMode: .defaultRunLoopMode)
                                                                    ~^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:376:50: error: type 'RunLoop.Mode' has no member 'defaultRunLoopMode'
                        outputStream?.remove(from: runLoop, forMode: .defaultRunLoopMode)
                                                                     ~^~~~~~~~~~~~~~~~~~
[20/30] Compiling Franz OffsetCommitAPI.swift
[21/30] Compiling Franz OffsetFetchAPI.swift
[22/30] Compiling Franz ProduceAPI.swift
[23/30] Compiling Franz SaslApi.swift
[24/30] Compiling Franz MessageSet.swift
/host/spi-builder-workspace/Sources/Franz/MessageSet.swift:12:2: error: Objective-C interoperability is disabled
@objc public class MessageSet: NSObject, KafkaType {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/MessageSet.swift:168:2: error: Objective-C interoperability is disabled
@objc public class Message: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol ConsumerDelegate {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:31:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func fetchDidFail(
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:31:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func fetchDidFail(
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:49:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func shouldRetryFailedFetch(
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:49:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func shouldRetryFailedFetch(
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:69:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func topicPartitionLeaderNotFound(_ topic: String, partition: Int32)
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:69:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func topicPartitionLeaderNotFound(_ topic: String, partition: Int32)
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:76:2: error: Objective-C interoperability is disabled
@objc public protocol HighLevelConsumerDelegate: ConsumerDelegate {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:86:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func shouldCommitOffset(_ topic: String, partition: Int32, offset: Int64) -> Bool
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:86:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func shouldCommitOffset(_ topic: String, partition: Int32, offset: Int64) -> Bool
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:97:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func shouldAttachOffsetMetadata(_ topic: String, partition: Int32, offset: Int64) -> String?
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:97:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func shouldAttachOffsetMetadata(_ topic: String, partition: Int32, offset: Int64) -> String?
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:106:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func offsetDidCommit(_ topic: String, partition: Int32, offset: Int64)
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:106:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func offsetDidCommit(_ topic: String, partition: Int32, offset: Int64)
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:117:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func offsetCommitDidFail(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String)
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:117:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func offsetCommitDidFail(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String)
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:130:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func shouldRetryFailedOffsetCommit(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String) -> Bool
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:130:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func shouldRetryFailedOffsetCommit(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String) -> Bool
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:189:65: error: cannot use optional chaining on non-optional value of type '(String, Int32, Int16, String) -> Bool'
                                if errorCode.retriable, self.delegate.shouldRetryFailedFetch?(self._topic, partition: self._partition, errorId: errorCode.code, errorDescription: errorCode.description) ?? true {
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
                                                                                            
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:244:85: error: cannot force unwrap value of non-optional type '(String, Int32, Int64) -> Bool'
                        guard self.delegate.shouldCommitOffset != nil && self.delegate.shouldCommitOffset!(self._topic, partition: self._partition, offset: offset) else {
                                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
                                                                                                         
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:258:65: error: cannot use optional chaining on non-optional value of type '(String, Int32, Int16, String) -> Bool'
                                if errorCode.retriable, self.delegate.shouldRetryFailedFetch?(self._topic, partition: self._partition, errorId: errorCode.code, errorDescription: errorCode.description) ?? true {
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
                                                                                            
[25/30] Compiling Franz OldConsumers.swift
/host/spi-builder-workspace/Sources/Franz/MessageSet.swift:12:2: error: Objective-C interoperability is disabled
@objc public class MessageSet: NSObject, KafkaType {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/MessageSet.swift:168:2: error: Objective-C interoperability is disabled
@objc public class Message: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol ConsumerDelegate {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:31:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func fetchDidFail(
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:31:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func fetchDidFail(
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:49:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func shouldRetryFailedFetch(
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:49:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func shouldRetryFailedFetch(
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:69:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func topicPartitionLeaderNotFound(_ topic: String, partition: Int32)
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:69:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func topicPartitionLeaderNotFound(_ topic: String, partition: Int32)
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:76:2: error: Objective-C interoperability is disabled
@objc public protocol HighLevelConsumerDelegate: ConsumerDelegate {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:86:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func shouldCommitOffset(_ topic: String, partition: Int32, offset: Int64) -> Bool
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:86:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func shouldCommitOffset(_ topic: String, partition: Int32, offset: Int64) -> Bool
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:97:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func shouldAttachOffsetMetadata(_ topic: String, partition: Int32, offset: Int64) -> String?
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:97:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func shouldAttachOffsetMetadata(_ topic: String, partition: Int32, offset: Int64) -> String?
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:106:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func offsetDidCommit(_ topic: String, partition: Int32, offset: Int64)
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:106:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func offsetDidCommit(_ topic: String, partition: Int32, offset: Int64)
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:117:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func offsetCommitDidFail(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String)
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:117:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func offsetCommitDidFail(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String)
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:130:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func shouldRetryFailedOffsetCommit(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String) -> Bool
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:130:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func shouldRetryFailedOffsetCommit(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String) -> Bool
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:189:65: error: cannot use optional chaining on non-optional value of type '(String, Int32, Int16, String) -> Bool'
                                if errorCode.retriable, self.delegate.shouldRetryFailedFetch?(self._topic, partition: self._partition, errorId: errorCode.code, errorDescription: errorCode.description) ?? true {
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
                                                                                            
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:244:85: error: cannot force unwrap value of non-optional type '(String, Int32, Int64) -> Bool'
                        guard self.delegate.shouldCommitOffset != nil && self.delegate.shouldCommitOffset!(self._topic, partition: self._partition, offset: offset) else {
                                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
                                                                                                         
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:258:65: error: cannot use optional chaining on non-optional value of type '(String, Int32, Int16, String) -> Bool'
                                if errorCode.retriable, self.delegate.shouldRetryFailedFetch?(self._topic, partition: self._partition, errorId: errorCode.code, errorDescription: errorCode.description) ?? true {
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
                                                                                            
[26/30] Compiling Franz Partition.swift
/host/spi-builder-workspace/Sources/Franz/MessageSet.swift:12:2: error: Objective-C interoperability is disabled
@objc public class MessageSet: NSObject, KafkaType {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/MessageSet.swift:168:2: error: Objective-C interoperability is disabled
@objc public class Message: NSObject {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:13:2: error: Objective-C interoperability is disabled
@objc public protocol ConsumerDelegate {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:31:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func fetchDidFail(
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:31:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func fetchDidFail(
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:49:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func shouldRetryFailedFetch(
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:49:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func shouldRetryFailedFetch(
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:69:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func topicPartitionLeaderNotFound(_ topic: String, partition: Int32)
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:69:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func topicPartitionLeaderNotFound(_ topic: String, partition: Int32)
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:76:2: error: Objective-C interoperability is disabled
@objc public protocol HighLevelConsumerDelegate: ConsumerDelegate {
~^~~~~
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:86:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func shouldCommitOffset(_ topic: String, partition: Int32, offset: Int64) -> Bool
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:86:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func shouldCommitOffset(_ topic: String, partition: Int32, offset: Int64) -> Bool
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:97:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func shouldAttachOffsetMetadata(_ topic: String, partition: Int32, offset: Int64) -> String?
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:97:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func shouldAttachOffsetMetadata(_ topic: String, partition: Int32, offset: Int64) -> String?
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:106:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func offsetDidCommit(_ topic: String, partition: Int32, offset: Int64)
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:106:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func offsetDidCommit(_ topic: String, partition: Int32, offset: Int64)
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:117:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func offsetCommitDidFail(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String)
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:117:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func offsetCommitDidFail(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String)
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:130:8: error: 'optional' can only be applied to members of an @objc protocol
        @objc optional func shouldRetryFailedOffsetCommit(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String) -> Bool
              ^~~~~~~~~
              
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:130:3: error: @objc can only be used with members of classes, @objc protocols, and concrete extensions of classes
        @objc optional func shouldRetryFailedOffsetCommit(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String) -> Bool
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:189:65: error: cannot use optional chaining on non-optional value of type '(String, Int32, Int16, String) -> Bool'
                                if errorCode.retriable, self.delegate.shouldRetryFailedFetch?(self._topic, partition: self._partition, errorId: errorCode.code, errorDescription: errorCode.description) ?? true {
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
                                                                                            
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:244:85: error: cannot force unwrap value of non-optional type '(String, Int32, Int64) -> Bool'
                        guard self.delegate.shouldCommitOffset != nil && self.delegate.shouldCommitOffset!(self._topic, partition: self._partition, offset: offset) else {
                                                                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
                                                                                                         
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:258:65: error: cannot use optional chaining on non-optional value of type '(String, Int32, Int16, String) -> Bool'
                                if errorCode.retriable, self.delegate.shouldRetryFailedFetch?(self._topic, partition: self._partition, errorId: errorCode.code, errorDescription: errorCode.description) ?? true {
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
                                                                                            
[27/30] Compiling Franz Consumer.swift
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:43:3: error: Objective-C interoperability is disabled
        @objc private func commitGroupoffsets() {
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:48:3: error: Objective-C interoperability is disabled
        @objc private func sendHeartbeat() {
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:35:86: error: '#selector' can only be used with the Objective-C runtime
                        groupOffsetsTimer = Timer.scheduledTimer(timeInterval: 5, target: self, selector: #selector(commitGroupoffsets), userInfo: nil, repeats: true)
                                                                                                          ^
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:36:84: error: '#selector' can only be used with the Objective-C runtime
                        heartbeatTimer =  Timer.scheduledTimer(timeInterval: 3, target: self, selector: #selector(sendHeartbeat), userInfo: nil, repeats: true)
                                                                                                        ^
/host/spi-builder-workspace/Sources/Franz/Crypt/CRC32.swift:145:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'CRC32' to 'Hashable' by implementing 'hash(into:)' instead
    var hashValue: Int {
        ^
/host/spi-builder-workspace/Sources/Franz/Group.swift:72:2: warning: 'internal(set)' modifier is redundant for an internal property
        internal(set) var assignedPartitions = [TopicName: [PartitionId]]()
        ^~~~~~~~~~~~~~
        
[28/30] Compiling Franz CRC32.swift
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:43:3: error: Objective-C interoperability is disabled
        @objc private func commitGroupoffsets() {
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:48:3: error: Objective-C interoperability is disabled
        @objc private func sendHeartbeat() {
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:35:86: error: '#selector' can only be used with the Objective-C runtime
                        groupOffsetsTimer = Timer.scheduledTimer(timeInterval: 5, target: self, selector: #selector(commitGroupoffsets), userInfo: nil, repeats: true)
                                                                                                          ^
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:36:84: error: '#selector' can only be used with the Objective-C runtime
                        heartbeatTimer =  Timer.scheduledTimer(timeInterval: 3, target: self, selector: #selector(sendHeartbeat), userInfo: nil, repeats: true)
                                                                                                        ^
/host/spi-builder-workspace/Sources/Franz/Crypt/CRC32.swift:145:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'CRC32' to 'Hashable' by implementing 'hash(into:)' instead
    var hashValue: Int {
        ^
/host/spi-builder-workspace/Sources/Franz/Group.swift:72:2: warning: 'internal(set)' modifier is redundant for an internal property
        internal(set) var assignedPartitions = [TopicName: [PartitionId]]()
        ^~~~~~~~~~~~~~
        
[29/30] Compiling Franz Enumerations.swift
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:43:3: error: Objective-C interoperability is disabled
        @objc private func commitGroupoffsets() {
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:48:3: error: Objective-C interoperability is disabled
        @objc private func sendHeartbeat() {
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:35:86: error: '#selector' can only be used with the Objective-C runtime
                        groupOffsetsTimer = Timer.scheduledTimer(timeInterval: 5, target: self, selector: #selector(commitGroupoffsets), userInfo: nil, repeats: true)
                                                                                                          ^
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:36:84: error: '#selector' can only be used with the Objective-C runtime
                        heartbeatTimer =  Timer.scheduledTimer(timeInterval: 3, target: self, selector: #selector(sendHeartbeat), userInfo: nil, repeats: true)
                                                                                                        ^
/host/spi-builder-workspace/Sources/Franz/Crypt/CRC32.swift:145:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'CRC32' to 'Hashable' by implementing 'hash(into:)' instead
    var hashValue: Int {
        ^
/host/spi-builder-workspace/Sources/Franz/Group.swift:72:2: warning: 'internal(set)' modifier is redundant for an internal property
        internal(set) var assignedPartitions = [TopicName: [PartitionId]]()
        ^~~~~~~~~~~~~~
        
[30/30] Compiling Franz Group.swift
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:43:3: error: Objective-C interoperability is disabled
        @objc private func commitGroupoffsets() {
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:48:3: error: Objective-C interoperability is disabled
        @objc private func sendHeartbeat() {
        ~^~~~~
        
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:35:86: error: '#selector' can only be used with the Objective-C runtime
                        groupOffsetsTimer = Timer.scheduledTimer(timeInterval: 5, target: self, selector: #selector(commitGroupoffsets), userInfo: nil, repeats: true)
                                                                                                          ^
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:36:84: error: '#selector' can only be used with the Objective-C runtime
                        heartbeatTimer =  Timer.scheduledTimer(timeInterval: 3, target: self, selector: #selector(sendHeartbeat), userInfo: nil, repeats: true)
                                                                                                        ^
/host/spi-builder-workspace/Sources/Franz/Crypt/CRC32.swift:145:9: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'CRC32' to 'Hashable' by implementing 'hash(into:)' instead
    var hashValue: Int {
        ^
/host/spi-builder-workspace/Sources/Franz/Group.swift:72:2: warning: 'internal(set)' modifier is redundant for an internal property
        internal(set) var assignedPartitions = [TopicName: [PartitionId]]()
        ^~~~~~~~~~~~~~
        
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1