Build Information
Successful build of OAuthenticator, reference main (b3c0f9
), with Swift 5.10 for Linux on 22 Apr 2025 23:17:37 UTC.
Swift 6 data race errors: 0
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 5.10
Building package at path: $PWD
https://github.com/ChimeHQ/OAuthenticator.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Building for debugging...
[0/3] Write sources
[1/3] Copying PrivacyInfo.xcprivacy
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/19] Emitting module OAuthenticator
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:50:7: warning: associated value 'nonceExpected' of 'Sendable'-conforming enum 'DPoPError' has non-sendable type 'URLResponse'
case nonceExpected(URLResponse)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:3:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:51:7: warning: associated value 'requestInvalid' of 'Sendable'-conforming enum 'DPoPError' has non-sendable type 'URLRequest'
case requestInvalid(URLRequest)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:64:13: warning: stored property 'callbackURL' of 'Sendable'-conforming struct 'AppCredentials' has non-sendable type 'URL'
public var callbackURL: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:102:13: warning: stored property 'url' of 'Sendable'-conforming struct 'PARConfiguration' has non-sendable type 'URL'
public let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:128:14: warning: stored property 'authorizationURL' of 'Sendable'-conforming struct 'LoginProviderParameters' has non-sendable type 'URL'
public let authorizationURL: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:130:14: warning: stored property 'redirectURL' of 'Sendable'-conforming struct 'LoginProviderParameters' has non-sendable type 'URL'
public let redirectURL: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/OAuthenticator.build/DerivedSources/resource_bundle_accessor.swift:4:16: warning: static property 'module' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
static let module: Bundle = {
^
[5/21] Compiling OAuthenticator Mastodon.swift
[6/21] Compiling OAuthenticator URL+QueryParams.swift
[7/21] Compiling OAuthenticator WellknownEndpoints.swift
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/OAuthenticator.build/DerivedSources/resource_bundle_accessor.swift:4:16: warning: static property 'module' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
static let module: Bundle = {
^
[8/21] Compiling OAuthenticator resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/OAuthenticator.build/DerivedSources/resource_bundle_accessor.swift:4:16: warning: static property 'module' is not concurrency-safe because it is not either conforming to 'Sendable' or isolated to a global actor; this is an error in Swift 6
static let module: Bundle = {
^
[9/21] Compiling OAuthenticator Data+Base64URLEncode.swift
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:64:13: warning: stored property 'callbackURL' of 'Sendable'-conforming struct 'AppCredentials' has non-sendable type 'URL'
public var callbackURL: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:102:13: warning: stored property 'url' of 'Sendable'-conforming struct 'PARConfiguration' has non-sendable type 'URL'
public let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:128:14: warning: stored property 'authorizationURL' of 'Sendable'-conforming struct 'LoginProviderParameters' has non-sendable type 'URL'
public let authorizationURL: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:130:14: warning: stored property 'redirectURL' of 'Sendable'-conforming struct 'LoginProviderParameters' has non-sendable type 'URL'
public let redirectURL: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[10/21] Compiling OAuthenticator Models.swift
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:64:13: warning: stored property 'callbackURL' of 'Sendable'-conforming struct 'AppCredentials' has non-sendable type 'URL'
public var callbackURL: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:102:13: warning: stored property 'url' of 'Sendable'-conforming struct 'PARConfiguration' has non-sendable type 'URL'
public let url: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:128:14: warning: stored property 'authorizationURL' of 'Sendable'-conforming struct 'LoginProviderParameters' has non-sendable type 'URL'
public let authorizationURL: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Models.swift:130:14: warning: stored property 'redirectURL' of 'Sendable'-conforming struct 'LoginProviderParameters' has non-sendable type 'URL'
public let redirectURL: URL
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
[11/21] Compiling OAuthenticator PKCE.swift
[12/21] Compiling OAuthenticator Bluesky.swift
[13/21] Compiling OAuthenticator URLSession+ResponseProvider.swift
/host/spi-builder-workspace/Sources/OAuthenticator/URLSession+ResponseProvider.swift:15:16: warning: capture of 'self' with non-sendable type 'URLSession' in a `@Sendable` closure
let task = self.dataTask(with: request) { data, response, error in
^
FoundationNetworking.URLSession:1:12: note: class 'URLSession' does not conform to the 'Sendable' protocol
open class URLSession : NSObject {
^
/host/spi-builder-workspace/Sources/OAuthenticator/URLSession+ResponseProvider.swift:3:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/URLSession+ResponseProvider.swift:15:16: warning: capture of 'self' with non-sendable type 'URLSession' in a `@Sendable` closure
let task = self.dataTask(with: request) { data, response, error in
^
FoundationNetworking.URLSession:1:12: note: class 'URLSession' does not conform to the 'Sendable' protocol
open class URLSession : NSObject {
^
[14/21] Compiling OAuthenticator WebAuthenticationSession+Utility.swift
/host/spi-builder-workspace/Sources/OAuthenticator/URLSession+ResponseProvider.swift:15:16: warning: capture of 'self' with non-sendable type 'URLSession' in a `@Sendable` closure
let task = self.dataTask(with: request) { data, response, error in
^
FoundationNetworking.URLSession:1:12: note: class 'URLSession' does not conform to the 'Sendable' protocol
open class URLSession : NSObject {
^
/host/spi-builder-workspace/Sources/OAuthenticator/URLSession+ResponseProvider.swift:3:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/URLSession+ResponseProvider.swift:15:16: warning: capture of 'self' with non-sendable type 'URLSession' in a `@Sendable` closure
let task = self.dataTask(with: request) { data, response, error in
^
FoundationNetworking.URLSession:1:12: note: class 'URLSession' does not conform to the 'Sendable' protocol
open class URLSession : NSObject {
^
[15/21] Compiling OAuthenticator DPoPKey.swift
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:50:7: warning: associated value 'nonceExpected' of 'Sendable'-conforming enum 'DPoPError' has non-sendable type 'URLResponse'
case nonceExpected(URLResponse)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:3:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:51:7: warning: associated value 'requestInvalid' of 'Sendable'-conforming enum 'DPoPError' has non-sendable type 'URLRequest'
case requestInvalid(URLRequest)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:145:45: warning: passing argument of non-sendable type 'URLRequest' outside of actor-isolated context may introduce data races
let (data, response) = try await provider(request)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:145:36: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
let (data, response) = try await provider(request)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:160:29: warning: passing argument of non-sendable type 'URLRequest' outside of actor-isolated context may introduce data races
return try await provider(request)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:160:20: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
return try await provider(request)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
[16/21] Compiling OAuthenticator DPoPSigner.swift
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:50:7: warning: associated value 'nonceExpected' of 'Sendable'-conforming enum 'DPoPError' has non-sendable type 'URLResponse'
case nonceExpected(URLResponse)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:3:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:51:7: warning: associated value 'requestInvalid' of 'Sendable'-conforming enum 'DPoPError' has non-sendable type 'URLRequest'
case requestInvalid(URLRequest)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:145:45: warning: passing argument of non-sendable type 'URLRequest' outside of actor-isolated context may introduce data races
let (data, response) = try await provider(request)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:145:36: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
let (data, response) = try await provider(request)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:160:29: warning: passing argument of non-sendable type 'URLRequest' outside of actor-isolated context may introduce data races
return try await provider(request)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/DPoPSigner.swift:160:20: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
return try await provider(request)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
[17/21] Compiling OAuthenticator GitHub.swift
[18/21] Compiling OAuthenticator GoogleAPI.swift
[19/21] Compiling OAuthenticator ASWebAuthenticationSession+Utility.swift
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:309:52: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
responseProvider: { try await self.dpopResponse(for: $0, login: nil) }
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:3:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:309:39: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary
responseProvider: { try await self.dpopResponse(for: $0, login: nil) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:312:49: warning: non-sendable type 'URL' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
let tokenURL = try await config.tokenHandling.authorizationURLProvider(authConfig)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:316:49: warning: passing argument of non-sendable type 'URL' outside of actor-isolated context may introduce data races
let callbackURL = try await userAuthenticator(tokenURL, scheme)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:316:31: warning: non-sendable type 'URL' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
let callbackURL = try await userAuthenticator(tokenURL, scheme)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:322:52: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
responseProvider: { try await self.dpopResponse(for: $0, login: nil) },
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:322:39: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary
responseProvider: { try await self.dpopResponse(for: $0, login: nil) },
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:348:102: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let login = try await refreshProvider(login, config.appCredentials, { try await self.dpopResponse(for: $0, login: nil) })
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:348:89: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary
let login = try await refreshProvider(login, config.appCredentials, { try await self.dpopResponse(for: $0, login: nil) })
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:410:29: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
{ try await self.response(for: $0) }
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:410:20: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary
{ try await self.response(for: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:415:31: warning: passing argument of non-sendable type 'URLRequest' outside of actor-isolated context may introduce data races
return try await urlLoader(request)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:415:21: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
return try await urlLoader(request)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
[20/21] Compiling OAuthenticator Authenticator.swift
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:309:52: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
responseProvider: { try await self.dpopResponse(for: $0, login: nil) }
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:3:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:309:39: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary
responseProvider: { try await self.dpopResponse(for: $0, login: nil) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:312:49: warning: non-sendable type 'URL' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
let tokenURL = try await config.tokenHandling.authorizationURLProvider(authConfig)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:316:49: warning: passing argument of non-sendable type 'URL' outside of actor-isolated context may introduce data races
let callbackURL = try await userAuthenticator(tokenURL, scheme)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:316:31: warning: non-sendable type 'URL' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
let callbackURL = try await userAuthenticator(tokenURL, scheme)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:322:52: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
responseProvider: { try await self.dpopResponse(for: $0, login: nil) },
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:322:39: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary
responseProvider: { try await self.dpopResponse(for: $0, login: nil) },
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:348:102: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let login = try await refreshProvider(login, config.appCredentials, { try await self.dpopResponse(for: $0, login: nil) })
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:348:89: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary
let login = try await refreshProvider(login, config.appCredentials, { try await self.dpopResponse(for: $0, login: nil) })
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:410:29: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
{ try await self.response(for: $0) }
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:410:20: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary
{ try await self.response(for: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:415:31: warning: passing argument of non-sendable type 'URLRequest' outside of actor-isolated context may introduce data races
return try await urlLoader(request)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:415:21: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
return try await urlLoader(request)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
[21/21] Compiling OAuthenticator CredentialWindowProvider.swift
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:309:52: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
responseProvider: { try await self.dpopResponse(for: $0, login: nil) }
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:3:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'FoundationNetworking'
import FoundationNetworking
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:309:39: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary
responseProvider: { try await self.dpopResponse(for: $0, login: nil) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:312:49: warning: non-sendable type 'URL' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
let tokenURL = try await config.tokenHandling.authorizationURLProvider(authConfig)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:1:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:316:49: warning: passing argument of non-sendable type 'URL' outside of actor-isolated context may introduce data races
let callbackURL = try await userAuthenticator(tokenURL, scheme)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:316:31: warning: non-sendable type 'URL' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
let callbackURL = try await userAuthenticator(tokenURL, scheme)
^
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
public struct URL : ReferenceConvertible, Equatable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:322:52: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
responseProvider: { try await self.dpopResponse(for: $0, login: nil) },
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:322:39: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary
responseProvider: { try await self.dpopResponse(for: $0, login: nil) },
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:348:102: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
let login = try await refreshProvider(login, config.appCredentials, { try await self.dpopResponse(for: $0, login: nil) })
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:348:89: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary
let login = try await refreshProvider(login, config.appCredentials, { try await self.dpopResponse(for: $0, login: nil) })
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:410:29: warning: passing argument of non-sendable type 'URLRequest' into actor-isolated context may introduce data races
{ try await self.response(for: $0) }
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:410:20: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary
{ try await self.response(for: $0) }
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:415:31: warning: passing argument of non-sendable type 'URLRequest' outside of actor-isolated context may introduce data races
return try await urlLoader(request)
^
FoundationNetworking.URLRequest:1:15: note: struct 'URLRequest' does not conform to the 'Sendable' protocol
public struct URLRequest : ReferenceConvertible, Equatable, Hashable {
^
/host/spi-builder-workspace/Sources/OAuthenticator/Authenticator.swift:415:21: warning: non-sendable type '(Data, URLResponse)' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary
return try await urlLoader(request)
^
FoundationNetworking.URLResponse:1:12: note: class 'URLResponse' does not conform to the 'Sendable' protocol
open class URLResponse : NSObject, NSSecureCoding, NSCopying {
^
Build complete! (5.54s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "OAuthenticator",
"name" : "OAuthenticator",
"path" : "/host/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" : "/host/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"
}
basic-5.10-latest: Pulling from finestructure/spi-images
Digest: sha256:616ef225d0085997f26355ad9695b1159b91f6187a43f9ff135cb59d096bc97d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.10-latest
Done.