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-4606859-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: 1.0.2
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
 * tag               1.0.2      -> FETCH_HEAD
HEAD is now at c859f1a Update podspec
Cloned https://github.com/kellanburket/franz.git
Revision (git rev-parse @):
c859f1a584ea949000b82d85b301b6bc25fad90e
SUCCESS checkout https://github.com/kellanburket/franz.git at 1.0.2
========================================
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-4606859-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/25] Emitting module Franz
/host/spi-builder-workspace/Sources/Franz/Connection.swift:101:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:102:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:42:3: error: Objective-C interoperability is disabled
        @objc private func commitGroupoffsets() {
        ~^~~~~

/host/spi-builder-workspace/Sources/Franz/Consumer.swift:47: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/GroupMembershipAPI.swift:411:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
        class GroupAssignment<T: KafkaMetadata>: KafkaType {
                              ^
/host/spi-builder-workspace/Sources/Franz/GroupMembershipAPI.swift:363:31: note: 'T' previously declared here
class SyncGroupRequestMessage<T: KafkaMetadata>: KafkaType {
                              ^
/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
        ~^~~~~

error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/Sources/Franz/Connection.swift:101:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:102:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
SIL verification failed: result of witness_method must have correct representation for protocol: methodType->getRepresentation() == F.getModule().Types.getProtocolWitnessRepresentation(protocol)
Verifying instruction:
     %13 = open_existential_ref %12 : $any ConsumerDelegate to $@opened("0E449CC6-CAA3-11EE-896C-0242AC110003", any ConsumerDelegate) Self // users: %17, %16, %16, %15
->   %15 = witness_method $@opened("0E449CC6-CAA3-11EE-896C-0242AC110003", any ConsumerDelegate) Self, #ConsumerDelegate.consumerIsReady : <Self where Self : ConsumerDelegate> (Self) -> (OldConsumer) -> (), %13 : $@opened("0E449CC6-CAA3-11EE-896C-0242AC110003", any ConsumerDelegate) Self : $@convention(method) <τ_0_0 where τ_0_0 : ConsumerDelegate> (@guaranteed OldConsumer, @guaranteed τ_0_0) -> () // type-defs: %13; user: %16
     %16 = apply %15<@opened("0E449CC6-CAA3-11EE-896C-0242AC110003", any ConsumerDelegate) Self>(%14, %13) : $@convention(method) <τ_0_0 where τ_0_0 : ConsumerDelegate> (@guaranteed OldConsumer, @guaranteed τ_0_0) -> () // type-defs: %13
In function:
// closure #1 in Cluster.getSimpleConsumer(_:partition:delegate:)
sil private [ossa] @$s5Franz7ClusterC17getSimpleConsumer_9partition8delegateAA0dE0CSS_s5Int32VAA0E8Delegate_ptFyAA6BrokerCcfU_ : $@convention(thin) (@guaranteed Broker, @guaranteed SimpleConsumer) -> () {
// %0 "leader"                                    // users: %6, %2
// %1 "consumer"                                  // users: %14, %12, %11, %4, %3
bb0(%0 : @guaranteed $Broker, %1 : @closureCapture @guaranteed $SimpleConsumer):
  debug_value %0 : $Broker, let, name "leader", argno 1 // id: %2
  debug_value %1 : $SimpleConsumer, let, name "consumer", argno 2 // id: %3
  %4 = copy_value %1 : $SimpleConsumer            // user: %5
  %5 = upcast %4 : $SimpleConsumer to $OldConsumer // users: %10, %9, %8
  %6 = copy_value %0 : $Broker                    // user: %7
  %7 = enum $Optional<Broker>, #Optional.some!enumelt, %6 : $Broker // user: %9
  %8 = class_method %5 : $OldConsumer, #OldConsumer.broker!setter : (OldConsumer) -> (Broker?) -> (), $@convention(method) (@owned Optional<Broker>, @guaranteed OldConsumer) -> () // user: %9
  %9 = apply %8(%7, %5) : $@convention(method) (@owned Optional<Broker>, @guaranteed OldConsumer) -> ()
  destroy_value %5 : $OldConsumer                 // id: %10
  %11 = class_method %1 : $SimpleConsumer, #SimpleConsumer.delegate!getter : (SimpleConsumer) -> () -> any ConsumerDelegate, $@convention(method) (@guaranteed SimpleConsumer) -> @owned any ConsumerDelegate // user: %12
  %12 = apply %11(%1) : $@convention(method) (@guaranteed SimpleConsumer) -> @owned any ConsumerDelegate // user: %13
  %13 = open_existential_ref %12 : $any ConsumerDelegate to $@opened("0E449CC6-CAA3-11EE-896C-0242AC110003", any ConsumerDelegate) Self // users: %17, %16, %16, %15
  %14 = upcast %1 : $SimpleConsumer to $OldConsumer // user: %16
  %15 = witness_method $@opened("0E449CC6-CAA3-11EE-896C-0242AC110003", any ConsumerDelegate) Self, #ConsumerDelegate.consumerIsReady : <Self where Self : ConsumerDelegate> (Self) -> (OldConsumer) -> (), %13 : $@opened("0E449CC6-CAA3-11EE-896C-0242AC110003", any ConsumerDelegate) Self : $@convention(method) <τ_0_0 where τ_0_0 : ConsumerDelegate> (@guaranteed OldConsumer, @guaranteed τ_0_0) -> () // type-defs: %13; user: %16
  %16 = apply %15<@opened("0E449CC6-CAA3-11EE-896C-0242AC110003", any ConsumerDelegate) Self>(%14, %13) : $@convention(method) <τ_0_0 where τ_0_0 : ConsumerDelegate> (@guaranteed OldConsumer, @guaranteed τ_0_0) -> () // type-defs: %13
  destroy_value %13 : $@opened("0E449CC6-CAA3-11EE-896C-0242AC110003", any ConsumerDelegate) Self // id: %17
  %18 = tuple ()                                  // user: %19
  return %18 : $()                                // id: %19
} // end sil function '$s5Franz7ClusterC17getSimpleConsumer_9partition8delegateAA0dE0CSS_s5Int32VAA0E8Delegate_ptFyAA6BrokerCcfU_'
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/Franz/AdminAPI.swift -primary-file /host/spi-builder-workspace/Sources/Franz/Assignment.swift -primary-file /host/spi-builder-workspace/Sources/Franz/Broker.swift -primary-file /host/spi-builder-workspace/Sources/Franz/Cluster.swift /host/spi-builder-workspace/Sources/Franz/Connection.swift /host/spi-builder-workspace/Sources/Franz/Consumer.swift /host/spi-builder-workspace/Sources/Franz/Crypt/CRC32.swift /host/spi-builder-workspace/Sources/Franz/Enumerations.swift /host/spi-builder-workspace/Sources/Franz/FetchAPI.swift /host/spi-builder-workspace/Sources/Franz/Group.swift /host/spi-builder-workspace/Sources/Franz/GroupCoordinatorAPI.swift /host/spi-builder-workspace/Sources/Franz/GroupMembershipAPI.swift /host/spi-builder-workspace/Sources/Franz/KafkaProtocol.swift /host/spi-builder-workspace/Sources/Franz/KafkaRequest.swift /host/spi-builder-workspace/Sources/Franz/KafkaResponse.swift /host/spi-builder-workspace/Sources/Franz/MessageSet.swift /host/spi-builder-workspace/Sources/Franz/MetadataAPI.swift /host/spi-builder-workspace/Sources/Franz/OffsetAPI.swift /host/spi-builder-workspace/Sources/Franz/OffsetCommitAPI.swift /host/spi-builder-workspace/Sources/Franz/OffsetFetchAPI.swift /host/spi-builder-workspace/Sources/Franz/OldConsumers.swift /host/spi-builder-workspace/Sources/Franz/Partition.swift /host/spi-builder-workspace/Sources/Franz/ProduceAPI.swift /host/spi-builder-workspace/Sources/Franz/Topic.swift /host/spi-builder-workspace/Sources/Franz/Variables.swift -supplementary-output-file-map /tmp/TemporaryDirectory.xyJgBH/supplementaryOutputs-1 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name Franz -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Franz.build/AdminAPI.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Franz.build/Assignment.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Franz.build/Broker.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Franz.build/Cluster.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2.	Compiling with effective version 4.1.50
3.	While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/host/spi-builder-workspace/Sources/Franz/Cluster.swift")
4.	While silgen emitFunction SIL function "@$s5Franz7ClusterC17getSimpleConsumer_9partition8delegateAA0dE0CSS_s5Int32VAA0E8Delegate_ptF".
 for 'getSimpleConsumer(_:partition:delegate:)' (at /host/spi-builder-workspace/Sources/Franz/Cluster.swift:249:12)
5.	While silgen closureexpr SIL function "@$s5Franz7ClusterC17getSimpleConsumer_9partition8delegateAA0dE0CSS_s5Int32VAA0E8Delegate_ptFyAA6BrokerCcfU_".
 for expression at [/host/spi-builder-workspace/Sources/Franz/Cluster.swift:261:54 - line:265:9] RangeText="{ leader in
            consumer.broker = leader
            consumer.delegate.consumerIsReady(consumer)
        "
6.	While verifying SIL function "@$s5Franz7ClusterC17getSimpleConsumer_9partition8delegateAA0dE0CSS_s5Int32VAA0E8Delegate_ptFyAA6BrokerCcfU_".
 for expression at [/host/spi-builder-workspace/Sources/Franz/Cluster.swift:261:54 - line:265:9] RangeText="{ leader in
            consumer.broker = leader
            consumer.delegate.consumerIsReady(consumer)
        "
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend(+0x7307d73)[0x557b81e03d73]
/usr/bin/swift-frontend(+0x7305abe)[0x557b81e01abe]
/usr/bin/swift-frontend(+0x73080ea)[0x557b81e040ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fd23df28520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7fd23df7c9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7fd23df28476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7fd23df0e7f3]
/usr/bin/swift-frontend(+0x1fe7ad1)[0x557b7cae3ad1]
/usr/bin/swift-frontend(+0x1ffe0a9)[0x557b7cafa0a9]
/usr/bin/swift-frontend(+0x1fec2f0)[0x557b7cae82f0]
/usr/bin/swift-frontend(+0x1fea9c9)[0x557b7cae69c9]
/usr/bin/swift-frontend(+0x1fe3462)[0x557b7cadf462]
/usr/bin/swift-frontend(+0x1518ace)[0x557b7c014ace]
/usr/bin/swift-frontend(+0x1517f18)[0x557b7c013f18]
/usr/bin/swift-frontend(+0x151a55c)[0x557b7c01655c]
/usr/bin/swift-frontend(+0x1586264)[0x557b7c082264]
/usr/bin/swift-frontend(+0x15726fb)[0x557b7c06e6fb]
/usr/bin/swift-frontend(+0x1566c8c)[0x557b7c062c8c]
/usr/bin/swift-frontend(+0x1647e10)[0x557b7c143e10]
/usr/bin/swift-frontend(+0x1634176)[0x557b7c130176]
/usr/bin/swift-frontend(+0x1646725)[0x557b7c142725]
/usr/bin/swift-frontend(+0x165498f)[0x557b7c15098f]
/usr/bin/swift-frontend(+0x1653f4e)[0x557b7c14ff4e]
/usr/bin/swift-frontend(+0x163876c)[0x557b7c13476c]
/usr/bin/swift-frontend(+0x1635df2)[0x557b7c131df2]
/usr/bin/swift-frontend(+0x15726c4)[0x557b7c06e6c4]
/usr/bin/swift-frontend(+0x1567451)[0x557b7c063451]
/usr/bin/swift-frontend(+0x15fe6cb)[0x557b7c0fa6cb]
/usr/bin/swift-frontend(+0x15fd15d)[0x557b7c0f915d]
/usr/bin/swift-frontend(+0x1592d99)[0x557b7c08ed99]
/usr/bin/swift-frontend(+0x151827d)[0x557b7c01427d]
/usr/bin/swift-frontend(+0x151931c)[0x557b7c01531c]
/usr/bin/swift-frontend(+0x15166f4)[0x557b7c0126f4]
/usr/bin/swift-frontend(+0x1612c92)[0x557b7c10ec92]
/usr/bin/swift-frontend(+0x160eef4)[0x557b7c10aef4]
/usr/bin/swift-frontend(+0x160ec08)[0x557b7c10ac08]
/usr/bin/swift-frontend(+0x151c5c7)[0x557b7c0185c7]
/usr/bin/swift-frontend(+0x15fca8c)[0x557b7c0f8a8c]
/usr/bin/swift-frontend(+0x151f8df)[0x557b7c01b8df]
/usr/bin/swift-frontend(+0x151d408)[0x557b7c019408]
/usr/bin/swift-frontend(+0xe3477b)[0x557b7b93077b]
/usr/bin/swift-frontend(+0xe4a7f5)[0x557b7b9467f5]
/usr/bin/swift-frontend(+0xe382ad)[0x557b7b9342ad]
/usr/bin/swift-frontend(+0xe369db)[0x557b7b9329db]
/usr/bin/swift-frontend(+0xcc3315)[0x557b7b7bf315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fd23df0fd90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fd23df0fe40]
/usr/bin/swift-frontend(+0xcc2375)[0x557b7b7be375]
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/24] Emitting module Franz
/host/spi-builder-workspace/Sources/Franz/Connection.swift:101:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:102:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:42:3: error: Objective-C interoperability is disabled
        @objc private func commitGroupoffsets() {
        ~^~~~~

/host/spi-builder-workspace/Sources/Franz/Consumer.swift:47: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/GroupMembershipAPI.swift:411:24: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in Swift 6
        class GroupAssignment<T: KafkaMetadata>: KafkaType {
                              ^
/host/spi-builder-workspace/Sources/Franz/GroupMembershipAPI.swift:363:31: note: 'T' previously declared here
class SyncGroupRequestMessage<T: KafkaMetadata>: KafkaType {
                              ^
/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
        ~^~~~~

[3/27] Compiling Franz OffsetFetchAPI.swift
/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 {
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

[4/27] Compiling Franz OldConsumers.swift
/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/27] Compiling Franz Partition.swift
/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/27] Compiling Franz KafkaRequest.swift
[7/27] Compiling Franz KafkaResponse.swift
[8/27] Compiling Franz MessageSet.swift
[9/27] Compiling Franz ProduceAPI.swift
[10/27] Compiling Franz Topic.swift
[11/27] Compiling Franz Variables.swift
[12/27] Compiling Franz MetadataAPI.swift
[13/27] Compiling Franz OffsetAPI.swift
[14/27] Compiling Franz OffsetCommitAPI.swift
[15/27] Compiling Franz Connection.swift
/host/spi-builder-workspace/Sources/Franz/Connection.swift:101:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:102:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:132:9: error: cannot find 'CFStreamCreatePairWithSocketToHost' in scope
        CFStreamCreatePairWithSocketToHost(
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:133:13: error: cannot find 'kCFAllocatorDefault' in scope
            kCFAllocatorDefault,
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:134:21: error: cannot find type 'CFString' in scope
            ipv4 as CFString,
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:147:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:153:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:233:14: warning: result of call to 'write(_:maxLength:)' is unused
                                                stream.write(bytes, maxLength: data.count)
                                                       ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:262:23: warning: result of call to 'read(_:maxLength:)' is unused
                                activeInputStream.read(&buffer, maxLength: Int(length))
                                                  ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:42:3: error: Objective-C interoperability is disabled
        @objc private func commitGroupoffsets() {
        ~^~~~~

/host/spi-builder-workspace/Sources/Franz/Consumer.swift:47:3: error: Objective-C interoperability is disabled
        @objc private func sendHeartbeat() {
        ~^~~~~

/host/spi-builder-workspace/Sources/Franz/Consumer.swift:28:10: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
                        Timer.scheduledTimer(withTimeInterval: 5, repeats: true) { _ in self.commitGroupoffsets() }
                              ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:29:10: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
                        Timer.scheduledTimer(withTimeInterval: 3, repeats: true) { _ in
                              ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:34:66: error: '#selector' can only be used with the Objective-C runtime
                        Timer.scheduledTimer(timeInterval: 5, target: self, selector: #selector(commitGroupoffsets), userInfo: nil, repeats: true)
                                                                                      ^
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:35:66: error: '#selector' can only be used with the Objective-C runtime
                        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 {
        ^
[16/27] Compiling Franz Consumer.swift
/host/spi-builder-workspace/Sources/Franz/Connection.swift:101:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:102:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:132:9: error: cannot find 'CFStreamCreatePairWithSocketToHost' in scope
        CFStreamCreatePairWithSocketToHost(
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:133:13: error: cannot find 'kCFAllocatorDefault' in scope
            kCFAllocatorDefault,
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:134:21: error: cannot find type 'CFString' in scope
            ipv4 as CFString,
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:147:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:153:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:233:14: warning: result of call to 'write(_:maxLength:)' is unused
                                                stream.write(bytes, maxLength: data.count)
                                                       ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:262:23: warning: result of call to 'read(_:maxLength:)' is unused
                                activeInputStream.read(&buffer, maxLength: Int(length))
                                                  ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:42:3: error: Objective-C interoperability is disabled
        @objc private func commitGroupoffsets() {
        ~^~~~~

/host/spi-builder-workspace/Sources/Franz/Consumer.swift:47:3: error: Objective-C interoperability is disabled
        @objc private func sendHeartbeat() {
        ~^~~~~

/host/spi-builder-workspace/Sources/Franz/Consumer.swift:28:10: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
                        Timer.scheduledTimer(withTimeInterval: 5, repeats: true) { _ in self.commitGroupoffsets() }
                              ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:29:10: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
                        Timer.scheduledTimer(withTimeInterval: 3, repeats: true) { _ in
                              ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:34:66: error: '#selector' can only be used with the Objective-C runtime
                        Timer.scheduledTimer(timeInterval: 5, target: self, selector: #selector(commitGroupoffsets), userInfo: nil, repeats: true)
                                                                                      ^
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:35:66: error: '#selector' can only be used with the Objective-C runtime
                        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 {
        ^
[17/27] Compiling Franz CRC32.swift
/host/spi-builder-workspace/Sources/Franz/Connection.swift:101:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:102:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:132:9: error: cannot find 'CFStreamCreatePairWithSocketToHost' in scope
        CFStreamCreatePairWithSocketToHost(
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:133:13: error: cannot find 'kCFAllocatorDefault' in scope
            kCFAllocatorDefault,
            ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:134:21: error: cannot find type 'CFString' in scope
            ipv4 as CFString,
                    ^~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:147:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:153:14: error: cannot find 'RunLoopMode' in scope
                                forMode: RunLoopMode.defaultRunLoopMode
                                         ^~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:233:14: warning: result of call to 'write(_:maxLength:)' is unused
                                                stream.write(bytes, maxLength: data.count)
                                                       ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:262:23: warning: result of call to 'read(_:maxLength:)' is unused
                                activeInputStream.read(&buffer, maxLength: Int(length))
                                                  ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:42:3: error: Objective-C interoperability is disabled
        @objc private func commitGroupoffsets() {
        ~^~~~~

/host/spi-builder-workspace/Sources/Franz/Consumer.swift:47:3: error: Objective-C interoperability is disabled
        @objc private func sendHeartbeat() {
        ~^~~~~

/host/spi-builder-workspace/Sources/Franz/Consumer.swift:28:10: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
                        Timer.scheduledTimer(withTimeInterval: 5, repeats: true) { _ in self.commitGroupoffsets() }
                              ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:29:10: warning: result of call to 'scheduledTimer(withTimeInterval:repeats:block:)' is unused
                        Timer.scheduledTimer(withTimeInterval: 3, repeats: true) { _ in
                              ^             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:34:66: error: '#selector' can only be used with the Objective-C runtime
                        Timer.scheduledTimer(timeInterval: 5, target: self, selector: #selector(commitGroupoffsets), userInfo: nil, repeats: true)
                                                                                      ^
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:35:66: error: '#selector' can only be used with the Objective-C runtime
                        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 {
        ^
[18/27] 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]]()
        ^~~~~~~~~~~~~~

[19/27] Compiling Franz FetchAPI.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]]()
        ^~~~~~~~~~~~~~

error: compile command failed due to signal 6 (use -v to see invocation)
[20/27] 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]]()
        ^~~~~~~~~~~~~~

/host/spi-builder-workspace/Sources/Franz/Connection.swift:101:39: error: cannot find type 'CFReadStream' in scope
    private var readStream: Unmanaged<CFReadStream>?
                                      ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Franz/Connection.swift:102:40: error: cannot find type 'CFWriteStream' in scope
    private var writeStream: Unmanaged<CFWriteStream>?
                                       ^~~~~~~~~~~~~
SIL verification failed: result of witness_method must have correct representation for protocol: methodType->getRepresentation() == F.getModule().Types.getProtocolWitnessRepresentation(protocol)
Verifying instruction:
     %13 = open_existential_ref %12 : $any ConsumerDelegate to $@opened("13F19A48-CAA3-11EE-819C-0242AC110003", any ConsumerDelegate) Self // users: %17, %16, %16, %15
->   %15 = witness_method $@opened("13F19A48-CAA3-11EE-819C-0242AC110003", any ConsumerDelegate) Self, #ConsumerDelegate.consumerIsReady : <Self where Self : ConsumerDelegate> (Self) -> (OldConsumer) -> (), %13 : $@opened("13F19A48-CAA3-11EE-819C-0242AC110003", any ConsumerDelegate) Self : $@convention(method) <τ_0_0 where τ_0_0 : ConsumerDelegate> (@guaranteed OldConsumer, @guaranteed τ_0_0) -> () // type-defs: %13; user: %16
     %16 = apply %15<@opened("13F19A48-CAA3-11EE-819C-0242AC110003", any ConsumerDelegate) Self>(%14, %13) : $@convention(method) <τ_0_0 where τ_0_0 : ConsumerDelegate> (@guaranteed OldConsumer, @guaranteed τ_0_0) -> () // type-defs: %13
In function:
// closure #1 in Cluster.getSimpleConsumer(_:partition:delegate:)
sil private [ossa] @$s5Franz7ClusterC17getSimpleConsumer_9partition8delegateAA0dE0CSS_s5Int32VAA0E8Delegate_ptFyAA6BrokerCcfU_ : $@convention(thin) (@guaranteed Broker, @guaranteed SimpleConsumer) -> () {
// %0 "leader"                                    // users: %6, %2
// %1 "consumer"                                  // users: %14, %12, %11, %4, %3
bb0(%0 : @guaranteed $Broker, %1 : @closureCapture @guaranteed $SimpleConsumer):
  debug_value %0 : $Broker, let, name "leader", argno 1 // id: %2
  debug_value %1 : $SimpleConsumer, let, name "consumer", argno 2 // id: %3
  %4 = copy_value %1 : $SimpleConsumer            // user: %5
  %5 = upcast %4 : $SimpleConsumer to $OldConsumer // users: %10, %9, %8
  %6 = copy_value %0 : $Broker                    // user: %7
  %7 = enum $Optional<Broker>, #Optional.some!enumelt, %6 : $Broker // user: %9
  %8 = class_method %5 : $OldConsumer, #OldConsumer.broker!setter : (OldConsumer) -> (Broker?) -> (), $@convention(method) (@owned Optional<Broker>, @guaranteed OldConsumer) -> () // user: %9
  %9 = apply %8(%7, %5) : $@convention(method) (@owned Optional<Broker>, @guaranteed OldConsumer) -> ()
  destroy_value %5 : $OldConsumer                 // id: %10
  %11 = class_method %1 : $SimpleConsumer, #SimpleConsumer.delegate!getter : (SimpleConsumer) -> () -> any ConsumerDelegate, $@convention(method) (@guaranteed SimpleConsumer) -> @owned any ConsumerDelegate // user: %12
  %12 = apply %11(%1) : $@convention(method) (@guaranteed SimpleConsumer) -> @owned any ConsumerDelegate // user: %13
  %13 = open_existential_ref %12 : $any ConsumerDelegate to $@opened("13F19A48-CAA3-11EE-819C-0242AC110003", any ConsumerDelegate) Self // users: %17, %16, %16, %15
  %14 = upcast %1 : $SimpleConsumer to $OldConsumer // user: %16
  %15 = witness_method $@opened("13F19A48-CAA3-11EE-819C-0242AC110003", any ConsumerDelegate) Self, #ConsumerDelegate.consumerIsReady : <Self where Self : ConsumerDelegate> (Self) -> (OldConsumer) -> (), %13 : $@opened("13F19A48-CAA3-11EE-819C-0242AC110003", any ConsumerDelegate) Self : $@convention(method) <τ_0_0 where τ_0_0 : ConsumerDelegate> (@guaranteed OldConsumer, @guaranteed τ_0_0) -> () // type-defs: %13; user: %16
  %16 = apply %15<@opened("13F19A48-CAA3-11EE-819C-0242AC110003", any ConsumerDelegate) Self>(%14, %13) : $@convention(method) <τ_0_0 where τ_0_0 : ConsumerDelegate> (@guaranteed OldConsumer, @guaranteed τ_0_0) -> () // type-defs: %13
  destroy_value %13 : $@opened("13F19A48-CAA3-11EE-819C-0242AC110003", any ConsumerDelegate) Self // id: %17
  %18 = tuple ()                                  // user: %19
  return %18 : $()                                // id: %19
} // end sil function '$s5Franz7ClusterC17getSimpleConsumer_9partition8delegateAA0dE0CSS_s5Int32VAA0E8Delegate_ptFyAA6BrokerCcfU_'
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.	Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/Sources/Franz/AdminAPI.swift -primary-file /host/spi-builder-workspace/Sources/Franz/Assignment.swift -primary-file /host/spi-builder-workspace/Sources/Franz/Broker.swift -primary-file /host/spi-builder-workspace/Sources/Franz/Cluster.swift /host/spi-builder-workspace/Sources/Franz/Connection.swift /host/spi-builder-workspace/Sources/Franz/Consumer.swift /host/spi-builder-workspace/Sources/Franz/Crypt/CRC32.swift /host/spi-builder-workspace/Sources/Franz/Enumerations.swift /host/spi-builder-workspace/Sources/Franz/FetchAPI.swift /host/spi-builder-workspace/Sources/Franz/Group.swift /host/spi-builder-workspace/Sources/Franz/GroupCoordinatorAPI.swift /host/spi-builder-workspace/Sources/Franz/GroupMembershipAPI.swift /host/spi-builder-workspace/Sources/Franz/KafkaProtocol.swift /host/spi-builder-workspace/Sources/Franz/KafkaRequest.swift /host/spi-builder-workspace/Sources/Franz/KafkaResponse.swift /host/spi-builder-workspace/Sources/Franz/MessageSet.swift /host/spi-builder-workspace/Sources/Franz/MetadataAPI.swift /host/spi-builder-workspace/Sources/Franz/OffsetAPI.swift /host/spi-builder-workspace/Sources/Franz/OffsetCommitAPI.swift /host/spi-builder-workspace/Sources/Franz/OffsetFetchAPI.swift /host/spi-builder-workspace/Sources/Franz/OldConsumers.swift /host/spi-builder-workspace/Sources/Franz/Partition.swift /host/spi-builder-workspace/Sources/Franz/ProduceAPI.swift /host/spi-builder-workspace/Sources/Franz/Topic.swift /host/spi-builder-workspace/Sources/Franz/Variables.swift -supplementary-output-file-map /tmp/TemporaryDirectory.UY6gfi/supplementaryOutputs-1 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name Franz -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Franz.build/AdminAPI.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Franz.build/Assignment.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Franz.build/Broker.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Franz.build/Cluster.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1.	Swift version 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2.	Compiling with effective version 4.1.50
3.	While evaluating request ASTLoweringRequest(Lowering AST to SIL for file "/host/spi-builder-workspace/Sources/Franz/Cluster.swift")
4.	While silgen emitFunction SIL function "@$s5Franz7ClusterC17getSimpleConsumer_9partition8delegateAA0dE0CSS_s5Int32VAA0E8Delegate_ptF".
 for 'getSimpleConsumer(_:partition:delegate:)' (at /host/spi-builder-workspace/Sources/Franz/Cluster.swift:249:12)
5.	While silgen closureexpr SIL function "@$s5Franz7ClusterC17getSimpleConsumer_9partition8delegateAA0dE0CSS_s5Int32VAA0E8Delegate_ptFyAA6BrokerCcfU_".
 for expression at [/host/spi-builder-workspace/Sources/Franz/Cluster.swift:261:54 - line:265:9] RangeText="{ leader in
            consumer.broker = leader
            consumer.delegate.consumerIsReady(consumer)
        "
6.	While verifying SIL function "@$s5Franz7ClusterC17getSimpleConsumer_9partition8delegateAA0dE0CSS_s5Int32VAA0E8Delegate_ptFyAA6BrokerCcfU_".
 for expression at [/host/spi-builder-workspace/Sources/Franz/Cluster.swift:261:54 - line:265:9] RangeText="{ leader in
            consumer.broker = leader
            consumer.delegate.consumerIsReady(consumer)
        "
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend(+0x7307d73)[0x561ed5685d73]
/usr/bin/swift-frontend(+0x7305abe)[0x561ed5683abe]
/usr/bin/swift-frontend(+0x73080ea)[0x561ed56860ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fa979a61520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7fa979ab59fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7fa979a61476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7fa979a477f3]
/usr/bin/swift-frontend(+0x1fe7ad1)[0x561ed0365ad1]
/usr/bin/swift-frontend(+0x1ffe0a9)[0x561ed037c0a9]
/usr/bin/swift-frontend(+0x1fec2f0)[0x561ed036a2f0]
/usr/bin/swift-frontend(+0x1fea9c9)[0x561ed03689c9]
/usr/bin/swift-frontend(+0x1fe3462)[0x561ed0361462]
/usr/bin/swift-frontend(+0x1518ace)[0x561ecf896ace]
/usr/bin/swift-frontend(+0x1517f18)[0x561ecf895f18]
/usr/bin/swift-frontend(+0x151a55c)[0x561ecf89855c]
/usr/bin/swift-frontend(+0x1586264)[0x561ecf904264]
/usr/bin/swift-frontend(+0x15726fb)[0x561ecf8f06fb]
/usr/bin/swift-frontend(+0x1566c8c)[0x561ecf8e4c8c]
/usr/bin/swift-frontend(+0x1647e10)[0x561ecf9c5e10]
/usr/bin/swift-frontend(+0x1634176)[0x561ecf9b2176]
/usr/bin/swift-frontend(+0x1646725)[0x561ecf9c4725]
/usr/bin/swift-frontend(+0x165498f)[0x561ecf9d298f]
/usr/bin/swift-frontend(+0x1653f4e)[0x561ecf9d1f4e]
/usr/bin/swift-frontend(+0x163876c)[0x561ecf9b676c]
/usr/bin/swift-frontend(+0x1635df2)[0x561ecf9b3df2]
/usr/bin/swift-frontend(+0x15726c4)[0x561ecf8f06c4]
/usr/bin/swift-frontend(+0x1567451)[0x561ecf8e5451]
/usr/bin/swift-frontend(+0x15fe6cb)[0x561ecf97c6cb]
/usr/bin/swift-frontend(+0x15fd15d)[0x561ecf97b15d]
/usr/bin/swift-frontend(+0x1592d99)[0x561ecf910d99]
/usr/bin/swift-frontend(+0x151827d)[0x561ecf89627d]
/usr/bin/swift-frontend(+0x151931c)[0x561ecf89731c]
/usr/bin/swift-frontend(+0x15166f4)[0x561ecf8946f4]
/usr/bin/swift-frontend(+0x1612c92)[0x561ecf990c92]
/usr/bin/swift-frontend(+0x160eef4)[0x561ecf98cef4]
/usr/bin/swift-frontend(+0x160ec08)[0x561ecf98cc08]
/usr/bin/swift-frontend(+0x151c5c7)[0x561ecf89a5c7]
/usr/bin/swift-frontend(+0x15fca8c)[0x561ecf97aa8c]
/usr/bin/swift-frontend(+0x151f8df)[0x561ecf89d8df]
/usr/bin/swift-frontend(+0x151d408)[0x561ecf89b408]
/usr/bin/swift-frontend(+0xe3477b)[0x561ecf1b277b]
/usr/bin/swift-frontend(+0xe4a7f5)[0x561ecf1c87f5]
/usr/bin/swift-frontend(+0xe382ad)[0x561ecf1b62ad]
/usr/bin/swift-frontend(+0xe369db)[0x561ecf1b49db]
/usr/bin/swift-frontend(+0xcc3315)[0x561ecf041315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fa979a48d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fa979a48e40]
/usr/bin/swift-frontend(+0xcc2375)[0x561ecf040375]
BUILD FAILURE 5.10 linux

Build Machine: Linux 1