The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftAPNs with Swift 5.10 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftapns/swiftapns.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/swiftapns/swiftapns
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 448e5eb Fixes for Linux
Cloned https://github.com/swiftapns/swiftapns.git
Revision (git rev-parse @):
448e5eb7ecdeea30eb25312ac2314ba238ef689c
SUCCESS checkout https://github.com/swiftapns/swiftapns.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/swiftapns/swiftapns.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/8] Compiling SwiftAPNs PushProvider.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/COpenSSL/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[4/8] Compiling SwiftAPNs PushNotification.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/COpenSSL/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[5/8] Compiling SwiftAPNs main.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/COpenSSL/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[6/8] Compiling SwiftAPNs JSONWebToken.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/COpenSSL/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/8] Emitting module SwiftAPNs
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/COpenSSL/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[8/8] Compiling SwiftAPNs DeviceToken.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/COpenSSL/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
error: fatalError
Fetching https://github.com/SwiftAPNs/COpenSSL.git from cache
Fetched https://github.com/SwiftAPNs/COpenSSL.git from cache (0.20s)
Computing version for https://github.com/SwiftAPNs/COpenSSL.git
Computed https://github.com/SwiftAPNs/COpenSSL.git at 1.0.0 (0.46s)
Creating working copy for https://github.com/SwiftAPNs/COpenSSL.git
Working copy of https://github.com/SwiftAPNs/COpenSSL.git resolved at 1.0.0
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: 'spi-builder-workspace': The target named 'SwiftAPNs' was identified as an executable target but a non-executable product with this name already exists.
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install openssl using your system-packager:
    brew install openssl
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/7] Compiling SwiftAPNs main.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/COpenSSL/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[3/7] Compiling SwiftAPNs PushNotification.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/COpenSSL/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[4/7] Compiling SwiftAPNs PushProvider.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/COpenSSL/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/7] Emitting module SwiftAPNs
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/COpenSSL/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[6/7] Compiling SwiftAPNs DeviceToken.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/COpenSSL/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[7/7] Compiling SwiftAPNs JSONWebToken.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/COpenSSL/shim.h:4:10: error: 'openssl/conf.h' file not found
#include <openssl/conf.h>
         ^
/Users/builder/builds/UKfvDsi8u/2/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
error: fatalError
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: 'spi-builder-workspace': The target named 'SwiftAPNs' was identified as an executable target but a non-executable product with this name already exists.
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: you may be able to install openssl using your system-packager:
    brew install openssl
BUILD FAILURE 5.10 macosSpm

Build Machine: Mac 7