Build Information
Failed to build Sugar 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/ml-archive/sugar.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ml-archive/sugar
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 341b836 Merge pull request #102 from nodes-vapor/release/4.0.0
Cloned https://github.com/ml-archive/sugar.git
Revision (git rev-parse @):
341b836b567c8e87368facd475f592a3231ed289
SUCCESS checkout https://github.com/ml-archive/sugar.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/ml-archive/sugar.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/48] Write sources
[31/48] Write swift-version-6F35C1178C84523A.txt
[32/48] Compiling CNIOLinux shim.c
[33/48] Compiling CNIOZlib empty.c
[34/48] Compiling CNIOLinux ifaddrs-android.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.
[35/48] Compiling CNIOOpenSSL shims.c
[35/48] Compiling CCryptoOpenSSL shim.c
[35/48] 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>
| ^~~~~~~~~~~~~~~~
[35/48] Compiling c-atomics.c
[35/48] Compiling CNIOOpenSSL helpers.c
[35/48] Compiling CNIOHTTPParser c_nio_http_parser.c
[35/48] Compiling CNIOSHA1 c_nio_sha1.c
Fetching https://github.com/vapor/auth.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/vapor/redis.git
Fetching https://github.com/vapor/jwt.git
Fetching https://github.com/vapor/fluent.git
Fetching https://github.com/vapor/leaf.git
[1/1048] Fetching auth
[22/4932] Fetching auth, leaf
[605/7439] Fetching auth, leaf, jwt
[1399/11174] Fetching auth, leaf, jwt, redis
[3384/24518] Fetching auth, leaf, jwt, redis, fluent
[16513/93212] Fetching auth, leaf, jwt, redis, fluent, vapor
Fetched https://github.com/vapor/fluent.git from cache (1.55s)
[22852/79868] Fetching auth, leaf, jwt, redis, vapor
Fetched https://github.com/vapor/jwt.git from cache (2.67s)
Fetched https://github.com/vapor/leaf.git from cache (2.67s)
Fetched https://github.com/vapor/auth.git from cache (2.67s)
Fetched https://github.com/vapor/redis.git from cache (2.67s)
Fetched https://github.com/vapor/vapor.git from cache (2.67s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 3.0.2 (0.68s)
Fetching https://github.com/vapor/template-kit.git
Fetching https://github.com/vapor/service.git
Fetching https://github.com/vapor/core.git
[1/1282] Fetching template-kit
[14/2201] Fetching template-kit, service
[174/22344] Fetching template-kit, service, core
Fetched https://github.com/vapor/core.git from cache (1.80s)
Fetched https://github.com/vapor/service.git from cache (1.80s)
Fetched https://github.com/vapor/template-kit.git from cache (1.80s)
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/jwt.git
Computed https://github.com/vapor/jwt.git at 3.1.2 (0.65s)
Fetching https://github.com/vapor/crypto.git
[1/2786] Fetching crypto
Fetched https://github.com/vapor/crypto.git from cache (1.02s)
Computing version for https://github.com/vapor/auth.git
Computed https://github.com/vapor/auth.git at 2.0.4 (0.64s)
Fetching https://github.com/vapor/fluent-sqlite.git
Fetching https://github.com/vapor/http.git
[1/25467] Fetching http
[2/26759] Fetching http, fluent-sqlite
Fetched https://github.com/vapor/http.git from cache (1.68s)
Fetched https://github.com/vapor/fluent-sqlite.git from cache (1.68s)
Computing version for https://github.com/vapor/fluent-sqlite.git
Computed https://github.com/vapor/fluent-sqlite.git at 3.0.0 (0.66s)
Fetching https://github.com/vapor/sqlite.git
[1/2112] Fetching sqlite
Fetched https://github.com/vapor/sqlite.git from cache (1.32s)
Computing version for https://github.com/vapor/sqlite.git
Computed https://github.com/vapor/sqlite.git at 3.3.0 (0.65s)
Fetching https://github.com/vapor/sql.git
Fetching https://github.com/vapor/database-kit.git
[1/1181] Fetching database-kit
[190/6958] Fetching database-kit, sql
Fetched https://github.com/vapor/database-kit.git from cache (1.11s)
Fetched https://github.com/vapor/sql.git from cache (1.11s)
Computing version for https://github.com/vapor/database-kit.git
Computed https://github.com/vapor/database-kit.git at 1.3.3 (0.65s)
Computing version for https://github.com/vapor/sql.git
Computed https://github.com/vapor/sql.git at 2.3.2 (0.63s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 3.3.3 (0.67s)
Fetching https://github.com/vapor/websocket.git
Fetching https://github.com/vapor/url-encoded-form.git
Fetching https://github.com/vapor/validation.git
Fetching https://github.com/vapor/routing.git
Fetching https://github.com/vapor/multipart.git
Fetching https://github.com/vapor/console.git
[1/579] Fetching validation
[48/3052] Fetching validation, websocket
[147/23742] Fetching validation, websocket, routing
[148/25587] Fetching validation, websocket, routing, multipart
[565/25968] Fetching validation, websocket, routing, multipart, url-encoded-form
[680/31366] Fetching validation, websocket, routing, multipart, url-encoded-form, console
Fetched https://github.com/vapor/console.git from cache (2.00s)
Fetched https://github.com/vapor/websocket.git from cache (2.00s)
Fetched https://github.com/vapor/url-encoded-form.git from cache (2.00s)
Fetched https://github.com/vapor/routing.git from cache (2.00s)
Fetched https://github.com/vapor/validation.git from cache (2.00s)
Fetched https://github.com/vapor/multipart.git from cache (2.00s)
Computing version for https://github.com/vapor/http.git
Computed https://github.com/vapor/http.git at 3.4.0 (0.67s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/12268] Fetching swift-nio-ssl
[1351/77853] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (3.81s)
Fetched https://github.com/apple/swift-nio.git from cache (3.81s)
Computing version for https://github.com/vapor/validation.git
Computed https://github.com/vapor/validation.git at 2.1.1 (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.69s)
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.62s)
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.66s)
Computing version for https://github.com/vapor/routing.git
Computed https://github.com/vapor/routing.git at 3.1.0 (0.66s)
Computing version for https://github.com/vapor/websocket.git
Computed https://github.com/vapor/websocket.git at 1.1.2 (0.65s)
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.64s)
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.64s)
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.64s)
Computing version for https://github.com/vapor/crypto.git
Computed https://github.com/vapor/crypto.git at 3.4.1 (0.65s)
Computing version for https://github.com/vapor/template-kit.git
Computed https://github.com/vapor/template-kit.git at 1.5.0 (0.66s)
Computing version for https://github.com/vapor/console.git
Computed https://github.com/vapor/console.git at 3.1.1 (0.69s)
Computing version for https://github.com/vapor/fluent.git
Computed https://github.com/vapor/fluent.git at 3.2.1 (0.71s)
Computing version for https://github.com/vapor/redis.git
Computed https://github.com/vapor/redis.git at 3.4.0 (0.70s)
Computing version for https://github.com/vapor/url-encoded-form.git
Computed https://github.com/vapor/url-encoded-form.git at 1.1.0 (0.67s)
Computing version for https://github.com/vapor/multipart.git
Computed https://github.com/vapor/multipart.git at 3.1.3 (0.68s)
Computing version for https://github.com/vapor/core.git
Computed https://github.com/vapor/core.git at 3.10.1 (0.67s)
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/console.git
Working copy of https://github.com/vapor/console.git resolved at 3.1.1
Creating working copy for https://github.com/vapor/redis.git
Working copy of https://github.com/vapor/redis.git resolved at 3.4.0
Creating working copy for https://github.com/vapor/sqlite.git
Working copy of https://github.com/vapor/sqlite.git resolved at 3.3.0
Creating working copy for https://github.com/vapor/template-kit.git
Working copy of https://github.com/vapor/template-kit.git resolved at 1.5.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 3.3.3
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/vapor/http.git
Working copy of https://github.com/vapor/http.git resolved at 3.4.0
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/fluent.git
Working copy of https://github.com/vapor/fluent.git resolved at 3.2.1
Creating working copy for https://github.com/vapor/leaf.git
Working copy of https://github.com/vapor/leaf.git resolved at 3.0.2
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/routing.git
Working copy of https://github.com/vapor/routing.git resolved at 3.1.0
Creating working copy for https://github.com/vapor/websocket.git
Working copy of https://github.com/vapor/websocket.git resolved at 1.1.2
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
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.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/vapor/validation.git
Working copy of https://github.com/vapor/validation.git resolved at 2.1.1
Creating working copy for https://github.com/vapor/fluent-sqlite.git
Working copy of https://github.com/vapor/fluent-sqlite.git resolved at 3.0.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/vapor/service.git
Working copy of https://github.com/vapor/service.git resolved at 1.0.2
Creating working copy for https://github.com/vapor/auth.git
Working copy of https://github.com/vapor/auth.git resolved at 2.0.4
Creating working copy for https://github.com/vapor/url-encoded-form.git
Working copy of https://github.com/vapor/url-encoded-form.git resolved at 1.1.0
Creating working copy for https://github.com/vapor/jwt.git
Working copy of https://github.com/vapor/jwt.git resolved at 3.1.2
Creating working copy for https://github.com/vapor/multipart.git
Working copy of https://github.com/vapor/multipart.git resolved at 3.1.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