The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SelfSignedCert 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/svdo/swift-SelfSignedCert.git
Reference: master
Initialized empty Git repository in /Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/svdo/swift-SelfSignedCert
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4a912a7 Add a bit of info on usage
Cloned https://github.com/svdo/swift-SelfSignedCert.git
Revision (git rev-parse @):
4a912a7973a8c962383adc7660d660f6af171de5
SUCCESS checkout https://github.com/svdo/swift-SelfSignedCert.git at master
Fetching https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache
Fetching https://github.com/dapperstout/swift-bytes.git from cache
Fetching https://github.com/svdo/swift-SecurityExtensions from cache
Fetched https://github.com/svdo/swift-SecurityExtensions (0.28s)
Fetched https://github.com/dapperstout/swift-bytes.git (0.28s)
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto (0.34s)
Computing version for https://github.com/dapperstout/swift-bytes.git
Computed https://github.com/dapperstout/swift-bytes.git at 0.8.0 (0.59s)
Computing version for https://github.com/svdo/swift-SecurityExtensions
Computed https://github.com/svdo/swift-SecurityExtensions at 4.0.1 (0.59s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.13.1 (0.54s)
Creating working copy for https://github.com/dapperstout/swift-bytes.git
Working copy of https://github.com/dapperstout/swift-bytes.git resolved at 0.8.0
Creating working copy for https://github.com/svdo/swift-SecurityExtensions
Working copy of https://github.com/svdo/swift-SecurityExtensions resolved at 4.0.1
Creating working copy for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Working copy of https://github.com/iosdevzone/IDZSwiftCommonCrypto resolved at 0.13.1
========================================
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": "swift-selfsignedcert",
      "name": "SelfSignedCert",
      "url": "https://github.com/svdo/swift-SelfSignedCert.git",
      "version": "unspecified",
      "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-SelfSignedCert",
      "dependencies": [
        {
          "identity": "idzswiftcommoncrypto",
          "name": "IDZSwiftCommonCrypto",
          "url": "https://github.com/iosdevzone/IDZSwiftCommonCrypto",
          "version": "0.16.1",
          "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IDZSwiftCommonCrypto",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-securityextensions",
          "name": "SecurityExtensions",
          "url": "https://github.com/svdo/swift-SecurityExtensions",
          "version": "4.0.1",
          "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-SecurityExtensions",
          "dependencies": [
            {
              "identity": "idzswiftcommoncrypto",
              "name": "IDZSwiftCommonCrypto",
              "url": "https://github.com/iosdevzone/IDZSwiftCommonCrypto",
              "version": "0.16.1",
              "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IDZSwiftCommonCrypto",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swift-bytes",
          "name": "SwiftBytes",
          "url": "https://github.com/dapperstout/swift-bytes.git",
          "version": "0.8.0",
          "path": "/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-bytes",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/svdo/swift-SelfSignedCert.git
[1/1468] Fetching swift-selfsignedcert
Fetched https://github.com/svdo/swift-SelfSignedCert.git (0.35s)
Fetching https://github.com/iosdevzone/IDZSwiftCommonCrypto from cache
Fetching https://github.com/dapperstout/swift-bytes.git from cache
Fetching https://github.com/svdo/swift-SecurityExtensions from cache
Fetched https://github.com/svdo/swift-SecurityExtensions (0.19s)
Fetched https://github.com/dapperstout/swift-bytes.git (0.19s)
Fetched https://github.com/iosdevzone/IDZSwiftCommonCrypto (0.23s)
Computing version for https://github.com/dapperstout/swift-bytes.git
Computed https://github.com/dapperstout/swift-bytes.git at 0.8.0 (0.02s)
Computing version for https://github.com/svdo/swift-SecurityExtensions
Computed https://github.com/svdo/swift-SecurityExtensions at 4.0.1 (0.02s)
Computing version for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Computed https://github.com/iosdevzone/IDZSwiftCommonCrypto at 0.16.1 (0.45s)
Creating working copy for https://github.com/dapperstout/swift-bytes.git
Working copy of https://github.com/dapperstout/swift-bytes.git resolved at 0.8.0
Creating working copy for https://github.com/svdo/swift-SecurityExtensions
Working copy of https://github.com/svdo/swift-SecurityExtensions resolved at 4.0.1
Creating working copy for https://github.com/iosdevzone/IDZSwiftCommonCrypto
Working copy of https://github.com/iosdevzone/IDZSwiftCommonCrypto resolved at 0.16.1
Creating working copy for https://github.com/svdo/swift-SelfSignedCert.git
Working copy of https://github.com/svdo/swift-SelfSignedCert.git resolved at master
warning: '.resolve-product-dependencies': dependency 'swift-selfsignedcert' is not used by any target
Found 3 product dependencies
  - IDZSwiftCommonCrypto
  - SecurityExtensions
  - SwiftBytes
========================================
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/12] Emitting module SwiftBytes
[2/12] Compiling IDZSwiftCommonCrypto Random.swift
[3/13] Compiling IDZSwiftCommonCrypto Updateable.swift
[4/13] Compiling IDZSwiftCommonCrypto Status.swift
[5/13] Emitting module IDZSwiftCommonCrypto
[6/13] Compiling IDZSwiftCommonCrypto Digest.swift
[7/13] Compiling IDZSwiftCommonCrypto HMAC.swift
[8/13] Compiling IDZSwiftCommonCrypto Crypto.swift
[9/13] Compiling IDZSwiftCommonCrypto Cryptor.swift
[10/13] Compiling IDZSwiftCommonCrypto StreamCryptor.swift
[11/13] Compiling IDZSwiftCommonCrypto KeyDerivation.swift
[12/13] Compiling SwiftBytes Bytes.swift
[13/13] Compiling IDZSwiftCommonCrypto Utilities.swift
[14/22] Compiling SecurityExtensions SecKey+KeyData.swift
[15/23] Compiling SecurityExtensions SecKey+Signing.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Signing.swift:23:22: error: cannot find 'SecKeyRawSign' in scope
        let status = SecKeyRawSign(self, .PKCS1SHA1, digest, digest.count, &signature, &signatureLength)
                     ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Signing.swift:23:43: error: cannot infer contextual base in reference to member 'PKCS1SHA1'
        let status = SecKeyRawSign(self, .PKCS1SHA1, digest, digest.count, &signature, &signatureLength)
                                         ~^~~~~~~~~
[16/23] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Crypt.swift:31:30: error: cannot find 'SecKeyEncrypt' in scope
            let resultCode = SecKeyEncrypt(self, SecPadding.PKCS1, block, block.count, &cypherText, &cypherLength)
                             ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Crypt.swift:71:30: error: cannot find 'SecKeyDecrypt' in scope
            let resultCode = SecKeyDecrypt(self, SecPadding.PKCS1, block, block.count, &plainTextData, &plainTextDataLength)
                             ^~~~~~~~~~~~~
[17/23] Compiling SecurityExtensions SecKey+KeyPair.swift
[18/23] Compiling SecurityExtensions SecIdentity.swift
[19/23] Compiling SecurityExtensions SecKey+Keychain.swift
[20/23] Emitting module SecurityExtensions
[21/23] Compiling SecurityExtensions SecIdentity+PrivateKey.swift
[22/23] Compiling SecurityExtensions HexString.swift
[23/23] Compiling SecurityExtensions SecCertificate.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[1/3] Emitting module SecurityExtensions
[2/3] Compiling SecurityExtensions SecKey+Crypt.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Crypt.swift:31:30: error: cannot find 'SecKeyEncrypt' in scope
            let resultCode = SecKeyEncrypt(self, SecPadding.PKCS1, block, block.count, &cypherText, &cypherLength)
                             ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Crypt.swift:71:30: error: cannot find 'SecKeyDecrypt' in scope
            let resultCode = SecKeyDecrypt(self, SecPadding.PKCS1, block, block.count, &plainTextData, &plainTextDataLength)
                             ^~~~~~~~~~~~~
[3/3] Compiling SecurityExtensions SecKey+Signing.swift
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Signing.swift:23:22: error: cannot find 'SecKeyRawSign' in scope
        let status = SecKeyRawSign(self, .PKCS1SHA1, digest, digest.count, &signature, &signatureLength)
                     ^~~~~~~~~~~~~
/Users/builder/builds/TDmZkXJm/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.build/checkouts/swift-SecurityExtensions/SecurityExtensions/SecKey+Signing.swift:23:43: error: cannot infer contextual base in reference to member 'PKCS1SHA1'
        let status = SecKeyRawSign(self, .PKCS1SHA1, digest, digest.count, &signature, &signatureLength)
                                         ~^~~~~~~~~
error: fatalError
BUILD FAILURE 5.9 macosSpm