Build Information
Failed to build FluentPostGIS with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/plarson/fluent-postgis.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/plarson/fluent-postgis
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at ee24270 GeometryCollectable
Cloned https://github.com/plarson/fluent-postgis.git
Revision (git rev-parse @):
ee2427042beadb1c28d7b36a2130c9f1ab8692f0
SUCCESS checkout https://github.com/plarson/fluent-postgis.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/plarson/fluent-postgis.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/37] Write sources
[23/37] Write swift-version-6F35C1178C84523A.txt
[24/37] Compiling CNIOLinux shim.c
[25/37] Compiling CNIOLinux ifaddrs-android.c
In file included from /Users/admin/builder/spi-builder-workspace/.build/checkouts/crypto/Sources/CCryptoOpenSSL/shim.c:1:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/crypto/Sources/CCryptoOpenSSL/include/c_crypto_openssl.h:4:10: fatal error: 'openssl/conf.h' file not found
4 | #include <openssl/conf.h>
| ^~~~~~~~~~~~~~~~
1 error generated.
[26/37] Compiling CCryptoOpenSSL 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.
[26/37] Compiling CNIOOpenSSL shims.c
[26/37] Compiling CBcrypt bcrypt.c
[26/37] Compiling CBcrypt blf.c
[26/37] Compiling CNIODarwin shim.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>
| ^~~~~~~~~~~~~~~~
[26/37] Compiling CNIOOpenSSL helpers.c
[26/37] Compiling CNIOSHA1 c_nio_sha1.c
[26/37] Compiling c-atomics.c
Fetching https://github.com/plarson/WKCodable
Fetching https://github.com/vapor/fluent.git
Fetching https://github.com/vapor/fluent-postgresql.git
[1/295] Fetching wkcodable
[66/2879] Fetching wkcodable, fluent-postgresql
[1459/16223] Fetching wkcodable, fluent-postgresql, fluent
Fetched https://github.com/vapor/fluent.git from cache (1.57s)
Fetched https://github.com/vapor/fluent-postgresql.git from cache (1.57s)
Fetched https://github.com/plarson/WKCodable from cache (1.57s)
Computing version for https://github.com/plarson/WKCodable
Computed https://github.com/plarson/WKCodable at 0.1.1 (0.67s)
Computing version for https://github.com/vapor/fluent-postgresql.git
Computed https://github.com/vapor/fluent-postgresql.git at 1.0.1 (0.65s)
Fetching https://github.com/vapor/core.git
Fetching https://github.com/vapor/postgresql.git
[1/5292] Fetching postgresql
[5293/25435] Fetching postgresql, core
Fetched https://github.com/vapor/core.git from cache (2.36s)
Fetched https://github.com/vapor/postgresql.git from cache (2.36s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.1 (0.66s)
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/console.git
Fetching https://github.com/vapor/sql.git
Fetching https://github.com/vapor/database-kit.git
[1/919] Fetching service
[20/2100] Fetching service, database-kit
[365/7877] Fetching service, database-kit, sql
[1603/13238] Fetching service, database-kit, sql, console
Fetched https://github.com/vapor/sql.git from cache (1.22s)
Fetched https://github.com/vapor/console.git from cache (1.22s)
Fetched https://github.com/vapor/database-kit.git from cache (1.22s)
Fetched https://github.com/vapor/service.git from cache (1.22s)
Computing version for https://github.com/vapor/service.git
Computed https://github.com/vapor/service.git at 1.0.2 (0.66s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.67s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.67s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.66s)
Computing version for https://github.com/vapor/postgresql.git
Computed https://github.com/vapor/postgresql.git at 1.7.0 (0.66s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/vapor/crypto.git
[1/2786] Fetching crypto
[1673/15054] Fetching crypto, swift-nio-ssl
[4260/80582] Fetching crypto, swift-nio-ssl, swift-nio
Fetched https://github.com/vapor/crypto.git from cache (3.75s)
Fetched https://github.com/apple/swift-nio.git from cache (3.75s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.75s)
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.66s)
Fetching https://github.com/apple/swift-nio-ssl-support.git
[1/16] Fetching swift-nio-ssl-support
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.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.70s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.63s)
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.64s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.74s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.66s)
Creating working copy for https://github.com/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
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/plarson/WKCodable
Working copy of https://github.com/plarson/WKCodable resolved at 0.1.1
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
Creating working copy for https://github.com/vapor/postgresql.git
Working copy of https://github.com/vapor/postgresql.git resolved at 1.7.0
Creating working copy for https://github.com/vapor/core.git
Working copy of https://github.com/vapor/core.git resolved at 3.10.1
Creating working copy for https://github.com/vapor/crypto.git
Working copy of https://github.com/vapor/crypto.git resolved at 3.4.1
Creating working copy for https://github.com/vapor/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/sql.git
Working copy of https://github.com/vapor/sql.git resolved at 2.3.2
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-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/vapor/fluent-postgresql.git
Working copy of https://github.com/vapor/fluent-postgresql.git resolved at 1.0.1
Creating working copy for https://github.com/vapor/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 3.2.1
Creating working copy for https://github.com/vapor/database-kit.git
Working copy of https://github.com/vapor/database-kit.git resolved at 1.3.3
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
BUILD FAILURE 6.0 macosSpm