The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Franz with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kellanburket/franz.git
Reference: master
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/kellanburket/franz
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at c39cd28 Merge pull request #14 from lewissk/master
Cloned https://github.com/kellanburket/franz.git
Revision (git rev-parse @):
c39cd28aa8d78ab8446a50eb328993df99374a30
SUCCESS checkout https://github.com/kellanburket/franz.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.10
Building package at path:  $workDir
https://github.com/kellanburket/franz.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/29] 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
        ~^~~~~

[4/32] 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 {
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

[5/32] 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 {
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

[6/32] 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 {
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

[7/32] 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]]()
        ^~~~~~~~~~~~~~

[8/32] 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]]()
        ^~~~~~~~~~~~~~

[9/32] 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]]()
        ^~~~~~~~~~~~~~

[10/32] 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]]()
        ^~~~~~~~~~~~~~

[11/32] Compiling Franz APIVersionsAPI.swift
[12/32] Compiling Franz AdminAPI.swift
[13/32] Compiling Franz CreateTopicsAPI.swift
[14/32] Compiling Franz FetchAPI.swift
[15/32] Compiling Franz OffsetCommitAPI.swift
[16/32] Compiling Franz OffsetFetchAPI.swift
[17/32] Compiling Franz ProduceAPI.swift
[18/32] Compiling Franz SaslApi.swift
[19/32] 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)
                                                                     ~^~~~~~~~~~~~~~~~~~
[20/32] 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)
                                                                     ~^~~~~~~~~~~~~~~~~~
[21/32] 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)
                                                                     ~^~~~~~~~~~~~~~~~~~
[22/32] 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)
                                                                     ~^~~~~~~~~~~~~~~~~~
[23/32] Compiling Franz KafkaProtocol.swift
[24/32] Compiling Franz KafkaRequest.swift
[25/32] Compiling Franz KafkaResponse.swift
[26/32] 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 {
                               ^
[27/32] 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 {
                               ^
[28/32] 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 {
                               ^
[29/32] 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 {
                               ^
[30/32] 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>?
                                       ^~~~~~~~~~~~~
[31/32] 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>?
                                       ^~~~~~~~~~~~~
[32/32] 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>?
                                       ^~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling Franz SaslMechanism.swift
[3/16] Compiling Franz Topic.swift
[4/17] Compiling Franz Partition.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>?
                                       ^~~~~~~~~~~~~
[5/17] 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>?
                                       ^~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/18] 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
        ~^~~~~

[7/18] 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>?
                                       ^~~~~~~~~~~~~
[8/18] 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>?
                                       ^~~~~~~~~~~~~
[9/20] 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 {
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

[10/20] 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 {
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

[11/20] 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)
                                                                     ~^~~~~~~~~~~~~~~~~~
[12/20] 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)
                                                                     ~^~~~~~~~~~~~~~~~~~
[13/20] 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 {
        ^
[14/20] 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 {
        ^
[15/20] Compiling Franz Enumerations.swift
/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]]()
        ^~~~~~~~~~~~~~

[16/20] Compiling Franz Group.swift
/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]]()
        ^~~~~~~~~~~~~~

[17/24] Compiling Franz APIVersionsAPI.swift
[18/25] Compiling Franz FetchAPI.swift
[19/26] Compiling Franz OffsetAPI.swift
[20/26] Compiling Franz MetadataAPI.swift
[21/28] Compiling Franz OffsetFetchAPI.swift
[22/28] Compiling Franz ProduceAPI.swift
[23/30] Compiling Franz OffsetCommitAPI.swift
[24/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 {
                               ^
[25/30] Compiling Franz CreateTopicsAPI.swift
[26/30] Compiling Franz SaslApi.swift
[27/30] Compiling Franz GroupCoordinatorAPI.swift
[28/30] Compiling Franz AdminAPI.swift
[29/30] Compiling Franz KafkaProtocol.swift
[30/30] Compiling Franz KafkaRequest.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2