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 CertificatePinner with Swift 5.10 for macOS (SPM).

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.34.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/micho233/certificate-pinner.git
Reference: main
Initialized empty Git repository in /Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/micho233/certificate-pinner
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ff03993 Create swift.yml
Cloned https://github.com/micho233/certificate-pinner.git
Revision (git rev-parse @):
ff03993bdd8a592dac8c79b77ceaefcc214667b0
SUCCESS checkout https://github.com/micho233/certificate-pinner.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "certificate-pinner",
      "name": "CertificatePinner",
      "url": "https://github.com/micho233/certificate-pinner.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/certificate-pinner",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/micho233/certificate-pinner.git from cache
Fetched https://github.com/micho233/certificate-pinner.git from cache (0.20s)
Creating working copy for https://github.com/micho233/certificate-pinner.git
Working copy of https://github.com/micho233/certificate-pinner.git resolved at main (ff03993)
warning: '.resolve-product-dependencies': dependency 'certificate-pinner' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/micho233/certificate-pinner.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6044DDE57671499D.txt
[3/11] Compiling CertificatePinner URLAuthenticationChallenge+Extension.swift
[4/11] Compiling CertificatePinner URLProtectionSpace+Extension.swift
[5/12] Compiling CertificatePinner SecTrust+Extension.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CertificatePinner/Extensions/SecTrust+Extension.swift:36:26: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
            let result = SecTrustEvaluateWithError(self, nil)
                         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CertificatePinner/Extensions/SecTrust+Extension.swift:36:26: note: add 'if #available' version check
            let result = SecTrustEvaluateWithError(self, nil)
                         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CertificatePinner/Extensions/SecTrust+Extension.swift:34:10: note: add @available attribute to enclosing instance method
    func canEvaluate() -> Bool {
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CertificatePinner/Extensions/SecTrust+Extension.swift:10:8: note: add @available attribute to enclosing extension
public extension SecTrust {
       ^
[6/12] Compiling CertificatePinner SecCertificate+Extension.swift
[7/12] Compiling CertificatePinner Asn1Header.swift
[8/12] Compiling CertificatePinner CertificatePinner.swift
[9/12] Compiling CertificatePinner Data+Extension.swift
[10/12] Emitting module CertificatePinner
[11/12] Compiling CertificatePinner SecKey+Extension.swift
[12/12] Compiling CertificatePinner RequestScheme.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-6044DDE57671499D.txt
[2/3] Emitting module CertificatePinner
[3/3] Compiling CertificatePinner SecTrust+Extension.swift
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CertificatePinner/Extensions/SecTrust+Extension.swift:36:26: error: 'SecTrustEvaluateWithError' is only available in macOS 10.14 or newer
            let result = SecTrustEvaluateWithError(self, nil)
                         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CertificatePinner/Extensions/SecTrust+Extension.swift:36:26: note: add 'if #available' version check
            let result = SecTrustEvaluateWithError(self, nil)
                         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CertificatePinner/Extensions/SecTrust+Extension.swift:34:10: note: add @available attribute to enclosing instance method
    func canEvaluate() -> Bool {
         ^
/Users/builder/builds/UKfvDsi8u/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CertificatePinner/Extensions/SecTrust+Extension.swift:10:8: note: add @available attribute to enclosing extension
public extension SecTrust {
       ^
error: fatalError
BUILD FAILURE 5.10 macosSpm