Build Information
Failed to build swift-kafka-client, reference 1.0.0-alpha.9 (434af1
), with Swift 6.0 for macOS (SPM) on 29 Apr 2025 23:28:56 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-kafka-client.git
Reference: 1.0.0-alpha.9
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swift-server/swift-kafka-client
* tag 1.0.0-alpha.9 -> FETCH_HEAD
HEAD is now at 434af11 Use `openssl@3` when building on macOS (#193)
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 @):
434af114fda74d87e344980917d196f957dab1ec
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-kafka-client.git at 1.0.0-alpha.9
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
Fetching https://github.com/apple/swift-metrics
Fetching https://github.com/facebook/zstd.git
[1/2394] Fetching swift-service-lifecycle
[169/4600] Fetching swift-service-lifecycle, swift-metrics
[324/8436] Fetching swift-service-lifecycle, swift-metrics, swift-log
[8437/90150] Fetching swift-service-lifecycle, swift-metrics, swift-log, zstd
Fetched https://github.com/apple/swift-log.git from cache (1.01s)
[5418/86314] Fetching swift-service-lifecycle, swift-metrics, zstd
[10321/161875] Fetching swift-service-lifecycle, swift-metrics, zstd, swift-nio
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (3.89s)
Fetched https://github.com/apple/swift-metrics from cache (3.89s)
Fetched https://github.com/facebook/zstd.git from cache (3.90s)
Fetched https://github.com/apple/swift-nio.git from cache (3.90s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (3.19s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.7.0 (0.45s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.7.0 (0.46s)
Fetching https://github.com/apple/swift-async-algorithms.git
[1/4965] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.98s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.53s)
Fetching https://github.com/apple/swift-collections.git
[1/16269] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.76s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.66s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.45s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.1 (0.66s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
[104/6069] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (1.07s)
Fetched https://github.com/apple/swift-system.git from cache (1.07s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.47s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.44s)
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
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.7.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.7.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.1.4
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.1
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-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
========================================
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": "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",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "2.82.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-atomics",
"name": "swift-atomics",
"url": "https://github.com/apple/swift-atomics.git",
"version": "1.2.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-atomics",
"dependencies": [
]
},
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"dependencies": [
]
},
{
"identity": "swift-system",
"name": "swift-system",
"url": "https://github.com/apple/swift-system.git",
"version": "1.4.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-system",
"dependencies": [
]
}
]
},
{
"identity": "swift-service-lifecycle",
"name": "swift-service-lifecycle",
"url": "https://github.com/swift-server/swift-service-lifecycle.git",
"version": "2.7.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-service-lifecycle",
"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": [
]
},
{
"identity": "swift-async-algorithms",
"name": "swift-async-algorithms",
"url": "https://github.com/apple/swift-async-algorithms.git",
"version": "1.0.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-async-algorithms",
"dependencies": [
{
"identity": "swift-collections",
"name": "swift-collections",
"url": "https://github.com/apple/swift-collections.git",
"version": "1.1.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-collections",
"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": [
]
},
{
"identity": "swift-metrics",
"name": "swift-metrics",
"url": "https://github.com/apple/swift-metrics",
"version": "2.7.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-metrics",
"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",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/swift-server/swift-kafka-client.git
[1/5102] Fetching swift-kafka-client
Fetched https://github.com/swift-server/swift-kafka-client.git from cache (1.47s)
Fetching https://github.com/apple/swift-log.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/facebook/zstd.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.77s)
Fetched https://github.com/apple/swift-log.git from cache (0.79s)
Fetched https://github.com/facebook/zstd.git from cache (0.79s)
Fetched https://github.com/apple/swift-metrics from cache (0.79s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.79s)
Computing version for https://github.com/facebook/zstd.git
Computed https://github.com/facebook/zstd.git at 1.5.7 (0.03s)
Computing version for https://github.com/apple/swift-metrics
Computed https://github.com/apple/swift-metrics at 2.7.0 (0.03s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.7.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.47s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.04s)
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.1.4 (0.03s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.1 (0.03s)
Fetching https://github.com/apple/swift-system.git from cache
Fetching https://github.com/apple/swift-atomics.git from cache
Fetched https://github.com/apple/swift-atomics.git from cache (0.51s)
Fetched https://github.com/apple/swift-system.git from cache (0.51s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (0.04s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.03s)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-metrics
Working copy of https://github.com/apple/swift-metrics resolved at 2.7.0
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
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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.7.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
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/swift-server/swift-kafka-client.git
Working copy of https://github.com/swift-server/swift-kafka-client.git resolved at 1.0.0-alpha.9 (434af11)
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.0.4
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.0
Building package at path: $PWD
https://github.com/swift-server/swift-kafka-client.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64
Building for debugging...
[0/114] Compiling common.pb.c
[1/114] Compiling metrics.pb.c
[2/114] Write sources
[4/114] Compiling pb_encode.c
[5/114] Write sources
[16/114] Compiling lz4frame.c
[17/114] Compiling cJSON.c
[18/114] Compiling lz4hc.c
[19/114] Compiling _AtomicsShims.c
[20/114] Write swift-version-5BDAB9E9C0126B9D.txt
[21/114] Compiling rdxxhash.c
[22/118] Compiling lz4.c
[23/120] Compiling crc32c.c
[24/120] Compiling tinycthread.c
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_header.c:29:
/Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_int.h:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
In file included from /Users/admin/builder/spi-builder-workspace/Sources/Crdkafka/librdkafka/src/rdkafka_header.c:29:
/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 warning and 1 error generated.
[25/120] Compiling rdkafka_header.c
[25/120] Compiling rdvarint.c
[25/120] Compiling rdunittest.c
[25/120] Compiling regexp.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:34:9: warning: '_GNU_SOURCE' macro redefined [-Wmacro-redefined]
34 | #define _GNU_SOURCE /* for strndup() */
| ^
<command line>:3:9: note: previous definition is here
3 | #define _GNU_SOURCE 1
| ^
[25/120] Compiling snappy.c
[25/120] Compiling tinycthread_extra.c
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
BUILD FAILURE 6.0 macosSpm