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 6.0 for macOS (SPM) on 1 Nov 2024 10:48:44 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexisakers/ServerCrypto.git
Reference: 1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexisakers/ServerCrypto
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at 4ee8761 Fix Linux pointer type errors
Cloned https://github.com/alexisakers/ServerCrypto.git
Revision (git rev-parse @):
4ee87617153c84d6ca2ca6e8b3181848d6b3277a
SUCCESS checkout https://github.com/alexisakers/ServerCrypto.git at 1.0.0
Fetching https://github.com/vapor/ctls
[1/71] Fetching ctls
Fetched https://github.com/vapor/ctls from cache (0.62s)
Computing version for https://github.com/vapor/ctls
Computed https://github.com/vapor/ctls at 1.1.2 (0.64s)
Creating working copy for https://github.com/vapor/ctls
Working copy of https://github.com/vapor/ctls resolved at 1.1.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "servercrypto",
      "name": "ServerCrypto",
      "url": "https://github.com/alexisakers/ServerCrypto.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ServerCrypto",
      "dependencies": [
        {
          "identity": "ctls",
          "name": "CTLS",
          "url": "https://github.com/vapor/ctls",
          "version": "1.1.3",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ctls",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/alexisakers/ServerCrypto.git
[1/334] Fetching servercrypto
Fetched https://github.com/alexisakers/ServerCrypto.git from cache (0.88s)
Fetching https://github.com/vapor/ctls from cache
Fetched https://github.com/vapor/ctls from cache (0.50s)
Computing version for https://github.com/vapor/ctls
Computed https://github.com/vapor/ctls at 1.1.3 (0.62s)
Creating working copy for https://github.com/alexisakers/ServerCrypto.git
Working copy of https://github.com/alexisakers/ServerCrypto.git resolved at 1.0.0 (4ee8761)
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: '.resolve-product-dependencies': dependency 'servercrypto' is not used by any target
Found 1 product dependencies
  - CTLS
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/alexisakers/ServerCrypto.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.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 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 | /**
[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 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 | /**
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: couldn't find pc file for ctls
BUILD FAILURE 6.0 macosSpm