The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build SwiftKafka, reference master (210cd6), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 03:50:31 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kitura/SwiftKafka.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/Kitura/SwiftKafka
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 210cd6b Merge pull request #6 from geoherna/master
Cloned https://github.com/Kitura/SwiftKafka.git
Revision (git rev-parse @):
210cd6b4cf26e045bbae4eb2705290e8600290fd
SUCCESS checkout https://github.com/Kitura/SwiftKafka.git at master
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.65s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.13s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftkafka",
      "name": "SwiftKafka",
      "url": "https://github.com/Kitura/SwiftKafka.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftKafka",
      "dependencies": [
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.6.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/Kitura/SwiftKafka.git
[1/383] Fetching swiftkafka
Fetched https://github.com/Kitura/SwiftKafka.git from cache (0.85s)
Fetching https://github.com/apple/swift-log.git from cache
Fetched https://github.com/apple/swift-log.git from cache (0.52s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.58s)
Creating working copy for https://github.com/Kitura/SwiftKafka.git
Working copy of https://github.com/Kitura/SwiftKafka.git resolved at master (210cd6b)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
warning: '.resolve-product-dependencies': dependency 'swiftkafka' is not used by any target
Found 1 product dependencies
  - swift-log
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Kitura/SwiftKafka.git
https://github.com/Kitura/SwiftKafka.git
{
  "dependencies" : [
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    }
  ],
  "manifest_display_name" : "SwiftKafka",
  "name" : "SwiftKafka",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftKafka",
      "targets" : [
        "SwiftKafka"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftKafkaTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKafkaTests",
      "path" : "Tests/SwiftKafkaTests",
      "sources" : [
        "SwiftKafkaTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftKafka"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftKafka",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKafka",
      "path" : "Sources/SwiftKafka",
      "product_dependencies" : [
        "Logging"
      ],
      "product_memberships" : [
        "SwiftKafka"
      ],
      "sources" : [
        "KafkaClient.swift",
        "KafkaConfig.swift",
        "KafkaConsumer.swift",
        "KafkaConsumerRecord.swift",
        "KafkaError.swift",
        "KafkaProducer.swift",
        "KafkaProducerRecord.swift"
      ],
      "target_dependencies" : [
        "Crdkafka"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Crdkafka",
      "module_type" : "SystemLibraryTarget",
      "name" : "Crdkafka",
      "path" : "Sources/Crdkafka",
      "product_memberships" : [
        "SwiftKafka"
      ],
      "sources" : [
      ],
      "type" : "system-target"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/8] Emitting module Logging
[5/8] Compiling Logging MetadataProvider.swift
[6/8] Compiling Logging LogHandler.swift
[7/8] Compiling Logging Locks.swift
[8/8] Compiling Logging Logging.swift
[9/16] Compiling SwiftKafka KafkaProducerRecord.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
[10/16] Compiling SwiftKafka KafkaProducer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
[11/16] Compiling SwiftKafka KafkaConsumer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
[12/16] Compiling SwiftKafka KafkaError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
[13/16] Compiling SwiftKafka KafkaConsumerRecord.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/16] Emitting module SwiftKafka
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
[15/16] Compiling SwiftKafka KafkaConfig.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
[16/16] Compiling SwiftKafka KafkaClient.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install rdkafka using your system-packager:
    brew install librdkafka
warning: you may be able to install rdkafka using your system-packager:
    brew install librdkafka
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/6] Compiling Logging MetadataProvider.swift
[3/6] Compiling Logging Locks.swift
[4/6] Emitting module Logging
[5/6] Compiling Logging LogHandler.swift
[6/6] Compiling Logging Logging.swift
[7/14] Compiling SwiftKafka KafkaConsumerRecord.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
[8/14] Compiling SwiftKafka KafkaError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
[9/14] Compiling SwiftKafka KafkaProducer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
[10/14] Compiling SwiftKafka KafkaConsumer.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
[11/14] Compiling SwiftKafka KafkaProducerRecord.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/14] Emitting module SwiftKafka
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
[13/14] Compiling SwiftKafka KafkaClient.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
[14/14] Compiling SwiftKafka KafkaConfig.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/shim.h:4:10: error: '/usr/local/include/librdkafka/rdkafka.h' file not found
2 | #define rdkafka_shim_h
3 | #ifdef __APPLE__
4 | #include "/usr/local/include/librdkafka/rdkafka.h"
  |          `- error: '/usr/local/include/librdkafka/rdkafka.h' file not found
5 | #else
6 | #include "/usr/include/librdkafka/rdkafka.h"
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKafka/KafkaClient.swift:17:8: error: could not build Objective-C module 'Crdkafka'
 15 |  */
 16 |
 17 | import Crdkafka
    |        `- error: could not build Objective-C module 'Crdkafka'
 18 | import Foundation
 19 | import Logging
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install rdkafka using your system-packager:
    brew install librdkafka
warning: you may be able to install rdkafka using your system-packager:
    brew install librdkafka
BUILD FAILURE 6.1 macosSpm