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.8 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-14.3.1.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/admin/builds/vMd7uqzK/1/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
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.8
Building package at path:  $workDir
https://github.com/micho233/certificate-pinner.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-14.3.1.app xcrun swift build --arch arm64
Building for debugging...
[1/8] Emitting module CertificatePinner
[2/10] Compiling CertificatePinner URLProtectionSpace+Extension.swift
[3/10] Compiling CertificatePinner RequestScheme.swift
[4/10] Compiling CertificatePinner SecTrust+Extension.swift
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CertificatePinner/Extensions/SecTrust+Extension.swift:10:8: note: add @available attribute to enclosing extension
public extension SecTrust {
       ^
[5/10] Compiling CertificatePinner URLAuthenticationChallenge+Extension.swift
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/10] Compiling CertificatePinner Asn1Header.swift
[7/10] Compiling CertificatePinner CertificatePinner.swift
[8/10] Compiling CertificatePinner Data+Extension.swift
[9/10] Compiling CertificatePinner SecCertificate+Extension.swift
[10/10] Compiling CertificatePinner SecKey+Extension.swift
[0/1] Planning build
Building for debugging...
[1/3] Compiling CertificatePinner URLAuthenticationChallenge+Extension.swift
[2/3] Emitting module CertificatePinner
[3/3] Compiling CertificatePinner SecTrust+Extension.swift
/Users/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/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/admin/builds/vMd7uqzK/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/CertificatePinner/Extensions/SecTrust+Extension.swift:10:8: note: add @available attribute to enclosing extension
public extension SecTrust {
       ^
[4/4] Compiling CertificatePinner CertificatePinner.swift
BUILD FAILURE 5.8 macosSpm