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 OAuth2, reference main (3f6a18), with Swift 6.2 (beta) for macOS (SPM) on 21 Jun 2025 05:32:06 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p2/OAuth2.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/p2/OAuth2
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3f6a18b Fix visionOS build, bump to 5.3.5
Submodule path 'SwiftKeychain': checked out 'a7fee4ba90cc77705f979ba14daa26fc39ef3c65'
Submodule 'SwiftKeychain' (https://github.com/p2/SwiftKeychain) registered for path 'SwiftKeychain'
Cloning into '/Users/admin/builder/spi-builder-workspace/SwiftKeychain'...
Cloned https://github.com/p2/OAuth2.git
Revision (git rev-parse @):
3f6a18beb221636581e66d8d0cbec1a3948b4df3
SUCCESS checkout https://github.com/p2/OAuth2.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/p2/OAuth2.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write sources
[8/9] Write swift-version-1EA4D86E10B52AF.txt
[10/11] Compiling SwiftKeychain Keychain.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKeychain/Keychain.swift:49:44: warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
 47 |
 48 |         var itemAttributes = attributes
 49 |         let archivedData = NSKeyedArchiver.archivedData(withRootObject: dataToStore)
    |                                            `- warning: 'archivedData(withRootObject:)' was deprecated in macOS 10.14: Use +archivedDataWithRootObject:requiringSecureCoding:error: instead [#DeprecatedDeclaration]
 50 |
 51 |         itemAttributes[String(kSecValueData)] = archivedData
/Users/admin/builder/spi-builder-workspace/Sources/SwiftKeychain/Keychain.swift:65:34: warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
 63 |         guard let valueData = attributes[String(kSecValueData)] as? Data else { return nil }
 64 |
 65 |         return NSKeyedUnarchiver.unarchiveObject(with: valueData) as? [String: Any] ?? nil
    |                                  `- warning: 'unarchiveObject(with:)' was deprecated in macOS 10.14: Use +unarchivedObjectOfClass:fromData:error: instead [#DeprecatedDeclaration]
 66 |     }
 67 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[11/11] Emitting module SwiftKeychain
[12/26] Compiling Base OAuth2Response.swift
[13/26] Compiling Base OAuth2KeychainAccount.swift
[14/26] Compiling Base OAuth2Logger.swift
[15/26] Compiling Base OAuth2RequestPerformer.swift
[16/26] Compiling Base OAuth2Securable.swift
[17/27] Compiling Base OAuth2Requestable.swift
[18/27] Compiling Base OAuth2DebugURLSessionDelegate.swift
[19/27] Compiling Base OAuth2Error.swift
[20/27] Compiling Base OAuth2ClientConfig.swift
[21/27] Compiling Base OAuth2CustomAuthorizerUI.swift
[22/27] Compiling Base OAuth2AuthConfig.swift
[23/27] Compiling Base OAuth2AuthRequest.swift
[24/27] Emitting module Base
[25/27] Compiling Base OAuth2AuthorizerUI.swift
[26/27] Compiling Base OAuth2Base.swift
[27/27] Compiling Base extensions.swift
[28/38] Compiling tvOS OAuth2CustomAuthorizer+tvOS.swift
[29/38] Compiling tvOS OAuth2Authorizer+tvOS.swift
[30/38] Emitting module tvOS
[31/38] Emitting module iOS
[32/38] Compiling iOS OAuth2CustomAuthorizer+iOS.swift
[33/38] Compiling iOS OAuth2Authorizer+iOS.swift
[34/38] Compiling iOS OAuth2WebViewController+iOS.swift
[35/38] Compiling macOS OAuth2Authorizer+macOS.swift
[36/38] Compiling macOS OAuth2WebViewController+macOS.swift
[37/38] Compiling macOS OAuth2CustomAuthorizer+macOS.swift
[38/38] Emitting module macOS
[39/52] Compiling Flows OAuth2ImplicitGrantWithQueryParams.swift
[40/53] Compiling Flows OAuth2ImplicitGrant.swift
[41/53] Compiling Flows OAuth2CodeGrantNoTokenType.swift
[42/53] Compiling Flows OAuth2CodeGrantFacebook.swift
[43/53] Compiling Flows OAuth2CodeGrantLinkedIn.swift
[44/53] Compiling Flows OAuth2DeviceGrant.swift
[45/53] Compiling Flows OAuth2CodeGrantAzure.swift
[46/53] Compiling Flows OAuth2CodeGrantBasicAuth.swift
[47/53] Compiling Flows OAuth2ClientCredentialsReddit.swift
[48/53] Compiling Flows OAuth2CodeGrant.swift
[49/53] Compiling Flows OAuth2DynReg.swift
[50/53] Emitting module Flows
[51/53] Compiling Flows OAuth2.swift
[52/53] Compiling Flows OAuth2ClientCredentials.swift
[53/53] Compiling Flows OAuth2PasswordGrant.swift
[54/57] Compiling DataLoader OAuth2DataRequest.swift
[55/57] Compiling DataLoader OAuth2DataLoaderSessionTaskDelegate.swift
[56/57] Compiling DataLoader OAuth2DataLoader.swift
[57/57] Emitting module DataLoader
[58/59] Emitting module OAuth2
[59/59] Compiling OAuth2 OAuth2Module.swift
Build complete! (12.04s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OAuth2",
  "name" : "OAuth2",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    }
  ],
  "products" : [
    {
      "name" : "OAuth2",
      "targets" : [
        "OAuth2"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "tvOS",
      "module_type" : "SwiftTarget",
      "name" : "tvOS",
      "path" : "Sources/tvOS",
      "product_memberships" : [
        "OAuth2"
      ],
      "sources" : [
        "OAuth2Authorizer+tvOS.swift",
        "OAuth2CustomAuthorizer+tvOS.swift"
      ],
      "target_dependencies" : [
        "Base"
      ],
      "type" : "library"
    },
    {
      "c99name" : "macOS",
      "module_type" : "SwiftTarget",
      "name" : "macOS",
      "path" : "Sources/macOS",
      "product_memberships" : [
        "OAuth2"
      ],
      "sources" : [
        "OAuth2Authorizer+macOS.swift",
        "OAuth2CustomAuthorizer+macOS.swift",
        "OAuth2WebViewController+macOS.swift"
      ],
      "target_dependencies" : [
        "Base"
      ],
      "type" : "library"
    },
    {
      "c99name" : "iOS",
      "module_type" : "SwiftTarget",
      "name" : "iOS",
      "path" : "Sources/iOS",
      "product_memberships" : [
        "OAuth2"
      ],
      "sources" : [
        "OAuth2Authorizer+iOS.swift",
        "OAuth2CustomAuthorizer+iOS.swift",
        "OAuth2WebViewController+iOS.swift"
      ],
      "target_dependencies" : [
        "Base"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftKeychain",
      "module_type" : "SwiftTarget",
      "name" : "SwiftKeychain",
      "path" : "Sources/SwiftKeychain",
      "product_memberships" : [
        "OAuth2"
      ],
      "sources" : [
        "Keychain.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "OAuth2",
      "module_type" : "SwiftTarget",
      "name" : "OAuth2",
      "path" : "Sources/OAuth2",
      "product_memberships" : [
        "OAuth2"
      ],
      "sources" : [
        "OAuth2Module.swift"
      ],
      "target_dependencies" : [
        "Base",
        "Flows",
        "DataLoader"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Flows",
      "module_type" : "SwiftTarget",
      "name" : "Flows",
      "path" : "Sources/Flows",
      "product_memberships" : [
        "OAuth2"
      ],
      "sources" : [
        "OAuth2.swift",
        "OAuth2ClientCredentials.swift",
        "OAuth2ClientCredentialsReddit.swift",
        "OAuth2CodeGrant.swift",
        "OAuth2CodeGrantAzure.swift",
        "OAuth2CodeGrantBasicAuth.swift",
        "OAuth2CodeGrantFacebook.swift",
        "OAuth2CodeGrantLinkedIn.swift",
        "OAuth2CodeGrantNoTokenType.swift",
        "OAuth2DeviceGrant.swift",
        "OAuth2DynReg.swift",
        "OAuth2ImplicitGrant.swift",
        "OAuth2ImplicitGrantWithQueryParams.swift",
        "OAuth2PasswordGrant.swift"
      ],
      "target_dependencies" : [
        "macOS",
        "iOS",
        "tvOS"
      ],
      "type" : "library"
    },
    {
      "c99name" : "FlowTests",
      "module_type" : "SwiftTarget",
      "name" : "FlowTests",
      "path" : "Tests/FlowTests",
      "sources" : [
        "OAuth2ClientCredentialsTests.swift",
        "OAuth2CodeGrantTests.swift",
        "OAuth2DeviceGrantTests.swift",
        "OAuth2DynRegTests.swift",
        "OAuth2ImplicitGrantTests.swift",
        "OAuth2PasswordGrantTests.swift",
        "OAuth2RefreshTokenTests.swift"
      ],
      "target_dependencies" : [
        "Flows"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DataLoader",
      "module_type" : "SwiftTarget",
      "name" : "DataLoader",
      "path" : "Sources/DataLoader",
      "product_memberships" : [
        "OAuth2"
      ],
      "sources" : [
        "OAuth2DataLoader.swift",
        "OAuth2DataLoaderSessionTaskDelegate.swift",
        "OAuth2DataRequest.swift"
      ],
      "target_dependencies" : [
        "Flows"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BaseTests",
      "module_type" : "SwiftTarget",
      "name" : "BaseTests",
      "path" : "Tests/BaseTests",
      "sources" : [
        "OAuth2AuthRequestTests.swift",
        "OAuth2Tests.swift"
      ],
      "target_dependencies" : [
        "Base",
        "Flows"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Base",
      "module_type" : "SwiftTarget",
      "name" : "Base",
      "path" : "Sources/Base",
      "product_memberships" : [
        "OAuth2"
      ],
      "sources" : [
        "OAuth2AuthConfig.swift",
        "OAuth2AuthRequest.swift",
        "OAuth2AuthorizerUI.swift",
        "OAuth2Base.swift",
        "OAuth2ClientConfig.swift",
        "OAuth2CustomAuthorizerUI.swift",
        "OAuth2DebugURLSessionDelegate.swift",
        "OAuth2Error.swift",
        "OAuth2KeychainAccount.swift",
        "OAuth2Logger.swift",
        "OAuth2RequestPerformer.swift",
        "OAuth2Requestable.swift",
        "OAuth2Response.swift",
        "OAuth2Securable.swift",
        "extensions.swift"
      ],
      "target_dependencies" : [
        "SwiftKeychain"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Done.