The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ServerCrypto, reference 1.0.0 (4ee876), with Swift 6.2 for macOS (SPM) on 22 Jun 2025 20:17:48 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:             6.2
Building package at path:  $PWD
https://github.com/alexaubry/ServerCrypto.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version-1EA4D86E10B52AF.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:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
 2 | #define __COPENSSL_SHIM_H__
 3 |
 4 | #include <openssl/conf.h>
   |          `- error: 'openssl/conf.h' file not found
 5 | #include <openssl/evp.h>
 6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
 5 |
 6 | import Foundation
 7 | import CTLS
   |        `- error: could not build Objective-C module 'CTLS'
 8 |
 9 | /**
[6/9] Compiling CryptoSupport Hex.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
 2 | #define __COPENSSL_SHIM_H__
 3 |
 4 | #include <openssl/conf.h>
   |          `- error: 'openssl/conf.h' file not found
 5 | #include <openssl/evp.h>
 6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
 5 |
 6 | import Foundation
 7 | import CTLS
   |        `- error: could not build Objective-C module 'CTLS'
 8 |
 9 | /**
[7/9] Compiling CryptoSupport Protocols.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
 2 | #define __COPENSSL_SHIM_H__
 3 |
 4 | #include <openssl/conf.h>
   |          `- error: 'openssl/conf.h' file not found
 5 | #include <openssl/evp.h>
 6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
 5 |
 6 | import Foundation
 7 | import CTLS
   |        `- error: could not build Objective-C module 'CTLS'
 8 |
 9 | /**
[8/9] Compiling CryptoSupport CryptoProvider.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
 2 | #define __COPENSSL_SHIM_H__
 3 |
 4 | #include <openssl/conf.h>
   |          `- error: 'openssl/conf.h' file not found
 5 | #include <openssl/evp.h>
 6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
 5 |
 6 | import Foundation
 7 | import CTLS
   |        `- error: could not build Objective-C module 'CTLS'
 8 |
 9 | /**
[9/9] Compiling CryptoSupport CryptoError.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
1 | #import "shim.h"
  |         `- note: in file included from <module-includes>:1:
2 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/ctls/shim.h:4:10: error: 'openssl/conf.h' file not found
 2 | #define __COPENSSL_SHIM_H__
 3 |
 4 | #include <openssl/conf.h>
   |          `- error: 'openssl/conf.h' file not found
 5 | #include <openssl/evp.h>
 6 | #include <openssl/err.h>
/Users/admin/builder/spi-builder-workspace/Sources/CryptoSupport/CryptoError.swift:7:8: error: could not build Objective-C module 'CTLS'
 5 |
 6 | import Foundation
 7 | import CTLS
   |        `- error: could not build Objective-C module 'CTLS'
 8 |
 9 | /**
Fetching https://github.com/vapor/ctls
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls from cache (0.61s)
Computing version for https://github.com/vapor/ctls
Computed https://github.com/vapor/ctls at 1.1.3 (1.20s)
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
warning: you may be able to install ctls using your system-packager:
    brew install openssl
BUILD FAILURE 6.2 macosSpm