The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of swift-security, reference main (7b17d3), with Swift 6.2 for macOS (SPM) on 12 Dec 2025 07:37:06 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dm-zharov/swift-security.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dm-zharov/swift-security
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7b17d3b Removes Warnings
Cloned https://github.com/dm-zharov/swift-security.git
Revision (git rev-parse @):
7b17d3b0e9974d69082c1ef2d5b6504033470fd1
SUCCESS checkout https://github.com/dm-zharov/swift-security.git at main
========================================
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": "swift-security",
      "name": "swift-security",
      "url": "https://github.com/dm-zharov/swift-security.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-security",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dm-zharov/swift-security.git
[1/1360] Fetching swift-security
Fetched https://github.com/dm-zharov/swift-security.git from cache (0.91s)
Creating working copy for https://github.com/dm-zharov/swift-security.git
Working copy of https://github.com/dm-zharov/swift-security.git resolved at main (7b17d3b)
warning: '.resolve-product-dependencies': dependency 'swift-security' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/dm-zharov/swift-security.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-49B95AFC49DCD68C.txt
[3/31] Compiling SwiftSecurity SecItem.swift
[4/31] Compiling SwiftSecurity SecItemAttrKey.swift
[5/31] Compiling SwiftSecurity SecItemClass.swift
[6/34] Compiling SwiftSecurity SecImportItemInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemInfo.swift:11:16: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
  9 |
 10 | public struct SecItemInfo<Value>: RawRepresentable where Value: SecItem {
 11 |     public let rawValue: [String: Any]
    |                `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 12 |
 13 |     public init(rawValue: [String: Any]) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:100:5: warning: 'public' modifier is redundant for static method declared in a public extension
 98 |     ///   See [Developer Documentation](https://developer.apple.com/documentation/security/ksecattrsynchronizable).
 99 |     /// - Returns: ``SecItemQuery<SecKey>``.
100 |     public static func key(
    |     `- warning: 'public' modifier is redundant for static method declared in a public extension
101 |         for applicationTag: String? = nil,
102 |         descriptor: SecKeyDescriptor = .ecPrivateKey,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:13:22: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 11 | /// A structure that defines an item query.
 12 | public struct SecItemQuery<Value> where Value: SecItem {
 13 |     private(set) var rawValue: [String: Any]
    |                      `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 14 |
 15 |     /// Creates the query with item class.
[7/34] Compiling SwiftSecurity SecItemInfo.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemInfo.swift:11:16: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
  9 |
 10 | public struct SecItemInfo<Value>: RawRepresentable where Value: SecItem {
 11 |     public let rawValue: [String: Any]
    |                `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 12 |
 13 |     public init(rawValue: [String: Any]) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:100:5: warning: 'public' modifier is redundant for static method declared in a public extension
 98 |     ///   See [Developer Documentation](https://developer.apple.com/documentation/security/ksecattrsynchronizable).
 99 |     /// - Returns: ``SecItemQuery<SecKey>``.
100 |     public static func key(
    |     `- warning: 'public' modifier is redundant for static method declared in a public extension
101 |         for applicationTag: String? = nil,
102 |         descriptor: SecKeyDescriptor = .ecPrivateKey,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:13:22: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 11 | /// A structure that defines an item query.
 12 | public struct SecItemQuery<Value> where Value: SecItem {
 13 |     private(set) var rawValue: [String: Any]
    |                      `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 14 |
 15 |     /// Creates the query with item class.
[8/34] Compiling SwiftSecurity SecItemQuery.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemInfo.swift:11:16: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
  9 |
 10 | public struct SecItemInfo<Value>: RawRepresentable where Value: SecItem {
 11 |     public let rawValue: [String: Any]
    |                `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 12 |
 13 |     public init(rawValue: [String: Any]) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:100:5: warning: 'public' modifier is redundant for static method declared in a public extension
 98 |     ///   See [Developer Documentation](https://developer.apple.com/documentation/security/ksecattrsynchronizable).
 99 |     /// - Returns: ``SecItemQuery<SecKey>``.
100 |     public static func key(
    |     `- warning: 'public' modifier is redundant for static method declared in a public extension
101 |         for applicationTag: String? = nil,
102 |         descriptor: SecKeyDescriptor = .ecPrivateKey,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:13:22: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 11 | /// A structure that defines an item query.
 12 | public struct SecItemQuery<Value> where Value: SecItem {
 13 |     private(set) var rawValue: [String: Any]
    |                      `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 14 |
 15 |     /// Creates the query with item class.
[9/34] Compiling SwiftSecurity SecItemSearchKey.swift
[10/34] Compiling SwiftSecurity SecReturnType.swift
[11/34] Compiling SwiftSecurity SecValue.swift
[12/34] Compiling SwiftSecurity SecItemStore.swift
[13/34] Compiling SwiftSecurity SecureRandomDataGenerator.swift
[14/34] Compiling SwiftSecurity Certificate.swift
[15/34] Compiling SwiftSecurity AccessPolicy.swift
[16/34] Compiling SwiftSecurity AuthenticationType.swift
[17/34] Compiling SwiftSecurity KeyClass.swift
[18/34] Compiling SwiftSecurity AccessGroup.swift
[19/34] Compiling SwiftSecurity Keychain.swift
[20/34] Compiling SwiftSecurity SecImportItemKey.swift
[21/34] Emitting module SwiftSecurity
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemInfo.swift:11:16: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
  9 |
 10 | public struct SecItemInfo<Value>: RawRepresentable where Value: SecItem {
 11 |     public let rawValue: [String: Any]
    |                `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemInfo' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 12 |
 13 |     public init(rawValue: [String: Any]) {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:100:5: warning: 'public' modifier is redundant for static method declared in a public extension
 98 |     ///   See [Developer Documentation](https://developer.apple.com/documentation/security/ksecattrsynchronizable).
 99 |     /// - Returns: ``SecItemQuery<SecKey>``.
100 |     public static func key(
    |     `- warning: 'public' modifier is redundant for static method declared in a public extension
101 |         for applicationTag: String? = nil,
102 |         descriptor: SecKeyDescriptor = .ecPrivateKey,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftSecurity/Keychain/SecItemStore/SecItemQuery.swift:13:22: warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 11 | /// A structure that defines an item query.
 12 | public struct SecItemQuery<Value> where Value: SecItem {
 13 |     private(set) var rawValue: [String: Any]
    |                      `- warning: stored property 'rawValue' of 'Sendable'-conforming generic struct 'SecItemQuery' contains non-Sendable type 'Any'; this is an error in the Swift 6 language mode
 14 |
 15 |     /// Creates the query with item class.
[22/34] Compiling SwiftSecurity KeyType.swift
[23/34] Compiling SwiftSecurity ProtocolType.swift
[24/34] Compiling SwiftSecurity TokenID.swift
[25/34] Compiling SwiftSecurity DigitalIdentity.swift
[26/34] Compiling SwiftSecurity PKCS12.swift
[27/34] Compiling SwiftSecurity WebProtectionSpace.swift
[28/34] Compiling SwiftSecurity SecCertificateConvertible.swift
[29/34] Compiling SwiftSecurity SecDataConvertible.swift
[30/34] Compiling SwiftSecurity SecIdentityConvertible.swift
[31/34] Compiling SwiftSecurity SecKeyConvertible.swift
[32/34] Compiling SwiftSecurity SharedWebCredential.swift
[33/34] Compiling SwiftSecurity SwiftSecurityError.swift
[34/34] Compiling SwiftSecurity Credential.swift
Build complete! (9.80s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-security",
  "name" : "swift-security",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftSecurity",
      "targets" : [
        "SwiftSecurity"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftSecurityTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSecurityTests",
      "path" : "Tests/SwiftSecurityTests",
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSecurityTests/Resources/badssl.p12",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftSecurityTests/Resources/www.apple.com.root.der",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AccessPolicyTests.swift",
        "EnumTests.swift",
        "KeychainTests.swift"
      ],
      "target_dependencies" : [
        "SwiftSecurity"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftSecurity",
      "module_type" : "SwiftTarget",
      "name" : "SwiftSecurity",
      "path" : "Sources/SwiftSecurity",
      "product_memberships" : [
        "SwiftSecurity"
      ],
      "sources" : [
        "CryptoKit/SecCertificateConvertible.swift",
        "CryptoKit/SecDataConvertible.swift",
        "CryptoKit/SecIdentityConvertible.swift",
        "CryptoKit/SecKeyConvertible.swift",
        "Keychain/AccessGroup.swift",
        "Keychain/Keychain.swift",
        "Keychain/SecItem/SecImportItemKey.swift",
        "Keychain/SecItem/SecItem.swift",
        "Keychain/SecItem/SecItemAttrKey.swift",
        "Keychain/SecItem/SecItemClass.swift",
        "Keychain/SecItem/SecItemSearchKey.swift",
        "Keychain/SecItem/SecReturnType.swift",
        "Keychain/SecItem/SecValue.swift",
        "Keychain/SecItemAttr/AccessPolicy.swift",
        "Keychain/SecItemAttr/AuthenticationType.swift",
        "Keychain/SecItemAttr/KeyClass.swift",
        "Keychain/SecItemAttr/KeyType.swift",
        "Keychain/SecItemAttr/ProtocolType.swift",
        "Keychain/SecItemAttr/TokenID.swift",
        "Keychain/SecItemStore/SecImportItemInfo.swift",
        "Keychain/SecItemStore/SecItemInfo.swift",
        "Keychain/SecItemStore/SecItemQuery.swift",
        "Keychain/SecItemStore/SecItemStore.swift",
        "Randomization/SecureRandomDataGenerator.swift",
        "Security/Certificate.swift",
        "Security/DigitalIdentity.swift",
        "Security/PKCS12.swift",
        "Security/WebProtectionSpace.swift",
        "SharedWebCredential/SharedWebCredential.swift",
        "SwiftSecurityError.swift",
        "SwiftUI/Credential.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Done.