The Swift Package Index logo.Swift Package Index

Build Information

Successful build of Franz, reference master (c39cd2), with Swift 6.2 for macOS (SPM) on 17 Jun 2025 14:06:02 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kellanburket/franz.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/kellanburket/franz.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/30] Emitting module Franz
/Users/admin/builder/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
/Users/admin/builder/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
146 |         return Int(crc)
147 |     }
/Users/admin/builder/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 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[4/32] Compiling Franz SaslMechanism.swift
[5/32] Compiling Franz Topic.swift
[6/32] Compiling Franz KafkaRequest.swift
[7/32] Compiling Franz KafkaResponse.swift
[8/32] Compiling Franz MessageSet.swift
[9/32] Compiling Franz Connection.swift
/Users/admin/builder/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
146 |         return Int(crc)
147 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[10/32] Compiling Franz Consumer.swift
/Users/admin/builder/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
146 |         return Int(crc)
147 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[11/32] Compiling Franz CRC32.swift
/Users/admin/builder/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
146 |         return Int(crc)
147 |     }
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[12/32] Compiling Franz FetchAPI.swift
/Users/admin/builder/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
[13/32] Compiling Franz GroupCoordinatorAPI.swift
/Users/admin/builder/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
[14/32] Compiling Franz GroupMembershipAPI.swift
/Users/admin/builder/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
[15/32] Compiling Franz Assignment.swift
[16/32] Compiling Franz Broker.swift
[17/32] Compiling Franz Cluster.swift
[18/32] Compiling Franz Enumerations.swift
/Users/admin/builder/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 |
[19/32] Compiling Franz Group.swift
/Users/admin/builder/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 |
[20/32] Compiling Franz KafkaProtocol.swift
/Users/admin/builder/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 |
[21/32] Compiling Franz OldConsumers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Franz/OldConsumers.swift:182:3: warning: using '_' to ignore the result of a Void-returning function is redundant
180 | 		}
181 |
182 | 		_ = coordinator.poll(topics: [_topic: [_partition: offset]], replicaId: .none, callback: { topicName, partitionId, offset, messages in
    |   `- warning: using '_' to ignore the result of a Void-returning function is redundant
183 | 			messages.forEach { self.delegate.consumerDidReturnMessage($0, offset: offset) }
184 | 		}, errorCallback: { error in
[22/32] Compiling Franz Partition.swift
/Users/admin/builder/spi-builder-workspace/Sources/Franz/OldConsumers.swift:182:3: warning: using '_' to ignore the result of a Void-returning function is redundant
180 | 		}
181 |
182 | 		_ = coordinator.poll(topics: [_topic: [_partition: offset]], replicaId: .none, callback: { topicName, partitionId, offset, messages in
    |   `- warning: using '_' to ignore the result of a Void-returning function is redundant
183 | 			messages.forEach { self.delegate.consumerDidReturnMessage($0, offset: offset) }
184 | 		}, errorCallback: { error in
[23/32] Compiling Franz PlainMechanism.swift
/Users/admin/builder/spi-builder-workspace/Sources/Franz/OldConsumers.swift:182:3: warning: using '_' to ignore the result of a Void-returning function is redundant
180 | 		}
181 |
182 | 		_ = coordinator.poll(topics: [_topic: [_partition: offset]], replicaId: .none, callback: { topicName, partitionId, offset, messages in
    |   `- warning: using '_' to ignore the result of a Void-returning function is redundant
183 | 			messages.forEach { self.delegate.consumerDidReturnMessage($0, offset: offset) }
184 | 		}, errorCallback: { error in
[24/32] Compiling Franz OffsetFetchAPI.swift
[25/32] Compiling Franz ProduceAPI.swift
[26/32] Compiling Franz SaslApi.swift
[27/32] Compiling Franz APIVersionsAPI.swift
[28/32] Compiling Franz AdminAPI.swift
[29/32] Compiling Franz CreateTopicsAPI.swift
[30/32] Compiling Franz MetadataAPI.swift
[31/32] Compiling Franz OffsetAPI.swift
[32/32] Compiling Franz OffsetCommitAPI.swift
Build complete! (4.71s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Franz",
  "name" : "Franz",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Franz",
      "targets" : [
        "Franz"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "4"
  ],
  "targets" : [
    {
      "c99name" : "FranzTests",
      "module_type" : "SwiftTarget",
      "name" : "FranzTests",
      "path" : "Tests/FranzTests",
      "sources" : [
        "AssignmentTests.swift",
        "CRCTests.swift",
        "Protocol/ArrayProtocolTests.swift",
        "Protocol/IntegerProtocolTests.swift",
        "Protocol/MessageTests.swift",
        "Protocol/VariableLengthProtocolTests.swift"
      ],
      "target_dependencies" : [
        "Franz"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Franz",
      "module_type" : "SwiftTarget",
      "name" : "Franz",
      "path" : "Sources/Franz",
      "product_memberships" : [
        "Franz"
      ],
      "sources" : [
        "API/APIVersionsAPI.swift",
        "API/AdminAPI.swift",
        "API/CreateTopicsAPI.swift",
        "API/FetchAPI.swift",
        "API/GroupCoordinatorAPI.swift",
        "API/GroupMembershipAPI.swift",
        "API/MetadataAPI.swift",
        "API/OffsetAPI.swift",
        "API/OffsetCommitAPI.swift",
        "API/OffsetFetchAPI.swift",
        "API/ProduceAPI.swift",
        "API/SaslApi.swift",
        "Assignment.swift",
        "Broker.swift",
        "Cluster.swift",
        "Connection.swift",
        "Consumer.swift",
        "Crypt/CRC32.swift",
        "Enumerations.swift",
        "Group.swift",
        "KafkaProtocol.swift",
        "KafkaRequest.swift",
        "KafkaResponse.swift",
        "MessageSet.swift",
        "OldConsumers.swift",
        "Partition.swift",
        "Sasl mechanisms/PlainMechanism.swift",
        "Sasl mechanisms/SaslMechanism.swift",
        "Topic.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.