Build Information
Failed to build XMPP, reference v0.0.3 (4022bf
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 07:11:32 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/FluuxIO/XMPP.git
Reference: v0.0.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/FluuxIO/XMPP
* tag v0.0.3 -> FETCH_HEAD
HEAD is now at 4022bf6 Fix typo
Cloned https://github.com/FluuxIO/XMPP.git
Revision (git rev-parse @):
4022bf6b94d5ff9eaa73aa832a7f5b21504f45b3
SUCCESS checkout https://github.com/FluuxIO/XMPP.git at v0.0.3
Fetching https://github.com/apple/swift-nio-zlib-support.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio-ssl-support.git
Fetching https://github.com/apple/swift-nio.git
[1/16] Fetching swift-nio-ssl-support
[17/31] Fetching swift-nio-ssl-support, swift-nio-zlib-support
[32/13326] Fetching swift-nio-ssl-support, swift-nio-zlib-support, swift-nio-ssl
[7212/84417] Fetching swift-nio-ssl-support, swift-nio-zlib-support, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.57s)
Fetched https://github.com/apple/swift-nio.git from cache (4.57s)
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (4.57s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (4.57s)
Computed https://github.com/apple/swift-nio-ssl.git at 1.3.2 (2.69s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.11.0 (0.70s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.68s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.67s)
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.3.2
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.11.0
========================================
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": "xmpp",
"name": "XMPP",
"url": "https://github.com/FluuxIO/XMPP.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/XMPP",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "1.14.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-nio-zlib-support",
"name": "swift-nio-zlib-support",
"url": "https://github.com/apple/swift-nio-zlib-support.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-zlib-support",
"dependencies": [
]
}
]
},
{
"identity": "swift-nio-ssl",
"name": "swift-nio-ssl",
"url": "https://github.com/apple/swift-nio-ssl.git",
"version": "1.4.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-ssl",
"dependencies": [
{
"identity": "swift-nio",
"name": "swift-nio",
"url": "https://github.com/apple/swift-nio.git",
"version": "1.14.4",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
"dependencies": [
{
"identity": "swift-nio-zlib-support",
"name": "swift-nio-zlib-support",
"url": "https://github.com/apple/swift-nio-zlib-support.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-zlib-support",
"dependencies": [
]
}
]
},
{
"identity": "swift-nio-ssl-support",
"name": "swift-nio-ssl-support",
"url": "https://github.com/apple/swift-nio-ssl-support.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-ssl-support",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/FluuxIO/XMPP.git
[1/841] Fetching xmpp
Fetched https://github.com/FluuxIO/XMPP.git from cache (0.97s)
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/apple/swift-nio-ssl.git from cache
Fetched https://github.com/apple/swift-nio.git from cache (0.79s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (0.80s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 1.4.0 (0.67s)
Fetching https://github.com/apple/swift-nio-ssl-support.git from cache
Fetched https://github.com/apple/swift-nio-ssl-support.git from cache (0.63s)
Computing version for https://github.com/apple/swift-nio-ssl-support.git
Computed https://github.com/apple/swift-nio-ssl-support.git at 1.0.0 (0.03s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.03s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.54s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.02s)
Creating working copy for https://github.com/FluuxIO/XMPP.git
Working copy of https://github.com/FluuxIO/XMPP.git resolved at v0.0.3 (4022bf6)
Creating working copy for https://github.com/apple/swift-nio-ssl-support.git
Working copy of https://github.com/apple/swift-nio-ssl-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: '.resolve-product-dependencies': dependency 'xmpp' is not used by any target
Found 2 product dependencies
- swift-nio
- swift-nio-ssl
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/FluuxIO/XMPP.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/15] Write sources
[7/15] Write swift-version--7754E27361AE5C74.txt
[8/15] Compiling CNIOLinux ifaddrs-android.c
[9/15] Compiling CNIOLinux shim.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/shims.c:16:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
17 | #include <openssl/conf.h>
| ^~~~~~~~~~~~~~~~
1 error generated.
[10/15] Compiling CNIOOpenSSL shims.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/helpers.c:14:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOOpenSSL/include/c_nio_openssl.h:17:10: fatal error: 'openssl/conf.h' file not found
17 | #include <openssl/conf.h>
| ^~~~~~~~~~~~~~~~
[10/15] Compiling CNIOOpenSSL helpers.c
[10/15] Compiling c-atomics.c
[10/15] Compiling CNIODarwin shim.c
[10/15] Compiling CNIOSHA1 c_nio_sha1.c
warning: 'swift-nio-ssl-support': ignoring declared target(s) 'swift-nio-ssl-support' in the system package
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
warning: you may be able to install openssl using your system-packager:
brew install libressl
warning: you may be able to install libxml-2.0 using your system-packager:
brew install libxml2
BUILD FAILURE 6.0 macosSpm