The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SecureSockets with Swift 5.8 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.22.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Balancingrock/SecureSockets.git
Reference: 1.1.8
Initialized empty Git repository in /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/Balancingrock/SecureSockets
 * tag               1.1.8      -> FETCH_HEAD
HEAD is now at 9ab9b76 Added iOS and tvOS compatibility
Cloned https://github.com/Balancingrock/SecureSockets.git into spi-builder-workspace
9ab9b7614907421d1d3a87afff0c50bfceff93e8
SUCCESS checkout https://github.com/Balancingrock/SecureSockets.git at 1.1.8
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  spi-builder-workspace
Running build ...
env DEVELOPER_DIR="/Applications/Xcode-14.3.0.app" xcrun swift build --arch arm64
Fetching https://github.com/Balancingrock/SwifterSockets from cache
Fetched https://github.com/Balancingrock/SwifterSockets (0.17s)
Computing version for https://github.com/Balancingrock/SwifterSockets
Computed https://github.com/Balancingrock/SwifterSockets at 1.1.3 (0.47s)
Creating working copy for https://github.com/Balancingrock/SwifterSockets
Working copy of https://github.com/Balancingrock/SwifterSockets resolved at 1.1.3
Building for debugging...
In file included from /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CopensslGlue/glue.c:1:
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CopensslGlue/include/glue.h:4:10: fatal error: 'openssl/ssl.h' file not found
#include "openssl/ssl.h"
         ^~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling CopensslGlue glue.c
ShellOut encountered an error
Status code: 1
Message: "Fetching https://github.com/Balancingrock/SwifterSockets from cache
Fetched https://github.com/Balancingrock/SwifterSockets (0.17s)
Computing version for https://github.com/Balancingrock/SwifterSockets
Computed https://github.com/Balancingrock/SwifterSockets at 1.1.3 (0.47s)
Creating working copy for https://github.com/Balancingrock/SwifterSockets
Working copy of https://github.com/Balancingrock/SwifterSockets resolved at 1.1.3"
Output: "Building for debugging...
In file included from /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CopensslGlue/glue.c:1:
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CopensslGlue/include/glue.h:4:10: fatal error: 'openssl/ssl.h' file not found
#include "openssl/ssl.h"
         ^~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling CopensslGlue glue.c"
Retrying in 0.0 seconds ...
Building ... (attempt 2)
[0/1] Planning build
Building for debugging...
In file included from /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CopensslGlue/glue.c:1:
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CopensslGlue/include/glue.h:4:10: fatal error: 'openssl/ssl.h' file not found
#include "openssl/ssl.h"
         ^~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling CopensslGlue glue.c
ShellOut encountered an error
Status code: 1
Message: ""
Output: "[0/1] Planning build
Building for debugging...
In file included from /Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CopensslGlue/glue.c:1:
/Users/builder/builds/o86TiJKT/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CopensslGlue/include/glue.h:4:10: fatal error: 'openssl/ssl.h' file not found
#include "openssl/ssl.h"
         ^~~~~~~~~~~~~~~
1 error generated.
[0/1] Compiling CopensslGlue glue.c"
BUILD FAILURE 5.8 macosSpm

Build Machine: Mac 5