The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-kafka-client, reference main (a83e84), with Swift 6.3 for macOS (SPM) on 28 Apr 2026 19:50:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-kafka-client.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-server/swift-kafka-client
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a83e841 Add commit-all stored offsets API (#230)
Submodule path 'Sources/Crdkafka/librdkafka': checked out 'b4c608570f796c18ff2211a7af876046d264d392'
Submodule 'Sources/Crdkafka/librdkafka' (https://github.com/confluentinc/librdkafka) registered for path 'Sources/Crdkafka/librdkafka'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka'...
Cloned https://github.com/swift-server/swift-kafka-client.git
Revision (git rev-parse @):
a83e84155425806c180a60b61a04b98c6cca4929
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-kafka-client.git at main
Fetching https://github.com/facebook/zstd.git
Fetching https://github.com/apple/swift-metrics
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio.git
[1/3194] Fetching swift-metrics
[736/5945] Fetching swift-metrics, swift-service-lifecycle
[2843/12671] Fetching swift-metrics, swift-service-lifecycle, swift-log
Fetched https://github.com/apple/swift-metrics from cache (1.06s)
[3559/9477] Fetching swift-service-lifecycle, swift-log
[3963/93544] Fetching swift-service-lifecycle, swift-log, zstd
[14523/176755] Fetching swift-service-lifecycle, swift-log, zstd, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (6.52s)
Fetched https://github.com/apple/swift-log.git from cache (6.52s)
Fetched https://github.com/apple/swift-nio.git from cache (6.53s)
Fetched https://github.com/facebook/zstd.git from cache (6.53s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (10.19s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.10.1 (0.58s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.57s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/6245] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (1.07s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (1.75s)
Fetching https://github.com/apple/swift-collections.git
[1/23800] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.78s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (2.47s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.60s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (0.70s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[438/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (1.15s)
Fetched https://github.com/apple/swift-system.git from cache (1.15s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.78s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.64s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.10.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/facebook/zstd.git
Working copy of https://github.com/facebook/zstd.git resolved at 1.5.7
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "swift-kafka-client",
      "name": "swift-kafka-client",
      "url": "https://github.com/swift-server/swift-kafka-client.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-kafka-client",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio.git",
          "version": "2.99.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "swift-atomics",
              "name": "swift-atomics",
              "url": "https://github.com/apple/swift-atomics.git",
              "version": "1.3.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            },
            {
              "identity": "swift-collections",
              "name": "swift-collections",
              "url": "https://github.com/apple/swift-collections.git",
              "version": "1.4.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            },
            {
              "identity": "swift-system",
              "name": "swift-system",
              "url": "https://github.com/apple/swift-system.git",
              "version": "1.6.4",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swift-service-lifecycle",
          "name": "swift-service-lifecycle",
          "url": "https://github.com/swift-server/swift-service-lifecycle.git",
          "version": "2.11.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-service-lifecycle",
          "traits": [
            "default"
          ],
          "dependencies": [
            {
              "identity": "swift-log",
              "name": "swift-log",
              "url": "https://github.com/apple/swift-log.git",
              "version": "1.12.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
              "traits": [
                "default"
              ],
              "dependencies": [
              ]
            },
            {
              "identity": "swift-async-algorithms",
              "name": "swift-async-algorithms",
              "url": "https://github.com/apple/swift-async-algorithms.git",
              "version": "1.1.3",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-async-algorithms",
              "traits": [
                "default"
              ],
              "dependencies": [
                {
                  "identity": "swift-collections",
                  "name": "swift-collections",
                  "url": "https://github.com/apple/swift-collections.git",
                  "version": "1.4.1",
                  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
                  "traits": [
                    "default"
                  ],
                  "dependencies": [
                  ]
                }
              ]
            }
          ]
        },
        {
          "identity": "swift-log",
          "name": "swift-log",
          "url": "https://github.com/apple/swift-log.git",
          "version": "1.12.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "swift-metrics",
          "name": "swift-metrics",
          "url": "https://github.com/apple/swift-metrics",
          "version": "2.10.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-metrics",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        },
        {
          "identity": "zstd",
          "name": "zstd",
          "url": "https://github.com/facebook/zstd.git",
          "version": "1.5.7",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/zstd",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/swift-server/swift-kafka-client.git
[1/5920] Fetching swift-kafka-client
Fetched https://github.com/swift-server/swift-kafka-client.git from cache (1.52s)
Fetching https://github.com/facebook/zstd.git from cache
Fetching https://github.com/swift-server/swift-service-lifecycle.git from cache
Fetching https://github.com/apple/swift-metrics from cache
Fetching https://github.com/apple/swift-log.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/facebook/zstd.git from cache (0.81s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.81s)
Fetched https://github.com/apple/swift-metrics from cache (0.81s)
Fetched https://github.com/apple/swift-nio.git from cache (0.81s)
Fetched https://github.com/apple/swift-log.git from cache (0.81s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (0.96s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.10.1 (0.04s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.11.0 (0.03s)
Fetching https://github.com/apple/swift-async-algorithms.git from cache
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.50s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.3 (0.58s)
Fetching https://github.com/apple/swift-collections.git from cache
Fetched https://github.com/apple/swift-collections.git from cache (0.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.58s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.05s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.99.0 (0.04s)
Fetching https://github.com/apple/swift-atomics.git from cache
Fetching https://github.com/apple/swift-system.git from cache
Fetched https://github.com/apple/swift-system.git from cache (0.49s)
Fetched https://github.com/apple/swift-atomics.git from cache (0.49s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.55s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.04s)
Creating working copy for https://github.com/facebook/zstd.git
Working copy of https://github.com/facebook/zstd.git resolved at 1.5.7
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.11.0
Creating working copy for https://github.com/swift-server/swift-kafka-client.git
Working copy of https://github.com/swift-server/swift-kafka-client.git resolved at main (a83e841)
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.99.0
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.10.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
warning: '.resolve-product-dependencies': dependency 'swift-kafka-client' is not used by any target
Found 5 product dependencies
  - swift-nio
  - swift-service-lifecycle
  - swift-log
  - swift-metrics
  - zstd
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/swift-server/swift-kafka-client.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/116] Write swift-version--6988338F2F200930.txt
[1/116] Write sources
[3/120] Compiling common.pb.c
[4/120] Compiling pb_common.c
[5/120] Compiling metrics.pb.c
[6/120] Write sources
[14/120] Compiling lz4frame.c
[15/120] Write sources
[18/120] Compiling pb_decode.c
[19/122] Compiling pb_encode.c
[20/128] Compiling _AtomicsShims.c
[21/147] Compiling lz4hc.c
[22/147] Compiling lz4.c
[23/147] Compiling regexp.c
[24/147] Compiling rdmap.c
[25/147] Compiling rdxxhash.c
[26/147] Compiling tinycthread_extra.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy.c:61:
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/snappy_compat.h:31:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:56:10: fatal error: 'openssl/ssl.h' file not found
   56 | #include <openssl/ssl.h>
      |          ^~~~~~~~~~~~~~~
1 error generated.
[27/147] Compiling snappy.c
[27/147] Compiling rdregex.c
[27/147] Compiling rdstring.c
[27/147] Compiling rdvarint.c
[27/147] Compiling rdunittest.c
[27/147] Compiling tinycthread.c
[28/147] Emitting module _NIOBase64
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install openssl using your system-packager:
    brew install openssl@3
warning: you may be able to install openssl using your system-packager:
    brew install openssl@3
warning: 'spi-builder-workspace': found 3 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/Kafka/Configuration/KafkaConsumerConfig.swift.gyb
    /Users/admin/builder/spi-builder-workspace/Sources/Kafka/Configuration/KafkaProducerConfig.swift.gyb
    /Users/admin/builder/spi-builder-workspace/Sources/Kafka/Configuration/KafkaConfig.swift.gyb
BUILD FAILURE 6.3 macosSpm