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 main (b3c0f9), with Swift 5.10 for macOS (SPM) on 22 Apr 2025 23:18:54 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.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChimeHQ/OAuthenticator.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ChimeHQ/OAuthenticator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at b3c0f98 Update README.md
Cloned https://github.com/ChimeHQ/OAuthenticator.git
Revision (git rev-parse @):
b3c0f9896d7fff9c1cb264032a7321d2a12f04d8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChimeHQ/OAuthenticator.git at main
========================================
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/20] Compiling OAuthenticator DPoPSigner.swift
[5/20] Compiling OAuthenticator Data+Base64URLEncode.swift
[6/20] Compiling OAuthenticator Models.swift
[7/20] Compiling OAuthenticator PKCE.swift
[8/21] Compiling OAuthenticator Bluesky.swift
[9/21] Compiling OAuthenticator GitHub.swift
[10/21] Compiling OAuthenticator URL+QueryParams.swift
[11/21] Compiling OAuthenticator URLSession+ResponseProvider.swift
[12/21] Compiling OAuthenticator resource_bundle_accessor.swift
[13/21] 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
         ^
[14/21] Compiling OAuthenticator DPoPKey.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
         ^
[15/21] 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
         ^
[16/21] Compiling OAuthenticator ASWebAuthenticationSession+Utility.swift
[17/21] Compiling OAuthenticator Authenticator.swift
[18/21] Compiling OAuthenticator GoogleAPI.swift
[19/21] Compiling OAuthenticator Mastodon.swift
[20/21] Compiling OAuthenticator WellknownEndpoints.swift
[21/21] Compiling OAuthenticator WebAuthenticationSession+Utility.swift
/Users/admin/builder/spi-builder-workspace/Sources/OAuthenticator/WebAuthenticationSession+Utility.swift:10: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 {
              ^
Build complete! (7.43s)
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",
        "PKCETests.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",
        "DPoPKey.swift",
        "DPoPSigner.swift",
        "Data+Base64URLEncode.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.