The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ServerCrypto, reference 1.0.0 (4ee876), with Swift 5.10 for macOS (SPM) on 6 Jan 2025 19:33:27 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexaubry/ServerCrypto.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexaubry/ServerCrypto
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 4ee8761 Fix Linux pointer type errors
Cloned https://github.com/alexaubry/ServerCrypto.git
Revision (git rev-parse @):
4ee87617153c84d6ca2ca6e8b3181848d6b3277a
SUCCESS checkout https://github.com/alexaubry/ServerCrypto.git at 1.0.0
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/alexaubry/ServerCrypto.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-33747A42983211AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module CryptoSupport
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
import CTLS
       ^
[6/9] Compiling CryptoSupport CryptoProvider.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
import CTLS
       ^
[7/9] Compiling CryptoSupport Hex.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
import CTLS
       ^
[8/9] Compiling CryptoSupport CryptoError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
import CTLS
       ^
[9/9] Compiling CryptoSupport Protocols.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
import CTLS
       ^
error: fatalError
Fetching https://github.com/vapor/ctls
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls from cache (1.08s)
Computing version for https://github.com/vapor/ctls
Computed https://github.com/vapor/ctls at 1.1.3 (0.46s)
Creating working copy for https://github.com/vapor/ctls
Working copy of https://github.com/vapor/ctls resolved at 1.1.3
warning: 'ctls': ignoring declared target(s) 'CTLS' in the system package
warning: 'spi-builder-workspace': dependency 'ctls' is not used by any target
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install ctls using your system-packager:
    brew install openssl
BUILD FAILURE 5.10 macosSpm