The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Franz, reference master (c39cd2), with Swift 6.4 for Linux on 15 Sep 2026 20:59:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.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:             6.4
Building package at path:  $PWD
https://github.com/kellanburket/franz.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal x86_64 failed with a nonzero exit code. Command line:     cd /host

/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 the Swift 6 language mode
371 | typealias MemberId = String
372 |
373 | struct SyncGroupRequestMessage<T: KafkaMetadata>: KafkaType {
    |                                `- note: 'T' previously declared here
374 |
375 |     private var _groupId: String
    :
417 |     }
418 |
419 | 	struct GroupAssignment<T: KafkaMetadata>: KafkaType {
    |                         `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
420 |
421 | 		let memberId: String
/host/spi-builder-workspace/Sources/Franz/Connection.swift:89:39: error: cannot find type 'CFReadStream' in scope
 87 |     private var clientId: String
 88 |
 89 |     private var readStream: Unmanaged<CFReadStream>?
    |                                       `- error: cannot find type 'CFReadStream' in scope
 90 |     private var writeStream: Unmanaged<CFWriteStream>?
 91 |
/host/spi-builder-workspace/Sources/Franz/Connection.swift:90:40: error: cannot find type 'CFWriteStream' in scope
 88 |
 89 |     private var readStream: Unmanaged<CFReadStream>?
 90 |     private var writeStream: Unmanaged<CFWriteStream>?
    |                                        `- error: cannot find type 'CFWriteStream' in scope
 91 |
 92 |     private var inputStream: InputStream?
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:43:3: error: Objective-C interoperability is disabled
 41 |
 42 | 	var offsetsToCommit = [TopicName: [PartitionId: (Offset, OffsetMetadata?)]]()
 43 | 	@objc private func commitGroupoffsets() {
    |   `- error: Objective-C interoperability is disabled
 44 | 		guard let groupId = self.membership?.group.id, let broker = self.broker else { return }
 45 | 		broker.commitGroupOffset(groupId: groupId, topics: offsetsToCommit)
/host/spi-builder-workspace/Sources/Franz/Consumer.swift:48:3: error: Objective-C interoperability is disabled
 46 | 	}
 47 |
 48 | 	@objc private func sendHeartbeat() {
    |   `- error: Objective-C interoperability is disabled
 49 | 		guard let groupId = self.membership?.group.id,
 50 | 			let generationId = self.membership?.group.generationId,
/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 [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
143 |     private(set) var crc: UInt32 = 0
144 |
145 |     var hashValue: Int {
    |         `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'CRC32' to 'Hashable' by implementing 'hash(into:)' instead [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration\DeprecatedDeclaration]8;;\]
146 |         return Int(crc)
147 |     }
/host/spi-builder-workspace/Sources/Franz/Group.swift:72:2: warning: 'internal(set)' modifier is redundant for an internal property
 70 |
 71 | 	var topics = Set<TopicName>()
 72 | 	internal(set) var assignedPartitions = [TopicName: [PartitionId]]()
    |  `- warning: 'internal(set)' modifier is redundant for an internal property
 73 | }
 74 |
/host/spi-builder-workspace/Sources/Franz/MessageSet.swift:12:2: error: Objective-C interoperability is disabled
 10 |
 11 |
 12 | @objc public class MessageSet: NSObject, KafkaType {
    |  `- error: Objective-C interoperability is disabled
 13 |     let values: [MessageSetItem]
 14 |
/host/spi-builder-workspace/Sources/Franz/MessageSet.swift:168:2: error: Objective-C interoperability is disabled
166 | */
167 | //TODO: Convert to struct
168 | @objc public class Message: NSObject {
    |  `- error: Objective-C interoperability is disabled
169 |
170 |     /**
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:13:2: error: Objective-C interoperability is disabled
 11 | Base consumer delegate. Used by SimpleConsumer.
 12 | */
 13 | @objc public protocol ConsumerDelegate {
    |  `- error: Objective-C interoperability is disabled
 14 | 	/**
 15 | 	Called when the consumer has consumed a new Message
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:31:3: error: Objective-C interoperability is disabled
 29 | 	- Parameter errorDescription:   a description of the error returned from the server
 30 | 	*/
 31 | 	@objc optional func fetchDidFail(
    |   `- error: Objective-C interoperability is disabled
 32 | 		_ topic: String,
 33 | 		partition: Int32,
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:49:3: error: Objective-C interoperability is disabled
 47 | 	- Returns:  true if broker should attempt to retry request, false if not
 48 | 	*/
 49 | 	@objc optional func shouldRetryFailedFetch(
    |   `- error: Objective-C interoperability is disabled
 50 | 		_ topic: String,
 51 | 		partition: Int32,
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:69:3: error: Objective-C interoperability is disabled
 67 | 	- Parameter partition:  the partition
 68 | 	*/
 69 | 	@objc optional func topicPartitionLeaderNotFound(_ topic: String, partition: Int32)
    |   `- error: Objective-C interoperability is disabled
 70 | }
 71 |
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:76:2: error: Objective-C interoperability is disabled
 74 | High-level consumer delegate. Used by HighLevelConsumer.
 75 | */
 76 | @objc public protocol HighLevelConsumerDelegate: ConsumerDelegate {
    |  `- error: Objective-C interoperability is disabled
 77 | 	/**
 78 | 	Called after messages have been pulled for server.
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:86:3: error: Objective-C interoperability is disabled
 84 | 	- Returns:  true if offset should be committed, false if otherwise
 85 | 	*/
 86 | 	@objc optional func shouldCommitOffset(_ topic: String, partition: Int32, offset: Int64) -> Bool
    |   `- error: Objective-C interoperability is disabled
 87 |
 88 | 	/**
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:97:3: error: Objective-C interoperability is disabled
 95 | 	- Returns:  additional metadata to send with offset commit to server
 96 | 	*/
 97 | 	@objc optional func shouldAttachOffsetMetadata(_ topic: String, partition: Int32, offset: Int64) -> String?
    |   `- error: Objective-C interoperability is disabled
 98 |
 99 | 	/**
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:106:3: error: Objective-C interoperability is disabled
104 | 	- Parameter offset: the offset
105 | 	*/
106 | 	@objc optional func offsetDidCommit(_ topic: String, partition: Int32, offset: Int64)
    |   `- error: Objective-C interoperability is disabled
107 |
108 | 	/**
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:117:3: error: Objective-C interoperability is disabled
115 | 	- Parameter errorDescription: description of the error
116 | 	*/
117 | 	@objc optional func offsetCommitDidFail(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String)
    |   `- error: Objective-C interoperability is disabled
118 |
119 | 	/**
/host/spi-builder-workspace/Sources/Franz/OldConsumers.swift:130:3: error: Objective-C interoperability is disabled
128 | 	- Returns: true if offset commit should be retried, false if otherwise
129 | 	*/
130 | 	@objc optional func shouldRetryFailedOffsetCommit(_ topic: String, partition: Int32, offset: Int64, errorId: Int16, errorDescription: String) -> Bool
    |   `- error: Objective-C interoperability is disabled
131 | }
132 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Franz/API/APIVersionsAPI.swift /host/spi-builder-workspace/Sources/Franz/API/AdminAPI.swift /host/spi-builder-workspace/Sources/Franz/API/CreateTopicsAPI.swift /host/spi-builder-workspace/Sources/Franz/API/FetchAPI.swift /host/spi-builder-workspace/Sources/Franz/API/GroupCoordinatorAPI.swift /host/spi-builder-workspace/Sources/Franz/API/GroupMembershipAPI.swift /host/spi-builder-workspace/Sources/Franz/API/MetadataAPI.swift /host/spi-builder-workspace/Sources/Franz/API/OffsetAPI.swift /host/spi-builder-workspace/Sources/Franz/API/OffsetCommitAPI.swift /host/spi-builder-workspace/Sources/Franz/API/OffsetFetchAPI.swift /host/spi-builder-workspace/Sources/Franz/API/ProduceAPI.swift /host/spi-builder-workspace/Sources/Franz/API/SaslApi.swift /host/spi-builder-workspace/Sources/Franz/Assignment.swift /host/spi-builder-workspace/Sources/Franz/Broker.swift /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/Group.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/OldConsumers.swift /host/spi-builder-workspace/Sources/Franz/Partition.swift /host/spi-builder-workspace/Sources/Franz/Sasl\ mechanisms/PlainMechanism.swift /host/spi-builder-workspace/Sources/Franz/Sasl\ mechanisms/SaslMechanism.swift /host/spi-builder-workspace/Sources/Franz/Topic.swift -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 4 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Franz.build/Debug-linux-x86_64/Franz-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Franz.build/Debug-linux-x86_64/Franz-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Franz.build/Debug-linux-x86_64/Franz-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Franz -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Franz.build/Debug-linux-x86_64/Franz-t.build/Objects-normal/x86_64/Franz_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Franz.build/Debug-linux-x86_64/Franz-t.build/Objects-normal/x86_64/Modules/Franz.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Franz.build/Debug-linux-x86_64/Franz-t.build/Objects-normal/x86_64/Modules/Franz.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Franz.build/Debug-linux-x86_64/Franz-t.build/Objects-normal/x86_64/Franz-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Franz.build/Debug-linux-x86_64/Franz-t.build/Objects-normal/x86_64/Franz-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Franz.build/Debug-linux-x86_64/Franz-t.build/Objects-normal/x86_64/Franz-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Franz.build/Debug-linux-x86_64/Franz-t.build/Objects-normal/x86_64/Modules/Franz.swiftmodule
error: Build failed
BUILD FAILURE 6.4 linux