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: 1.0.0
Initialized empty Git repository in /Users/admin/builds/vMd7uqzK/0/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/micho233/certificate-pinner
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at a7596b8 Release 1.0.0
Cloned https://github.com/micho233/certificate-pinner.git
Revision (git rev-parse @):
a7596b88bbb943be942ad7f65ad7f3d258ce868d
SUCCESS checkout https://github.com/micho233/certificate-pinner.git at 1.0.0
========================================
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/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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 {
       ^
[5/10] Compiling CertificatePinner URLAuthenticationChallenge+Extension.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/10] Compiling CertificatePinner SecCertificate+Extension.swift
[7/10] Compiling CertificatePinner SecKey+Extension.swift
[8/10] Compiling CertificatePinner Asn1Header.swift
[9/10] Compiling CertificatePinner CertificatePinner.swift
[10/10] Compiling CertificatePinner Data+Extension.swift
[0/1] Planning build
Building for debugging...
[1/3] Compiling CertificatePinner URLAuthenticationChallenge+Extension.swift
[2/4] Emitting module CertificatePinner
[3/4] Compiling CertificatePinner SecTrust+Extension.swift
/Users/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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/admin/builds/vMd7uqzK/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 {
       ^
[4/4] Compiling CertificatePinner CertificatePinner.swift
BUILD FAILURE 5.8 macosSpm