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

Successful build of OAuthenticator, reference 0.6.1 (431607), with Swift 5.10 for macOS (SPM) on 16 Mar 2025 12:11:29 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/OAuthenticator.git
Reference: 0.6.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/OAuthenticator
 * tag               0.6.1      -> FETCH_HEAD
HEAD is now at 431607e BlueSky refinements (without Login change) (#29)
Cloned https://github.com/ChimeHQ/OAuthenticator.git
Revision (git rev-parse @):
431607ea7498243109ed92a9dccc3897d025eeb6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/OAuthenticator.git at 0.6.1
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $PWD
https://github.com/ChimeHQ/OAuthenticator.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-33747A42983211AE.txt
[4/21] Compiling OAuthenticator Mastodon.swift
[5/21] Compiling OAuthenticator URL+QueryParams.swift
[6/22] Compiling OAuthenticator WellknownEndpoints.swift
[7/22] Compiling OAuthenticator resource_bundle_accessor.swift
[8/22] Compiling OAuthenticator GitHub.swift
[9/22] Compiling OAuthenticator GoogleAPI.swift
[10/22] Compiling OAuthenticator CredentialWindowProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/OAuthenticator/CredentialWindowProvider.swift:28:14: warning: main actor-isolated instance method 'presentationAnchor(for:)' cannot be used to satisfy nonisolated protocol requirement
        public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/OAuthenticator/CredentialWindowProvider.swift:28:14: note: add 'nonisolated' to 'presentationAnchor(for:)' to make this instance method not isolated to the actor
        public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                    ^
        nonisolated
AuthenticationServices.ASWebAuthenticationPresentationContextProviding:3:10: note: 'presentationAnchor(for:)' declared here
    func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor
         ^
[11/22] Compiling OAuthenticator DPoPSigner.swift
/Users/admin/builder/spi-builder-workspace/Sources/OAuthenticator/CredentialWindowProvider.swift:28:14: warning: main actor-isolated instance method 'presentationAnchor(for:)' cannot be used to satisfy nonisolated protocol requirement
        public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/OAuthenticator/CredentialWindowProvider.swift:28:14: note: add 'nonisolated' to 'presentationAnchor(for:)' to make this instance method not isolated to the actor
        public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                    ^
        nonisolated
AuthenticationServices.ASWebAuthenticationPresentationContextProviding:3:10: note: 'presentationAnchor(for:)' declared here
    func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor
         ^
[12/22] Compiling OAuthenticator Data+Base64URLEncode.swift
[13/22] Compiling OAuthenticator JSONWebKey.swift
[14/22] Emitting module OAuthenticator
/Users/admin/builder/spi-builder-workspace/Sources/OAuthenticator/CredentialWindowProvider.swift:28:14: warning: main actor-isolated instance method 'presentationAnchor(for:)' cannot be used to satisfy nonisolated protocol requirement
        public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                    ^
/Users/admin/builder/spi-builder-workspace/Sources/OAuthenticator/CredentialWindowProvider.swift:28:14: note: add 'nonisolated' to 'presentationAnchor(for:)' to make this instance method not isolated to the actor
        public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
                    ^
        nonisolated
AuthenticationServices.ASWebAuthenticationPresentationContextProviding:3:10: note: 'presentationAnchor(for:)' declared here
    func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor
         ^
[15/22] Compiling OAuthenticator URLSession+ResponseProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/OAuthenticator/WebAuthenticationSession+Utility.swift:9:14: warning: capture of 'self' with non-sendable type 'WebAuthenticationSession' in a `@Sendable` closure
                        try await self.authenticate(using: $0, callbackURLScheme: $1, preferredBrowserSession: preferredBrowserSession)
                                  ^
_AuthenticationServices_SwiftUI.WebAuthenticationSession:2:15: note: struct 'WebAuthenticationSession' does not conform to the 'Sendable' protocol
public struct WebAuthenticationSession {
              ^
[16/22] Compiling OAuthenticator WebAuthenticationSession+Utility.swift
/Users/admin/builder/spi-builder-workspace/Sources/OAuthenticator/WebAuthenticationSession+Utility.swift:9:14: warning: capture of 'self' with non-sendable type 'WebAuthenticationSession' in a `@Sendable` closure
                        try await self.authenticate(using: $0, callbackURLScheme: $1, preferredBrowserSession: preferredBrowserSession)
                                  ^
_AuthenticationServices_SwiftUI.WebAuthenticationSession:2:15: note: struct 'WebAuthenticationSession' does not conform to the 'Sendable' protocol
public struct WebAuthenticationSession {
              ^
[17/22] Compiling OAuthenticator ASWebAuthenticationSession+Utility.swift
[18/22] Compiling OAuthenticator Authenticator.swift
[19/22] Compiling OAuthenticator PKCE.swift
[20/22] Compiling OAuthenticator Bluesky.swift
[21/22] Compiling OAuthenticator JWT.swift
[22/22] Compiling OAuthenticator Models.swift
Build complete! (7.36s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "OAuthenticator",
  "name" : "OAuthenticator",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "7.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "OAuthenticator",
      "targets" : [
        "OAuthenticator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "OAuthenticatorTests",
      "module_type" : "SwiftTarget",
      "name" : "OAuthenticatorTests",
      "path" : "Tests/OAuthenticatorTests",
      "sources" : [
        "AuthenticatorTests.swift",
        "DPoPSignerTests.swift",
        "GitHubTests.swift",
        "GoogleTests.swift",
        "MastodonTests.swift"
      ],
      "target_dependencies" : [
        "OAuthenticator"
      ],
      "type" : "test"
    },
    {
      "c99name" : "OAuthenticator",
      "module_type" : "SwiftTarget",
      "name" : "OAuthenticator",
      "path" : "Sources/OAuthenticator",
      "product_memberships" : [
        "OAuthenticator"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Sources/OAuthenticator/PrivacyInfo.xcprivacy",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "ASWebAuthenticationSession+Utility.swift",
        "Authenticator.swift",
        "CredentialWindowProvider.swift",
        "DPoPSigner.swift",
        "Data+Base64URLEncode.swift",
        "JSONWebKey.swift",
        "JWT.swift",
        "Models.swift",
        "PKCE.swift",
        "Services/Bluesky.swift",
        "Services/GitHub.swift",
        "Services/GoogleAPI.swift",
        "Services/Mastodon.swift",
        "URL+QueryParams.swift",
        "URLSession+ResponseProvider.swift",
        "WebAuthenticationSession+Utility.swift",
        "WellknownEndpoints.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.