The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

Build command unavailable

Build Log

========================================
RunAll
========================================
Builder version: 4.27.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftapns/swiftapns.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/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
Fetching https://github.com/SwiftAPNs/COpenSSL.git from cache
Fetched https://github.com/SwiftAPNs/COpenSSL.git (0.19s)
Computing version for https://github.com/SwiftAPNs/COpenSSL.git
Computed https://github.com/SwiftAPNs/COpenSSL.git at 1.0.0 (0.68s)
Creating working copy for https://github.com/SwiftAPNs/COpenSSL.git
Working copy of https://github.com/SwiftAPNs/COpenSSL.git resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "swiftapns",
      "name": "SwiftAPNs",
      "url": "https://github.com/swiftapns/swiftapns.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swiftapns",
      "dependencies": [
        {
          "identity": "copenssl",
          "name": "COpenSSL",
          "url": "https://github.com/SwiftAPNs/COpenSSL.git",
          "version": "1.0.0",
          "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/COpenSSL",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/swiftapns/swiftapns.git
[2/44] Fetching swiftapns
Fetched https://github.com/swiftapns/swiftapns.git (0.27s)
Fetching https://github.com/SwiftAPNs/COpenSSL.git from cache
Fetched https://github.com/SwiftAPNs/COpenSSL.git (0.20s)
Computing version for https://github.com/SwiftAPNs/COpenSSL.git
Computed https://github.com/SwiftAPNs/COpenSSL.git at 1.0.0 (0.02s)
Creating working copy for https://github.com/SwiftAPNs/COpenSSL.git
Working copy of https://github.com/SwiftAPNs/COpenSSL.git resolved at 1.0.0
Creating working copy for https://github.com/swiftapns/swiftapns.git
Working copy of https://github.com/swiftapns/swiftapns.git resolved at master
warning: 'copenssl': ignoring declared target(s) 'COpenSSL' in the system package
warning: 'swiftapns': The target named 'SwiftAPNs' was identified as an executable target but a non-executable product with this name already exists.
warning: '.resolve-product-dependencies': dependency 'swiftapns' is not used by any target
Found 1 product dependencies
  - COpenSSL
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.9
Building package at path:  $PWD/checkout
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.0.0.app xcrun swift build --arch arm64
Building for debugging...
[1/6] Compiling SwiftAPNs PushNotification.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/1/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/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[2/6] Compiling SwiftAPNs main.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/1/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/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[3/6] Compiling SwiftAPNs JSONWebToken.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/1/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/TDmZkXJm/1/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)
[4/6] Emitting module SwiftAPNs
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/1/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/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[5/6] Compiling SwiftAPNs PushProvider.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/1/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/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[6/6] Compiling SwiftAPNs DeviceToken.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/1/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/TDmZkXJm/1/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
[0/1] Planning build
Building for debugging...
[1/6] Compiling SwiftAPNs PushProvider.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/1/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/TDmZkXJm/1/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)
[2/6] Emitting module SwiftAPNs
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/1/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/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[3/6] Compiling SwiftAPNs main.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/1/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/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[4/6] Compiling SwiftAPNs DeviceToken.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/1/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/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[5/6] Compiling SwiftAPNs PushNotification.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/1/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/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftAPNs/JSONWebToken.swift:10:8: error: could not build Objective-C module 'COpenSSL'
import COpenSSL
       ^
[6/6] Compiling SwiftAPNs JSONWebToken.swift
<module-includes>:1:9: note: in file included from <module-includes>:1:
#import "shim.h"
        ^
/Users/builder/builds/TDmZkXJm/1/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/TDmZkXJm/1/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.9 macosSpm